From 1d880c6e14b5c891997cf5c63f53690c80de16dd Mon Sep 17 00:00:00 2001 From: Justin Black Date: Thu, 29 Dec 2022 21:56:32 -0800 Subject: [PATCH 01/29] from_openapi_data_oapg -> from_openapi_data_ --- .../resources/python/api_client.handlebars | 6 +-- .../resources/python/endpoint_test.handlebars | 6 +-- .../resources/python/model_test.handlebars | 4 +- .../main/resources/python/schemas.handlebars | 40 +++++++-------- .../test/components/schema/test__not.py | 4 +- ...s_allows_a_schema_which_should_validate.py | 6 +-- ...tionalproperties_are_allowed_by_default.py | 2 +- ...dditionalproperties_can_exist_by_itself.py | 4 +- ...operties_should_not_look_in_applicators.py | 4 +- .../test/components/schema/test_allof.py | 8 +-- .../test_allof_combined_with_anyof_oneof.py | 16 +++--- .../schema/test_allof_simple_types.py | 4 +- .../schema/test_allof_with_base_schema.py | 10 ++-- .../test_allof_with_one_empty_schema.py | 2 +- .../test_allof_with_the_first_empty_schema.py | 4 +- .../test_allof_with_the_last_empty_schema.py | 4 +- .../test_allof_with_two_empty_schemas.py | 2 +- .../test/components/schema/test_anyof.py | 8 +-- .../schema/test_anyof_complex_types.py | 8 +-- .../schema/test_anyof_with_base_schema.py | 6 +-- .../test_anyof_with_one_empty_schema.py | 4 +- .../schema/test_array_type_matches_arrays.py | 14 +++--- .../test_boolean_type_matches_booleans.py | 20 ++++---- .../test/components/schema/test_by_int.py | 6 +-- .../test/components/schema/test_by_number.py | 6 +-- .../components/schema/test_by_small_number.py | 4 +- .../schema/test_date_time_format.py | 12 ++--- .../components/schema/test_email_format.py | 12 ++--- .../test_enum_with0_does_not_match_false.py | 6 +-- .../test_enum_with1_does_not_match_true.py | 6 +-- .../test_enum_with_escaped_characters.py | 6 +-- .../test_enum_with_false_does_not_match0.py | 6 +-- .../test_enum_with_true_does_not_match1.py | 6 +-- .../schema/test_enums_in_properties.py | 12 ++--- .../schema/test_forbidden_property.py | 4 +- .../components/schema/test_hostname_format.py | 12 ++--- .../test_integer_type_matches_integers.py | 18 +++---- ...not_raise_error_when_float_division_inf.py | 4 +- .../test_invalid_string_value_for_default.py | 4 +- .../components/schema/test_ipv4_format.py | 12 ++--- .../components/schema/test_ipv6_format.py | 12 ++--- .../schema/test_json_pointer_format.py | 12 ++--- .../schema/test_maximum_validation.py | 8 +-- ...aximum_validation_with_unsigned_integer.py | 8 +-- .../schema/test_maxitems_validation.py | 8 +-- .../schema/test_maxlength_validation.py | 10 ++-- ...axproperties0_means_the_object_is_empty.py | 4 +- .../schema/test_maxproperties_validation.py | 12 ++--- .../schema/test_minimum_validation.py | 8 +-- ..._minimum_validation_with_signed_integer.py | 14 +++--- .../schema/test_minitems_validation.py | 8 +-- .../schema/test_minlength_validation.py | 10 ++-- .../schema/test_minproperties_validation.py | 12 ++--- ...ted_allof_to_check_validation_semantics.py | 4 +- ...ted_anyof_to_check_validation_semantics.py | 4 +- .../components/schema/test_nested_items.py | 6 +-- ...ted_oneof_to_check_validation_semantics.py | 4 +- .../schema/test_not_more_complex_schema.py | 6 +-- .../schema/test_nul_characters_in_strings.py | 4 +- ..._null_type_matches_only_the_null_object.py | 20 ++++---- .../test_number_type_matches_numbers.py | 18 +++---- .../test_object_properties_validation.py | 12 ++--- .../test_object_type_matches_objects.py | 14 +++--- .../test/components/schema/test_oneof.py | 8 +-- .../schema/test_oneof_complex_types.py | 8 +-- .../schema/test_oneof_with_base_schema.py | 6 +-- .../schema/test_oneof_with_empty_schema.py | 4 +- .../schema/test_oneof_with_required.py | 8 +-- .../schema/test_pattern_is_not_anchored.py | 2 +- .../schema/test_pattern_validation.py | 16 +++--- ...test_properties_with_escaped_characters.py | 4 +- ...perty_named_ref_that_is_not_a_reference.py | 4 +- .../test_ref_in_additionalproperties.py | 4 +- .../components/schema/test_ref_in_allof.py | 4 +- .../components/schema/test_ref_in_anyof.py | 4 +- .../components/schema/test_ref_in_items.py | 4 +- .../test/components/schema/test_ref_in_not.py | 4 +- .../components/schema/test_ref_in_oneof.py | 4 +- .../components/schema/test_ref_in_property.py | 4 +- .../test_required_default_validation.py | 2 +- .../schema/test_required_validation.py | 10 ++-- .../schema/test_required_with_empty_array.py | 2 +- .../test_required_with_escaped_characters.py | 4 +- .../schema/test_simple_enum_validation.py | 4 +- .../test_string_type_matches_strings.py | 18 +++---- ..._do_anything_if_the_property_is_missing.py | 6 +-- .../test_uniqueitems_false_validation.py | 30 +++++------ .../schema/test_uniqueitems_validation.py | 50 +++++++++---------- .../test/components/schema/test_uri_format.py | 12 ++--- .../schema/test_uri_reference_format.py | 12 ++--- .../schema/test_uri_template_format.py | 12 ++--- .../test_post.py | 6 +-- .../test_post.py | 2 +- .../test_post.py | 4 +- .../test_post.py | 4 +- .../test_post.py | 16 +++--- .../test_post.py | 8 +-- .../test_post.py | 4 +- .../test_post.py | 10 ++-- .../test_post.py | 2 +- .../test_post.py | 4 +- .../test_post.py | 4 +- .../test_post.py | 2 +- .../test_post.py | 8 +-- .../test_post.py | 8 +-- .../test_post.py | 6 +-- .../test_post.py | 4 +- .../test_post.py | 14 +++--- .../test_post.py | 20 ++++---- .../test_post.py | 6 +-- .../test_post.py | 6 +-- .../test_post.py | 4 +- .../test_post.py | 12 ++--- .../test_post.py | 12 ++--- .../test_post.py | 6 +-- .../test_post.py | 6 +-- .../test_post.py | 6 +-- .../test_post.py | 6 +-- .../test_post.py | 6 +-- .../test_post.py | 12 ++--- .../test_post.py | 4 +- .../test_post.py | 12 ++--- .../test_post.py | 18 +++---- .../test_post.py | 4 +- .../test_post.py | 4 +- .../test_post.py | 12 ++--- .../test_post.py | 12 ++--- .../test_post.py | 12 ++--- .../test_post.py | 8 +-- .../test_post.py | 8 +-- .../test_post.py | 8 +-- .../test_post.py | 10 ++-- .../test_post.py | 4 +- .../test_post.py | 12 ++--- .../test_post.py | 8 +-- .../test_post.py | 14 +++--- .../test_post.py | 8 +-- .../test_post.py | 10 ++-- .../test_post.py | 12 ++--- .../test_post.py | 4 +- .../test_post.py | 4 +- .../test_post.py | 6 +-- .../test_post.py | 4 +- .../test_post.py | 6 +-- .../test_post.py | 4 +- .../test_post.py | 4 +- .../test_post.py | 20 ++++---- .../test_post.py | 18 +++---- .../test_post.py | 12 ++--- .../test_post.py | 14 +++--- .../test_post.py | 8 +-- .../test_post.py | 8 +-- .../test_post.py | 6 +-- .../test_post.py | 4 +- .../test_post.py | 8 +-- .../test_post.py | 2 +- .../test_post.py | 16 +++--- .../test_post.py | 4 +- .../test_post.py | 4 +- .../test_post.py | 4 +- .../test_post.py | 4 +- .../test_post.py | 4 +- .../test_post.py | 4 +- .../test_post.py | 4 +- .../test_post.py | 4 +- .../test_post.py | 4 +- .../test_post.py | 2 +- .../test_post.py | 10 ++-- .../test_post.py | 2 +- .../test_post.py | 4 +- .../test_post.py | 4 +- .../test_post.py | 18 +++---- .../test_post.py | 6 +-- .../test_post.py | 30 +++++------ .../test_post.py | 50 +++++++++---------- .../test_post.py | 12 ++--- .../test_post.py | 12 ++--- .../test_post.py | 12 ++--- .../test_post.py | 4 +- .../test_post.py | 2 +- .../test_post.py | 2 +- .../test_post.py | 2 +- .../test_post.py | 2 +- .../test_post.py | 2 +- .../test_post.py | 2 +- .../test_post.py | 2 +- .../test_post.py | 2 +- .../test_post.py | 2 +- .../test_post.py | 2 +- .../test_post.py | 2 +- .../test_post.py | 6 +-- .../test_post.py | 6 +-- .../test_post.py | 2 +- .../test_post.py | 4 +- .../test_post.py | 2 +- .../test_post.py | 4 +- .../test_post.py | 4 +- .../test_post.py | 4 +- .../test_post.py | 2 +- .../test_post.py | 12 ++--- .../test_post.py | 12 ++--- .../test_post.py | 4 +- .../test_post.py | 4 +- .../test_post.py | 4 +- .../test_post.py | 2 +- .../test_post.py | 2 +- .../test_post.py | 4 +- .../test_post.py | 2 +- .../test_post.py | 12 ++--- .../test_post.py | 4 +- .../test_post.py | 2 +- .../test_post.py | 4 +- .../test_post.py | 12 ++--- .../test_post.py | 12 ++--- .../test_post.py | 12 ++--- .../test_post.py | 6 +-- .../test_post.py | 6 +-- .../test_post.py | 6 +-- .../test_post.py | 8 +-- .../test_post.py | 2 +- .../test_post.py | 10 ++-- .../test_post.py | 6 +-- .../test_post.py | 10 ++-- .../test_post.py | 6 +-- .../test_post.py | 6 +-- .../test_post.py | 10 ++-- .../test_post.py | 2 +- .../test_post.py | 2 +- .../test_post.py | 2 +- .../test_post.py | 2 +- .../test_post.py | 4 +- .../test_post.py | 2 +- .../test_post.py | 2 +- .../test_post.py | 2 +- .../test_post.py | 6 +-- .../test_post.py | 8 +-- .../test_post.py | 2 +- .../test_post.py | 4 +- .../test_post.py | 4 +- .../test_post.py | 2 +- .../test_post.py | 2 +- .../test_post.py | 4 +- .../test_post.py | 2 +- .../test_post.py | 14 +++--- .../test_post.py | 2 +- .../test_post.py | 2 +- .../test_post.py | 2 +- .../test_post.py | 2 +- .../test_post.py | 2 +- .../test_post.py | 2 +- .../test_post.py | 2 +- .../test_post.py | 2 +- .../test_post.py | 2 +- .../test_post.py | 2 +- .../test_post.py | 8 +-- .../test_post.py | 2 +- .../test_post.py | 2 +- .../test_post.py | 2 +- .../test_post.py | 6 +-- .../test_post.py | 4 +- .../test_post.py | 30 +++++------ .../test_post.py | 30 +++++------ .../test_post.py | 12 ++--- .../test_post.py | 12 ++--- .../test_post.py | 12 ++--- .../python/unit_test_api/api_client.py | 6 +-- .../python/unit_test_api/schemas.py | 40 +++++++-------- .../python/this_package/api_client.py | 6 +-- .../python/this_package/schemas.py | 40 +++++++-------- .../python/petstore_api/api_client.py | 6 +-- .../petstore/python/petstore_api/schemas.py | 40 +++++++-------- .../test_composed_one_of_different_types.py | 4 +- .../test_date_time_with_validations.py | 12 ++--- .../test_date_with_validations.py | 12 ++--- .../python/tests_manual/test_fruit.py | 2 +- .../python/tests_manual/test_json_encoder.py | 4 +- ...ect_with_invalid_named_refed_properties.py | 8 +-- .../python/tests_manual/test_validate.py | 8 +-- 278 files changed, 1079 insertions(+), 1079 deletions(-) diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/api_client.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/api_client.handlebars index 9a2692d03db..cc811e06175 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/api_client.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/api_client.handlebars @@ -670,12 +670,12 @@ class HeaderParameterWithoutName(ParameterBase, StyleSimpleSerializer): """ if cls.style: extracted_data = cls._deserialize_simple(in_data, name, cls.explode, False) - return schema.from_openapi_data_oapg(extracted_data) + return schema.from_openapi_data_(extracted_data) # cls.content will be length one for content_type, schema in cls.content.items(): if cls._content_type_is_json(content_type): cast_in_data = json.loads(in_data) - return schema.from_openapi_data_oapg(cast_in_data) + return schema.from_openapi_data_(cast_in_data) raise NotImplementedError('Deserialization of {} has not yet been implemented'.format(content_type)) @@ -923,7 +923,7 @@ class OpenApiResponse(JSONDetector, TypedDictInputVerifier, typing.Generic[T]): content_type = 'multipart/form-data' else: raise NotImplementedError('Deserialization of {} has not yet been implemented'.format(content_type)) - deserialized_body = body_schema.from_openapi_data_oapg( + deserialized_body = body_schema.from_openapi_data_( body_data, _configuration=configuration) elif streamed: response.release_conn() diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/endpoint_test.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/endpoint_test.handlebars index 7e066b092eb..ae1ceb875ba 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/endpoint_test.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/endpoint_test.handlebars @@ -62,7 +62,7 @@ class Test{{operationIdSnakeCase}}(ApiTestMixin, unittest.TestCase): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -107,7 +107,7 @@ class Test{{operationIdSnakeCase}}(ApiTestMixin, unittest.TestCase): {{/with}} ) {{#if valid}} - body = {{httpMethod}}.request_body.{{#with schema}}{{#if refModule}}{{refModule}}.{{refClass}}{{else}}{{name.getSnakeCaseName}}.{{name.getCamelCaseName}}{{/if}}{{/with}}.from_openapi_data_oapg( + body = {{httpMethod}}.request_body.{{#with schema}}{{#if refModule}}{{refModule}}.{{refClass}}{{else}}{{name.getSnakeCaseName}}.{{name.getCamelCaseName}}{{/if}}{{/with}}.from_openapi_data_( payload, _configuration=self._configuration ) @@ -121,7 +121,7 @@ class Test{{operationIdSnakeCase}}(ApiTestMixin, unittest.TestCase): assert isinstance(api_response.body, schemas.Unset) {{else}} with self.assertRaises(({{packageName}}.ApiValueError, {{packageName}}.ApiTypeError)): - body = {{httpMethod}}.request_body.{{#with schema}}{{#if refModule}}{{refModule}}.{{refClass}}{{else}}{{name.getSnakeCaseName}}.{{name.getCamelCaseName}}{{/if}}{{/with}}.from_openapi_data_oapg( + body = {{httpMethod}}.request_body.{{#with schema}}{{#if refModule}}{{refModule}}.{{refClass}}{{else}}{{name.getSnakeCaseName}}.{{name.getCamelCaseName}}{{/if}}{{/with}}.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/model_test.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/model_test.handlebars index 64bb92cc908..4ce91f7cfbe 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/model_test.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/model_test.handlebars @@ -19,7 +19,7 @@ class Test{{name.getCamelCaseName}}(unittest.TestCase): def test_{{@key}}_{{#if valid}}passes{{else}}fails{{/if}}(self): # {{description}} {{#if valid}} - {{name.getCamelCaseName}}.from_openapi_data_oapg( + {{name.getCamelCaseName}}.from_openapi_data_( {{#with data}} {{> model_templates/payload_renderer endChar=',' }} {{/with}} @@ -27,7 +27,7 @@ class Test{{name.getCamelCaseName}}(unittest.TestCase): ) {{else}} with self.assertRaises(({{packageName}}.ApiValueError, {{packageName}}.ApiTypeError)): - {{name.getCamelCaseName}}.from_openapi_data_oapg( + {{name.getCamelCaseName}}.from_openapi_data_( {{#with data}} {{> model_templates/payload_renderer endChar=','}} {{/with}} diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars index 937b17ae46c..b637e7a3507 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars @@ -1425,7 +1425,7 @@ class Schema: return super(Schema, cls).__new__(cls, arg) @classmethod - def from_openapi_data_oapg( + def from_openapi_data_( cls, arg: typing.Union[ str, @@ -1442,7 +1442,7 @@ class Schema: _configuration: typing.Optional[configuration_module.Configuration] = None ): """ - Schema from_openapi_data_oapg + Schema from_openapi_data_ """ from_server = True validated_path_to_schemas = {} @@ -2176,8 +2176,8 @@ class ListSchema( types = {tuple} @classmethod - def from_openapi_data_oapg(cls, arg: typing.List[typing.Any], _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_oapg(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: typing.List[typing.Any], _configuration: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, _configuration=_configuration) def __new__(cls, _arg: typing.Union[typing.List[typing.Any], typing.Tuple[typing.Any]], **kwargs: configuration_module.Configuration): return super().__new__(cls, _arg, **kwargs) @@ -2192,8 +2192,8 @@ class NoneSchema( types = {NoneClass} @classmethod - def from_openapi_data_oapg(cls, arg: None, _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_oapg(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: None, _configuration: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, _configuration=_configuration) def __new__(cls, _arg: None, **kwargs: configuration_module.Configuration): return super().__new__(cls, _arg, **kwargs) @@ -2212,8 +2212,8 @@ class NumberSchema( types = {decimal.Decimal} @classmethod - def from_openapi_data_oapg(cls, arg: typing.Union[int, float], _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_oapg(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: typing.Union[int, float], _configuration: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, _configuration=_configuration) def __new__(cls, _arg: typing.Union[decimal.Decimal, int, float], **kwargs: configuration_module.Configuration): return super().__new__(cls, _arg, **kwargs) @@ -2235,8 +2235,8 @@ class IntSchema(IntBase, NumberSchema): format = 'int' @classmethod - def from_openapi_data_oapg(cls, arg: int, _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_oapg(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: int, _configuration: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, _configuration=_configuration) def __new__(cls, _arg: typing.Union[decimal.Decimal, int], **kwargs: configuration_module.Configuration): return super().__new__(cls, _arg, **kwargs) @@ -2266,8 +2266,8 @@ class Float32Schema( format = 'float' @classmethod - def from_openapi_data_oapg(cls, arg: float, _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_oapg(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: float, _configuration: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, _configuration=_configuration) class Float64Schema( @@ -2278,8 +2278,8 @@ class Float64Schema( format = 'double' @classmethod - def from_openapi_data_oapg(cls, arg: float, _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_oapg(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: float, _configuration: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, _configuration=_configuration) class StrSchema( @@ -2297,8 +2297,8 @@ class StrSchema( types = {str} @classmethod - def from_openapi_data_oapg(cls, arg: str, _configuration: typing.Optional[configuration_module.Configuration] = None) -> 'StrSchema': - return super().from_openapi_data_oapg(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: str, _configuration: typing.Optional[configuration_module.Configuration] = None) -> 'StrSchema': + return super().from_openapi_data_(arg, _configuration=_configuration) def __new__(cls, _arg: typing.Union[str, datetime.date, datetime.datetime, uuid.UUID], **kwargs: configuration_module.Configuration): return super().__new__(cls, _arg, **kwargs) @@ -2416,8 +2416,8 @@ class BoolSchema( types = {BoolClass} @classmethod - def from_openapi_data_oapg(cls, arg: bool, _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_oapg(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: bool, _configuration: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, _configuration=_configuration) def __new__(cls, _arg: bool, **kwargs: ValidationMetadata): return super().__new__(cls, _arg, **kwargs) @@ -2474,8 +2474,8 @@ class DictSchema( types = {frozendict.frozendict} @classmethod - def from_openapi_data_oapg(cls, arg: typing.Dict[str, typing.Any], _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_oapg(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: typing.Dict[str, typing.Any], _configuration: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, _configuration=_configuration) def __new__(cls, *_args: typing.Union[dict, frozendict.frozendict], **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, bool, None, bytes, Schema, Unset, ValidationMetadata]): return super().__new__(cls, *_args, **kwargs) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test__not.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test__not.py index 424b566a1ad..3b64dfc48b8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test__not.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test__not.py @@ -22,7 +22,7 @@ class Test_Not(unittest.TestCase): def test_allowed_passes(self): # allowed - _Not.from_openapi_data_oapg( + _Not.from_openapi_data_( "foo", _configuration=self._configuration ) @@ -30,7 +30,7 @@ def test_allowed_passes(self): def test_disallowed_fails(self): # disallowed with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - _Not.from_openapi_data_oapg( + _Not.from_openapi_data_( 1, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_additionalproperties_allows_a_schema_which_should_validate.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_additionalproperties_allows_a_schema_which_should_validate.py index f62119c83d9..2a8fad2bf5e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_additionalproperties_allows_a_schema_which_should_validate.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_additionalproperties_allows_a_schema_which_should_validate.py @@ -22,7 +22,7 @@ class TestAdditionalpropertiesAllowsASchemaWhichShouldValidate(unittest.TestCase def test_no_additional_properties_is_valid_passes(self): # no additional properties is valid - AdditionalpropertiesAllowsASchemaWhichShouldValidate.from_openapi_data_oapg( + AdditionalpropertiesAllowsASchemaWhichShouldValidate.from_openapi_data_( { "foo": 1, @@ -33,7 +33,7 @@ def test_no_additional_properties_is_valid_passes(self): def test_an_additional_invalid_property_is_invalid_fails(self): # an additional invalid property is invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - AdditionalpropertiesAllowsASchemaWhichShouldValidate.from_openapi_data_oapg( + AdditionalpropertiesAllowsASchemaWhichShouldValidate.from_openapi_data_( { "foo": 1, @@ -47,7 +47,7 @@ def test_an_additional_invalid_property_is_invalid_fails(self): def test_an_additional_valid_property_is_valid_passes(self): # an additional valid property is valid - AdditionalpropertiesAllowsASchemaWhichShouldValidate.from_openapi_data_oapg( + AdditionalpropertiesAllowsASchemaWhichShouldValidate.from_openapi_data_( { "foo": 1, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_additionalproperties_are_allowed_by_default.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_additionalproperties_are_allowed_by_default.py index e6e905b4de6..54faf05cac6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_additionalproperties_are_allowed_by_default.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_additionalproperties_are_allowed_by_default.py @@ -22,7 +22,7 @@ class TestAdditionalpropertiesAreAllowedByDefault(unittest.TestCase): def test_additional_properties_are_allowed_passes(self): # additional properties are allowed - AdditionalpropertiesAreAllowedByDefault.from_openapi_data_oapg( + AdditionalpropertiesAreAllowedByDefault.from_openapi_data_( { "foo": 1, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_additionalproperties_can_exist_by_itself.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_additionalproperties_can_exist_by_itself.py index 1c870f17e80..b390554e96f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_additionalproperties_can_exist_by_itself.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_additionalproperties_can_exist_by_itself.py @@ -23,7 +23,7 @@ class TestAdditionalpropertiesCanExistByItself(unittest.TestCase): def test_an_additional_invalid_property_is_invalid_fails(self): # an additional invalid property is invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - AdditionalpropertiesCanExistByItself.from_openapi_data_oapg( + AdditionalpropertiesCanExistByItself.from_openapi_data_( { "foo": 1, @@ -33,7 +33,7 @@ def test_an_additional_invalid_property_is_invalid_fails(self): def test_an_additional_valid_property_is_valid_passes(self): # an additional valid property is valid - AdditionalpropertiesCanExistByItself.from_openapi_data_oapg( + AdditionalpropertiesCanExistByItself.from_openapi_data_( { "foo": True, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_additionalproperties_should_not_look_in_applicators.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_additionalproperties_should_not_look_in_applicators.py index 0875f1714cb..5fd001e2a3c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_additionalproperties_should_not_look_in_applicators.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_additionalproperties_should_not_look_in_applicators.py @@ -23,7 +23,7 @@ class TestAdditionalpropertiesShouldNotLookInApplicators(unittest.TestCase): def test_properties_defined_in_allof_are_not_examined_fails(self): # properties defined in allOf are not examined with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - AdditionalpropertiesShouldNotLookInApplicators.from_openapi_data_oapg( + AdditionalpropertiesShouldNotLookInApplicators.from_openapi_data_( { "foo": 1, @@ -35,7 +35,7 @@ def test_properties_defined_in_allof_are_not_examined_fails(self): def test_valid_test_case_passes(self): # valid test case - AdditionalpropertiesShouldNotLookInApplicators.from_openapi_data_oapg( + AdditionalpropertiesShouldNotLookInApplicators.from_openapi_data_( { "foo": False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof.py index 68f30eeb387..cc58dbaf22b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof.py @@ -22,7 +22,7 @@ class TestAllof(unittest.TestCase): def test_allof_passes(self): # allOf - Allof.from_openapi_data_oapg( + Allof.from_openapi_data_( { "foo": "baz", @@ -35,7 +35,7 @@ def test_allof_passes(self): def test_mismatch_first_fails(self): # mismatch first with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - Allof.from_openapi_data_oapg( + Allof.from_openapi_data_( { "bar": 2, @@ -46,7 +46,7 @@ def test_mismatch_first_fails(self): def test_mismatch_second_fails(self): # mismatch second with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - Allof.from_openapi_data_oapg( + Allof.from_openapi_data_( { "foo": "baz", @@ -57,7 +57,7 @@ def test_mismatch_second_fails(self): def test_wrong_type_fails(self): # wrong type with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - Allof.from_openapi_data_oapg( + Allof.from_openapi_data_( { "foo": "baz", diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_combined_with_anyof_oneof.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_combined_with_anyof_oneof.py index 429e27c9280..13d030381f6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_combined_with_anyof_oneof.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_combined_with_anyof_oneof.py @@ -23,7 +23,7 @@ class TestAllofCombinedWithAnyofOneof(unittest.TestCase): def test_allof_true_anyof_false_oneof_false_fails(self): # allOf: true, anyOf: false, oneOf: false with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - AllofCombinedWithAnyofOneof.from_openapi_data_oapg( + AllofCombinedWithAnyofOneof.from_openapi_data_( 2, _configuration=self._configuration ) @@ -31,7 +31,7 @@ def test_allof_true_anyof_false_oneof_false_fails(self): def test_allof_false_anyof_false_oneof_true_fails(self): # allOf: false, anyOf: false, oneOf: true with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - AllofCombinedWithAnyofOneof.from_openapi_data_oapg( + AllofCombinedWithAnyofOneof.from_openapi_data_( 5, _configuration=self._configuration ) @@ -39,7 +39,7 @@ def test_allof_false_anyof_false_oneof_true_fails(self): def test_allof_false_anyof_true_oneof_true_fails(self): # allOf: false, anyOf: true, oneOf: true with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - AllofCombinedWithAnyofOneof.from_openapi_data_oapg( + AllofCombinedWithAnyofOneof.from_openapi_data_( 15, _configuration=self._configuration ) @@ -47,14 +47,14 @@ def test_allof_false_anyof_true_oneof_true_fails(self): def test_allof_true_anyof_true_oneof_false_fails(self): # allOf: true, anyOf: true, oneOf: false with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - AllofCombinedWithAnyofOneof.from_openapi_data_oapg( + AllofCombinedWithAnyofOneof.from_openapi_data_( 6, _configuration=self._configuration ) def test_allof_true_anyof_true_oneof_true_passes(self): # allOf: true, anyOf: true, oneOf: true - AllofCombinedWithAnyofOneof.from_openapi_data_oapg( + AllofCombinedWithAnyofOneof.from_openapi_data_( 30, _configuration=self._configuration ) @@ -62,7 +62,7 @@ def test_allof_true_anyof_true_oneof_true_passes(self): def test_allof_true_anyof_false_oneof_true_fails(self): # allOf: true, anyOf: false, oneOf: true with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - AllofCombinedWithAnyofOneof.from_openapi_data_oapg( + AllofCombinedWithAnyofOneof.from_openapi_data_( 10, _configuration=self._configuration ) @@ -70,7 +70,7 @@ def test_allof_true_anyof_false_oneof_true_fails(self): def test_allof_false_anyof_true_oneof_false_fails(self): # allOf: false, anyOf: true, oneOf: false with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - AllofCombinedWithAnyofOneof.from_openapi_data_oapg( + AllofCombinedWithAnyofOneof.from_openapi_data_( 3, _configuration=self._configuration ) @@ -78,7 +78,7 @@ def test_allof_false_anyof_true_oneof_false_fails(self): def test_allof_false_anyof_false_oneof_false_fails(self): # allOf: false, anyOf: false, oneOf: false with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - AllofCombinedWithAnyofOneof.from_openapi_data_oapg( + AllofCombinedWithAnyofOneof.from_openapi_data_( 1, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_simple_types.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_simple_types.py index ab8c0c1d912..c1b671d285f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_simple_types.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_simple_types.py @@ -22,7 +22,7 @@ class TestAllofSimpleTypes(unittest.TestCase): def test_valid_passes(self): # valid - AllofSimpleTypes.from_openapi_data_oapg( + AllofSimpleTypes.from_openapi_data_( 25, _configuration=self._configuration ) @@ -30,7 +30,7 @@ def test_valid_passes(self): def test_mismatch_one_fails(self): # mismatch one with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - AllofSimpleTypes.from_openapi_data_oapg( + AllofSimpleTypes.from_openapi_data_( 35, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_with_base_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_with_base_schema.py index c7725abf7c1..5f3a394797c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_with_base_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_with_base_schema.py @@ -22,7 +22,7 @@ class TestAllofWithBaseSchema(unittest.TestCase): def test_valid_passes(self): # valid - AllofWithBaseSchema.from_openapi_data_oapg( + AllofWithBaseSchema.from_openapi_data_( { "foo": "quux", @@ -37,7 +37,7 @@ def test_valid_passes(self): def test_mismatch_first_allof_fails(self): # mismatch first allOf with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - AllofWithBaseSchema.from_openapi_data_oapg( + AllofWithBaseSchema.from_openapi_data_( { "bar": 2, @@ -50,7 +50,7 @@ def test_mismatch_first_allof_fails(self): def test_mismatch_base_schema_fails(self): # mismatch base schema with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - AllofWithBaseSchema.from_openapi_data_oapg( + AllofWithBaseSchema.from_openapi_data_( { "foo": "quux", @@ -63,7 +63,7 @@ def test_mismatch_base_schema_fails(self): def test_mismatch_both_fails(self): # mismatch both with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - AllofWithBaseSchema.from_openapi_data_oapg( + AllofWithBaseSchema.from_openapi_data_( { "bar": 2, @@ -74,7 +74,7 @@ def test_mismatch_both_fails(self): def test_mismatch_second_allof_fails(self): # mismatch second allOf with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - AllofWithBaseSchema.from_openapi_data_oapg( + AllofWithBaseSchema.from_openapi_data_( { "foo": "quux", diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_with_one_empty_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_with_one_empty_schema.py index 2d1d469b92e..3291e64837f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_with_one_empty_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_with_one_empty_schema.py @@ -22,7 +22,7 @@ class TestAllofWithOneEmptySchema(unittest.TestCase): def test_any_data_is_valid_passes(self): # any data is valid - AllofWithOneEmptySchema.from_openapi_data_oapg( + AllofWithOneEmptySchema.from_openapi_data_( 1, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_with_the_first_empty_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_with_the_first_empty_schema.py index e2bc5dbe5a4..3e5f5f57183 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_with_the_first_empty_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_with_the_first_empty_schema.py @@ -23,14 +23,14 @@ class TestAllofWithTheFirstEmptySchema(unittest.TestCase): def test_string_is_invalid_fails(self): # string is invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - AllofWithTheFirstEmptySchema.from_openapi_data_oapg( + AllofWithTheFirstEmptySchema.from_openapi_data_( "foo", _configuration=self._configuration ) def test_number_is_valid_passes(self): # number is valid - AllofWithTheFirstEmptySchema.from_openapi_data_oapg( + AllofWithTheFirstEmptySchema.from_openapi_data_( 1, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_with_the_last_empty_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_with_the_last_empty_schema.py index 96e61a0a7aa..d0edf7585d6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_with_the_last_empty_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_with_the_last_empty_schema.py @@ -23,14 +23,14 @@ class TestAllofWithTheLastEmptySchema(unittest.TestCase): def test_string_is_invalid_fails(self): # string is invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - AllofWithTheLastEmptySchema.from_openapi_data_oapg( + AllofWithTheLastEmptySchema.from_openapi_data_( "foo", _configuration=self._configuration ) def test_number_is_valid_passes(self): # number is valid - AllofWithTheLastEmptySchema.from_openapi_data_oapg( + AllofWithTheLastEmptySchema.from_openapi_data_( 1, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_with_two_empty_schemas.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_with_two_empty_schemas.py index 811f193e5e2..6e23b3446d9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_with_two_empty_schemas.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_with_two_empty_schemas.py @@ -22,7 +22,7 @@ class TestAllofWithTwoEmptySchemas(unittest.TestCase): def test_any_data_is_valid_passes(self): # any data is valid - AllofWithTwoEmptySchemas.from_openapi_data_oapg( + AllofWithTwoEmptySchemas.from_openapi_data_( 1, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_anyof.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_anyof.py index b4a59979b76..f87aa5f12a9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_anyof.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_anyof.py @@ -22,7 +22,7 @@ class TestAnyof(unittest.TestCase): def test_second_anyof_valid_passes(self): # second anyOf valid - Anyof.from_openapi_data_oapg( + Anyof.from_openapi_data_( 2.5, _configuration=self._configuration ) @@ -30,21 +30,21 @@ def test_second_anyof_valid_passes(self): def test_neither_anyof_valid_fails(self): # neither anyOf valid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - Anyof.from_openapi_data_oapg( + Anyof.from_openapi_data_( 1.5, _configuration=self._configuration ) def test_both_anyof_valid_passes(self): # both anyOf valid - Anyof.from_openapi_data_oapg( + Anyof.from_openapi_data_( 3, _configuration=self._configuration ) def test_first_anyof_valid_passes(self): # first anyOf valid - Anyof.from_openapi_data_oapg( + Anyof.from_openapi_data_( 1, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_anyof_complex_types.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_anyof_complex_types.py index a284d3bec8a..8f7e9232178 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_anyof_complex_types.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_anyof_complex_types.py @@ -22,7 +22,7 @@ class TestAnyofComplexTypes(unittest.TestCase): def test_second_anyof_valid_complex_passes(self): # second anyOf valid (complex) - AnyofComplexTypes.from_openapi_data_oapg( + AnyofComplexTypes.from_openapi_data_( { "foo": "baz", @@ -33,7 +33,7 @@ def test_second_anyof_valid_complex_passes(self): def test_neither_anyof_valid_complex_fails(self): # neither anyOf valid (complex) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - AnyofComplexTypes.from_openapi_data_oapg( + AnyofComplexTypes.from_openapi_data_( { "foo": 2, @@ -45,7 +45,7 @@ def test_neither_anyof_valid_complex_fails(self): def test_both_anyof_valid_complex_passes(self): # both anyOf valid (complex) - AnyofComplexTypes.from_openapi_data_oapg( + AnyofComplexTypes.from_openapi_data_( { "foo": "baz", @@ -57,7 +57,7 @@ def test_both_anyof_valid_complex_passes(self): def test_first_anyof_valid_complex_passes(self): # first anyOf valid (complex) - AnyofComplexTypes.from_openapi_data_oapg( + AnyofComplexTypes.from_openapi_data_( { "bar": 2, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_anyof_with_base_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_anyof_with_base_schema.py index 016d6c28953..d00b9371a11 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_anyof_with_base_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_anyof_with_base_schema.py @@ -22,7 +22,7 @@ class TestAnyofWithBaseSchema(unittest.TestCase): def test_one_anyof_valid_passes(self): # one anyOf valid - AnyofWithBaseSchema.from_openapi_data_oapg( + AnyofWithBaseSchema.from_openapi_data_( "foobar", _configuration=self._configuration ) @@ -30,7 +30,7 @@ def test_one_anyof_valid_passes(self): def test_both_anyof_invalid_fails(self): # both anyOf invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - AnyofWithBaseSchema.from_openapi_data_oapg( + AnyofWithBaseSchema.from_openapi_data_( "foo", _configuration=self._configuration ) @@ -38,7 +38,7 @@ def test_both_anyof_invalid_fails(self): def test_mismatch_base_schema_fails(self): # mismatch base schema with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - AnyofWithBaseSchema.from_openapi_data_oapg( + AnyofWithBaseSchema.from_openapi_data_( 3, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_anyof_with_one_empty_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_anyof_with_one_empty_schema.py index 71891f8c0cd..4115e60bc8b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_anyof_with_one_empty_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_anyof_with_one_empty_schema.py @@ -22,14 +22,14 @@ class TestAnyofWithOneEmptySchema(unittest.TestCase): def test_string_is_valid_passes(self): # string is valid - AnyofWithOneEmptySchema.from_openapi_data_oapg( + AnyofWithOneEmptySchema.from_openapi_data_( "foo", _configuration=self._configuration ) def test_number_is_valid_passes(self): # number is valid - AnyofWithOneEmptySchema.from_openapi_data_oapg( + AnyofWithOneEmptySchema.from_openapi_data_( 123, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_array_type_matches_arrays.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_array_type_matches_arrays.py index 6e8285508de..c9ae650704d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_array_type_matches_arrays.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_array_type_matches_arrays.py @@ -23,7 +23,7 @@ class TestArrayTypeMatchesArrays(unittest.TestCase): def test_a_float_is_not_an_array_fails(self): # a float is not an array with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - ArrayTypeMatchesArrays.from_openapi_data_oapg( + ArrayTypeMatchesArrays.from_openapi_data_( 1.1, _configuration=self._configuration ) @@ -31,7 +31,7 @@ def test_a_float_is_not_an_array_fails(self): def test_a_boolean_is_not_an_array_fails(self): # a boolean is not an array with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - ArrayTypeMatchesArrays.from_openapi_data_oapg( + ArrayTypeMatchesArrays.from_openapi_data_( True, _configuration=self._configuration ) @@ -39,7 +39,7 @@ def test_a_boolean_is_not_an_array_fails(self): def test_null_is_not_an_array_fails(self): # null is not an array with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - ArrayTypeMatchesArrays.from_openapi_data_oapg( + ArrayTypeMatchesArrays.from_openapi_data_( None, _configuration=self._configuration ) @@ -47,7 +47,7 @@ def test_null_is_not_an_array_fails(self): def test_an_object_is_not_an_array_fails(self): # an object is not an array with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - ArrayTypeMatchesArrays.from_openapi_data_oapg( + ArrayTypeMatchesArrays.from_openapi_data_( { }, _configuration=self._configuration @@ -56,14 +56,14 @@ def test_an_object_is_not_an_array_fails(self): def test_a_string_is_not_an_array_fails(self): # a string is not an array with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - ArrayTypeMatchesArrays.from_openapi_data_oapg( + ArrayTypeMatchesArrays.from_openapi_data_( "foo", _configuration=self._configuration ) def test_an_array_is_an_array_passes(self): # an array is an array - ArrayTypeMatchesArrays.from_openapi_data_oapg( + ArrayTypeMatchesArrays.from_openapi_data_( [ ], _configuration=self._configuration @@ -72,7 +72,7 @@ def test_an_array_is_an_array_passes(self): def test_an_integer_is_not_an_array_fails(self): # an integer is not an array with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - ArrayTypeMatchesArrays.from_openapi_data_oapg( + ArrayTypeMatchesArrays.from_openapi_data_( 1, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_boolean_type_matches_booleans.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_boolean_type_matches_booleans.py index 2cd38bb4663..2b34e43cbea 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_boolean_type_matches_booleans.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_boolean_type_matches_booleans.py @@ -23,7 +23,7 @@ class TestBooleanTypeMatchesBooleans(unittest.TestCase): def test_an_empty_string_is_not_a_boolean_fails(self): # an empty string is not a boolean with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - BooleanTypeMatchesBooleans.from_openapi_data_oapg( + BooleanTypeMatchesBooleans.from_openapi_data_( "", _configuration=self._configuration ) @@ -31,7 +31,7 @@ def test_an_empty_string_is_not_a_boolean_fails(self): def test_a_float_is_not_a_boolean_fails(self): # a float is not a boolean with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - BooleanTypeMatchesBooleans.from_openapi_data_oapg( + BooleanTypeMatchesBooleans.from_openapi_data_( 1.1, _configuration=self._configuration ) @@ -39,7 +39,7 @@ def test_a_float_is_not_a_boolean_fails(self): def test_null_is_not_a_boolean_fails(self): # null is not a boolean with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - BooleanTypeMatchesBooleans.from_openapi_data_oapg( + BooleanTypeMatchesBooleans.from_openapi_data_( None, _configuration=self._configuration ) @@ -47,7 +47,7 @@ def test_null_is_not_a_boolean_fails(self): def test_zero_is_not_a_boolean_fails(self): # zero is not a boolean with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - BooleanTypeMatchesBooleans.from_openapi_data_oapg( + BooleanTypeMatchesBooleans.from_openapi_data_( 0, _configuration=self._configuration ) @@ -55,7 +55,7 @@ def test_zero_is_not_a_boolean_fails(self): def test_an_array_is_not_a_boolean_fails(self): # an array is not a boolean with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - BooleanTypeMatchesBooleans.from_openapi_data_oapg( + BooleanTypeMatchesBooleans.from_openapi_data_( [ ], _configuration=self._configuration @@ -64,14 +64,14 @@ def test_an_array_is_not_a_boolean_fails(self): def test_a_string_is_not_a_boolean_fails(self): # a string is not a boolean with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - BooleanTypeMatchesBooleans.from_openapi_data_oapg( + BooleanTypeMatchesBooleans.from_openapi_data_( "foo", _configuration=self._configuration ) def test_false_is_a_boolean_passes(self): # false is a boolean - BooleanTypeMatchesBooleans.from_openapi_data_oapg( + BooleanTypeMatchesBooleans.from_openapi_data_( False, _configuration=self._configuration ) @@ -79,14 +79,14 @@ def test_false_is_a_boolean_passes(self): def test_an_integer_is_not_a_boolean_fails(self): # an integer is not a boolean with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - BooleanTypeMatchesBooleans.from_openapi_data_oapg( + BooleanTypeMatchesBooleans.from_openapi_data_( 1, _configuration=self._configuration ) def test_true_is_a_boolean_passes(self): # true is a boolean - BooleanTypeMatchesBooleans.from_openapi_data_oapg( + BooleanTypeMatchesBooleans.from_openapi_data_( True, _configuration=self._configuration ) @@ -94,7 +94,7 @@ def test_true_is_a_boolean_passes(self): def test_an_object_is_not_a_boolean_fails(self): # an object is not a boolean with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - BooleanTypeMatchesBooleans.from_openapi_data_oapg( + BooleanTypeMatchesBooleans.from_openapi_data_( { }, _configuration=self._configuration diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_by_int.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_by_int.py index 5984c9f73bb..3cb1d0e768d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_by_int.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_by_int.py @@ -23,21 +23,21 @@ class TestByInt(unittest.TestCase): def test_int_by_int_fail_fails(self): # int by int fail with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - ByInt.from_openapi_data_oapg( + ByInt.from_openapi_data_( 7, _configuration=self._configuration ) def test_int_by_int_passes(self): # int by int - ByInt.from_openapi_data_oapg( + ByInt.from_openapi_data_( 10, _configuration=self._configuration ) def test_ignores_non_numbers_passes(self): # ignores non-numbers - ByInt.from_openapi_data_oapg( + ByInt.from_openapi_data_( "foo", _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_by_number.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_by_number.py index bce0bfca81a..b794a4cea7f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_by_number.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_by_number.py @@ -22,7 +22,7 @@ class TestByNumber(unittest.TestCase): def test_45_is_multiple_of15_passes(self): # 4.5 is multiple of 1.5 - ByNumber.from_openapi_data_oapg( + ByNumber.from_openapi_data_( 4.5, _configuration=self._configuration ) @@ -30,14 +30,14 @@ def test_45_is_multiple_of15_passes(self): def test_35_is_not_multiple_of15_fails(self): # 35 is not multiple of 1.5 with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - ByNumber.from_openapi_data_oapg( + ByNumber.from_openapi_data_( 35, _configuration=self._configuration ) def test_zero_is_multiple_of_anything_passes(self): # zero is multiple of anything - ByNumber.from_openapi_data_oapg( + ByNumber.from_openapi_data_( 0, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_by_small_number.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_by_small_number.py index ccd23db5bf6..9db720d15bc 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_by_small_number.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_by_small_number.py @@ -23,14 +23,14 @@ class TestBySmallNumber(unittest.TestCase): def test_000751_is_not_multiple_of00001_fails(self): # 0.00751 is not multiple of 0.0001 with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - BySmallNumber.from_openapi_data_oapg( + BySmallNumber.from_openapi_data_( 0.00751, _configuration=self._configuration ) def test_00075_is_multiple_of00001_passes(self): # 0.0075 is multiple of 0.0001 - BySmallNumber.from_openapi_data_oapg( + BySmallNumber.from_openapi_data_( 0.0075, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_date_time_format.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_date_time_format.py index 5939c88248f..31143b430fd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_date_time_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_date_time_format.py @@ -22,7 +22,7 @@ class TestDateTimeFormat(unittest.TestCase): def test_all_string_formats_ignore_objects_passes(self): # all string formats ignore objects - DateTimeFormat.from_openapi_data_oapg( + DateTimeFormat.from_openapi_data_( { }, _configuration=self._configuration @@ -30,28 +30,28 @@ def test_all_string_formats_ignore_objects_passes(self): def test_all_string_formats_ignore_booleans_passes(self): # all string formats ignore booleans - DateTimeFormat.from_openapi_data_oapg( + DateTimeFormat.from_openapi_data_( False, _configuration=self._configuration ) def test_all_string_formats_ignore_integers_passes(self): # all string formats ignore integers - DateTimeFormat.from_openapi_data_oapg( + DateTimeFormat.from_openapi_data_( 12, _configuration=self._configuration ) def test_all_string_formats_ignore_floats_passes(self): # all string formats ignore floats - DateTimeFormat.from_openapi_data_oapg( + DateTimeFormat.from_openapi_data_( 13.7, _configuration=self._configuration ) def test_all_string_formats_ignore_arrays_passes(self): # all string formats ignore arrays - DateTimeFormat.from_openapi_data_oapg( + DateTimeFormat.from_openapi_data_( [ ], _configuration=self._configuration @@ -59,7 +59,7 @@ def test_all_string_formats_ignore_arrays_passes(self): def test_all_string_formats_ignore_nulls_passes(self): # all string formats ignore nulls - DateTimeFormat.from_openapi_data_oapg( + DateTimeFormat.from_openapi_data_( None, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_email_format.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_email_format.py index e3d00ebdde3..46f3f3ed25b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_email_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_email_format.py @@ -22,7 +22,7 @@ class TestEmailFormat(unittest.TestCase): def test_all_string_formats_ignore_objects_passes(self): # all string formats ignore objects - EmailFormat.from_openapi_data_oapg( + EmailFormat.from_openapi_data_( { }, _configuration=self._configuration @@ -30,28 +30,28 @@ def test_all_string_formats_ignore_objects_passes(self): def test_all_string_formats_ignore_booleans_passes(self): # all string formats ignore booleans - EmailFormat.from_openapi_data_oapg( + EmailFormat.from_openapi_data_( False, _configuration=self._configuration ) def test_all_string_formats_ignore_integers_passes(self): # all string formats ignore integers - EmailFormat.from_openapi_data_oapg( + EmailFormat.from_openapi_data_( 12, _configuration=self._configuration ) def test_all_string_formats_ignore_floats_passes(self): # all string formats ignore floats - EmailFormat.from_openapi_data_oapg( + EmailFormat.from_openapi_data_( 13.7, _configuration=self._configuration ) def test_all_string_formats_ignore_arrays_passes(self): # all string formats ignore arrays - EmailFormat.from_openapi_data_oapg( + EmailFormat.from_openapi_data_( [ ], _configuration=self._configuration @@ -59,7 +59,7 @@ def test_all_string_formats_ignore_arrays_passes(self): def test_all_string_formats_ignore_nulls_passes(self): # all string formats ignore nulls - EmailFormat.from_openapi_data_oapg( + EmailFormat.from_openapi_data_( None, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_enum_with0_does_not_match_false.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_enum_with0_does_not_match_false.py index 24daa4a0a26..edc3a401803 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_enum_with0_does_not_match_false.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_enum_with0_does_not_match_false.py @@ -22,14 +22,14 @@ class TestEnumWith0DoesNotMatchFalse(unittest.TestCase): def test_integer_zero_is_valid_passes(self): # integer zero is valid - EnumWith0DoesNotMatchFalse.from_openapi_data_oapg( + EnumWith0DoesNotMatchFalse.from_openapi_data_( 0, _configuration=self._configuration ) def test_float_zero_is_valid_passes(self): # float zero is valid - EnumWith0DoesNotMatchFalse.from_openapi_data_oapg( + EnumWith0DoesNotMatchFalse.from_openapi_data_( 0.0, _configuration=self._configuration ) @@ -37,7 +37,7 @@ def test_float_zero_is_valid_passes(self): def test_false_is_invalid_fails(self): # false is invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - EnumWith0DoesNotMatchFalse.from_openapi_data_oapg( + EnumWith0DoesNotMatchFalse.from_openapi_data_( False, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_enum_with1_does_not_match_true.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_enum_with1_does_not_match_true.py index df6a37c9471..9d06b98149c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_enum_with1_does_not_match_true.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_enum_with1_does_not_match_true.py @@ -23,21 +23,21 @@ class TestEnumWith1DoesNotMatchTrue(unittest.TestCase): def test_true_is_invalid_fails(self): # true is invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - EnumWith1DoesNotMatchTrue.from_openapi_data_oapg( + EnumWith1DoesNotMatchTrue.from_openapi_data_( True, _configuration=self._configuration ) def test_integer_one_is_valid_passes(self): # integer one is valid - EnumWith1DoesNotMatchTrue.from_openapi_data_oapg( + EnumWith1DoesNotMatchTrue.from_openapi_data_( 1, _configuration=self._configuration ) def test_float_one_is_valid_passes(self): # float one is valid - EnumWith1DoesNotMatchTrue.from_openapi_data_oapg( + EnumWith1DoesNotMatchTrue.from_openapi_data_( 1.0, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_enum_with_escaped_characters.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_enum_with_escaped_characters.py index 91a196d61c5..65a9cab77f4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_enum_with_escaped_characters.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_enum_with_escaped_characters.py @@ -22,14 +22,14 @@ class TestEnumWithEscapedCharacters(unittest.TestCase): def test_member2_is_valid_passes(self): # member 2 is valid - EnumWithEscapedCharacters.from_openapi_data_oapg( + EnumWithEscapedCharacters.from_openapi_data_( "foo\rbar", _configuration=self._configuration ) def test_member1_is_valid_passes(self): # member 1 is valid - EnumWithEscapedCharacters.from_openapi_data_oapg( + EnumWithEscapedCharacters.from_openapi_data_( "foo\nbar", _configuration=self._configuration ) @@ -37,7 +37,7 @@ def test_member1_is_valid_passes(self): def test_another_string_is_invalid_fails(self): # another string is invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - EnumWithEscapedCharacters.from_openapi_data_oapg( + EnumWithEscapedCharacters.from_openapi_data_( "abc", _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_enum_with_false_does_not_match0.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_enum_with_false_does_not_match0.py index 12e329ea715..cbbe71f7143 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_enum_with_false_does_not_match0.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_enum_with_false_does_not_match0.py @@ -22,7 +22,7 @@ class TestEnumWithFalseDoesNotMatch0(unittest.TestCase): def test_false_is_valid_passes(self): # false is valid - EnumWithFalseDoesNotMatch0.from_openapi_data_oapg( + EnumWithFalseDoesNotMatch0.from_openapi_data_( False, _configuration=self._configuration ) @@ -30,7 +30,7 @@ def test_false_is_valid_passes(self): def test_float_zero_is_invalid_fails(self): # float zero is invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - EnumWithFalseDoesNotMatch0.from_openapi_data_oapg( + EnumWithFalseDoesNotMatch0.from_openapi_data_( 0.0, _configuration=self._configuration ) @@ -38,7 +38,7 @@ def test_float_zero_is_invalid_fails(self): def test_integer_zero_is_invalid_fails(self): # integer zero is invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - EnumWithFalseDoesNotMatch0.from_openapi_data_oapg( + EnumWithFalseDoesNotMatch0.from_openapi_data_( 0, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_enum_with_true_does_not_match1.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_enum_with_true_does_not_match1.py index 0b6638b7241..5a37c760a3d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_enum_with_true_does_not_match1.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_enum_with_true_does_not_match1.py @@ -23,14 +23,14 @@ class TestEnumWithTrueDoesNotMatch1(unittest.TestCase): def test_float_one_is_invalid_fails(self): # float one is invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - EnumWithTrueDoesNotMatch1.from_openapi_data_oapg( + EnumWithTrueDoesNotMatch1.from_openapi_data_( 1.0, _configuration=self._configuration ) def test_true_is_valid_passes(self): # true is valid - EnumWithTrueDoesNotMatch1.from_openapi_data_oapg( + EnumWithTrueDoesNotMatch1.from_openapi_data_( True, _configuration=self._configuration ) @@ -38,7 +38,7 @@ def test_true_is_valid_passes(self): def test_integer_one_is_invalid_fails(self): # integer one is invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - EnumWithTrueDoesNotMatch1.from_openapi_data_oapg( + EnumWithTrueDoesNotMatch1.from_openapi_data_( 1, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_enums_in_properties.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_enums_in_properties.py index e591e90f8aa..2989a816c0c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_enums_in_properties.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_enums_in_properties.py @@ -22,7 +22,7 @@ class TestEnumsInProperties(unittest.TestCase): def test_missing_optional_property_is_valid_passes(self): # missing optional property is valid - EnumsInProperties.from_openapi_data_oapg( + EnumsInProperties.from_openapi_data_( { "bar": "bar", @@ -33,7 +33,7 @@ def test_missing_optional_property_is_valid_passes(self): def test_wrong_foo_value_fails(self): # wrong foo value with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - EnumsInProperties.from_openapi_data_oapg( + EnumsInProperties.from_openapi_data_( { "foo": "foot", @@ -45,7 +45,7 @@ def test_wrong_foo_value_fails(self): def test_both_properties_are_valid_passes(self): # both properties are valid - EnumsInProperties.from_openapi_data_oapg( + EnumsInProperties.from_openapi_data_( { "foo": "foo", @@ -58,7 +58,7 @@ def test_both_properties_are_valid_passes(self): def test_wrong_bar_value_fails(self): # wrong bar value with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - EnumsInProperties.from_openapi_data_oapg( + EnumsInProperties.from_openapi_data_( { "foo": "foo", @@ -71,7 +71,7 @@ def test_wrong_bar_value_fails(self): def test_missing_all_properties_is_invalid_fails(self): # missing all properties is invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - EnumsInProperties.from_openapi_data_oapg( + EnumsInProperties.from_openapi_data_( { }, _configuration=self._configuration @@ -80,7 +80,7 @@ def test_missing_all_properties_is_invalid_fails(self): def test_missing_required_property_is_invalid_fails(self): # missing required property is invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - EnumsInProperties.from_openapi_data_oapg( + EnumsInProperties.from_openapi_data_( { "foo": "foo", diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_forbidden_property.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_forbidden_property.py index d7b9f572246..a87d23333b4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_forbidden_property.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_forbidden_property.py @@ -23,7 +23,7 @@ class TestForbiddenProperty(unittest.TestCase): def test_property_present_fails(self): # property present with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - ForbiddenProperty.from_openapi_data_oapg( + ForbiddenProperty.from_openapi_data_( { "foo": 1, @@ -35,7 +35,7 @@ def test_property_present_fails(self): def test_property_absent_passes(self): # property absent - ForbiddenProperty.from_openapi_data_oapg( + ForbiddenProperty.from_openapi_data_( { "bar": 1, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_hostname_format.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_hostname_format.py index d4f0096ac97..c3f42e8af20 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_hostname_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_hostname_format.py @@ -22,7 +22,7 @@ class TestHostnameFormat(unittest.TestCase): def test_all_string_formats_ignore_objects_passes(self): # all string formats ignore objects - HostnameFormat.from_openapi_data_oapg( + HostnameFormat.from_openapi_data_( { }, _configuration=self._configuration @@ -30,28 +30,28 @@ def test_all_string_formats_ignore_objects_passes(self): def test_all_string_formats_ignore_booleans_passes(self): # all string formats ignore booleans - HostnameFormat.from_openapi_data_oapg( + HostnameFormat.from_openapi_data_( False, _configuration=self._configuration ) def test_all_string_formats_ignore_integers_passes(self): # all string formats ignore integers - HostnameFormat.from_openapi_data_oapg( + HostnameFormat.from_openapi_data_( 12, _configuration=self._configuration ) def test_all_string_formats_ignore_floats_passes(self): # all string formats ignore floats - HostnameFormat.from_openapi_data_oapg( + HostnameFormat.from_openapi_data_( 13.7, _configuration=self._configuration ) def test_all_string_formats_ignore_arrays_passes(self): # all string formats ignore arrays - HostnameFormat.from_openapi_data_oapg( + HostnameFormat.from_openapi_data_( [ ], _configuration=self._configuration @@ -59,7 +59,7 @@ def test_all_string_formats_ignore_arrays_passes(self): def test_all_string_formats_ignore_nulls_passes(self): # all string formats ignore nulls - HostnameFormat.from_openapi_data_oapg( + HostnameFormat.from_openapi_data_( None, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_integer_type_matches_integers.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_integer_type_matches_integers.py index ab8fa9376b9..7e2608cfc65 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_integer_type_matches_integers.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_integer_type_matches_integers.py @@ -23,7 +23,7 @@ class TestIntegerTypeMatchesIntegers(unittest.TestCase): def test_an_object_is_not_an_integer_fails(self): # an object is not an integer with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - IntegerTypeMatchesIntegers.from_openapi_data_oapg( + IntegerTypeMatchesIntegers.from_openapi_data_( { }, _configuration=self._configuration @@ -32,7 +32,7 @@ def test_an_object_is_not_an_integer_fails(self): def test_a_string_is_not_an_integer_fails(self): # a string is not an integer with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - IntegerTypeMatchesIntegers.from_openapi_data_oapg( + IntegerTypeMatchesIntegers.from_openapi_data_( "foo", _configuration=self._configuration ) @@ -40,14 +40,14 @@ def test_a_string_is_not_an_integer_fails(self): def test_null_is_not_an_integer_fails(self): # null is not an integer with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - IntegerTypeMatchesIntegers.from_openapi_data_oapg( + IntegerTypeMatchesIntegers.from_openapi_data_( None, _configuration=self._configuration ) def test_a_float_with_zero_fractional_part_is_an_integer_passes(self): # a float with zero fractional part is an integer - IntegerTypeMatchesIntegers.from_openapi_data_oapg( + IntegerTypeMatchesIntegers.from_openapi_data_( 1.0, _configuration=self._configuration ) @@ -55,7 +55,7 @@ def test_a_float_with_zero_fractional_part_is_an_integer_passes(self): def test_a_float_is_not_an_integer_fails(self): # a float is not an integer with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - IntegerTypeMatchesIntegers.from_openapi_data_oapg( + IntegerTypeMatchesIntegers.from_openapi_data_( 1.1, _configuration=self._configuration ) @@ -63,14 +63,14 @@ def test_a_float_is_not_an_integer_fails(self): def test_a_boolean_is_not_an_integer_fails(self): # a boolean is not an integer with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - IntegerTypeMatchesIntegers.from_openapi_data_oapg( + IntegerTypeMatchesIntegers.from_openapi_data_( True, _configuration=self._configuration ) def test_an_integer_is_an_integer_passes(self): # an integer is an integer - IntegerTypeMatchesIntegers.from_openapi_data_oapg( + IntegerTypeMatchesIntegers.from_openapi_data_( 1, _configuration=self._configuration ) @@ -78,7 +78,7 @@ def test_an_integer_is_an_integer_passes(self): def test_a_string_is_still_not_an_integer_even_if_it_looks_like_one_fails(self): # a string is still not an integer, even if it looks like one with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - IntegerTypeMatchesIntegers.from_openapi_data_oapg( + IntegerTypeMatchesIntegers.from_openapi_data_( "1", _configuration=self._configuration ) @@ -86,7 +86,7 @@ def test_a_string_is_still_not_an_integer_even_if_it_looks_like_one_fails(self): def test_an_array_is_not_an_integer_fails(self): # an array is not an integer with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - IntegerTypeMatchesIntegers.from_openapi_data_oapg( + IntegerTypeMatchesIntegers.from_openapi_data_( [ ], _configuration=self._configuration diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_invalid_instance_should_not_raise_error_when_float_division_inf.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_invalid_instance_should_not_raise_error_when_float_division_inf.py index 723c7b01296..bb9351c798d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_invalid_instance_should_not_raise_error_when_float_division_inf.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_invalid_instance_should_not_raise_error_when_float_division_inf.py @@ -23,14 +23,14 @@ class TestInvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf(unittest.TestCa def test_always_invalid_but_naive_implementations_may_raise_an_overflow_error_fails(self): # always invalid, but naive implementations may raise an overflow error with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf.from_openapi_data_oapg( + InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf.from_openapi_data_( 1.0E308, _configuration=self._configuration ) def test_valid_integer_with_multipleof_float_passes(self): # valid integer with multipleOf float - InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf.from_openapi_data_oapg( + InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf.from_openapi_data_( 123456789, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_invalid_string_value_for_default.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_invalid_string_value_for_default.py index d3f0d7e1994..722aaf0ee76 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_invalid_string_value_for_default.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_invalid_string_value_for_default.py @@ -22,7 +22,7 @@ class TestInvalidStringValueForDefault(unittest.TestCase): def test_valid_when_property_is_specified_passes(self): # valid when property is specified - InvalidStringValueForDefault.from_openapi_data_oapg( + InvalidStringValueForDefault.from_openapi_data_( { "bar": "good", @@ -32,7 +32,7 @@ def test_valid_when_property_is_specified_passes(self): def test_still_valid_when_the_invalid_default_is_used_passes(self): # still valid when the invalid default is used - InvalidStringValueForDefault.from_openapi_data_oapg( + InvalidStringValueForDefault.from_openapi_data_( { }, _configuration=self._configuration diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ipv4_format.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ipv4_format.py index 9187ee3516d..04633347e48 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ipv4_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ipv4_format.py @@ -22,7 +22,7 @@ class TestIpv4Format(unittest.TestCase): def test_all_string_formats_ignore_objects_passes(self): # all string formats ignore objects - Ipv4Format.from_openapi_data_oapg( + Ipv4Format.from_openapi_data_( { }, _configuration=self._configuration @@ -30,28 +30,28 @@ def test_all_string_formats_ignore_objects_passes(self): def test_all_string_formats_ignore_booleans_passes(self): # all string formats ignore booleans - Ipv4Format.from_openapi_data_oapg( + Ipv4Format.from_openapi_data_( False, _configuration=self._configuration ) def test_all_string_formats_ignore_integers_passes(self): # all string formats ignore integers - Ipv4Format.from_openapi_data_oapg( + Ipv4Format.from_openapi_data_( 12, _configuration=self._configuration ) def test_all_string_formats_ignore_floats_passes(self): # all string formats ignore floats - Ipv4Format.from_openapi_data_oapg( + Ipv4Format.from_openapi_data_( 13.7, _configuration=self._configuration ) def test_all_string_formats_ignore_arrays_passes(self): # all string formats ignore arrays - Ipv4Format.from_openapi_data_oapg( + Ipv4Format.from_openapi_data_( [ ], _configuration=self._configuration @@ -59,7 +59,7 @@ def test_all_string_formats_ignore_arrays_passes(self): def test_all_string_formats_ignore_nulls_passes(self): # all string formats ignore nulls - Ipv4Format.from_openapi_data_oapg( + Ipv4Format.from_openapi_data_( None, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ipv6_format.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ipv6_format.py index c93e793d5f7..d90d7e86c5c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ipv6_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ipv6_format.py @@ -22,7 +22,7 @@ class TestIpv6Format(unittest.TestCase): def test_all_string_formats_ignore_objects_passes(self): # all string formats ignore objects - Ipv6Format.from_openapi_data_oapg( + Ipv6Format.from_openapi_data_( { }, _configuration=self._configuration @@ -30,28 +30,28 @@ def test_all_string_formats_ignore_objects_passes(self): def test_all_string_formats_ignore_booleans_passes(self): # all string formats ignore booleans - Ipv6Format.from_openapi_data_oapg( + Ipv6Format.from_openapi_data_( False, _configuration=self._configuration ) def test_all_string_formats_ignore_integers_passes(self): # all string formats ignore integers - Ipv6Format.from_openapi_data_oapg( + Ipv6Format.from_openapi_data_( 12, _configuration=self._configuration ) def test_all_string_formats_ignore_floats_passes(self): # all string formats ignore floats - Ipv6Format.from_openapi_data_oapg( + Ipv6Format.from_openapi_data_( 13.7, _configuration=self._configuration ) def test_all_string_formats_ignore_arrays_passes(self): # all string formats ignore arrays - Ipv6Format.from_openapi_data_oapg( + Ipv6Format.from_openapi_data_( [ ], _configuration=self._configuration @@ -59,7 +59,7 @@ def test_all_string_formats_ignore_arrays_passes(self): def test_all_string_formats_ignore_nulls_passes(self): # all string formats ignore nulls - Ipv6Format.from_openapi_data_oapg( + Ipv6Format.from_openapi_data_( None, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_json_pointer_format.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_json_pointer_format.py index 516d528af2a..d026cc9e127 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_json_pointer_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_json_pointer_format.py @@ -22,7 +22,7 @@ class TestJsonPointerFormat(unittest.TestCase): def test_all_string_formats_ignore_objects_passes(self): # all string formats ignore objects - JsonPointerFormat.from_openapi_data_oapg( + JsonPointerFormat.from_openapi_data_( { }, _configuration=self._configuration @@ -30,28 +30,28 @@ def test_all_string_formats_ignore_objects_passes(self): def test_all_string_formats_ignore_booleans_passes(self): # all string formats ignore booleans - JsonPointerFormat.from_openapi_data_oapg( + JsonPointerFormat.from_openapi_data_( False, _configuration=self._configuration ) def test_all_string_formats_ignore_integers_passes(self): # all string formats ignore integers - JsonPointerFormat.from_openapi_data_oapg( + JsonPointerFormat.from_openapi_data_( 12, _configuration=self._configuration ) def test_all_string_formats_ignore_floats_passes(self): # all string formats ignore floats - JsonPointerFormat.from_openapi_data_oapg( + JsonPointerFormat.from_openapi_data_( 13.7, _configuration=self._configuration ) def test_all_string_formats_ignore_arrays_passes(self): # all string formats ignore arrays - JsonPointerFormat.from_openapi_data_oapg( + JsonPointerFormat.from_openapi_data_( [ ], _configuration=self._configuration @@ -59,7 +59,7 @@ def test_all_string_formats_ignore_arrays_passes(self): def test_all_string_formats_ignore_nulls_passes(self): # all string formats ignore nulls - JsonPointerFormat.from_openapi_data_oapg( + JsonPointerFormat.from_openapi_data_( None, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_maximum_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_maximum_validation.py index bdf5e949d62..bd0cae089b3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_maximum_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_maximum_validation.py @@ -22,14 +22,14 @@ class TestMaximumValidation(unittest.TestCase): def test_below_the_maximum_is_valid_passes(self): # below the maximum is valid - MaximumValidation.from_openapi_data_oapg( + MaximumValidation.from_openapi_data_( 2.6, _configuration=self._configuration ) def test_boundary_point_is_valid_passes(self): # boundary point is valid - MaximumValidation.from_openapi_data_oapg( + MaximumValidation.from_openapi_data_( 3.0, _configuration=self._configuration ) @@ -37,14 +37,14 @@ def test_boundary_point_is_valid_passes(self): def test_above_the_maximum_is_invalid_fails(self): # above the maximum is invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - MaximumValidation.from_openapi_data_oapg( + MaximumValidation.from_openapi_data_( 3.5, _configuration=self._configuration ) def test_ignores_non_numbers_passes(self): # ignores non-numbers - MaximumValidation.from_openapi_data_oapg( + MaximumValidation.from_openapi_data_( "x", _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_maximum_validation_with_unsigned_integer.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_maximum_validation_with_unsigned_integer.py index 4b27673c2e0..fda501a243e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_maximum_validation_with_unsigned_integer.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_maximum_validation_with_unsigned_integer.py @@ -22,7 +22,7 @@ class TestMaximumValidationWithUnsignedInteger(unittest.TestCase): def test_below_the_maximum_is_invalid_passes(self): # below the maximum is invalid - MaximumValidationWithUnsignedInteger.from_openapi_data_oapg( + MaximumValidationWithUnsignedInteger.from_openapi_data_( 299.97, _configuration=self._configuration ) @@ -30,21 +30,21 @@ def test_below_the_maximum_is_invalid_passes(self): def test_above_the_maximum_is_invalid_fails(self): # above the maximum is invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - MaximumValidationWithUnsignedInteger.from_openapi_data_oapg( + MaximumValidationWithUnsignedInteger.from_openapi_data_( 300.5, _configuration=self._configuration ) def test_boundary_point_integer_is_valid_passes(self): # boundary point integer is valid - MaximumValidationWithUnsignedInteger.from_openapi_data_oapg( + MaximumValidationWithUnsignedInteger.from_openapi_data_( 300, _configuration=self._configuration ) def test_boundary_point_float_is_valid_passes(self): # boundary point float is valid - MaximumValidationWithUnsignedInteger.from_openapi_data_oapg( + MaximumValidationWithUnsignedInteger.from_openapi_data_( 300.0, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_maxitems_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_maxitems_validation.py index 024baa0c87d..6e9efebf98b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_maxitems_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_maxitems_validation.py @@ -23,7 +23,7 @@ class TestMaxitemsValidation(unittest.TestCase): def test_too_long_is_invalid_fails(self): # too long is invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - MaxitemsValidation.from_openapi_data_oapg( + MaxitemsValidation.from_openapi_data_( [ 1, 2, @@ -34,14 +34,14 @@ def test_too_long_is_invalid_fails(self): def test_ignores_non_arrays_passes(self): # ignores non-arrays - MaxitemsValidation.from_openapi_data_oapg( + MaxitemsValidation.from_openapi_data_( "foobar", _configuration=self._configuration ) def test_shorter_is_valid_passes(self): # shorter is valid - MaxitemsValidation.from_openapi_data_oapg( + MaxitemsValidation.from_openapi_data_( [ 1, ], @@ -50,7 +50,7 @@ def test_shorter_is_valid_passes(self): def test_exact_length_is_valid_passes(self): # exact length is valid - MaxitemsValidation.from_openapi_data_oapg( + MaxitemsValidation.from_openapi_data_( [ 1, 2, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_maxlength_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_maxlength_validation.py index 86b22f42aea..53a518eda87 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_maxlength_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_maxlength_validation.py @@ -23,35 +23,35 @@ class TestMaxlengthValidation(unittest.TestCase): def test_too_long_is_invalid_fails(self): # too long is invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - MaxlengthValidation.from_openapi_data_oapg( + MaxlengthValidation.from_openapi_data_( "foo", _configuration=self._configuration ) def test_ignores_non_strings_passes(self): # ignores non-strings - MaxlengthValidation.from_openapi_data_oapg( + MaxlengthValidation.from_openapi_data_( 100, _configuration=self._configuration ) def test_shorter_is_valid_passes(self): # shorter is valid - MaxlengthValidation.from_openapi_data_oapg( + MaxlengthValidation.from_openapi_data_( "f", _configuration=self._configuration ) def test_two_supplementary_unicode_code_points_is_long_enough_passes(self): # two supplementary Unicode code points is long enough - MaxlengthValidation.from_openapi_data_oapg( + MaxlengthValidation.from_openapi_data_( "💩💩", _configuration=self._configuration ) def test_exact_length_is_valid_passes(self): # exact length is valid - MaxlengthValidation.from_openapi_data_oapg( + MaxlengthValidation.from_openapi_data_( "fo", _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_maxproperties0_means_the_object_is_empty.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_maxproperties0_means_the_object_is_empty.py index c97b47a00a1..4a8f0c9552d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_maxproperties0_means_the_object_is_empty.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_maxproperties0_means_the_object_is_empty.py @@ -22,7 +22,7 @@ class TestMaxproperties0MeansTheObjectIsEmpty(unittest.TestCase): def test_no_properties_is_valid_passes(self): # no properties is valid - Maxproperties0MeansTheObjectIsEmpty.from_openapi_data_oapg( + Maxproperties0MeansTheObjectIsEmpty.from_openapi_data_( { }, _configuration=self._configuration @@ -31,7 +31,7 @@ def test_no_properties_is_valid_passes(self): def test_one_property_is_invalid_fails(self): # one property is invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - Maxproperties0MeansTheObjectIsEmpty.from_openapi_data_oapg( + Maxproperties0MeansTheObjectIsEmpty.from_openapi_data_( { "foo": 1, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_maxproperties_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_maxproperties_validation.py index 8436aa706f5..15304dfbc68 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_maxproperties_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_maxproperties_validation.py @@ -23,7 +23,7 @@ class TestMaxpropertiesValidation(unittest.TestCase): def test_too_long_is_invalid_fails(self): # too long is invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - MaxpropertiesValidation.from_openapi_data_oapg( + MaxpropertiesValidation.from_openapi_data_( { "foo": 1, @@ -37,7 +37,7 @@ def test_too_long_is_invalid_fails(self): def test_ignores_arrays_passes(self): # ignores arrays - MaxpropertiesValidation.from_openapi_data_oapg( + MaxpropertiesValidation.from_openapi_data_( [ 1, 2, @@ -48,21 +48,21 @@ def test_ignores_arrays_passes(self): def test_ignores_other_non_objects_passes(self): # ignores other non-objects - MaxpropertiesValidation.from_openapi_data_oapg( + MaxpropertiesValidation.from_openapi_data_( 12, _configuration=self._configuration ) def test_ignores_strings_passes(self): # ignores strings - MaxpropertiesValidation.from_openapi_data_oapg( + MaxpropertiesValidation.from_openapi_data_( "foobar", _configuration=self._configuration ) def test_shorter_is_valid_passes(self): # shorter is valid - MaxpropertiesValidation.from_openapi_data_oapg( + MaxpropertiesValidation.from_openapi_data_( { "foo": 1, @@ -72,7 +72,7 @@ def test_shorter_is_valid_passes(self): def test_exact_length_is_valid_passes(self): # exact length is valid - MaxpropertiesValidation.from_openapi_data_oapg( + MaxpropertiesValidation.from_openapi_data_( { "foo": 1, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_minimum_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_minimum_validation.py index 0e645a1da5b..f07cd42438b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_minimum_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_minimum_validation.py @@ -22,7 +22,7 @@ class TestMinimumValidation(unittest.TestCase): def test_boundary_point_is_valid_passes(self): # boundary point is valid - MinimumValidation.from_openapi_data_oapg( + MinimumValidation.from_openapi_data_( 1.1, _configuration=self._configuration ) @@ -30,21 +30,21 @@ def test_boundary_point_is_valid_passes(self): def test_below_the_minimum_is_invalid_fails(self): # below the minimum is invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - MinimumValidation.from_openapi_data_oapg( + MinimumValidation.from_openapi_data_( 0.6, _configuration=self._configuration ) def test_above_the_minimum_is_valid_passes(self): # above the minimum is valid - MinimumValidation.from_openapi_data_oapg( + MinimumValidation.from_openapi_data_( 2.6, _configuration=self._configuration ) def test_ignores_non_numbers_passes(self): # ignores non-numbers - MinimumValidation.from_openapi_data_oapg( + MinimumValidation.from_openapi_data_( "x", _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_minimum_validation_with_signed_integer.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_minimum_validation_with_signed_integer.py index 92d1d8e031f..fa03aa91d39 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_minimum_validation_with_signed_integer.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_minimum_validation_with_signed_integer.py @@ -22,14 +22,14 @@ class TestMinimumValidationWithSignedInteger(unittest.TestCase): def test_boundary_point_is_valid_passes(self): # boundary point is valid - MinimumValidationWithSignedInteger.from_openapi_data_oapg( + MinimumValidationWithSignedInteger.from_openapi_data_( -2, _configuration=self._configuration ) def test_positive_above_the_minimum_is_valid_passes(self): # positive above the minimum is valid - MinimumValidationWithSignedInteger.from_openapi_data_oapg( + MinimumValidationWithSignedInteger.from_openapi_data_( 0, _configuration=self._configuration ) @@ -37,7 +37,7 @@ def test_positive_above_the_minimum_is_valid_passes(self): def test_int_below_the_minimum_is_invalid_fails(self): # int below the minimum is invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - MinimumValidationWithSignedInteger.from_openapi_data_oapg( + MinimumValidationWithSignedInteger.from_openapi_data_( -3, _configuration=self._configuration ) @@ -45,28 +45,28 @@ def test_int_below_the_minimum_is_invalid_fails(self): def test_float_below_the_minimum_is_invalid_fails(self): # float below the minimum is invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - MinimumValidationWithSignedInteger.from_openapi_data_oapg( + MinimumValidationWithSignedInteger.from_openapi_data_( -2.0001, _configuration=self._configuration ) def test_boundary_point_with_float_is_valid_passes(self): # boundary point with float is valid - MinimumValidationWithSignedInteger.from_openapi_data_oapg( + MinimumValidationWithSignedInteger.from_openapi_data_( -2.0, _configuration=self._configuration ) def test_negative_above_the_minimum_is_valid_passes(self): # negative above the minimum is valid - MinimumValidationWithSignedInteger.from_openapi_data_oapg( + MinimumValidationWithSignedInteger.from_openapi_data_( -1, _configuration=self._configuration ) def test_ignores_non_numbers_passes(self): # ignores non-numbers - MinimumValidationWithSignedInteger.from_openapi_data_oapg( + MinimumValidationWithSignedInteger.from_openapi_data_( "x", _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_minitems_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_minitems_validation.py index 482fb90ef32..6699d7d4ff8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_minitems_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_minitems_validation.py @@ -23,7 +23,7 @@ class TestMinitemsValidation(unittest.TestCase): def test_too_short_is_invalid_fails(self): # too short is invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - MinitemsValidation.from_openapi_data_oapg( + MinitemsValidation.from_openapi_data_( [ ], _configuration=self._configuration @@ -31,14 +31,14 @@ def test_too_short_is_invalid_fails(self): def test_ignores_non_arrays_passes(self): # ignores non-arrays - MinitemsValidation.from_openapi_data_oapg( + MinitemsValidation.from_openapi_data_( "", _configuration=self._configuration ) def test_longer_is_valid_passes(self): # longer is valid - MinitemsValidation.from_openapi_data_oapg( + MinitemsValidation.from_openapi_data_( [ 1, 2, @@ -48,7 +48,7 @@ def test_longer_is_valid_passes(self): def test_exact_length_is_valid_passes(self): # exact length is valid - MinitemsValidation.from_openapi_data_oapg( + MinitemsValidation.from_openapi_data_( [ 1, ], diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_minlength_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_minlength_validation.py index 73815a6a6b9..c263f4e91e6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_minlength_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_minlength_validation.py @@ -23,7 +23,7 @@ class TestMinlengthValidation(unittest.TestCase): def test_too_short_is_invalid_fails(self): # too short is invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - MinlengthValidation.from_openapi_data_oapg( + MinlengthValidation.from_openapi_data_( "f", _configuration=self._configuration ) @@ -31,28 +31,28 @@ def test_too_short_is_invalid_fails(self): def test_one_supplementary_unicode_code_point_is_not_long_enough_fails(self): # one supplementary Unicode code point is not long enough with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - MinlengthValidation.from_openapi_data_oapg( + MinlengthValidation.from_openapi_data_( "💩", _configuration=self._configuration ) def test_longer_is_valid_passes(self): # longer is valid - MinlengthValidation.from_openapi_data_oapg( + MinlengthValidation.from_openapi_data_( "foo", _configuration=self._configuration ) def test_ignores_non_strings_passes(self): # ignores non-strings - MinlengthValidation.from_openapi_data_oapg( + MinlengthValidation.from_openapi_data_( 1, _configuration=self._configuration ) def test_exact_length_is_valid_passes(self): # exact length is valid - MinlengthValidation.from_openapi_data_oapg( + MinlengthValidation.from_openapi_data_( "fo", _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_minproperties_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_minproperties_validation.py index 882694da382..fa1e9c1e1bb 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_minproperties_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_minproperties_validation.py @@ -22,7 +22,7 @@ class TestMinpropertiesValidation(unittest.TestCase): def test_ignores_arrays_passes(self): # ignores arrays - MinpropertiesValidation.from_openapi_data_oapg( + MinpropertiesValidation.from_openapi_data_( [ ], _configuration=self._configuration @@ -30,7 +30,7 @@ def test_ignores_arrays_passes(self): def test_ignores_other_non_objects_passes(self): # ignores other non-objects - MinpropertiesValidation.from_openapi_data_oapg( + MinpropertiesValidation.from_openapi_data_( 12, _configuration=self._configuration ) @@ -38,7 +38,7 @@ def test_ignores_other_non_objects_passes(self): def test_too_short_is_invalid_fails(self): # too short is invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - MinpropertiesValidation.from_openapi_data_oapg( + MinpropertiesValidation.from_openapi_data_( { }, _configuration=self._configuration @@ -46,14 +46,14 @@ def test_too_short_is_invalid_fails(self): def test_ignores_strings_passes(self): # ignores strings - MinpropertiesValidation.from_openapi_data_oapg( + MinpropertiesValidation.from_openapi_data_( "", _configuration=self._configuration ) def test_longer_is_valid_passes(self): # longer is valid - MinpropertiesValidation.from_openapi_data_oapg( + MinpropertiesValidation.from_openapi_data_( { "foo": 1, @@ -65,7 +65,7 @@ def test_longer_is_valid_passes(self): def test_exact_length_is_valid_passes(self): # exact length is valid - MinpropertiesValidation.from_openapi_data_oapg( + MinpropertiesValidation.from_openapi_data_( { "foo": 1, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_nested_allof_to_check_validation_semantics.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_nested_allof_to_check_validation_semantics.py index 958c42391ce..334f058e6e5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_nested_allof_to_check_validation_semantics.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_nested_allof_to_check_validation_semantics.py @@ -23,14 +23,14 @@ class TestNestedAllofToCheckValidationSemantics(unittest.TestCase): def test_anything_non_null_is_invalid_fails(self): # anything non-null is invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - NestedAllofToCheckValidationSemantics.from_openapi_data_oapg( + NestedAllofToCheckValidationSemantics.from_openapi_data_( 123, _configuration=self._configuration ) def test_null_is_valid_passes(self): # null is valid - NestedAllofToCheckValidationSemantics.from_openapi_data_oapg( + NestedAllofToCheckValidationSemantics.from_openapi_data_( None, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_nested_anyof_to_check_validation_semantics.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_nested_anyof_to_check_validation_semantics.py index de345dbd3ff..06e3aa2e9f7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_nested_anyof_to_check_validation_semantics.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_nested_anyof_to_check_validation_semantics.py @@ -23,14 +23,14 @@ class TestNestedAnyofToCheckValidationSemantics(unittest.TestCase): def test_anything_non_null_is_invalid_fails(self): # anything non-null is invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - NestedAnyofToCheckValidationSemantics.from_openapi_data_oapg( + NestedAnyofToCheckValidationSemantics.from_openapi_data_( 123, _configuration=self._configuration ) def test_null_is_valid_passes(self): # null is valid - NestedAnyofToCheckValidationSemantics.from_openapi_data_oapg( + NestedAnyofToCheckValidationSemantics.from_openapi_data_( None, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_nested_items.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_nested_items.py index 3227e6b3d73..dfa6c21d1fd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_nested_items.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_nested_items.py @@ -22,7 +22,7 @@ class TestNestedItems(unittest.TestCase): def test_valid_nested_array_passes(self): # valid nested array - NestedItems.from_openapi_data_oapg( + NestedItems.from_openapi_data_( [ [ [ @@ -59,7 +59,7 @@ def test_valid_nested_array_passes(self): def test_nested_array_with_invalid_type_fails(self): # nested array with invalid type with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - NestedItems.from_openapi_data_oapg( + NestedItems.from_openapi_data_( [ [ [ @@ -96,7 +96,7 @@ def test_nested_array_with_invalid_type_fails(self): def test_not_deep_enough_fails(self): # not deep enough with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - NestedItems.from_openapi_data_oapg( + NestedItems.from_openapi_data_( [ [ [ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_nested_oneof_to_check_validation_semantics.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_nested_oneof_to_check_validation_semantics.py index f1370bc914e..61637c2472e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_nested_oneof_to_check_validation_semantics.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_nested_oneof_to_check_validation_semantics.py @@ -23,14 +23,14 @@ class TestNestedOneofToCheckValidationSemantics(unittest.TestCase): def test_anything_non_null_is_invalid_fails(self): # anything non-null is invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - NestedOneofToCheckValidationSemantics.from_openapi_data_oapg( + NestedOneofToCheckValidationSemantics.from_openapi_data_( 123, _configuration=self._configuration ) def test_null_is_valid_passes(self): # null is valid - NestedOneofToCheckValidationSemantics.from_openapi_data_oapg( + NestedOneofToCheckValidationSemantics.from_openapi_data_( None, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_not_more_complex_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_not_more_complex_schema.py index 285392fb563..bcf6350504f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_not_more_complex_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_not_more_complex_schema.py @@ -22,7 +22,7 @@ class TestNotMoreComplexSchema(unittest.TestCase): def test_other_match_passes(self): # other match - NotMoreComplexSchema.from_openapi_data_oapg( + NotMoreComplexSchema.from_openapi_data_( { "foo": 1, @@ -33,7 +33,7 @@ def test_other_match_passes(self): def test_mismatch_fails(self): # mismatch with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - NotMoreComplexSchema.from_openapi_data_oapg( + NotMoreComplexSchema.from_openapi_data_( { "foo": "bar", @@ -43,7 +43,7 @@ def test_mismatch_fails(self): def test_match_passes(self): # match - NotMoreComplexSchema.from_openapi_data_oapg( + NotMoreComplexSchema.from_openapi_data_( 1, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_nul_characters_in_strings.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_nul_characters_in_strings.py index 9084a80b9e1..3f527acdd3d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_nul_characters_in_strings.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_nul_characters_in_strings.py @@ -22,7 +22,7 @@ class TestNulCharactersInStrings(unittest.TestCase): def test_match_string_with_nul_passes(self): # match string with nul - NulCharactersInStrings.from_openapi_data_oapg( + NulCharactersInStrings.from_openapi_data_( "hello\x00there", _configuration=self._configuration ) @@ -30,7 +30,7 @@ def test_match_string_with_nul_passes(self): def test_do_not_match_string_lacking_nul_fails(self): # do not match string lacking nul with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - NulCharactersInStrings.from_openapi_data_oapg( + NulCharactersInStrings.from_openapi_data_( "hellothere", _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_null_type_matches_only_the_null_object.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_null_type_matches_only_the_null_object.py index 2279b16f3fe..6abc87878f2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_null_type_matches_only_the_null_object.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_null_type_matches_only_the_null_object.py @@ -23,7 +23,7 @@ class TestNullTypeMatchesOnlyTheNullObject(unittest.TestCase): def test_a_float_is_not_null_fails(self): # a float is not null with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - NullTypeMatchesOnlyTheNullObject.from_openapi_data_oapg( + NullTypeMatchesOnlyTheNullObject.from_openapi_data_( 1.1, _configuration=self._configuration ) @@ -31,7 +31,7 @@ def test_a_float_is_not_null_fails(self): def test_an_object_is_not_null_fails(self): # an object is not null with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - NullTypeMatchesOnlyTheNullObject.from_openapi_data_oapg( + NullTypeMatchesOnlyTheNullObject.from_openapi_data_( { }, _configuration=self._configuration @@ -40,7 +40,7 @@ def test_an_object_is_not_null_fails(self): def test_false_is_not_null_fails(self): # false is not null with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - NullTypeMatchesOnlyTheNullObject.from_openapi_data_oapg( + NullTypeMatchesOnlyTheNullObject.from_openapi_data_( False, _configuration=self._configuration ) @@ -48,7 +48,7 @@ def test_false_is_not_null_fails(self): def test_an_integer_is_not_null_fails(self): # an integer is not null with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - NullTypeMatchesOnlyTheNullObject.from_openapi_data_oapg( + NullTypeMatchesOnlyTheNullObject.from_openapi_data_( 1, _configuration=self._configuration ) @@ -56,7 +56,7 @@ def test_an_integer_is_not_null_fails(self): def test_true_is_not_null_fails(self): # true is not null with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - NullTypeMatchesOnlyTheNullObject.from_openapi_data_oapg( + NullTypeMatchesOnlyTheNullObject.from_openapi_data_( True, _configuration=self._configuration ) @@ -64,7 +64,7 @@ def test_true_is_not_null_fails(self): def test_zero_is_not_null_fails(self): # zero is not null with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - NullTypeMatchesOnlyTheNullObject.from_openapi_data_oapg( + NullTypeMatchesOnlyTheNullObject.from_openapi_data_( 0, _configuration=self._configuration ) @@ -72,14 +72,14 @@ def test_zero_is_not_null_fails(self): def test_an_empty_string_is_not_null_fails(self): # an empty string is not null with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - NullTypeMatchesOnlyTheNullObject.from_openapi_data_oapg( + NullTypeMatchesOnlyTheNullObject.from_openapi_data_( "", _configuration=self._configuration ) def test_null_is_null_passes(self): # null is null - NullTypeMatchesOnlyTheNullObject.from_openapi_data_oapg( + NullTypeMatchesOnlyTheNullObject.from_openapi_data_( None, _configuration=self._configuration ) @@ -87,7 +87,7 @@ def test_null_is_null_passes(self): def test_an_array_is_not_null_fails(self): # an array is not null with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - NullTypeMatchesOnlyTheNullObject.from_openapi_data_oapg( + NullTypeMatchesOnlyTheNullObject.from_openapi_data_( [ ], _configuration=self._configuration @@ -96,7 +96,7 @@ def test_an_array_is_not_null_fails(self): def test_a_string_is_not_null_fails(self): # a string is not null with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - NullTypeMatchesOnlyTheNullObject.from_openapi_data_oapg( + NullTypeMatchesOnlyTheNullObject.from_openapi_data_( "foo", _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_number_type_matches_numbers.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_number_type_matches_numbers.py index e696122fe9f..72560c1d2bc 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_number_type_matches_numbers.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_number_type_matches_numbers.py @@ -23,7 +23,7 @@ class TestNumberTypeMatchesNumbers(unittest.TestCase): def test_an_array_is_not_a_number_fails(self): # an array is not a number with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - NumberTypeMatchesNumbers.from_openapi_data_oapg( + NumberTypeMatchesNumbers.from_openapi_data_( [ ], _configuration=self._configuration @@ -32,7 +32,7 @@ def test_an_array_is_not_a_number_fails(self): def test_null_is_not_a_number_fails(self): # null is not a number with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - NumberTypeMatchesNumbers.from_openapi_data_oapg( + NumberTypeMatchesNumbers.from_openapi_data_( None, _configuration=self._configuration ) @@ -40,7 +40,7 @@ def test_null_is_not_a_number_fails(self): def test_an_object_is_not_a_number_fails(self): # an object is not a number with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - NumberTypeMatchesNumbers.from_openapi_data_oapg( + NumberTypeMatchesNumbers.from_openapi_data_( { }, _configuration=self._configuration @@ -49,14 +49,14 @@ def test_an_object_is_not_a_number_fails(self): def test_a_boolean_is_not_a_number_fails(self): # a boolean is not a number with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - NumberTypeMatchesNumbers.from_openapi_data_oapg( + NumberTypeMatchesNumbers.from_openapi_data_( True, _configuration=self._configuration ) def test_a_float_is_a_number_passes(self): # a float is a number - NumberTypeMatchesNumbers.from_openapi_data_oapg( + NumberTypeMatchesNumbers.from_openapi_data_( 1.1, _configuration=self._configuration ) @@ -64,7 +64,7 @@ def test_a_float_is_a_number_passes(self): def test_a_string_is_still_not_a_number_even_if_it_looks_like_one_fails(self): # a string is still not a number, even if it looks like one with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - NumberTypeMatchesNumbers.from_openapi_data_oapg( + NumberTypeMatchesNumbers.from_openapi_data_( "1", _configuration=self._configuration ) @@ -72,21 +72,21 @@ def test_a_string_is_still_not_a_number_even_if_it_looks_like_one_fails(self): def test_a_string_is_not_a_number_fails(self): # a string is not a number with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - NumberTypeMatchesNumbers.from_openapi_data_oapg( + NumberTypeMatchesNumbers.from_openapi_data_( "foo", _configuration=self._configuration ) def test_an_integer_is_a_number_passes(self): # an integer is a number - NumberTypeMatchesNumbers.from_openapi_data_oapg( + NumberTypeMatchesNumbers.from_openapi_data_( 1, _configuration=self._configuration ) def test_a_float_with_zero_fractional_part_is_a_number_and_an_integer_passes(self): # a float with zero fractional part is a number (and an integer) - NumberTypeMatchesNumbers.from_openapi_data_oapg( + NumberTypeMatchesNumbers.from_openapi_data_( 1.0, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_object_properties_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_object_properties_validation.py index f8ed78ba34b..d986a9f7109 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_object_properties_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_object_properties_validation.py @@ -22,7 +22,7 @@ class TestObjectPropertiesValidation(unittest.TestCase): def test_ignores_arrays_passes(self): # ignores arrays - ObjectPropertiesValidation.from_openapi_data_oapg( + ObjectPropertiesValidation.from_openapi_data_( [ ], _configuration=self._configuration @@ -30,7 +30,7 @@ def test_ignores_arrays_passes(self): def test_ignores_other_non_objects_passes(self): # ignores other non-objects - ObjectPropertiesValidation.from_openapi_data_oapg( + ObjectPropertiesValidation.from_openapi_data_( 12, _configuration=self._configuration ) @@ -38,7 +38,7 @@ def test_ignores_other_non_objects_passes(self): def test_one_property_invalid_is_invalid_fails(self): # one property invalid is invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - ObjectPropertiesValidation.from_openapi_data_oapg( + ObjectPropertiesValidation.from_openapi_data_( { "foo": 1, @@ -51,7 +51,7 @@ def test_one_property_invalid_is_invalid_fails(self): def test_both_properties_present_and_valid_is_valid_passes(self): # both properties present and valid is valid - ObjectPropertiesValidation.from_openapi_data_oapg( + ObjectPropertiesValidation.from_openapi_data_( { "foo": 1, @@ -63,7 +63,7 @@ def test_both_properties_present_and_valid_is_valid_passes(self): def test_doesn_t_invalidate_other_properties_passes(self): # doesn't invalidate other properties - ObjectPropertiesValidation.from_openapi_data_oapg( + ObjectPropertiesValidation.from_openapi_data_( { "quux": [ @@ -75,7 +75,7 @@ def test_doesn_t_invalidate_other_properties_passes(self): def test_both_properties_invalid_is_invalid_fails(self): # both properties invalid is invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - ObjectPropertiesValidation.from_openapi_data_oapg( + ObjectPropertiesValidation.from_openapi_data_( { "foo": [ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_object_type_matches_objects.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_object_type_matches_objects.py index 7d9b6c4f97f..f23175fa3bd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_object_type_matches_objects.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_object_type_matches_objects.py @@ -23,7 +23,7 @@ class TestObjectTypeMatchesObjects(unittest.TestCase): def test_a_float_is_not_an_object_fails(self): # a float is not an object with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - ObjectTypeMatchesObjects.from_openapi_data_oapg( + ObjectTypeMatchesObjects.from_openapi_data_( 1.1, _configuration=self._configuration ) @@ -31,7 +31,7 @@ def test_a_float_is_not_an_object_fails(self): def test_null_is_not_an_object_fails(self): # null is not an object with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - ObjectTypeMatchesObjects.from_openapi_data_oapg( + ObjectTypeMatchesObjects.from_openapi_data_( None, _configuration=self._configuration ) @@ -39,7 +39,7 @@ def test_null_is_not_an_object_fails(self): def test_an_array_is_not_an_object_fails(self): # an array is not an object with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - ObjectTypeMatchesObjects.from_openapi_data_oapg( + ObjectTypeMatchesObjects.from_openapi_data_( [ ], _configuration=self._configuration @@ -47,7 +47,7 @@ def test_an_array_is_not_an_object_fails(self): def test_an_object_is_an_object_passes(self): # an object is an object - ObjectTypeMatchesObjects.from_openapi_data_oapg( + ObjectTypeMatchesObjects.from_openapi_data_( { }, _configuration=self._configuration @@ -56,7 +56,7 @@ def test_an_object_is_an_object_passes(self): def test_a_string_is_not_an_object_fails(self): # a string is not an object with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - ObjectTypeMatchesObjects.from_openapi_data_oapg( + ObjectTypeMatchesObjects.from_openapi_data_( "foo", _configuration=self._configuration ) @@ -64,7 +64,7 @@ def test_a_string_is_not_an_object_fails(self): def test_an_integer_is_not_an_object_fails(self): # an integer is not an object with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - ObjectTypeMatchesObjects.from_openapi_data_oapg( + ObjectTypeMatchesObjects.from_openapi_data_( 1, _configuration=self._configuration ) @@ -72,7 +72,7 @@ def test_an_integer_is_not_an_object_fails(self): def test_a_boolean_is_not_an_object_fails(self): # a boolean is not an object with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - ObjectTypeMatchesObjects.from_openapi_data_oapg( + ObjectTypeMatchesObjects.from_openapi_data_( True, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_oneof.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_oneof.py index 5ae3f55557f..e04e1b617a3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_oneof.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_oneof.py @@ -22,7 +22,7 @@ class TestOneof(unittest.TestCase): def test_second_oneof_valid_passes(self): # second oneOf valid - Oneof.from_openapi_data_oapg( + Oneof.from_openapi_data_( 2.5, _configuration=self._configuration ) @@ -30,14 +30,14 @@ def test_second_oneof_valid_passes(self): def test_both_oneof_valid_fails(self): # both oneOf valid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - Oneof.from_openapi_data_oapg( + Oneof.from_openapi_data_( 3, _configuration=self._configuration ) def test_first_oneof_valid_passes(self): # first oneOf valid - Oneof.from_openapi_data_oapg( + Oneof.from_openapi_data_( 1, _configuration=self._configuration ) @@ -45,7 +45,7 @@ def test_first_oneof_valid_passes(self): def test_neither_oneof_valid_fails(self): # neither oneOf valid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - Oneof.from_openapi_data_oapg( + Oneof.from_openapi_data_( 1.5, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_oneof_complex_types.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_oneof_complex_types.py index 575d66b660d..f4e17581fd8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_oneof_complex_types.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_oneof_complex_types.py @@ -22,7 +22,7 @@ class TestOneofComplexTypes(unittest.TestCase): def test_first_oneof_valid_complex_passes(self): # first oneOf valid (complex) - OneofComplexTypes.from_openapi_data_oapg( + OneofComplexTypes.from_openapi_data_( { "bar": 2, @@ -33,7 +33,7 @@ def test_first_oneof_valid_complex_passes(self): def test_neither_oneof_valid_complex_fails(self): # neither oneOf valid (complex) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - OneofComplexTypes.from_openapi_data_oapg( + OneofComplexTypes.from_openapi_data_( { "foo": 2, @@ -46,7 +46,7 @@ def test_neither_oneof_valid_complex_fails(self): def test_both_oneof_valid_complex_fails(self): # both oneOf valid (complex) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - OneofComplexTypes.from_openapi_data_oapg( + OneofComplexTypes.from_openapi_data_( { "foo": "baz", @@ -58,7 +58,7 @@ def test_both_oneof_valid_complex_fails(self): def test_second_oneof_valid_complex_passes(self): # second oneOf valid (complex) - OneofComplexTypes.from_openapi_data_oapg( + OneofComplexTypes.from_openapi_data_( { "foo": "baz", diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_oneof_with_base_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_oneof_with_base_schema.py index a4befc2763f..925a5b47aab 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_oneof_with_base_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_oneof_with_base_schema.py @@ -23,7 +23,7 @@ class TestOneofWithBaseSchema(unittest.TestCase): def test_both_oneof_valid_fails(self): # both oneOf valid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - OneofWithBaseSchema.from_openapi_data_oapg( + OneofWithBaseSchema.from_openapi_data_( "foo", _configuration=self._configuration ) @@ -31,14 +31,14 @@ def test_both_oneof_valid_fails(self): def test_mismatch_base_schema_fails(self): # mismatch base schema with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - OneofWithBaseSchema.from_openapi_data_oapg( + OneofWithBaseSchema.from_openapi_data_( 3, _configuration=self._configuration ) def test_one_oneof_valid_passes(self): # one oneOf valid - OneofWithBaseSchema.from_openapi_data_oapg( + OneofWithBaseSchema.from_openapi_data_( "foobar", _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_oneof_with_empty_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_oneof_with_empty_schema.py index 5b404f9bbce..7d4038d737a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_oneof_with_empty_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_oneof_with_empty_schema.py @@ -23,14 +23,14 @@ class TestOneofWithEmptySchema(unittest.TestCase): def test_both_valid_invalid_fails(self): # both valid - invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - OneofWithEmptySchema.from_openapi_data_oapg( + OneofWithEmptySchema.from_openapi_data_( 123, _configuration=self._configuration ) def test_one_valid_valid_passes(self): # one valid - valid - OneofWithEmptySchema.from_openapi_data_oapg( + OneofWithEmptySchema.from_openapi_data_( "foo", _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_oneof_with_required.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_oneof_with_required.py index e5930eb841b..2c64db7e7a9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_oneof_with_required.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_oneof_with_required.py @@ -23,7 +23,7 @@ class TestOneofWithRequired(unittest.TestCase): def test_both_valid_invalid_fails(self): # both valid - invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - OneofWithRequired.from_openapi_data_oapg( + OneofWithRequired.from_openapi_data_( { "foo": 1, @@ -38,7 +38,7 @@ def test_both_valid_invalid_fails(self): def test_both_invalid_invalid_fails(self): # both invalid - invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - OneofWithRequired.from_openapi_data_oapg( + OneofWithRequired.from_openapi_data_( { "bar": 2, @@ -48,7 +48,7 @@ def test_both_invalid_invalid_fails(self): def test_first_valid_valid_passes(self): # first valid - valid - OneofWithRequired.from_openapi_data_oapg( + OneofWithRequired.from_openapi_data_( { "foo": 1, @@ -60,7 +60,7 @@ def test_first_valid_valid_passes(self): def test_second_valid_valid_passes(self): # second valid - valid - OneofWithRequired.from_openapi_data_oapg( + OneofWithRequired.from_openapi_data_( { "foo": 1, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_pattern_is_not_anchored.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_pattern_is_not_anchored.py index 0825aff0a85..840e0d079c6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_pattern_is_not_anchored.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_pattern_is_not_anchored.py @@ -22,7 +22,7 @@ class TestPatternIsNotAnchored(unittest.TestCase): def test_matches_a_substring_passes(self): # matches a substring - PatternIsNotAnchored.from_openapi_data_oapg( + PatternIsNotAnchored.from_openapi_data_( "xxaayy", _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_pattern_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_pattern_validation.py index 15cadec6749..eca9c013c8d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_pattern_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_pattern_validation.py @@ -22,7 +22,7 @@ class TestPatternValidation(unittest.TestCase): def test_ignores_arrays_passes(self): # ignores arrays - PatternValidation.from_openapi_data_oapg( + PatternValidation.from_openapi_data_( [ ], _configuration=self._configuration @@ -30,7 +30,7 @@ def test_ignores_arrays_passes(self): def test_ignores_objects_passes(self): # ignores objects - PatternValidation.from_openapi_data_oapg( + PatternValidation.from_openapi_data_( { }, _configuration=self._configuration @@ -38,14 +38,14 @@ def test_ignores_objects_passes(self): def test_ignores_null_passes(self): # ignores null - PatternValidation.from_openapi_data_oapg( + PatternValidation.from_openapi_data_( None, _configuration=self._configuration ) def test_ignores_floats_passes(self): # ignores floats - PatternValidation.from_openapi_data_oapg( + PatternValidation.from_openapi_data_( 1.0, _configuration=self._configuration ) @@ -53,28 +53,28 @@ def test_ignores_floats_passes(self): def test_a_non_matching_pattern_is_invalid_fails(self): # a non-matching pattern is invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - PatternValidation.from_openapi_data_oapg( + PatternValidation.from_openapi_data_( "abc", _configuration=self._configuration ) def test_ignores_booleans_passes(self): # ignores booleans - PatternValidation.from_openapi_data_oapg( + PatternValidation.from_openapi_data_( True, _configuration=self._configuration ) def test_a_matching_pattern_is_valid_passes(self): # a matching pattern is valid - PatternValidation.from_openapi_data_oapg( + PatternValidation.from_openapi_data_( "aaa", _configuration=self._configuration ) def test_ignores_integers_passes(self): # ignores integers - PatternValidation.from_openapi_data_oapg( + PatternValidation.from_openapi_data_( 123, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_properties_with_escaped_characters.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_properties_with_escaped_characters.py index 5b15e2ae485..7256d78aa73 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_properties_with_escaped_characters.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_properties_with_escaped_characters.py @@ -22,7 +22,7 @@ class TestPropertiesWithEscapedCharacters(unittest.TestCase): def test_object_with_all_numbers_is_valid_passes(self): # object with all numbers is valid - PropertiesWithEscapedCharacters.from_openapi_data_oapg( + PropertiesWithEscapedCharacters.from_openapi_data_( { "foo\nbar": 1, @@ -43,7 +43,7 @@ def test_object_with_all_numbers_is_valid_passes(self): def test_object_with_strings_is_invalid_fails(self): # object with strings is invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - PropertiesWithEscapedCharacters.from_openapi_data_oapg( + PropertiesWithEscapedCharacters.from_openapi_data_( { "foo\nbar": "1", diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_property_named_ref_that_is_not_a_reference.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_property_named_ref_that_is_not_a_reference.py index aca0bcaf125..47b1b0d1630 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_property_named_ref_that_is_not_a_reference.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_property_named_ref_that_is_not_a_reference.py @@ -22,7 +22,7 @@ class TestPropertyNamedRefThatIsNotAReference(unittest.TestCase): def test_property_named_ref_valid_passes(self): # property named $ref valid - PropertyNamedRefThatIsNotAReference.from_openapi_data_oapg( + PropertyNamedRefThatIsNotAReference.from_openapi_data_( { "$ref": "a", @@ -33,7 +33,7 @@ def test_property_named_ref_valid_passes(self): def test_property_named_ref_invalid_fails(self): # property named $ref invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - PropertyNamedRefThatIsNotAReference.from_openapi_data_oapg( + PropertyNamedRefThatIsNotAReference.from_openapi_data_( { "$ref": 2, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_additionalproperties.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_additionalproperties.py index e0b0684c954..791393f8f3b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_additionalproperties.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_additionalproperties.py @@ -22,7 +22,7 @@ class TestRefInAdditionalproperties(unittest.TestCase): def test_property_named_ref_valid_passes(self): # property named $ref valid - RefInAdditionalproperties.from_openapi_data_oapg( + RefInAdditionalproperties.from_openapi_data_( { "someProp": { @@ -36,7 +36,7 @@ def test_property_named_ref_valid_passes(self): def test_property_named_ref_invalid_fails(self): # property named $ref invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - RefInAdditionalproperties.from_openapi_data_oapg( + RefInAdditionalproperties.from_openapi_data_( { "someProp": { diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_allof.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_allof.py index 5e773ecb9d1..d6d2da50a0e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_allof.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_allof.py @@ -22,7 +22,7 @@ class TestRefInAllof(unittest.TestCase): def test_property_named_ref_valid_passes(self): # property named $ref valid - RefInAllof.from_openapi_data_oapg( + RefInAllof.from_openapi_data_( { "$ref": "a", @@ -33,7 +33,7 @@ def test_property_named_ref_valid_passes(self): def test_property_named_ref_invalid_fails(self): # property named $ref invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - RefInAllof.from_openapi_data_oapg( + RefInAllof.from_openapi_data_( { "$ref": 2, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_anyof.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_anyof.py index 79440cc47e6..e6597502f0e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_anyof.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_anyof.py @@ -22,7 +22,7 @@ class TestRefInAnyof(unittest.TestCase): def test_property_named_ref_valid_passes(self): # property named $ref valid - RefInAnyof.from_openapi_data_oapg( + RefInAnyof.from_openapi_data_( { "$ref": "a", @@ -33,7 +33,7 @@ def test_property_named_ref_valid_passes(self): def test_property_named_ref_invalid_fails(self): # property named $ref invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - RefInAnyof.from_openapi_data_oapg( + RefInAnyof.from_openapi_data_( { "$ref": 2, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_items.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_items.py index a9cf7738200..3e458ef6667 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_items.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_items.py @@ -22,7 +22,7 @@ class TestRefInItems(unittest.TestCase): def test_property_named_ref_valid_passes(self): # property named $ref valid - RefInItems.from_openapi_data_oapg( + RefInItems.from_openapi_data_( [ { "$ref": @@ -35,7 +35,7 @@ def test_property_named_ref_valid_passes(self): def test_property_named_ref_invalid_fails(self): # property named $ref invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - RefInItems.from_openapi_data_oapg( + RefInItems.from_openapi_data_( [ { "$ref": diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_not.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_not.py index d1b8fe5c22a..05b71e9de77 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_not.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_not.py @@ -22,7 +22,7 @@ class TestRefInNot(unittest.TestCase): def test_property_named_ref_valid_passes(self): # property named $ref valid - RefInNot.from_openapi_data_oapg( + RefInNot.from_openapi_data_( { "$ref": 2, @@ -33,7 +33,7 @@ def test_property_named_ref_valid_passes(self): def test_property_named_ref_invalid_fails(self): # property named $ref invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - RefInNot.from_openapi_data_oapg( + RefInNot.from_openapi_data_( { "$ref": "a", diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_oneof.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_oneof.py index 4838fb7ff72..ab510ab1b32 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_oneof.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_oneof.py @@ -22,7 +22,7 @@ class TestRefInOneof(unittest.TestCase): def test_property_named_ref_valid_passes(self): # property named $ref valid - RefInOneof.from_openapi_data_oapg( + RefInOneof.from_openapi_data_( { "$ref": "a", @@ -33,7 +33,7 @@ def test_property_named_ref_valid_passes(self): def test_property_named_ref_invalid_fails(self): # property named $ref invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - RefInOneof.from_openapi_data_oapg( + RefInOneof.from_openapi_data_( { "$ref": 2, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_property.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_property.py index 866b9485c1d..a032ad9c6f1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_property.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_property.py @@ -22,7 +22,7 @@ class TestRefInProperty(unittest.TestCase): def test_property_named_ref_valid_passes(self): # property named $ref valid - RefInProperty.from_openapi_data_oapg( + RefInProperty.from_openapi_data_( { "a": { @@ -36,7 +36,7 @@ def test_property_named_ref_valid_passes(self): def test_property_named_ref_invalid_fails(self): # property named $ref invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - RefInProperty.from_openapi_data_oapg( + RefInProperty.from_openapi_data_( { "a": { diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_required_default_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_required_default_validation.py index 8882537451c..c0b83a463b9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_required_default_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_required_default_validation.py @@ -22,7 +22,7 @@ class TestRequiredDefaultValidation(unittest.TestCase): def test_not_required_by_default_passes(self): # not required by default - RequiredDefaultValidation.from_openapi_data_oapg( + RequiredDefaultValidation.from_openapi_data_( { }, _configuration=self._configuration diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_required_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_required_validation.py index 3550424427a..4a87a9ed54e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_required_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_required_validation.py @@ -22,7 +22,7 @@ class TestRequiredValidation(unittest.TestCase): def test_ignores_arrays_passes(self): # ignores arrays - RequiredValidation.from_openapi_data_oapg( + RequiredValidation.from_openapi_data_( [ ], _configuration=self._configuration @@ -30,7 +30,7 @@ def test_ignores_arrays_passes(self): def test_present_required_property_is_valid_passes(self): # present required property is valid - RequiredValidation.from_openapi_data_oapg( + RequiredValidation.from_openapi_data_( { "foo": 1, @@ -40,14 +40,14 @@ def test_present_required_property_is_valid_passes(self): def test_ignores_other_non_objects_passes(self): # ignores other non-objects - RequiredValidation.from_openapi_data_oapg( + RequiredValidation.from_openapi_data_( 12, _configuration=self._configuration ) def test_ignores_strings_passes(self): # ignores strings - RequiredValidation.from_openapi_data_oapg( + RequiredValidation.from_openapi_data_( "", _configuration=self._configuration ) @@ -55,7 +55,7 @@ def test_ignores_strings_passes(self): def test_non_present_required_property_is_invalid_fails(self): # non-present required property is invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - RequiredValidation.from_openapi_data_oapg( + RequiredValidation.from_openapi_data_( { "bar": 1, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_required_with_empty_array.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_required_with_empty_array.py index 162baf3a9eb..4420ad6cc6d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_required_with_empty_array.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_required_with_empty_array.py @@ -22,7 +22,7 @@ class TestRequiredWithEmptyArray(unittest.TestCase): def test_property_not_required_passes(self): # property not required - RequiredWithEmptyArray.from_openapi_data_oapg( + RequiredWithEmptyArray.from_openapi_data_( { }, _configuration=self._configuration diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_required_with_escaped_characters.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_required_with_escaped_characters.py index cc730dd11cc..fe8a57f73a3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_required_with_escaped_characters.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_required_with_escaped_characters.py @@ -23,7 +23,7 @@ class TestRequiredWithEscapedCharacters(unittest.TestCase): def test_object_with_some_properties_missing_is_invalid_fails(self): # object with some properties missing is invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - RequiredWithEscapedCharacters.from_openapi_data_oapg( + RequiredWithEscapedCharacters.from_openapi_data_( { "foo\nbar": "1", @@ -35,7 +35,7 @@ def test_object_with_some_properties_missing_is_invalid_fails(self): def test_object_with_all_properties_present_is_valid_passes(self): # object with all properties present is valid - RequiredWithEscapedCharacters.from_openapi_data_oapg( + RequiredWithEscapedCharacters.from_openapi_data_( { "foo\nbar": 1, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_simple_enum_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_simple_enum_validation.py index e3fd5d1cc41..293a786b687 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_simple_enum_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_simple_enum_validation.py @@ -23,14 +23,14 @@ class TestSimpleEnumValidation(unittest.TestCase): def test_something_else_is_invalid_fails(self): # something else is invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - SimpleEnumValidation.from_openapi_data_oapg( + SimpleEnumValidation.from_openapi_data_( 4, _configuration=self._configuration ) def test_one_of_the_enum_is_valid_passes(self): # one of the enum is valid - SimpleEnumValidation.from_openapi_data_oapg( + SimpleEnumValidation.from_openapi_data_( 1, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_string_type_matches_strings.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_string_type_matches_strings.py index 7023715bb8d..a7182689ff6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_string_type_matches_strings.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_string_type_matches_strings.py @@ -23,21 +23,21 @@ class TestStringTypeMatchesStrings(unittest.TestCase): def test_1_is_not_a_string_fails(self): # 1 is not a string with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - StringTypeMatchesStrings.from_openapi_data_oapg( + StringTypeMatchesStrings.from_openapi_data_( 1, _configuration=self._configuration ) def test_a_string_is_still_a_string_even_if_it_looks_like_a_number_passes(self): # a string is still a string, even if it looks like a number - StringTypeMatchesStrings.from_openapi_data_oapg( + StringTypeMatchesStrings.from_openapi_data_( "1", _configuration=self._configuration ) def test_an_empty_string_is_still_a_string_passes(self): # an empty string is still a string - StringTypeMatchesStrings.from_openapi_data_oapg( + StringTypeMatchesStrings.from_openapi_data_( "", _configuration=self._configuration ) @@ -45,7 +45,7 @@ def test_an_empty_string_is_still_a_string_passes(self): def test_a_float_is_not_a_string_fails(self): # a float is not a string with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - StringTypeMatchesStrings.from_openapi_data_oapg( + StringTypeMatchesStrings.from_openapi_data_( 1.1, _configuration=self._configuration ) @@ -53,7 +53,7 @@ def test_a_float_is_not_a_string_fails(self): def test_an_object_is_not_a_string_fails(self): # an object is not a string with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - StringTypeMatchesStrings.from_openapi_data_oapg( + StringTypeMatchesStrings.from_openapi_data_( { }, _configuration=self._configuration @@ -62,7 +62,7 @@ def test_an_object_is_not_a_string_fails(self): def test_an_array_is_not_a_string_fails(self): # an array is not a string with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - StringTypeMatchesStrings.from_openapi_data_oapg( + StringTypeMatchesStrings.from_openapi_data_( [ ], _configuration=self._configuration @@ -71,7 +71,7 @@ def test_an_array_is_not_a_string_fails(self): def test_a_boolean_is_not_a_string_fails(self): # a boolean is not a string with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - StringTypeMatchesStrings.from_openapi_data_oapg( + StringTypeMatchesStrings.from_openapi_data_( True, _configuration=self._configuration ) @@ -79,14 +79,14 @@ def test_a_boolean_is_not_a_string_fails(self): def test_null_is_not_a_string_fails(self): # null is not a string with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - StringTypeMatchesStrings.from_openapi_data_oapg( + StringTypeMatchesStrings.from_openapi_data_( None, _configuration=self._configuration ) def test_a_string_is_a_string_passes(self): # a string is a string - StringTypeMatchesStrings.from_openapi_data_oapg( + StringTypeMatchesStrings.from_openapi_data_( "foo", _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_the_default_keyword_does_not_do_anything_if_the_property_is_missing.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_the_default_keyword_does_not_do_anything_if_the_property_is_missing.py index 6314a54a0c8..d207c85ce58 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_the_default_keyword_does_not_do_anything_if_the_property_is_missing.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_the_default_keyword_does_not_do_anything_if_the_property_is_missing.py @@ -22,7 +22,7 @@ class TestTheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing(unittest.Test def test_missing_properties_are_not_filled_in_with_the_default_passes(self): # missing properties are not filled in with the default - TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.from_openapi_data_oapg( + TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.from_openapi_data_( { }, _configuration=self._configuration @@ -30,7 +30,7 @@ def test_missing_properties_are_not_filled_in_with_the_default_passes(self): def test_an_explicit_property_value_is_checked_against_maximum_passing_passes(self): # an explicit property value is checked against maximum (passing) - TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.from_openapi_data_oapg( + TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.from_openapi_data_( { "alpha": 1, @@ -41,7 +41,7 @@ def test_an_explicit_property_value_is_checked_against_maximum_passing_passes(se def test_an_explicit_property_value_is_checked_against_maximum_failing_fails(self): # an explicit property value is checked against maximum (failing) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.from_openapi_data_oapg( + TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.from_openapi_data_( { "alpha": 5, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_uniqueitems_false_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_uniqueitems_false_validation.py index dbc783f4c82..995afe64b85 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_uniqueitems_false_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_uniqueitems_false_validation.py @@ -22,7 +22,7 @@ class TestUniqueitemsFalseValidation(unittest.TestCase): def test_non_unique_array_of_integers_is_valid_passes(self): # non-unique array of integers is valid - UniqueitemsFalseValidation.from_openapi_data_oapg( + UniqueitemsFalseValidation.from_openapi_data_( [ 1, 1, @@ -32,7 +32,7 @@ def test_non_unique_array_of_integers_is_valid_passes(self): def test_unique_array_of_objects_is_valid_passes(self): # unique array of objects is valid - UniqueitemsFalseValidation.from_openapi_data_oapg( + UniqueitemsFalseValidation.from_openapi_data_( [ { "foo": @@ -48,7 +48,7 @@ def test_unique_array_of_objects_is_valid_passes(self): def test_non_unique_array_of_nested_objects_is_valid_passes(self): # non-unique array of nested objects is valid - UniqueitemsFalseValidation.from_openapi_data_oapg( + UniqueitemsFalseValidation.from_openapi_data_( [ { "foo": @@ -76,7 +76,7 @@ def test_non_unique_array_of_nested_objects_is_valid_passes(self): def test_non_unique_array_of_objects_is_valid_passes(self): # non-unique array of objects is valid - UniqueitemsFalseValidation.from_openapi_data_oapg( + UniqueitemsFalseValidation.from_openapi_data_( [ { "foo": @@ -92,7 +92,7 @@ def test_non_unique_array_of_objects_is_valid_passes(self): def test_1_and_true_are_unique_passes(self): # 1 and true are unique - UniqueitemsFalseValidation.from_openapi_data_oapg( + UniqueitemsFalseValidation.from_openapi_data_( [ 1, True, @@ -102,7 +102,7 @@ def test_1_and_true_are_unique_passes(self): def test_unique_array_of_integers_is_valid_passes(self): # unique array of integers is valid - UniqueitemsFalseValidation.from_openapi_data_oapg( + UniqueitemsFalseValidation.from_openapi_data_( [ 1, 2, @@ -112,7 +112,7 @@ def test_unique_array_of_integers_is_valid_passes(self): def test_non_unique_array_of_arrays_is_valid_passes(self): # non-unique array of arrays is valid - UniqueitemsFalseValidation.from_openapi_data_oapg( + UniqueitemsFalseValidation.from_openapi_data_( [ [ "foo", @@ -126,7 +126,7 @@ def test_non_unique_array_of_arrays_is_valid_passes(self): def test_numbers_are_unique_if_mathematically_unequal_passes(self): # numbers are unique if mathematically unequal - UniqueitemsFalseValidation.from_openapi_data_oapg( + UniqueitemsFalseValidation.from_openapi_data_( [ 1.0, 1.0, @@ -137,7 +137,7 @@ def test_numbers_are_unique_if_mathematically_unequal_passes(self): def test_false_is_not_equal_to_zero_passes(self): # false is not equal to zero - UniqueitemsFalseValidation.from_openapi_data_oapg( + UniqueitemsFalseValidation.from_openapi_data_( [ 0, False, @@ -147,7 +147,7 @@ def test_false_is_not_equal_to_zero_passes(self): def test_unique_array_of_nested_objects_is_valid_passes(self): # unique array of nested objects is valid - UniqueitemsFalseValidation.from_openapi_data_oapg( + UniqueitemsFalseValidation.from_openapi_data_( [ { "foo": @@ -175,7 +175,7 @@ def test_unique_array_of_nested_objects_is_valid_passes(self): def test_0_and_false_are_unique_passes(self): # 0 and false are unique - UniqueitemsFalseValidation.from_openapi_data_oapg( + UniqueitemsFalseValidation.from_openapi_data_( [ 0, False, @@ -185,7 +185,7 @@ def test_0_and_false_are_unique_passes(self): def test_unique_array_of_arrays_is_valid_passes(self): # unique array of arrays is valid - UniqueitemsFalseValidation.from_openapi_data_oapg( + UniqueitemsFalseValidation.from_openapi_data_( [ [ "foo", @@ -199,7 +199,7 @@ def test_unique_array_of_arrays_is_valid_passes(self): def test_true_is_not_equal_to_one_passes(self): # true is not equal to one - UniqueitemsFalseValidation.from_openapi_data_oapg( + UniqueitemsFalseValidation.from_openapi_data_( [ 1, True, @@ -209,7 +209,7 @@ def test_true_is_not_equal_to_one_passes(self): def test_non_unique_heterogeneous_types_are_valid_passes(self): # non-unique heterogeneous types are valid - UniqueitemsFalseValidation.from_openapi_data_oapg( + UniqueitemsFalseValidation.from_openapi_data_( [ { }, @@ -227,7 +227,7 @@ def test_non_unique_heterogeneous_types_are_valid_passes(self): def test_unique_heterogeneous_types_are_valid_passes(self): # unique heterogeneous types are valid - UniqueitemsFalseValidation.from_openapi_data_oapg( + UniqueitemsFalseValidation.from_openapi_data_( [ { }, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_uniqueitems_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_uniqueitems_validation.py index 862e2af2d92..604367fbcbc 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_uniqueitems_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_uniqueitems_validation.py @@ -22,7 +22,7 @@ class TestUniqueitemsValidation(unittest.TestCase): def test_unique_array_of_objects_is_valid_passes(self): # unique array of objects is valid - UniqueitemsValidation.from_openapi_data_oapg( + UniqueitemsValidation.from_openapi_data_( [ { "foo": @@ -38,7 +38,7 @@ def test_unique_array_of_objects_is_valid_passes(self): def test_a_true_and_a1_are_unique_passes(self): # {"a": true} and {"a": 1} are unique - UniqueitemsValidation.from_openapi_data_oapg( + UniqueitemsValidation.from_openapi_data_( [ { "a": @@ -55,7 +55,7 @@ def test_a_true_and_a1_are_unique_passes(self): def test_non_unique_heterogeneous_types_are_invalid_fails(self): # non-unique heterogeneous types are invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - UniqueitemsValidation.from_openapi_data_oapg( + UniqueitemsValidation.from_openapi_data_( [ { }, @@ -73,7 +73,7 @@ def test_non_unique_heterogeneous_types_are_invalid_fails(self): def test_nested0_and_false_are_unique_passes(self): # nested [0] and [false] are unique - UniqueitemsValidation.from_openapi_data_oapg( + UniqueitemsValidation.from_openapi_data_( [ [ [ @@ -93,7 +93,7 @@ def test_nested0_and_false_are_unique_passes(self): def test_a_false_and_a0_are_unique_passes(self): # {"a": false} and {"a": 0} are unique - UniqueitemsValidation.from_openapi_data_oapg( + UniqueitemsValidation.from_openapi_data_( [ { "a": @@ -110,7 +110,7 @@ def test_a_false_and_a0_are_unique_passes(self): def test_numbers_are_unique_if_mathematically_unequal_fails(self): # numbers are unique if mathematically unequal with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - UniqueitemsValidation.from_openapi_data_oapg( + UniqueitemsValidation.from_openapi_data_( [ 1.0, 1.0, @@ -121,7 +121,7 @@ def test_numbers_are_unique_if_mathematically_unequal_fails(self): def test_false_is_not_equal_to_zero_passes(self): # false is not equal to zero - UniqueitemsValidation.from_openapi_data_oapg( + UniqueitemsValidation.from_openapi_data_( [ 0, False, @@ -131,7 +131,7 @@ def test_false_is_not_equal_to_zero_passes(self): def test_0_and_false_are_unique_passes(self): # [0] and [false] are unique - UniqueitemsValidation.from_openapi_data_oapg( + UniqueitemsValidation.from_openapi_data_( [ [ 0, @@ -145,7 +145,7 @@ def test_0_and_false_are_unique_passes(self): def test_unique_array_of_arrays_is_valid_passes(self): # unique array of arrays is valid - UniqueitemsValidation.from_openapi_data_oapg( + UniqueitemsValidation.from_openapi_data_( [ [ "foo", @@ -160,7 +160,7 @@ def test_unique_array_of_arrays_is_valid_passes(self): def test_non_unique_array_of_nested_objects_is_invalid_fails(self): # non-unique array of nested objects is invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - UniqueitemsValidation.from_openapi_data_oapg( + UniqueitemsValidation.from_openapi_data_( [ { "foo": @@ -189,7 +189,7 @@ def test_non_unique_array_of_nested_objects_is_invalid_fails(self): def test_non_unique_array_of_more_than_two_integers_is_invalid_fails(self): # non-unique array of more than two integers is invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - UniqueitemsValidation.from_openapi_data_oapg( + UniqueitemsValidation.from_openapi_data_( [ 1, 2, @@ -200,7 +200,7 @@ def test_non_unique_array_of_more_than_two_integers_is_invalid_fails(self): def test_true_is_not_equal_to_one_passes(self): # true is not equal to one - UniqueitemsValidation.from_openapi_data_oapg( + UniqueitemsValidation.from_openapi_data_( [ 1, True, @@ -211,7 +211,7 @@ def test_true_is_not_equal_to_one_passes(self): def test_objects_are_non_unique_despite_key_order_fails(self): # objects are non-unique despite key order with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - UniqueitemsValidation.from_openapi_data_oapg( + UniqueitemsValidation.from_openapi_data_( [ { "a": @@ -231,7 +231,7 @@ def test_objects_are_non_unique_despite_key_order_fails(self): def test_unique_array_of_strings_is_valid_passes(self): # unique array of strings is valid - UniqueitemsValidation.from_openapi_data_oapg( + UniqueitemsValidation.from_openapi_data_( [ "foo", "bar", @@ -242,7 +242,7 @@ def test_unique_array_of_strings_is_valid_passes(self): def test_1_and_true_are_unique_passes(self): # [1] and [true] are unique - UniqueitemsValidation.from_openapi_data_oapg( + UniqueitemsValidation.from_openapi_data_( [ [ 1, @@ -256,7 +256,7 @@ def test_1_and_true_are_unique_passes(self): def test_different_objects_are_unique_passes(self): # different objects are unique - UniqueitemsValidation.from_openapi_data_oapg( + UniqueitemsValidation.from_openapi_data_( [ { "a": @@ -276,7 +276,7 @@ def test_different_objects_are_unique_passes(self): def test_unique_array_of_integers_is_valid_passes(self): # unique array of integers is valid - UniqueitemsValidation.from_openapi_data_oapg( + UniqueitemsValidation.from_openapi_data_( [ 1, 2, @@ -287,7 +287,7 @@ def test_unique_array_of_integers_is_valid_passes(self): def test_non_unique_array_of_more_than_two_arrays_is_invalid_fails(self): # non-unique array of more than two arrays is invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - UniqueitemsValidation.from_openapi_data_oapg( + UniqueitemsValidation.from_openapi_data_( [ [ "foo", @@ -305,7 +305,7 @@ def test_non_unique_array_of_more_than_two_arrays_is_invalid_fails(self): def test_non_unique_array_of_objects_is_invalid_fails(self): # non-unique array of objects is invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - UniqueitemsValidation.from_openapi_data_oapg( + UniqueitemsValidation.from_openapi_data_( [ { "foo": @@ -321,7 +321,7 @@ def test_non_unique_array_of_objects_is_invalid_fails(self): def test_unique_array_of_nested_objects_is_valid_passes(self): # unique array of nested objects is valid - UniqueitemsValidation.from_openapi_data_oapg( + UniqueitemsValidation.from_openapi_data_( [ { "foo": @@ -350,7 +350,7 @@ def test_unique_array_of_nested_objects_is_valid_passes(self): def test_non_unique_array_of_arrays_is_invalid_fails(self): # non-unique array of arrays is invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - UniqueitemsValidation.from_openapi_data_oapg( + UniqueitemsValidation.from_openapi_data_( [ [ "foo", @@ -365,7 +365,7 @@ def test_non_unique_array_of_arrays_is_invalid_fails(self): def test_non_unique_array_of_strings_is_invalid_fails(self): # non-unique array of strings is invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - UniqueitemsValidation.from_openapi_data_oapg( + UniqueitemsValidation.from_openapi_data_( [ "foo", "bar", @@ -376,7 +376,7 @@ def test_non_unique_array_of_strings_is_invalid_fails(self): def test_nested1_and_true_are_unique_passes(self): # nested [1] and [true] are unique - UniqueitemsValidation.from_openapi_data_oapg( + UniqueitemsValidation.from_openapi_data_( [ [ [ @@ -396,7 +396,7 @@ def test_nested1_and_true_are_unique_passes(self): def test_unique_heterogeneous_types_are_valid_passes(self): # unique heterogeneous types are valid - UniqueitemsValidation.from_openapi_data_oapg( + UniqueitemsValidation.from_openapi_data_( [ { }, @@ -414,7 +414,7 @@ def test_unique_heterogeneous_types_are_valid_passes(self): def test_non_unique_array_of_integers_is_invalid_fails(self): # non-unique array of integers is invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - UniqueitemsValidation.from_openapi_data_oapg( + UniqueitemsValidation.from_openapi_data_( [ 1, 1, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_uri_format.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_uri_format.py index 74b8cb45fd2..e111b901dca 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_uri_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_uri_format.py @@ -22,7 +22,7 @@ class TestUriFormat(unittest.TestCase): def test_all_string_formats_ignore_objects_passes(self): # all string formats ignore objects - UriFormat.from_openapi_data_oapg( + UriFormat.from_openapi_data_( { }, _configuration=self._configuration @@ -30,28 +30,28 @@ def test_all_string_formats_ignore_objects_passes(self): def test_all_string_formats_ignore_booleans_passes(self): # all string formats ignore booleans - UriFormat.from_openapi_data_oapg( + UriFormat.from_openapi_data_( False, _configuration=self._configuration ) def test_all_string_formats_ignore_integers_passes(self): # all string formats ignore integers - UriFormat.from_openapi_data_oapg( + UriFormat.from_openapi_data_( 12, _configuration=self._configuration ) def test_all_string_formats_ignore_floats_passes(self): # all string formats ignore floats - UriFormat.from_openapi_data_oapg( + UriFormat.from_openapi_data_( 13.7, _configuration=self._configuration ) def test_all_string_formats_ignore_arrays_passes(self): # all string formats ignore arrays - UriFormat.from_openapi_data_oapg( + UriFormat.from_openapi_data_( [ ], _configuration=self._configuration @@ -59,7 +59,7 @@ def test_all_string_formats_ignore_arrays_passes(self): def test_all_string_formats_ignore_nulls_passes(self): # all string formats ignore nulls - UriFormat.from_openapi_data_oapg( + UriFormat.from_openapi_data_( None, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_uri_reference_format.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_uri_reference_format.py index 06b889c5f05..dce9d98ca8a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_uri_reference_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_uri_reference_format.py @@ -22,7 +22,7 @@ class TestUriReferenceFormat(unittest.TestCase): def test_all_string_formats_ignore_objects_passes(self): # all string formats ignore objects - UriReferenceFormat.from_openapi_data_oapg( + UriReferenceFormat.from_openapi_data_( { }, _configuration=self._configuration @@ -30,28 +30,28 @@ def test_all_string_formats_ignore_objects_passes(self): def test_all_string_formats_ignore_booleans_passes(self): # all string formats ignore booleans - UriReferenceFormat.from_openapi_data_oapg( + UriReferenceFormat.from_openapi_data_( False, _configuration=self._configuration ) def test_all_string_formats_ignore_integers_passes(self): # all string formats ignore integers - UriReferenceFormat.from_openapi_data_oapg( + UriReferenceFormat.from_openapi_data_( 12, _configuration=self._configuration ) def test_all_string_formats_ignore_floats_passes(self): # all string formats ignore floats - UriReferenceFormat.from_openapi_data_oapg( + UriReferenceFormat.from_openapi_data_( 13.7, _configuration=self._configuration ) def test_all_string_formats_ignore_arrays_passes(self): # all string formats ignore arrays - UriReferenceFormat.from_openapi_data_oapg( + UriReferenceFormat.from_openapi_data_( [ ], _configuration=self._configuration @@ -59,7 +59,7 @@ def test_all_string_formats_ignore_arrays_passes(self): def test_all_string_formats_ignore_nulls_passes(self): # all string formats ignore nulls - UriReferenceFormat.from_openapi_data_oapg( + UriReferenceFormat.from_openapi_data_( None, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_uri_template_format.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_uri_template_format.py index f53a0d8cab0..eeafb1cce0f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_uri_template_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_uri_template_format.py @@ -22,7 +22,7 @@ class TestUriTemplateFormat(unittest.TestCase): def test_all_string_formats_ignore_objects_passes(self): # all string formats ignore objects - UriTemplateFormat.from_openapi_data_oapg( + UriTemplateFormat.from_openapi_data_( { }, _configuration=self._configuration @@ -30,28 +30,28 @@ def test_all_string_formats_ignore_objects_passes(self): def test_all_string_formats_ignore_booleans_passes(self): # all string formats ignore booleans - UriTemplateFormat.from_openapi_data_oapg( + UriTemplateFormat.from_openapi_data_( False, _configuration=self._configuration ) def test_all_string_formats_ignore_integers_passes(self): # all string formats ignore integers - UriTemplateFormat.from_openapi_data_oapg( + UriTemplateFormat.from_openapi_data_( 12, _configuration=self._configuration ) def test_all_string_formats_ignore_floats_passes(self): # all string formats ignore floats - UriTemplateFormat.from_openapi_data_oapg( + UriTemplateFormat.from_openapi_data_( 13.7, _configuration=self._configuration ) def test_all_string_formats_ignore_arrays_passes(self): # all string formats ignore arrays - UriTemplateFormat.from_openapi_data_oapg( + UriTemplateFormat.from_openapi_data_( [ ], _configuration=self._configuration @@ -59,7 +59,7 @@ def test_all_string_formats_ignore_arrays_passes(self): def test_all_string_formats_ignore_nulls_passes(self): # all string formats ignore nulls - UriTemplateFormat.from_openapi_data_oapg( + UriTemplateFormat.from_openapi_data_( None, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/test_post.py index 9ebcda66ddf..529d7729de6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/test_post.py @@ -44,7 +44,7 @@ def test_no_additional_properties_is_valid_passes(self): 1, } ) - body = post.request_body.additionalproperties_allows_a_schema_which_should_validate.AdditionalpropertiesAllowsASchemaWhichShouldValidate.from_openapi_data_oapg( + body = post.request_body.additionalproperties_allows_a_schema_which_should_validate.AdditionalpropertiesAllowsASchemaWhichShouldValidate.from_openapi_data_( payload, _configuration=self._configuration ) @@ -82,7 +82,7 @@ def test_an_additional_invalid_property_is_invalid_fails(self): } ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.additionalproperties_allows_a_schema_which_should_validate.AdditionalpropertiesAllowsASchemaWhichShouldValidate.from_openapi_data_oapg( + body = post.request_body.additionalproperties_allows_a_schema_which_should_validate.AdditionalpropertiesAllowsASchemaWhichShouldValidate.from_openapi_data_( payload, _configuration=self._configuration ) @@ -102,7 +102,7 @@ def test_an_additional_valid_property_is_valid_passes(self): True, } ) - body = post.request_body.additionalproperties_allows_a_schema_which_should_validate.AdditionalpropertiesAllowsASchemaWhichShouldValidate.from_openapi_data_oapg( + body = post.request_body.additionalproperties_allows_a_schema_which_should_validate.AdditionalpropertiesAllowsASchemaWhichShouldValidate.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_additionalproperties_are_allowed_by_default_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_additionalproperties_are_allowed_by_default_request_body/test_post.py index 0455df590a3..4852fb6771b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_additionalproperties_are_allowed_by_default_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_additionalproperties_are_allowed_by_default_request_body/test_post.py @@ -48,7 +48,7 @@ def test_additional_properties_are_allowed_passes(self): True, } ) - body = post.request_body.additionalproperties_are_allowed_by_default.AdditionalpropertiesAreAllowedByDefault.from_openapi_data_oapg( + body = post.request_body.additionalproperties_are_allowed_by_default.AdditionalpropertiesAreAllowedByDefault.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_additionalproperties_can_exist_by_itself_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_additionalproperties_can_exist_by_itself_request_body/test_post.py index 74ef2aae146..fb668cb1e85 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_additionalproperties_can_exist_by_itself_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_additionalproperties_can_exist_by_itself_request_body/test_post.py @@ -45,7 +45,7 @@ def test_an_additional_invalid_property_is_invalid_fails(self): } ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.additionalproperties_can_exist_by_itself.AdditionalpropertiesCanExistByItself.from_openapi_data_oapg( + body = post.request_body.additionalproperties_can_exist_by_itself.AdditionalpropertiesCanExistByItself.from_openapi_data_( payload, _configuration=self._configuration ) @@ -61,7 +61,7 @@ def test_an_additional_valid_property_is_valid_passes(self): True, } ) - body = post.request_body.additionalproperties_can_exist_by_itself.AdditionalpropertiesCanExistByItself.from_openapi_data_oapg( + body = post.request_body.additionalproperties_can_exist_by_itself.AdditionalpropertiesCanExistByItself.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_additionalproperties_should_not_look_in_applicators_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_additionalproperties_should_not_look_in_applicators_request_body/test_post.py index 74aa4b22082..ad72408396f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_additionalproperties_should_not_look_in_applicators_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_additionalproperties_should_not_look_in_applicators_request_body/test_post.py @@ -47,7 +47,7 @@ def test_properties_defined_in_allof_are_not_examined_fails(self): } ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.additionalproperties_should_not_look_in_applicators.AdditionalpropertiesShouldNotLookInApplicators.from_openapi_data_oapg( + body = post.request_body.additionalproperties_should_not_look_in_applicators.AdditionalpropertiesShouldNotLookInApplicators.from_openapi_data_( payload, _configuration=self._configuration ) @@ -65,7 +65,7 @@ def test_valid_test_case_passes(self): True, } ) - body = post.request_body.additionalproperties_should_not_look_in_applicators.AdditionalpropertiesShouldNotLookInApplicators.from_openapi_data_oapg( + body = post.request_body.additionalproperties_should_not_look_in_applicators.AdditionalpropertiesShouldNotLookInApplicators.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_combined_with_anyof_oneof_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_combined_with_anyof_oneof_request_body/test_post.py index 5ffa21769aa..59e7fe6b821 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_combined_with_anyof_oneof_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_combined_with_anyof_oneof_request_body/test_post.py @@ -42,7 +42,7 @@ def test_allof_true_anyof_false_oneof_false_fails(self): 2 ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof.from_openapi_data_oapg( + body = post.request_body.allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof.from_openapi_data_( payload, _configuration=self._configuration ) @@ -56,7 +56,7 @@ def test_allof_false_anyof_false_oneof_true_fails(self): 5 ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof.from_openapi_data_oapg( + body = post.request_body.allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof.from_openapi_data_( payload, _configuration=self._configuration ) @@ -70,7 +70,7 @@ def test_allof_false_anyof_true_oneof_true_fails(self): 15 ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof.from_openapi_data_oapg( + body = post.request_body.allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof.from_openapi_data_( payload, _configuration=self._configuration ) @@ -84,7 +84,7 @@ def test_allof_true_anyof_true_oneof_false_fails(self): 6 ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof.from_openapi_data_oapg( + body = post.request_body.allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof.from_openapi_data_( payload, _configuration=self._configuration ) @@ -97,7 +97,7 @@ def test_allof_true_anyof_true_oneof_true_passes(self): payload = ( 30 ) - body = post.request_body.allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof.from_openapi_data_oapg( + body = post.request_body.allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof.from_openapi_data_( payload, _configuration=self._configuration ) @@ -128,7 +128,7 @@ def test_allof_true_anyof_false_oneof_true_fails(self): 10 ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof.from_openapi_data_oapg( + body = post.request_body.allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof.from_openapi_data_( payload, _configuration=self._configuration ) @@ -142,7 +142,7 @@ def test_allof_false_anyof_true_oneof_false_fails(self): 3 ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof.from_openapi_data_oapg( + body = post.request_body.allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof.from_openapi_data_( payload, _configuration=self._configuration ) @@ -156,7 +156,7 @@ def test_allof_false_anyof_false_oneof_false_fails(self): 1 ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof.from_openapi_data_oapg( + body = post.request_body.allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_request_body/test_post.py index 4b228df69fd..0bdbf920cea 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_request_body/test_post.py @@ -46,7 +46,7 @@ def test_allof_passes(self): 2, } ) - body = post.request_body.allof.Allof.from_openapi_data_oapg( + body = post.request_body.allof.Allof.from_openapi_data_( payload, _configuration=self._configuration ) @@ -80,7 +80,7 @@ def test_mismatch_first_fails(self): } ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.allof.Allof.from_openapi_data_oapg( + body = post.request_body.allof.Allof.from_openapi_data_( payload, _configuration=self._configuration ) @@ -97,7 +97,7 @@ def test_mismatch_second_fails(self): } ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.allof.Allof.from_openapi_data_oapg( + body = post.request_body.allof.Allof.from_openapi_data_( payload, _configuration=self._configuration ) @@ -116,7 +116,7 @@ def test_wrong_type_fails(self): } ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.allof.Allof.from_openapi_data_oapg( + body = post.request_body.allof.Allof.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_simple_types_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_simple_types_request_body/test_post.py index 2afdbf1e31f..bd0ef9668c0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_simple_types_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_simple_types_request_body/test_post.py @@ -41,7 +41,7 @@ def test_valid_passes(self): payload = ( 25 ) - body = post.request_body.allof_simple_types.AllofSimpleTypes.from_openapi_data_oapg( + body = post.request_body.allof_simple_types.AllofSimpleTypes.from_openapi_data_( payload, _configuration=self._configuration ) @@ -72,7 +72,7 @@ def test_mismatch_one_fails(self): 35 ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.allof_simple_types.AllofSimpleTypes.from_openapi_data_oapg( + body = post.request_body.allof_simple_types.AllofSimpleTypes.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_with_base_schema_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_with_base_schema_request_body/test_post.py index 3744e467683..2b9c1f32b6c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_with_base_schema_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_with_base_schema_request_body/test_post.py @@ -48,7 +48,7 @@ def test_valid_passes(self): None, } ) - body = post.request_body.allof_with_base_schema.AllofWithBaseSchema.from_openapi_data_oapg( + body = post.request_body.allof_with_base_schema.AllofWithBaseSchema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -84,7 +84,7 @@ def test_mismatch_first_allof_fails(self): } ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.allof_with_base_schema.AllofWithBaseSchema.from_openapi_data_oapg( + body = post.request_body.allof_with_base_schema.AllofWithBaseSchema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -103,7 +103,7 @@ def test_mismatch_base_schema_fails(self): } ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.allof_with_base_schema.AllofWithBaseSchema.from_openapi_data_oapg( + body = post.request_body.allof_with_base_schema.AllofWithBaseSchema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -120,7 +120,7 @@ def test_mismatch_both_fails(self): } ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.allof_with_base_schema.AllofWithBaseSchema.from_openapi_data_oapg( + body = post.request_body.allof_with_base_schema.AllofWithBaseSchema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -139,7 +139,7 @@ def test_mismatch_second_allof_fails(self): } ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.allof_with_base_schema.AllofWithBaseSchema.from_openapi_data_oapg( + body = post.request_body.allof_with_base_schema.AllofWithBaseSchema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_with_one_empty_schema_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_with_one_empty_schema_request_body/test_post.py index 5afeb49c488..6d5bcf8e2d3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_with_one_empty_schema_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_with_one_empty_schema_request_body/test_post.py @@ -41,7 +41,7 @@ def test_any_data_is_valid_passes(self): payload = ( 1 ) - body = post.request_body.allof_with_one_empty_schema.AllofWithOneEmptySchema.from_openapi_data_oapg( + body = post.request_body.allof_with_one_empty_schema.AllofWithOneEmptySchema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_with_the_first_empty_schema_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_with_the_first_empty_schema_request_body/test_post.py index b3f0b17d146..67358f46dac 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_with_the_first_empty_schema_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_with_the_first_empty_schema_request_body/test_post.py @@ -42,7 +42,7 @@ def test_string_is_invalid_fails(self): "foo" ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.allof_with_the_first_empty_schema.AllofWithTheFirstEmptySchema.from_openapi_data_oapg( + body = post.request_body.allof_with_the_first_empty_schema.AllofWithTheFirstEmptySchema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -55,7 +55,7 @@ def test_number_is_valid_passes(self): payload = ( 1 ) - body = post.request_body.allof_with_the_first_empty_schema.AllofWithTheFirstEmptySchema.from_openapi_data_oapg( + body = post.request_body.allof_with_the_first_empty_schema.AllofWithTheFirstEmptySchema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_with_the_last_empty_schema_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_with_the_last_empty_schema_request_body/test_post.py index b9a33031203..7702fe9951f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_with_the_last_empty_schema_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_with_the_last_empty_schema_request_body/test_post.py @@ -42,7 +42,7 @@ def test_string_is_invalid_fails(self): "foo" ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.allof_with_the_last_empty_schema.AllofWithTheLastEmptySchema.from_openapi_data_oapg( + body = post.request_body.allof_with_the_last_empty_schema.AllofWithTheLastEmptySchema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -55,7 +55,7 @@ def test_number_is_valid_passes(self): payload = ( 1 ) - body = post.request_body.allof_with_the_last_empty_schema.AllofWithTheLastEmptySchema.from_openapi_data_oapg( + body = post.request_body.allof_with_the_last_empty_schema.AllofWithTheLastEmptySchema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_with_two_empty_schemas_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_with_two_empty_schemas_request_body/test_post.py index cef6c1e0700..97693f9f1c1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_with_two_empty_schemas_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_with_two_empty_schemas_request_body/test_post.py @@ -41,7 +41,7 @@ def test_any_data_is_valid_passes(self): payload = ( 1 ) - body = post.request_body.allof_with_two_empty_schemas.AllofWithTwoEmptySchemas.from_openapi_data_oapg( + body = post.request_body.allof_with_two_empty_schemas.AllofWithTwoEmptySchemas.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_anyof_complex_types_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_anyof_complex_types_request_body/test_post.py index 14f8f01648c..c53737cf091 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_anyof_complex_types_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_anyof_complex_types_request_body/test_post.py @@ -44,7 +44,7 @@ def test_second_anyof_valid_complex_passes(self): "baz", } ) - body = post.request_body.anyof_complex_types.AnyofComplexTypes.from_openapi_data_oapg( + body = post.request_body.anyof_complex_types.AnyofComplexTypes.from_openapi_data_( payload, _configuration=self._configuration ) @@ -80,7 +80,7 @@ def test_neither_anyof_valid_complex_fails(self): } ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.anyof_complex_types.AnyofComplexTypes.from_openapi_data_oapg( + body = post.request_body.anyof_complex_types.AnyofComplexTypes.from_openapi_data_( payload, _configuration=self._configuration ) @@ -98,7 +98,7 @@ def test_both_anyof_valid_complex_passes(self): 2, } ) - body = post.request_body.anyof_complex_types.AnyofComplexTypes.from_openapi_data_oapg( + body = post.request_body.anyof_complex_types.AnyofComplexTypes.from_openapi_data_( payload, _configuration=self._configuration ) @@ -131,7 +131,7 @@ def test_first_anyof_valid_complex_passes(self): 2, } ) - body = post.request_body.anyof_complex_types.AnyofComplexTypes.from_openapi_data_oapg( + body = post.request_body.anyof_complex_types.AnyofComplexTypes.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_anyof_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_anyof_request_body/test_post.py index b2cde3defd5..d51728c63a4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_anyof_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_anyof_request_body/test_post.py @@ -41,7 +41,7 @@ def test_second_anyof_valid_passes(self): payload = ( 2.5 ) - body = post.request_body.anyof.Anyof.from_openapi_data_oapg( + body = post.request_body.anyof.Anyof.from_openapi_data_( payload, _configuration=self._configuration ) @@ -72,7 +72,7 @@ def test_neither_anyof_valid_fails(self): 1.5 ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.anyof.Anyof.from_openapi_data_oapg( + body = post.request_body.anyof.Anyof.from_openapi_data_( payload, _configuration=self._configuration ) @@ -85,7 +85,7 @@ def test_both_anyof_valid_passes(self): payload = ( 3 ) - body = post.request_body.anyof.Anyof.from_openapi_data_oapg( + body = post.request_body.anyof.Anyof.from_openapi_data_( payload, _configuration=self._configuration ) @@ -115,7 +115,7 @@ def test_first_anyof_valid_passes(self): payload = ( 1 ) - body = post.request_body.anyof.Anyof.from_openapi_data_oapg( + body = post.request_body.anyof.Anyof.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_anyof_with_base_schema_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_anyof_with_base_schema_request_body/test_post.py index fe40e7a931e..f7fc82b2c34 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_anyof_with_base_schema_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_anyof_with_base_schema_request_body/test_post.py @@ -41,7 +41,7 @@ def test_one_anyof_valid_passes(self): payload = ( "foobar" ) - body = post.request_body.anyof_with_base_schema.AnyofWithBaseSchema.from_openapi_data_oapg( + body = post.request_body.anyof_with_base_schema.AnyofWithBaseSchema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -72,7 +72,7 @@ def test_both_anyof_invalid_fails(self): "foo" ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.anyof_with_base_schema.AnyofWithBaseSchema.from_openapi_data_oapg( + body = post.request_body.anyof_with_base_schema.AnyofWithBaseSchema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -86,7 +86,7 @@ def test_mismatch_base_schema_fails(self): 3 ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.anyof_with_base_schema.AnyofWithBaseSchema.from_openapi_data_oapg( + body = post.request_body.anyof_with_base_schema.AnyofWithBaseSchema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_anyof_with_one_empty_schema_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_anyof_with_one_empty_schema_request_body/test_post.py index 0f412142ec9..751346a2695 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_anyof_with_one_empty_schema_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_anyof_with_one_empty_schema_request_body/test_post.py @@ -41,7 +41,7 @@ def test_string_is_valid_passes(self): payload = ( "foo" ) - body = post.request_body.anyof_with_one_empty_schema.AnyofWithOneEmptySchema.from_openapi_data_oapg( + body = post.request_body.anyof_with_one_empty_schema.AnyofWithOneEmptySchema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -71,7 +71,7 @@ def test_number_is_valid_passes(self): payload = ( 123 ) - body = post.request_body.anyof_with_one_empty_schema.AnyofWithOneEmptySchema.from_openapi_data_oapg( + body = post.request_body.anyof_with_one_empty_schema.AnyofWithOneEmptySchema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_array_type_matches_arrays_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_array_type_matches_arrays_request_body/test_post.py index 9a72fa33d3a..868b3a49402 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_array_type_matches_arrays_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_array_type_matches_arrays_request_body/test_post.py @@ -42,7 +42,7 @@ def test_a_float_is_not_an_array_fails(self): 1.1 ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.array_type_matches_arrays.ArrayTypeMatchesArrays.from_openapi_data_oapg( + body = post.request_body.array_type_matches_arrays.ArrayTypeMatchesArrays.from_openapi_data_( payload, _configuration=self._configuration ) @@ -56,7 +56,7 @@ def test_a_boolean_is_not_an_array_fails(self): True ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.array_type_matches_arrays.ArrayTypeMatchesArrays.from_openapi_data_oapg( + body = post.request_body.array_type_matches_arrays.ArrayTypeMatchesArrays.from_openapi_data_( payload, _configuration=self._configuration ) @@ -70,7 +70,7 @@ def test_null_is_not_an_array_fails(self): None ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.array_type_matches_arrays.ArrayTypeMatchesArrays.from_openapi_data_oapg( + body = post.request_body.array_type_matches_arrays.ArrayTypeMatchesArrays.from_openapi_data_( payload, _configuration=self._configuration ) @@ -85,7 +85,7 @@ def test_an_object_is_not_an_array_fails(self): } ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.array_type_matches_arrays.ArrayTypeMatchesArrays.from_openapi_data_oapg( + body = post.request_body.array_type_matches_arrays.ArrayTypeMatchesArrays.from_openapi_data_( payload, _configuration=self._configuration ) @@ -99,7 +99,7 @@ def test_a_string_is_not_an_array_fails(self): "foo" ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.array_type_matches_arrays.ArrayTypeMatchesArrays.from_openapi_data_oapg( + body = post.request_body.array_type_matches_arrays.ArrayTypeMatchesArrays.from_openapi_data_( payload, _configuration=self._configuration ) @@ -113,7 +113,7 @@ def test_an_array_is_an_array_passes(self): [ ] ) - body = post.request_body.array_type_matches_arrays.ArrayTypeMatchesArrays.from_openapi_data_oapg( + body = post.request_body.array_type_matches_arrays.ArrayTypeMatchesArrays.from_openapi_data_( payload, _configuration=self._configuration ) @@ -144,7 +144,7 @@ def test_an_integer_is_not_an_array_fails(self): 1 ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.array_type_matches_arrays.ArrayTypeMatchesArrays.from_openapi_data_oapg( + body = post.request_body.array_type_matches_arrays.ArrayTypeMatchesArrays.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_boolean_type_matches_booleans_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_boolean_type_matches_booleans_request_body/test_post.py index c446345c1d4..5673c8b4f45 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_boolean_type_matches_booleans_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_boolean_type_matches_booleans_request_body/test_post.py @@ -42,7 +42,7 @@ def test_an_empty_string_is_not_a_boolean_fails(self): "" ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.boolean_type_matches_booleans.BooleanTypeMatchesBooleans.from_openapi_data_oapg( + body = post.request_body.boolean_type_matches_booleans.BooleanTypeMatchesBooleans.from_openapi_data_( payload, _configuration=self._configuration ) @@ -56,7 +56,7 @@ def test_a_float_is_not_a_boolean_fails(self): 1.1 ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.boolean_type_matches_booleans.BooleanTypeMatchesBooleans.from_openapi_data_oapg( + body = post.request_body.boolean_type_matches_booleans.BooleanTypeMatchesBooleans.from_openapi_data_( payload, _configuration=self._configuration ) @@ -70,7 +70,7 @@ def test_null_is_not_a_boolean_fails(self): None ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.boolean_type_matches_booleans.BooleanTypeMatchesBooleans.from_openapi_data_oapg( + body = post.request_body.boolean_type_matches_booleans.BooleanTypeMatchesBooleans.from_openapi_data_( payload, _configuration=self._configuration ) @@ -84,7 +84,7 @@ def test_zero_is_not_a_boolean_fails(self): 0 ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.boolean_type_matches_booleans.BooleanTypeMatchesBooleans.from_openapi_data_oapg( + body = post.request_body.boolean_type_matches_booleans.BooleanTypeMatchesBooleans.from_openapi_data_( payload, _configuration=self._configuration ) @@ -99,7 +99,7 @@ def test_an_array_is_not_a_boolean_fails(self): ] ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.boolean_type_matches_booleans.BooleanTypeMatchesBooleans.from_openapi_data_oapg( + body = post.request_body.boolean_type_matches_booleans.BooleanTypeMatchesBooleans.from_openapi_data_( payload, _configuration=self._configuration ) @@ -113,7 +113,7 @@ def test_a_string_is_not_a_boolean_fails(self): "foo" ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.boolean_type_matches_booleans.BooleanTypeMatchesBooleans.from_openapi_data_oapg( + body = post.request_body.boolean_type_matches_booleans.BooleanTypeMatchesBooleans.from_openapi_data_( payload, _configuration=self._configuration ) @@ -126,7 +126,7 @@ def test_false_is_a_boolean_passes(self): payload = ( False ) - body = post.request_body.boolean_type_matches_booleans.BooleanTypeMatchesBooleans.from_openapi_data_oapg( + body = post.request_body.boolean_type_matches_booleans.BooleanTypeMatchesBooleans.from_openapi_data_( payload, _configuration=self._configuration ) @@ -157,7 +157,7 @@ def test_an_integer_is_not_a_boolean_fails(self): 1 ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.boolean_type_matches_booleans.BooleanTypeMatchesBooleans.from_openapi_data_oapg( + body = post.request_body.boolean_type_matches_booleans.BooleanTypeMatchesBooleans.from_openapi_data_( payload, _configuration=self._configuration ) @@ -170,7 +170,7 @@ def test_true_is_a_boolean_passes(self): payload = ( True ) - body = post.request_body.boolean_type_matches_booleans.BooleanTypeMatchesBooleans.from_openapi_data_oapg( + body = post.request_body.boolean_type_matches_booleans.BooleanTypeMatchesBooleans.from_openapi_data_( payload, _configuration=self._configuration ) @@ -202,7 +202,7 @@ def test_an_object_is_not_a_boolean_fails(self): } ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.boolean_type_matches_booleans.BooleanTypeMatchesBooleans.from_openapi_data_oapg( + body = post.request_body.boolean_type_matches_booleans.BooleanTypeMatchesBooleans.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_by_int_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_by_int_request_body/test_post.py index d96a7715ebb..29eeb4a6ad6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_by_int_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_by_int_request_body/test_post.py @@ -42,7 +42,7 @@ def test_int_by_int_fail_fails(self): 7 ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.by_int.ByInt.from_openapi_data_oapg( + body = post.request_body.by_int.ByInt.from_openapi_data_( payload, _configuration=self._configuration ) @@ -55,7 +55,7 @@ def test_int_by_int_passes(self): payload = ( 10 ) - body = post.request_body.by_int.ByInt.from_openapi_data_oapg( + body = post.request_body.by_int.ByInt.from_openapi_data_( payload, _configuration=self._configuration ) @@ -85,7 +85,7 @@ def test_ignores_non_numbers_passes(self): payload = ( "foo" ) - body = post.request_body.by_int.ByInt.from_openapi_data_oapg( + body = post.request_body.by_int.ByInt.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_by_number_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_by_number_request_body/test_post.py index a27b2ca4961..d4578939950 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_by_number_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_by_number_request_body/test_post.py @@ -41,7 +41,7 @@ def test_45_is_multiple_of15_passes(self): payload = ( 4.5 ) - body = post.request_body.by_number.ByNumber.from_openapi_data_oapg( + body = post.request_body.by_number.ByNumber.from_openapi_data_( payload, _configuration=self._configuration ) @@ -72,7 +72,7 @@ def test_35_is_not_multiple_of15_fails(self): 35 ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.by_number.ByNumber.from_openapi_data_oapg( + body = post.request_body.by_number.ByNumber.from_openapi_data_( payload, _configuration=self._configuration ) @@ -85,7 +85,7 @@ def test_zero_is_multiple_of_anything_passes(self): payload = ( 0 ) - body = post.request_body.by_number.ByNumber.from_openapi_data_oapg( + body = post.request_body.by_number.ByNumber.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_by_small_number_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_by_small_number_request_body/test_post.py index 494c2009581..5d9b9d9c35c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_by_small_number_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_by_small_number_request_body/test_post.py @@ -42,7 +42,7 @@ def test_000751_is_not_multiple_of00001_fails(self): 0.00751 ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.by_small_number.BySmallNumber.from_openapi_data_oapg( + body = post.request_body.by_small_number.BySmallNumber.from_openapi_data_( payload, _configuration=self._configuration ) @@ -55,7 +55,7 @@ def test_00075_is_multiple_of00001_passes(self): payload = ( 0.0075 ) - body = post.request_body.by_small_number.BySmallNumber.from_openapi_data_oapg( + body = post.request_body.by_small_number.BySmallNumber.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_date_time_format_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_date_time_format_request_body/test_post.py index 12773daab34..c5d85a75a68 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_date_time_format_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_date_time_format_request_body/test_post.py @@ -42,7 +42,7 @@ def test_all_string_formats_ignore_objects_passes(self): { } ) - body = post.request_body.date_time_format.DateTimeFormat.from_openapi_data_oapg( + body = post.request_body.date_time_format.DateTimeFormat.from_openapi_data_( payload, _configuration=self._configuration ) @@ -72,7 +72,7 @@ def test_all_string_formats_ignore_booleans_passes(self): payload = ( False ) - body = post.request_body.date_time_format.DateTimeFormat.from_openapi_data_oapg( + body = post.request_body.date_time_format.DateTimeFormat.from_openapi_data_( payload, _configuration=self._configuration ) @@ -102,7 +102,7 @@ def test_all_string_formats_ignore_integers_passes(self): payload = ( 12 ) - body = post.request_body.date_time_format.DateTimeFormat.from_openapi_data_oapg( + body = post.request_body.date_time_format.DateTimeFormat.from_openapi_data_( payload, _configuration=self._configuration ) @@ -132,7 +132,7 @@ def test_all_string_formats_ignore_floats_passes(self): payload = ( 13.7 ) - body = post.request_body.date_time_format.DateTimeFormat.from_openapi_data_oapg( + body = post.request_body.date_time_format.DateTimeFormat.from_openapi_data_( payload, _configuration=self._configuration ) @@ -163,7 +163,7 @@ def test_all_string_formats_ignore_arrays_passes(self): [ ] ) - body = post.request_body.date_time_format.DateTimeFormat.from_openapi_data_oapg( + body = post.request_body.date_time_format.DateTimeFormat.from_openapi_data_( payload, _configuration=self._configuration ) @@ -193,7 +193,7 @@ def test_all_string_formats_ignore_nulls_passes(self): payload = ( None ) - body = post.request_body.date_time_format.DateTimeFormat.from_openapi_data_oapg( + body = post.request_body.date_time_format.DateTimeFormat.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_email_format_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_email_format_request_body/test_post.py index 51722d6d80f..2df593a33a5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_email_format_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_email_format_request_body/test_post.py @@ -42,7 +42,7 @@ def test_all_string_formats_ignore_objects_passes(self): { } ) - body = post.request_body.email_format.EmailFormat.from_openapi_data_oapg( + body = post.request_body.email_format.EmailFormat.from_openapi_data_( payload, _configuration=self._configuration ) @@ -72,7 +72,7 @@ def test_all_string_formats_ignore_booleans_passes(self): payload = ( False ) - body = post.request_body.email_format.EmailFormat.from_openapi_data_oapg( + body = post.request_body.email_format.EmailFormat.from_openapi_data_( payload, _configuration=self._configuration ) @@ -102,7 +102,7 @@ def test_all_string_formats_ignore_integers_passes(self): payload = ( 12 ) - body = post.request_body.email_format.EmailFormat.from_openapi_data_oapg( + body = post.request_body.email_format.EmailFormat.from_openapi_data_( payload, _configuration=self._configuration ) @@ -132,7 +132,7 @@ def test_all_string_formats_ignore_floats_passes(self): payload = ( 13.7 ) - body = post.request_body.email_format.EmailFormat.from_openapi_data_oapg( + body = post.request_body.email_format.EmailFormat.from_openapi_data_( payload, _configuration=self._configuration ) @@ -163,7 +163,7 @@ def test_all_string_formats_ignore_arrays_passes(self): [ ] ) - body = post.request_body.email_format.EmailFormat.from_openapi_data_oapg( + body = post.request_body.email_format.EmailFormat.from_openapi_data_( payload, _configuration=self._configuration ) @@ -193,7 +193,7 @@ def test_all_string_formats_ignore_nulls_passes(self): payload = ( None ) - body = post.request_body.email_format.EmailFormat.from_openapi_data_oapg( + body = post.request_body.email_format.EmailFormat.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_enum_with0_does_not_match_false_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_enum_with0_does_not_match_false_request_body/test_post.py index bbf33107d97..cd5da98ab69 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_enum_with0_does_not_match_false_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_enum_with0_does_not_match_false_request_body/test_post.py @@ -41,7 +41,7 @@ def test_integer_zero_is_valid_passes(self): payload = ( 0 ) - body = post.request_body.enum_with0_does_not_match_false.EnumWith0DoesNotMatchFalse.from_openapi_data_oapg( + body = post.request_body.enum_with0_does_not_match_false.EnumWith0DoesNotMatchFalse.from_openapi_data_( payload, _configuration=self._configuration ) @@ -71,7 +71,7 @@ def test_float_zero_is_valid_passes(self): payload = ( 0.0 ) - body = post.request_body.enum_with0_does_not_match_false.EnumWith0DoesNotMatchFalse.from_openapi_data_oapg( + body = post.request_body.enum_with0_does_not_match_false.EnumWith0DoesNotMatchFalse.from_openapi_data_( payload, _configuration=self._configuration ) @@ -102,7 +102,7 @@ def test_false_is_invalid_fails(self): False ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.enum_with0_does_not_match_false.EnumWith0DoesNotMatchFalse.from_openapi_data_oapg( + body = post.request_body.enum_with0_does_not_match_false.EnumWith0DoesNotMatchFalse.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_enum_with1_does_not_match_true_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_enum_with1_does_not_match_true_request_body/test_post.py index cc66938944d..320f22068da 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_enum_with1_does_not_match_true_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_enum_with1_does_not_match_true_request_body/test_post.py @@ -42,7 +42,7 @@ def test_true_is_invalid_fails(self): True ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.enum_with1_does_not_match_true.EnumWith1DoesNotMatchTrue.from_openapi_data_oapg( + body = post.request_body.enum_with1_does_not_match_true.EnumWith1DoesNotMatchTrue.from_openapi_data_( payload, _configuration=self._configuration ) @@ -55,7 +55,7 @@ def test_integer_one_is_valid_passes(self): payload = ( 1 ) - body = post.request_body.enum_with1_does_not_match_true.EnumWith1DoesNotMatchTrue.from_openapi_data_oapg( + body = post.request_body.enum_with1_does_not_match_true.EnumWith1DoesNotMatchTrue.from_openapi_data_( payload, _configuration=self._configuration ) @@ -85,7 +85,7 @@ def test_float_one_is_valid_passes(self): payload = ( 1.0 ) - body = post.request_body.enum_with1_does_not_match_true.EnumWith1DoesNotMatchTrue.from_openapi_data_oapg( + body = post.request_body.enum_with1_does_not_match_true.EnumWith1DoesNotMatchTrue.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_enum_with_escaped_characters_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_enum_with_escaped_characters_request_body/test_post.py index df97d501ecd..b291488e5df 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_enum_with_escaped_characters_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_enum_with_escaped_characters_request_body/test_post.py @@ -41,7 +41,7 @@ def test_member2_is_valid_passes(self): payload = ( "foo\rbar" ) - body = post.request_body.enum_with_escaped_characters.EnumWithEscapedCharacters.from_openapi_data_oapg( + body = post.request_body.enum_with_escaped_characters.EnumWithEscapedCharacters.from_openapi_data_( payload, _configuration=self._configuration ) @@ -71,7 +71,7 @@ def test_member1_is_valid_passes(self): payload = ( "foo\nbar" ) - body = post.request_body.enum_with_escaped_characters.EnumWithEscapedCharacters.from_openapi_data_oapg( + body = post.request_body.enum_with_escaped_characters.EnumWithEscapedCharacters.from_openapi_data_( payload, _configuration=self._configuration ) @@ -102,7 +102,7 @@ def test_another_string_is_invalid_fails(self): "abc" ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.enum_with_escaped_characters.EnumWithEscapedCharacters.from_openapi_data_oapg( + body = post.request_body.enum_with_escaped_characters.EnumWithEscapedCharacters.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_enum_with_false_does_not_match0_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_enum_with_false_does_not_match0_request_body/test_post.py index 5cf4beaabde..f3334733ac8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_enum_with_false_does_not_match0_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_enum_with_false_does_not_match0_request_body/test_post.py @@ -41,7 +41,7 @@ def test_false_is_valid_passes(self): payload = ( False ) - body = post.request_body.enum_with_false_does_not_match0.EnumWithFalseDoesNotMatch0.from_openapi_data_oapg( + body = post.request_body.enum_with_false_does_not_match0.EnumWithFalseDoesNotMatch0.from_openapi_data_( payload, _configuration=self._configuration ) @@ -72,7 +72,7 @@ def test_float_zero_is_invalid_fails(self): 0.0 ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.enum_with_false_does_not_match0.EnumWithFalseDoesNotMatch0.from_openapi_data_oapg( + body = post.request_body.enum_with_false_does_not_match0.EnumWithFalseDoesNotMatch0.from_openapi_data_( payload, _configuration=self._configuration ) @@ -86,7 +86,7 @@ def test_integer_zero_is_invalid_fails(self): 0 ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.enum_with_false_does_not_match0.EnumWithFalseDoesNotMatch0.from_openapi_data_oapg( + body = post.request_body.enum_with_false_does_not_match0.EnumWithFalseDoesNotMatch0.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_enum_with_true_does_not_match1_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_enum_with_true_does_not_match1_request_body/test_post.py index 3de3422e465..1ac7e428286 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_enum_with_true_does_not_match1_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_enum_with_true_does_not_match1_request_body/test_post.py @@ -42,7 +42,7 @@ def test_float_one_is_invalid_fails(self): 1.0 ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.enum_with_true_does_not_match1.EnumWithTrueDoesNotMatch1.from_openapi_data_oapg( + body = post.request_body.enum_with_true_does_not_match1.EnumWithTrueDoesNotMatch1.from_openapi_data_( payload, _configuration=self._configuration ) @@ -55,7 +55,7 @@ def test_true_is_valid_passes(self): payload = ( True ) - body = post.request_body.enum_with_true_does_not_match1.EnumWithTrueDoesNotMatch1.from_openapi_data_oapg( + body = post.request_body.enum_with_true_does_not_match1.EnumWithTrueDoesNotMatch1.from_openapi_data_( payload, _configuration=self._configuration ) @@ -86,7 +86,7 @@ def test_integer_one_is_invalid_fails(self): 1 ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.enum_with_true_does_not_match1.EnumWithTrueDoesNotMatch1.from_openapi_data_oapg( + body = post.request_body.enum_with_true_does_not_match1.EnumWithTrueDoesNotMatch1.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_enums_in_properties_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_enums_in_properties_request_body/test_post.py index 87bb3d0a0f4..2fc7c0dc5c9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_enums_in_properties_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_enums_in_properties_request_body/test_post.py @@ -44,7 +44,7 @@ def test_missing_optional_property_is_valid_passes(self): "bar", } ) - body = post.request_body.enums_in_properties.EnumsInProperties.from_openapi_data_oapg( + body = post.request_body.enums_in_properties.EnumsInProperties.from_openapi_data_( payload, _configuration=self._configuration ) @@ -80,7 +80,7 @@ def test_wrong_foo_value_fails(self): } ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.enums_in_properties.EnumsInProperties.from_openapi_data_oapg( + body = post.request_body.enums_in_properties.EnumsInProperties.from_openapi_data_( payload, _configuration=self._configuration ) @@ -98,7 +98,7 @@ def test_both_properties_are_valid_passes(self): "bar", } ) - body = post.request_body.enums_in_properties.EnumsInProperties.from_openapi_data_oapg( + body = post.request_body.enums_in_properties.EnumsInProperties.from_openapi_data_( payload, _configuration=self._configuration ) @@ -134,7 +134,7 @@ def test_wrong_bar_value_fails(self): } ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.enums_in_properties.EnumsInProperties.from_openapi_data_oapg( + body = post.request_body.enums_in_properties.EnumsInProperties.from_openapi_data_( payload, _configuration=self._configuration ) @@ -149,7 +149,7 @@ def test_missing_all_properties_is_invalid_fails(self): } ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.enums_in_properties.EnumsInProperties.from_openapi_data_oapg( + body = post.request_body.enums_in_properties.EnumsInProperties.from_openapi_data_( payload, _configuration=self._configuration ) @@ -166,7 +166,7 @@ def test_missing_required_property_is_invalid_fails(self): } ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.enums_in_properties.EnumsInProperties.from_openapi_data_oapg( + body = post.request_body.enums_in_properties.EnumsInProperties.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_forbidden_property_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_forbidden_property_request_body/test_post.py index d44d2cf227f..f33947b4282 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_forbidden_property_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_forbidden_property_request_body/test_post.py @@ -47,7 +47,7 @@ def test_property_present_fails(self): } ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.forbidden_property.ForbiddenProperty.from_openapi_data_oapg( + body = post.request_body.forbidden_property.ForbiddenProperty.from_openapi_data_( payload, _configuration=self._configuration ) @@ -65,7 +65,7 @@ def test_property_absent_passes(self): 2, } ) - body = post.request_body.forbidden_property.ForbiddenProperty.from_openapi_data_oapg( + body = post.request_body.forbidden_property.ForbiddenProperty.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_hostname_format_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_hostname_format_request_body/test_post.py index 82168138557..39fd456a0a0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_hostname_format_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_hostname_format_request_body/test_post.py @@ -42,7 +42,7 @@ def test_all_string_formats_ignore_objects_passes(self): { } ) - body = post.request_body.hostname_format.HostnameFormat.from_openapi_data_oapg( + body = post.request_body.hostname_format.HostnameFormat.from_openapi_data_( payload, _configuration=self._configuration ) @@ -72,7 +72,7 @@ def test_all_string_formats_ignore_booleans_passes(self): payload = ( False ) - body = post.request_body.hostname_format.HostnameFormat.from_openapi_data_oapg( + body = post.request_body.hostname_format.HostnameFormat.from_openapi_data_( payload, _configuration=self._configuration ) @@ -102,7 +102,7 @@ def test_all_string_formats_ignore_integers_passes(self): payload = ( 12 ) - body = post.request_body.hostname_format.HostnameFormat.from_openapi_data_oapg( + body = post.request_body.hostname_format.HostnameFormat.from_openapi_data_( payload, _configuration=self._configuration ) @@ -132,7 +132,7 @@ def test_all_string_formats_ignore_floats_passes(self): payload = ( 13.7 ) - body = post.request_body.hostname_format.HostnameFormat.from_openapi_data_oapg( + body = post.request_body.hostname_format.HostnameFormat.from_openapi_data_( payload, _configuration=self._configuration ) @@ -163,7 +163,7 @@ def test_all_string_formats_ignore_arrays_passes(self): [ ] ) - body = post.request_body.hostname_format.HostnameFormat.from_openapi_data_oapg( + body = post.request_body.hostname_format.HostnameFormat.from_openapi_data_( payload, _configuration=self._configuration ) @@ -193,7 +193,7 @@ def test_all_string_formats_ignore_nulls_passes(self): payload = ( None ) - body = post.request_body.hostname_format.HostnameFormat.from_openapi_data_oapg( + body = post.request_body.hostname_format.HostnameFormat.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_integer_type_matches_integers_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_integer_type_matches_integers_request_body/test_post.py index 5a282d0723b..5cf2ca52646 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_integer_type_matches_integers_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_integer_type_matches_integers_request_body/test_post.py @@ -43,7 +43,7 @@ def test_an_object_is_not_an_integer_fails(self): } ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.integer_type_matches_integers.IntegerTypeMatchesIntegers.from_openapi_data_oapg( + body = post.request_body.integer_type_matches_integers.IntegerTypeMatchesIntegers.from_openapi_data_( payload, _configuration=self._configuration ) @@ -57,7 +57,7 @@ def test_a_string_is_not_an_integer_fails(self): "foo" ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.integer_type_matches_integers.IntegerTypeMatchesIntegers.from_openapi_data_oapg( + body = post.request_body.integer_type_matches_integers.IntegerTypeMatchesIntegers.from_openapi_data_( payload, _configuration=self._configuration ) @@ -71,7 +71,7 @@ def test_null_is_not_an_integer_fails(self): None ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.integer_type_matches_integers.IntegerTypeMatchesIntegers.from_openapi_data_oapg( + body = post.request_body.integer_type_matches_integers.IntegerTypeMatchesIntegers.from_openapi_data_( payload, _configuration=self._configuration ) @@ -84,7 +84,7 @@ def test_a_float_with_zero_fractional_part_is_an_integer_passes(self): payload = ( 1.0 ) - body = post.request_body.integer_type_matches_integers.IntegerTypeMatchesIntegers.from_openapi_data_oapg( + body = post.request_body.integer_type_matches_integers.IntegerTypeMatchesIntegers.from_openapi_data_( payload, _configuration=self._configuration ) @@ -115,7 +115,7 @@ def test_a_float_is_not_an_integer_fails(self): 1.1 ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.integer_type_matches_integers.IntegerTypeMatchesIntegers.from_openapi_data_oapg( + body = post.request_body.integer_type_matches_integers.IntegerTypeMatchesIntegers.from_openapi_data_( payload, _configuration=self._configuration ) @@ -129,7 +129,7 @@ def test_a_boolean_is_not_an_integer_fails(self): True ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.integer_type_matches_integers.IntegerTypeMatchesIntegers.from_openapi_data_oapg( + body = post.request_body.integer_type_matches_integers.IntegerTypeMatchesIntegers.from_openapi_data_( payload, _configuration=self._configuration ) @@ -142,7 +142,7 @@ def test_an_integer_is_an_integer_passes(self): payload = ( 1 ) - body = post.request_body.integer_type_matches_integers.IntegerTypeMatchesIntegers.from_openapi_data_oapg( + body = post.request_body.integer_type_matches_integers.IntegerTypeMatchesIntegers.from_openapi_data_( payload, _configuration=self._configuration ) @@ -173,7 +173,7 @@ def test_a_string_is_still_not_an_integer_even_if_it_looks_like_one_fails(self): "1" ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.integer_type_matches_integers.IntegerTypeMatchesIntegers.from_openapi_data_oapg( + body = post.request_body.integer_type_matches_integers.IntegerTypeMatchesIntegers.from_openapi_data_( payload, _configuration=self._configuration ) @@ -188,7 +188,7 @@ def test_an_array_is_not_an_integer_fails(self): ] ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.integer_type_matches_integers.IntegerTypeMatchesIntegers.from_openapi_data_oapg( + body = post.request_body.integer_type_matches_integers.IntegerTypeMatchesIntegers.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/test_post.py index 212628c6526..034b300baf3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/test_post.py @@ -42,7 +42,7 @@ def test_always_invalid_but_naive_implementations_may_raise_an_overflow_error_fa 1.0E308 ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.invalid_instance_should_not_raise_error_when_float_division_inf.InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf.from_openapi_data_oapg( + body = post.request_body.invalid_instance_should_not_raise_error_when_float_division_inf.InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf.from_openapi_data_( payload, _configuration=self._configuration ) @@ -55,7 +55,7 @@ def test_valid_integer_with_multipleof_float_passes(self): payload = ( 123456789 ) - body = post.request_body.invalid_instance_should_not_raise_error_when_float_division_inf.InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf.from_openapi_data_oapg( + body = post.request_body.invalid_instance_should_not_raise_error_when_float_division_inf.InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_invalid_string_value_for_default_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_invalid_string_value_for_default_request_body/test_post.py index 0c2174e681e..f10afd4d16a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_invalid_string_value_for_default_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_invalid_string_value_for_default_request_body/test_post.py @@ -44,7 +44,7 @@ def test_valid_when_property_is_specified_passes(self): "good", } ) - body = post.request_body.invalid_string_value_for_default.InvalidStringValueForDefault.from_openapi_data_oapg( + body = post.request_body.invalid_string_value_for_default.InvalidStringValueForDefault.from_openapi_data_( payload, _configuration=self._configuration ) @@ -75,7 +75,7 @@ def test_still_valid_when_the_invalid_default_is_used_passes(self): { } ) - body = post.request_body.invalid_string_value_for_default.InvalidStringValueForDefault.from_openapi_data_oapg( + body = post.request_body.invalid_string_value_for_default.InvalidStringValueForDefault.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ipv4_format_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ipv4_format_request_body/test_post.py index 96758bce583..746276f65ee 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ipv4_format_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ipv4_format_request_body/test_post.py @@ -42,7 +42,7 @@ def test_all_string_formats_ignore_objects_passes(self): { } ) - body = post.request_body.ipv4_format.Ipv4Format.from_openapi_data_oapg( + body = post.request_body.ipv4_format.Ipv4Format.from_openapi_data_( payload, _configuration=self._configuration ) @@ -72,7 +72,7 @@ def test_all_string_formats_ignore_booleans_passes(self): payload = ( False ) - body = post.request_body.ipv4_format.Ipv4Format.from_openapi_data_oapg( + body = post.request_body.ipv4_format.Ipv4Format.from_openapi_data_( payload, _configuration=self._configuration ) @@ -102,7 +102,7 @@ def test_all_string_formats_ignore_integers_passes(self): payload = ( 12 ) - body = post.request_body.ipv4_format.Ipv4Format.from_openapi_data_oapg( + body = post.request_body.ipv4_format.Ipv4Format.from_openapi_data_( payload, _configuration=self._configuration ) @@ -132,7 +132,7 @@ def test_all_string_formats_ignore_floats_passes(self): payload = ( 13.7 ) - body = post.request_body.ipv4_format.Ipv4Format.from_openapi_data_oapg( + body = post.request_body.ipv4_format.Ipv4Format.from_openapi_data_( payload, _configuration=self._configuration ) @@ -163,7 +163,7 @@ def test_all_string_formats_ignore_arrays_passes(self): [ ] ) - body = post.request_body.ipv4_format.Ipv4Format.from_openapi_data_oapg( + body = post.request_body.ipv4_format.Ipv4Format.from_openapi_data_( payload, _configuration=self._configuration ) @@ -193,7 +193,7 @@ def test_all_string_formats_ignore_nulls_passes(self): payload = ( None ) - body = post.request_body.ipv4_format.Ipv4Format.from_openapi_data_oapg( + body = post.request_body.ipv4_format.Ipv4Format.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ipv6_format_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ipv6_format_request_body/test_post.py index 4f2801c08b9..34ebc24b201 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ipv6_format_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ipv6_format_request_body/test_post.py @@ -42,7 +42,7 @@ def test_all_string_formats_ignore_objects_passes(self): { } ) - body = post.request_body.ipv6_format.Ipv6Format.from_openapi_data_oapg( + body = post.request_body.ipv6_format.Ipv6Format.from_openapi_data_( payload, _configuration=self._configuration ) @@ -72,7 +72,7 @@ def test_all_string_formats_ignore_booleans_passes(self): payload = ( False ) - body = post.request_body.ipv6_format.Ipv6Format.from_openapi_data_oapg( + body = post.request_body.ipv6_format.Ipv6Format.from_openapi_data_( payload, _configuration=self._configuration ) @@ -102,7 +102,7 @@ def test_all_string_formats_ignore_integers_passes(self): payload = ( 12 ) - body = post.request_body.ipv6_format.Ipv6Format.from_openapi_data_oapg( + body = post.request_body.ipv6_format.Ipv6Format.from_openapi_data_( payload, _configuration=self._configuration ) @@ -132,7 +132,7 @@ def test_all_string_formats_ignore_floats_passes(self): payload = ( 13.7 ) - body = post.request_body.ipv6_format.Ipv6Format.from_openapi_data_oapg( + body = post.request_body.ipv6_format.Ipv6Format.from_openapi_data_( payload, _configuration=self._configuration ) @@ -163,7 +163,7 @@ def test_all_string_formats_ignore_arrays_passes(self): [ ] ) - body = post.request_body.ipv6_format.Ipv6Format.from_openapi_data_oapg( + body = post.request_body.ipv6_format.Ipv6Format.from_openapi_data_( payload, _configuration=self._configuration ) @@ -193,7 +193,7 @@ def test_all_string_formats_ignore_nulls_passes(self): payload = ( None ) - body = post.request_body.ipv6_format.Ipv6Format.from_openapi_data_oapg( + body = post.request_body.ipv6_format.Ipv6Format.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_json_pointer_format_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_json_pointer_format_request_body/test_post.py index bb2c37d5246..cc248b36066 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_json_pointer_format_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_json_pointer_format_request_body/test_post.py @@ -42,7 +42,7 @@ def test_all_string_formats_ignore_objects_passes(self): { } ) - body = post.request_body.json_pointer_format.JsonPointerFormat.from_openapi_data_oapg( + body = post.request_body.json_pointer_format.JsonPointerFormat.from_openapi_data_( payload, _configuration=self._configuration ) @@ -72,7 +72,7 @@ def test_all_string_formats_ignore_booleans_passes(self): payload = ( False ) - body = post.request_body.json_pointer_format.JsonPointerFormat.from_openapi_data_oapg( + body = post.request_body.json_pointer_format.JsonPointerFormat.from_openapi_data_( payload, _configuration=self._configuration ) @@ -102,7 +102,7 @@ def test_all_string_formats_ignore_integers_passes(self): payload = ( 12 ) - body = post.request_body.json_pointer_format.JsonPointerFormat.from_openapi_data_oapg( + body = post.request_body.json_pointer_format.JsonPointerFormat.from_openapi_data_( payload, _configuration=self._configuration ) @@ -132,7 +132,7 @@ def test_all_string_formats_ignore_floats_passes(self): payload = ( 13.7 ) - body = post.request_body.json_pointer_format.JsonPointerFormat.from_openapi_data_oapg( + body = post.request_body.json_pointer_format.JsonPointerFormat.from_openapi_data_( payload, _configuration=self._configuration ) @@ -163,7 +163,7 @@ def test_all_string_formats_ignore_arrays_passes(self): [ ] ) - body = post.request_body.json_pointer_format.JsonPointerFormat.from_openapi_data_oapg( + body = post.request_body.json_pointer_format.JsonPointerFormat.from_openapi_data_( payload, _configuration=self._configuration ) @@ -193,7 +193,7 @@ def test_all_string_formats_ignore_nulls_passes(self): payload = ( None ) - body = post.request_body.json_pointer_format.JsonPointerFormat.from_openapi_data_oapg( + body = post.request_body.json_pointer_format.JsonPointerFormat.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_maximum_validation_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_maximum_validation_request_body/test_post.py index 42a86a15118..7b9180062e4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_maximum_validation_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_maximum_validation_request_body/test_post.py @@ -41,7 +41,7 @@ def test_below_the_maximum_is_valid_passes(self): payload = ( 2.6 ) - body = post.request_body.maximum_validation.MaximumValidation.from_openapi_data_oapg( + body = post.request_body.maximum_validation.MaximumValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -71,7 +71,7 @@ def test_boundary_point_is_valid_passes(self): payload = ( 3.0 ) - body = post.request_body.maximum_validation.MaximumValidation.from_openapi_data_oapg( + body = post.request_body.maximum_validation.MaximumValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -102,7 +102,7 @@ def test_above_the_maximum_is_invalid_fails(self): 3.5 ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.maximum_validation.MaximumValidation.from_openapi_data_oapg( + body = post.request_body.maximum_validation.MaximumValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -115,7 +115,7 @@ def test_ignores_non_numbers_passes(self): payload = ( "x" ) - body = post.request_body.maximum_validation.MaximumValidation.from_openapi_data_oapg( + body = post.request_body.maximum_validation.MaximumValidation.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_maximum_validation_with_unsigned_integer_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_maximum_validation_with_unsigned_integer_request_body/test_post.py index 234d2be7cb1..3bac374e0ce 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_maximum_validation_with_unsigned_integer_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_maximum_validation_with_unsigned_integer_request_body/test_post.py @@ -41,7 +41,7 @@ def test_below_the_maximum_is_invalid_passes(self): payload = ( 299.97 ) - body = post.request_body.maximum_validation_with_unsigned_integer.MaximumValidationWithUnsignedInteger.from_openapi_data_oapg( + body = post.request_body.maximum_validation_with_unsigned_integer.MaximumValidationWithUnsignedInteger.from_openapi_data_( payload, _configuration=self._configuration ) @@ -72,7 +72,7 @@ def test_above_the_maximum_is_invalid_fails(self): 300.5 ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.maximum_validation_with_unsigned_integer.MaximumValidationWithUnsignedInteger.from_openapi_data_oapg( + body = post.request_body.maximum_validation_with_unsigned_integer.MaximumValidationWithUnsignedInteger.from_openapi_data_( payload, _configuration=self._configuration ) @@ -85,7 +85,7 @@ def test_boundary_point_integer_is_valid_passes(self): payload = ( 300 ) - body = post.request_body.maximum_validation_with_unsigned_integer.MaximumValidationWithUnsignedInteger.from_openapi_data_oapg( + body = post.request_body.maximum_validation_with_unsigned_integer.MaximumValidationWithUnsignedInteger.from_openapi_data_( payload, _configuration=self._configuration ) @@ -115,7 +115,7 @@ def test_boundary_point_float_is_valid_passes(self): payload = ( 300.0 ) - body = post.request_body.maximum_validation_with_unsigned_integer.MaximumValidationWithUnsignedInteger.from_openapi_data_oapg( + body = post.request_body.maximum_validation_with_unsigned_integer.MaximumValidationWithUnsignedInteger.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_maxitems_validation_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_maxitems_validation_request_body/test_post.py index 2c2fa4e8c30..3de5654c94d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_maxitems_validation_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_maxitems_validation_request_body/test_post.py @@ -46,7 +46,7 @@ def test_too_long_is_invalid_fails(self): ] ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.maxitems_validation.MaxitemsValidation.from_openapi_data_oapg( + body = post.request_body.maxitems_validation.MaxitemsValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -59,7 +59,7 @@ def test_ignores_non_arrays_passes(self): payload = ( "foobar" ) - body = post.request_body.maxitems_validation.MaxitemsValidation.from_openapi_data_oapg( + body = post.request_body.maxitems_validation.MaxitemsValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -91,7 +91,7 @@ def test_shorter_is_valid_passes(self): 1, ] ) - body = post.request_body.maxitems_validation.MaxitemsValidation.from_openapi_data_oapg( + body = post.request_body.maxitems_validation.MaxitemsValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -124,7 +124,7 @@ def test_exact_length_is_valid_passes(self): 2, ] ) - body = post.request_body.maxitems_validation.MaxitemsValidation.from_openapi_data_oapg( + body = post.request_body.maxitems_validation.MaxitemsValidation.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_maxlength_validation_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_maxlength_validation_request_body/test_post.py index 20a08e024d2..f0f30eecd05 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_maxlength_validation_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_maxlength_validation_request_body/test_post.py @@ -42,7 +42,7 @@ def test_too_long_is_invalid_fails(self): "foo" ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.maxlength_validation.MaxlengthValidation.from_openapi_data_oapg( + body = post.request_body.maxlength_validation.MaxlengthValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -55,7 +55,7 @@ def test_ignores_non_strings_passes(self): payload = ( 100 ) - body = post.request_body.maxlength_validation.MaxlengthValidation.from_openapi_data_oapg( + body = post.request_body.maxlength_validation.MaxlengthValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -85,7 +85,7 @@ def test_shorter_is_valid_passes(self): payload = ( "f" ) - body = post.request_body.maxlength_validation.MaxlengthValidation.from_openapi_data_oapg( + body = post.request_body.maxlength_validation.MaxlengthValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -115,7 +115,7 @@ def test_two_supplementary_unicode_code_points_is_long_enough_passes(self): payload = ( "💩💩" ) - body = post.request_body.maxlength_validation.MaxlengthValidation.from_openapi_data_oapg( + body = post.request_body.maxlength_validation.MaxlengthValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -145,7 +145,7 @@ def test_exact_length_is_valid_passes(self): payload = ( "fo" ) - body = post.request_body.maxlength_validation.MaxlengthValidation.from_openapi_data_oapg( + body = post.request_body.maxlength_validation.MaxlengthValidation.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_maxproperties0_means_the_object_is_empty_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_maxproperties0_means_the_object_is_empty_request_body/test_post.py index 318d5893dd3..ab9e4c37d09 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_maxproperties0_means_the_object_is_empty_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_maxproperties0_means_the_object_is_empty_request_body/test_post.py @@ -42,7 +42,7 @@ def test_no_properties_is_valid_passes(self): { } ) - body = post.request_body.maxproperties0_means_the_object_is_empty.Maxproperties0MeansTheObjectIsEmpty.from_openapi_data_oapg( + body = post.request_body.maxproperties0_means_the_object_is_empty.Maxproperties0MeansTheObjectIsEmpty.from_openapi_data_( payload, _configuration=self._configuration ) @@ -76,7 +76,7 @@ def test_one_property_is_invalid_fails(self): } ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.maxproperties0_means_the_object_is_empty.Maxproperties0MeansTheObjectIsEmpty.from_openapi_data_oapg( + body = post.request_body.maxproperties0_means_the_object_is_empty.Maxproperties0MeansTheObjectIsEmpty.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_maxproperties_validation_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_maxproperties_validation_request_body/test_post.py index 551e51c5710..43eb47af075 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_maxproperties_validation_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_maxproperties_validation_request_body/test_post.py @@ -49,7 +49,7 @@ def test_too_long_is_invalid_fails(self): } ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.maxproperties_validation.MaxpropertiesValidation.from_openapi_data_oapg( + body = post.request_body.maxproperties_validation.MaxpropertiesValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -66,7 +66,7 @@ def test_ignores_arrays_passes(self): 3, ] ) - body = post.request_body.maxproperties_validation.MaxpropertiesValidation.from_openapi_data_oapg( + body = post.request_body.maxproperties_validation.MaxpropertiesValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -96,7 +96,7 @@ def test_ignores_other_non_objects_passes(self): payload = ( 12 ) - body = post.request_body.maxproperties_validation.MaxpropertiesValidation.from_openapi_data_oapg( + body = post.request_body.maxproperties_validation.MaxpropertiesValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -126,7 +126,7 @@ def test_ignores_strings_passes(self): payload = ( "foobar" ) - body = post.request_body.maxproperties_validation.MaxpropertiesValidation.from_openapi_data_oapg( + body = post.request_body.maxproperties_validation.MaxpropertiesValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -159,7 +159,7 @@ def test_shorter_is_valid_passes(self): 1, } ) - body = post.request_body.maxproperties_validation.MaxpropertiesValidation.from_openapi_data_oapg( + body = post.request_body.maxproperties_validation.MaxpropertiesValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -194,7 +194,7 @@ def test_exact_length_is_valid_passes(self): 2, } ) - body = post.request_body.maxproperties_validation.MaxpropertiesValidation.from_openapi_data_oapg( + body = post.request_body.maxproperties_validation.MaxpropertiesValidation.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_minimum_validation_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_minimum_validation_request_body/test_post.py index d00d2aa3ea6..fd7d11f287a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_minimum_validation_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_minimum_validation_request_body/test_post.py @@ -41,7 +41,7 @@ def test_boundary_point_is_valid_passes(self): payload = ( 1.1 ) - body = post.request_body.minimum_validation.MinimumValidation.from_openapi_data_oapg( + body = post.request_body.minimum_validation.MinimumValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -72,7 +72,7 @@ def test_below_the_minimum_is_invalid_fails(self): 0.6 ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.minimum_validation.MinimumValidation.from_openapi_data_oapg( + body = post.request_body.minimum_validation.MinimumValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -85,7 +85,7 @@ def test_above_the_minimum_is_valid_passes(self): payload = ( 2.6 ) - body = post.request_body.minimum_validation.MinimumValidation.from_openapi_data_oapg( + body = post.request_body.minimum_validation.MinimumValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -115,7 +115,7 @@ def test_ignores_non_numbers_passes(self): payload = ( "x" ) - body = post.request_body.minimum_validation.MinimumValidation.from_openapi_data_oapg( + body = post.request_body.minimum_validation.MinimumValidation.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_minimum_validation_with_signed_integer_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_minimum_validation_with_signed_integer_request_body/test_post.py index 649a9024b82..97f431516b9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_minimum_validation_with_signed_integer_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_minimum_validation_with_signed_integer_request_body/test_post.py @@ -41,7 +41,7 @@ def test_boundary_point_is_valid_passes(self): payload = ( -2 ) - body = post.request_body.minimum_validation_with_signed_integer.MinimumValidationWithSignedInteger.from_openapi_data_oapg( + body = post.request_body.minimum_validation_with_signed_integer.MinimumValidationWithSignedInteger.from_openapi_data_( payload, _configuration=self._configuration ) @@ -71,7 +71,7 @@ def test_positive_above_the_minimum_is_valid_passes(self): payload = ( 0 ) - body = post.request_body.minimum_validation_with_signed_integer.MinimumValidationWithSignedInteger.from_openapi_data_oapg( + body = post.request_body.minimum_validation_with_signed_integer.MinimumValidationWithSignedInteger.from_openapi_data_( payload, _configuration=self._configuration ) @@ -102,7 +102,7 @@ def test_int_below_the_minimum_is_invalid_fails(self): -3 ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.minimum_validation_with_signed_integer.MinimumValidationWithSignedInteger.from_openapi_data_oapg( + body = post.request_body.minimum_validation_with_signed_integer.MinimumValidationWithSignedInteger.from_openapi_data_( payload, _configuration=self._configuration ) @@ -116,7 +116,7 @@ def test_float_below_the_minimum_is_invalid_fails(self): -2.0001 ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.minimum_validation_with_signed_integer.MinimumValidationWithSignedInteger.from_openapi_data_oapg( + body = post.request_body.minimum_validation_with_signed_integer.MinimumValidationWithSignedInteger.from_openapi_data_( payload, _configuration=self._configuration ) @@ -129,7 +129,7 @@ def test_boundary_point_with_float_is_valid_passes(self): payload = ( -2.0 ) - body = post.request_body.minimum_validation_with_signed_integer.MinimumValidationWithSignedInteger.from_openapi_data_oapg( + body = post.request_body.minimum_validation_with_signed_integer.MinimumValidationWithSignedInteger.from_openapi_data_( payload, _configuration=self._configuration ) @@ -159,7 +159,7 @@ def test_negative_above_the_minimum_is_valid_passes(self): payload = ( -1 ) - body = post.request_body.minimum_validation_with_signed_integer.MinimumValidationWithSignedInteger.from_openapi_data_oapg( + body = post.request_body.minimum_validation_with_signed_integer.MinimumValidationWithSignedInteger.from_openapi_data_( payload, _configuration=self._configuration ) @@ -189,7 +189,7 @@ def test_ignores_non_numbers_passes(self): payload = ( "x" ) - body = post.request_body.minimum_validation_with_signed_integer.MinimumValidationWithSignedInteger.from_openapi_data_oapg( + body = post.request_body.minimum_validation_with_signed_integer.MinimumValidationWithSignedInteger.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_minitems_validation_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_minitems_validation_request_body/test_post.py index 76fd31a068d..8ab17a3648c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_minitems_validation_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_minitems_validation_request_body/test_post.py @@ -43,7 +43,7 @@ def test_too_short_is_invalid_fails(self): ] ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.minitems_validation.MinitemsValidation.from_openapi_data_oapg( + body = post.request_body.minitems_validation.MinitemsValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -56,7 +56,7 @@ def test_ignores_non_arrays_passes(self): payload = ( "" ) - body = post.request_body.minitems_validation.MinitemsValidation.from_openapi_data_oapg( + body = post.request_body.minitems_validation.MinitemsValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -89,7 +89,7 @@ def test_longer_is_valid_passes(self): 2, ] ) - body = post.request_body.minitems_validation.MinitemsValidation.from_openapi_data_oapg( + body = post.request_body.minitems_validation.MinitemsValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -121,7 +121,7 @@ def test_exact_length_is_valid_passes(self): 1, ] ) - body = post.request_body.minitems_validation.MinitemsValidation.from_openapi_data_oapg( + body = post.request_body.minitems_validation.MinitemsValidation.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_minlength_validation_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_minlength_validation_request_body/test_post.py index 284ee45bcbe..4fb48ee461d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_minlength_validation_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_minlength_validation_request_body/test_post.py @@ -42,7 +42,7 @@ def test_too_short_is_invalid_fails(self): "f" ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.minlength_validation.MinlengthValidation.from_openapi_data_oapg( + body = post.request_body.minlength_validation.MinlengthValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -56,7 +56,7 @@ def test_one_supplementary_unicode_code_point_is_not_long_enough_fails(self): "💩" ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.minlength_validation.MinlengthValidation.from_openapi_data_oapg( + body = post.request_body.minlength_validation.MinlengthValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -69,7 +69,7 @@ def test_longer_is_valid_passes(self): payload = ( "foo" ) - body = post.request_body.minlength_validation.MinlengthValidation.from_openapi_data_oapg( + body = post.request_body.minlength_validation.MinlengthValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -99,7 +99,7 @@ def test_ignores_non_strings_passes(self): payload = ( 1 ) - body = post.request_body.minlength_validation.MinlengthValidation.from_openapi_data_oapg( + body = post.request_body.minlength_validation.MinlengthValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -129,7 +129,7 @@ def test_exact_length_is_valid_passes(self): payload = ( "fo" ) - body = post.request_body.minlength_validation.MinlengthValidation.from_openapi_data_oapg( + body = post.request_body.minlength_validation.MinlengthValidation.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_minproperties_validation_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_minproperties_validation_request_body/test_post.py index 16975dbb722..9abe67e3a43 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_minproperties_validation_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_minproperties_validation_request_body/test_post.py @@ -42,7 +42,7 @@ def test_ignores_arrays_passes(self): [ ] ) - body = post.request_body.minproperties_validation.MinpropertiesValidation.from_openapi_data_oapg( + body = post.request_body.minproperties_validation.MinpropertiesValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -72,7 +72,7 @@ def test_ignores_other_non_objects_passes(self): payload = ( 12 ) - body = post.request_body.minproperties_validation.MinpropertiesValidation.from_openapi_data_oapg( + body = post.request_body.minproperties_validation.MinpropertiesValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -104,7 +104,7 @@ def test_too_short_is_invalid_fails(self): } ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.minproperties_validation.MinpropertiesValidation.from_openapi_data_oapg( + body = post.request_body.minproperties_validation.MinpropertiesValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -117,7 +117,7 @@ def test_ignores_strings_passes(self): payload = ( "" ) - body = post.request_body.minproperties_validation.MinpropertiesValidation.from_openapi_data_oapg( + body = post.request_body.minproperties_validation.MinpropertiesValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -152,7 +152,7 @@ def test_longer_is_valid_passes(self): 2, } ) - body = post.request_body.minproperties_validation.MinpropertiesValidation.from_openapi_data_oapg( + body = post.request_body.minproperties_validation.MinpropertiesValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -185,7 +185,7 @@ def test_exact_length_is_valid_passes(self): 1, } ) - body = post.request_body.minproperties_validation.MinpropertiesValidation.from_openapi_data_oapg( + body = post.request_body.minproperties_validation.MinpropertiesValidation.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_nested_allof_to_check_validation_semantics_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_nested_allof_to_check_validation_semantics_request_body/test_post.py index fc317bbeaf5..96a715ad276 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_nested_allof_to_check_validation_semantics_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_nested_allof_to_check_validation_semantics_request_body/test_post.py @@ -42,7 +42,7 @@ def test_anything_non_null_is_invalid_fails(self): 123 ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.nested_allof_to_check_validation_semantics.NestedAllofToCheckValidationSemantics.from_openapi_data_oapg( + body = post.request_body.nested_allof_to_check_validation_semantics.NestedAllofToCheckValidationSemantics.from_openapi_data_( payload, _configuration=self._configuration ) @@ -55,7 +55,7 @@ def test_null_is_valid_passes(self): payload = ( None ) - body = post.request_body.nested_allof_to_check_validation_semantics.NestedAllofToCheckValidationSemantics.from_openapi_data_oapg( + body = post.request_body.nested_allof_to_check_validation_semantics.NestedAllofToCheckValidationSemantics.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_nested_anyof_to_check_validation_semantics_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_nested_anyof_to_check_validation_semantics_request_body/test_post.py index 1af8c4c9be0..da33fb67952 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_nested_anyof_to_check_validation_semantics_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_nested_anyof_to_check_validation_semantics_request_body/test_post.py @@ -42,7 +42,7 @@ def test_anything_non_null_is_invalid_fails(self): 123 ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.nested_anyof_to_check_validation_semantics.NestedAnyofToCheckValidationSemantics.from_openapi_data_oapg( + body = post.request_body.nested_anyof_to_check_validation_semantics.NestedAnyofToCheckValidationSemantics.from_openapi_data_( payload, _configuration=self._configuration ) @@ -55,7 +55,7 @@ def test_null_is_valid_passes(self): payload = ( None ) - body = post.request_body.nested_anyof_to_check_validation_semantics.NestedAnyofToCheckValidationSemantics.from_openapi_data_oapg( + body = post.request_body.nested_anyof_to_check_validation_semantics.NestedAnyofToCheckValidationSemantics.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_nested_items_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_nested_items_request_body/test_post.py index 41112e3f407..da9329cdb41 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_nested_items_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_nested_items_request_body/test_post.py @@ -70,7 +70,7 @@ def test_valid_nested_array_passes(self): ], ] ) - body = post.request_body.nested_items.NestedItems.from_openapi_data_oapg( + body = post.request_body.nested_items.NestedItems.from_openapi_data_( payload, _configuration=self._configuration ) @@ -130,7 +130,7 @@ def test_nested_array_with_invalid_type_fails(self): ] ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.nested_items.NestedItems.from_openapi_data_oapg( + body = post.request_body.nested_items.NestedItems.from_openapi_data_( payload, _configuration=self._configuration ) @@ -167,7 +167,7 @@ def test_not_deep_enough_fails(self): ] ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.nested_items.NestedItems.from_openapi_data_oapg( + body = post.request_body.nested_items.NestedItems.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_nested_oneof_to_check_validation_semantics_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_nested_oneof_to_check_validation_semantics_request_body/test_post.py index f9e8a3512b1..7998b5c71af 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_nested_oneof_to_check_validation_semantics_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_nested_oneof_to_check_validation_semantics_request_body/test_post.py @@ -42,7 +42,7 @@ def test_anything_non_null_is_invalid_fails(self): 123 ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.nested_oneof_to_check_validation_semantics.NestedOneofToCheckValidationSemantics.from_openapi_data_oapg( + body = post.request_body.nested_oneof_to_check_validation_semantics.NestedOneofToCheckValidationSemantics.from_openapi_data_( payload, _configuration=self._configuration ) @@ -55,7 +55,7 @@ def test_null_is_valid_passes(self): payload = ( None ) - body = post.request_body.nested_oneof_to_check_validation_semantics.NestedOneofToCheckValidationSemantics.from_openapi_data_oapg( + body = post.request_body.nested_oneof_to_check_validation_semantics.NestedOneofToCheckValidationSemantics.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_not_more_complex_schema_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_not_more_complex_schema_request_body/test_post.py index 45a54df9c8d..9fb5c65a40c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_not_more_complex_schema_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_not_more_complex_schema_request_body/test_post.py @@ -44,7 +44,7 @@ def test_other_match_passes(self): 1, } ) - body = post.request_body.not_more_complex_schema.NotMoreComplexSchema.from_openapi_data_oapg( + body = post.request_body.not_more_complex_schema.NotMoreComplexSchema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -78,7 +78,7 @@ def test_mismatch_fails(self): } ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.not_more_complex_schema.NotMoreComplexSchema.from_openapi_data_oapg( + body = post.request_body.not_more_complex_schema.NotMoreComplexSchema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -91,7 +91,7 @@ def test_match_passes(self): payload = ( 1 ) - body = post.request_body.not_more_complex_schema.NotMoreComplexSchema.from_openapi_data_oapg( + body = post.request_body.not_more_complex_schema.NotMoreComplexSchema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_not_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_not_request_body/test_post.py index 3c3e64e059d..53f34ffdbbf 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_not_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_not_request_body/test_post.py @@ -41,7 +41,7 @@ def test_allowed_passes(self): payload = ( "foo" ) - body = post.request_body._not._Not.from_openapi_data_oapg( + body = post.request_body._not._Not.from_openapi_data_( payload, _configuration=self._configuration ) @@ -72,7 +72,7 @@ def test_disallowed_fails(self): 1 ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body._not._Not.from_openapi_data_oapg( + body = post.request_body._not._Not.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_nul_characters_in_strings_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_nul_characters_in_strings_request_body/test_post.py index b73d8a04d9d..e5a5c4ccdbe 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_nul_characters_in_strings_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_nul_characters_in_strings_request_body/test_post.py @@ -41,7 +41,7 @@ def test_match_string_with_nul_passes(self): payload = ( "hello\x00there" ) - body = post.request_body.nul_characters_in_strings.NulCharactersInStrings.from_openapi_data_oapg( + body = post.request_body.nul_characters_in_strings.NulCharactersInStrings.from_openapi_data_( payload, _configuration=self._configuration ) @@ -72,7 +72,7 @@ def test_do_not_match_string_lacking_nul_fails(self): "hellothere" ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.nul_characters_in_strings.NulCharactersInStrings.from_openapi_data_oapg( + body = post.request_body.nul_characters_in_strings.NulCharactersInStrings.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_null_type_matches_only_the_null_object_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_null_type_matches_only_the_null_object_request_body/test_post.py index 338f75483cc..48b0d2f1d39 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_null_type_matches_only_the_null_object_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_null_type_matches_only_the_null_object_request_body/test_post.py @@ -42,7 +42,7 @@ def test_a_float_is_not_null_fails(self): 1.1 ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject.from_openapi_data_oapg( + body = post.request_body.null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject.from_openapi_data_( payload, _configuration=self._configuration ) @@ -57,7 +57,7 @@ def test_an_object_is_not_null_fails(self): } ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject.from_openapi_data_oapg( + body = post.request_body.null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject.from_openapi_data_( payload, _configuration=self._configuration ) @@ -71,7 +71,7 @@ def test_false_is_not_null_fails(self): False ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject.from_openapi_data_oapg( + body = post.request_body.null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject.from_openapi_data_( payload, _configuration=self._configuration ) @@ -85,7 +85,7 @@ def test_an_integer_is_not_null_fails(self): 1 ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject.from_openapi_data_oapg( + body = post.request_body.null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject.from_openapi_data_( payload, _configuration=self._configuration ) @@ -99,7 +99,7 @@ def test_true_is_not_null_fails(self): True ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject.from_openapi_data_oapg( + body = post.request_body.null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject.from_openapi_data_( payload, _configuration=self._configuration ) @@ -113,7 +113,7 @@ def test_zero_is_not_null_fails(self): 0 ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject.from_openapi_data_oapg( + body = post.request_body.null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject.from_openapi_data_( payload, _configuration=self._configuration ) @@ -127,7 +127,7 @@ def test_an_empty_string_is_not_null_fails(self): "" ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject.from_openapi_data_oapg( + body = post.request_body.null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject.from_openapi_data_( payload, _configuration=self._configuration ) @@ -140,7 +140,7 @@ def test_null_is_null_passes(self): payload = ( None ) - body = post.request_body.null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject.from_openapi_data_oapg( + body = post.request_body.null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject.from_openapi_data_( payload, _configuration=self._configuration ) @@ -172,7 +172,7 @@ def test_an_array_is_not_null_fails(self): ] ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject.from_openapi_data_oapg( + body = post.request_body.null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject.from_openapi_data_( payload, _configuration=self._configuration ) @@ -186,7 +186,7 @@ def test_a_string_is_not_null_fails(self): "foo" ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject.from_openapi_data_oapg( + body = post.request_body.null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_number_type_matches_numbers_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_number_type_matches_numbers_request_body/test_post.py index b676363568e..3369873f2cf 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_number_type_matches_numbers_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_number_type_matches_numbers_request_body/test_post.py @@ -43,7 +43,7 @@ def test_an_array_is_not_a_number_fails(self): ] ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.number_type_matches_numbers.NumberTypeMatchesNumbers.from_openapi_data_oapg( + body = post.request_body.number_type_matches_numbers.NumberTypeMatchesNumbers.from_openapi_data_( payload, _configuration=self._configuration ) @@ -57,7 +57,7 @@ def test_null_is_not_a_number_fails(self): None ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.number_type_matches_numbers.NumberTypeMatchesNumbers.from_openapi_data_oapg( + body = post.request_body.number_type_matches_numbers.NumberTypeMatchesNumbers.from_openapi_data_( payload, _configuration=self._configuration ) @@ -72,7 +72,7 @@ def test_an_object_is_not_a_number_fails(self): } ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.number_type_matches_numbers.NumberTypeMatchesNumbers.from_openapi_data_oapg( + body = post.request_body.number_type_matches_numbers.NumberTypeMatchesNumbers.from_openapi_data_( payload, _configuration=self._configuration ) @@ -86,7 +86,7 @@ def test_a_boolean_is_not_a_number_fails(self): True ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.number_type_matches_numbers.NumberTypeMatchesNumbers.from_openapi_data_oapg( + body = post.request_body.number_type_matches_numbers.NumberTypeMatchesNumbers.from_openapi_data_( payload, _configuration=self._configuration ) @@ -99,7 +99,7 @@ def test_a_float_is_a_number_passes(self): payload = ( 1.1 ) - body = post.request_body.number_type_matches_numbers.NumberTypeMatchesNumbers.from_openapi_data_oapg( + body = post.request_body.number_type_matches_numbers.NumberTypeMatchesNumbers.from_openapi_data_( payload, _configuration=self._configuration ) @@ -130,7 +130,7 @@ def test_a_string_is_still_not_a_number_even_if_it_looks_like_one_fails(self): "1" ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.number_type_matches_numbers.NumberTypeMatchesNumbers.from_openapi_data_oapg( + body = post.request_body.number_type_matches_numbers.NumberTypeMatchesNumbers.from_openapi_data_( payload, _configuration=self._configuration ) @@ -144,7 +144,7 @@ def test_a_string_is_not_a_number_fails(self): "foo" ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.number_type_matches_numbers.NumberTypeMatchesNumbers.from_openapi_data_oapg( + body = post.request_body.number_type_matches_numbers.NumberTypeMatchesNumbers.from_openapi_data_( payload, _configuration=self._configuration ) @@ -157,7 +157,7 @@ def test_an_integer_is_a_number_passes(self): payload = ( 1 ) - body = post.request_body.number_type_matches_numbers.NumberTypeMatchesNumbers.from_openapi_data_oapg( + body = post.request_body.number_type_matches_numbers.NumberTypeMatchesNumbers.from_openapi_data_( payload, _configuration=self._configuration ) @@ -187,7 +187,7 @@ def test_a_float_with_zero_fractional_part_is_a_number_and_an_integer_passes(sel payload = ( 1.0 ) - body = post.request_body.number_type_matches_numbers.NumberTypeMatchesNumbers.from_openapi_data_oapg( + body = post.request_body.number_type_matches_numbers.NumberTypeMatchesNumbers.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_object_properties_validation_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_object_properties_validation_request_body/test_post.py index 827a71dde73..dd1b2259cb1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_object_properties_validation_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_object_properties_validation_request_body/test_post.py @@ -42,7 +42,7 @@ def test_ignores_arrays_passes(self): [ ] ) - body = post.request_body.object_properties_validation.ObjectPropertiesValidation.from_openapi_data_oapg( + body = post.request_body.object_properties_validation.ObjectPropertiesValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -72,7 +72,7 @@ def test_ignores_other_non_objects_passes(self): payload = ( 12 ) - body = post.request_body.object_properties_validation.ObjectPropertiesValidation.from_openapi_data_oapg( + body = post.request_body.object_properties_validation.ObjectPropertiesValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -109,7 +109,7 @@ def test_one_property_invalid_is_invalid_fails(self): } ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.object_properties_validation.ObjectPropertiesValidation.from_openapi_data_oapg( + body = post.request_body.object_properties_validation.ObjectPropertiesValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -127,7 +127,7 @@ def test_both_properties_present_and_valid_is_valid_passes(self): "baz", } ) - body = post.request_body.object_properties_validation.ObjectPropertiesValidation.from_openapi_data_oapg( + body = post.request_body.object_properties_validation.ObjectPropertiesValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -161,7 +161,7 @@ def test_doesn_t_invalidate_other_properties_passes(self): ], } ) - body = post.request_body.object_properties_validation.ObjectPropertiesValidation.from_openapi_data_oapg( + body = post.request_body.object_properties_validation.ObjectPropertiesValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -199,7 +199,7 @@ def test_both_properties_invalid_is_invalid_fails(self): } ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.object_properties_validation.ObjectPropertiesValidation.from_openapi_data_oapg( + body = post.request_body.object_properties_validation.ObjectPropertiesValidation.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_object_type_matches_objects_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_object_type_matches_objects_request_body/test_post.py index 519dd2e2810..bef4cdf7e7c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_object_type_matches_objects_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_object_type_matches_objects_request_body/test_post.py @@ -42,7 +42,7 @@ def test_a_float_is_not_an_object_fails(self): 1.1 ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.object_type_matches_objects.ObjectTypeMatchesObjects.from_openapi_data_oapg( + body = post.request_body.object_type_matches_objects.ObjectTypeMatchesObjects.from_openapi_data_( payload, _configuration=self._configuration ) @@ -56,7 +56,7 @@ def test_null_is_not_an_object_fails(self): None ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.object_type_matches_objects.ObjectTypeMatchesObjects.from_openapi_data_oapg( + body = post.request_body.object_type_matches_objects.ObjectTypeMatchesObjects.from_openapi_data_( payload, _configuration=self._configuration ) @@ -71,7 +71,7 @@ def test_an_array_is_not_an_object_fails(self): ] ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.object_type_matches_objects.ObjectTypeMatchesObjects.from_openapi_data_oapg( + body = post.request_body.object_type_matches_objects.ObjectTypeMatchesObjects.from_openapi_data_( payload, _configuration=self._configuration ) @@ -85,7 +85,7 @@ def test_an_object_is_an_object_passes(self): { } ) - body = post.request_body.object_type_matches_objects.ObjectTypeMatchesObjects.from_openapi_data_oapg( + body = post.request_body.object_type_matches_objects.ObjectTypeMatchesObjects.from_openapi_data_( payload, _configuration=self._configuration ) @@ -116,7 +116,7 @@ def test_a_string_is_not_an_object_fails(self): "foo" ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.object_type_matches_objects.ObjectTypeMatchesObjects.from_openapi_data_oapg( + body = post.request_body.object_type_matches_objects.ObjectTypeMatchesObjects.from_openapi_data_( payload, _configuration=self._configuration ) @@ -130,7 +130,7 @@ def test_an_integer_is_not_an_object_fails(self): 1 ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.object_type_matches_objects.ObjectTypeMatchesObjects.from_openapi_data_oapg( + body = post.request_body.object_type_matches_objects.ObjectTypeMatchesObjects.from_openapi_data_( payload, _configuration=self._configuration ) @@ -144,7 +144,7 @@ def test_a_boolean_is_not_an_object_fails(self): True ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.object_type_matches_objects.ObjectTypeMatchesObjects.from_openapi_data_oapg( + body = post.request_body.object_type_matches_objects.ObjectTypeMatchesObjects.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_oneof_complex_types_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_oneof_complex_types_request_body/test_post.py index 5cdb17f4d03..a569314ef8e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_oneof_complex_types_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_oneof_complex_types_request_body/test_post.py @@ -44,7 +44,7 @@ def test_first_oneof_valid_complex_passes(self): 2, } ) - body = post.request_body.oneof_complex_types.OneofComplexTypes.from_openapi_data_oapg( + body = post.request_body.oneof_complex_types.OneofComplexTypes.from_openapi_data_( payload, _configuration=self._configuration ) @@ -80,7 +80,7 @@ def test_neither_oneof_valid_complex_fails(self): } ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.oneof_complex_types.OneofComplexTypes.from_openapi_data_oapg( + body = post.request_body.oneof_complex_types.OneofComplexTypes.from_openapi_data_( payload, _configuration=self._configuration ) @@ -99,7 +99,7 @@ def test_both_oneof_valid_complex_fails(self): } ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.oneof_complex_types.OneofComplexTypes.from_openapi_data_oapg( + body = post.request_body.oneof_complex_types.OneofComplexTypes.from_openapi_data_( payload, _configuration=self._configuration ) @@ -115,7 +115,7 @@ def test_second_oneof_valid_complex_passes(self): "baz", } ) - body = post.request_body.oneof_complex_types.OneofComplexTypes.from_openapi_data_oapg( + body = post.request_body.oneof_complex_types.OneofComplexTypes.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_oneof_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_oneof_request_body/test_post.py index 545f75b4d49..91f733997d8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_oneof_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_oneof_request_body/test_post.py @@ -41,7 +41,7 @@ def test_second_oneof_valid_passes(self): payload = ( 2.5 ) - body = post.request_body.oneof.Oneof.from_openapi_data_oapg( + body = post.request_body.oneof.Oneof.from_openapi_data_( payload, _configuration=self._configuration ) @@ -72,7 +72,7 @@ def test_both_oneof_valid_fails(self): 3 ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.oneof.Oneof.from_openapi_data_oapg( + body = post.request_body.oneof.Oneof.from_openapi_data_( payload, _configuration=self._configuration ) @@ -85,7 +85,7 @@ def test_first_oneof_valid_passes(self): payload = ( 1 ) - body = post.request_body.oneof.Oneof.from_openapi_data_oapg( + body = post.request_body.oneof.Oneof.from_openapi_data_( payload, _configuration=self._configuration ) @@ -116,7 +116,7 @@ def test_neither_oneof_valid_fails(self): 1.5 ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.oneof.Oneof.from_openapi_data_oapg( + body = post.request_body.oneof.Oneof.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_oneof_with_base_schema_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_oneof_with_base_schema_request_body/test_post.py index 04399aade4f..74f674a8d21 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_oneof_with_base_schema_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_oneof_with_base_schema_request_body/test_post.py @@ -42,7 +42,7 @@ def test_both_oneof_valid_fails(self): "foo" ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.oneof_with_base_schema.OneofWithBaseSchema.from_openapi_data_oapg( + body = post.request_body.oneof_with_base_schema.OneofWithBaseSchema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -56,7 +56,7 @@ def test_mismatch_base_schema_fails(self): 3 ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.oneof_with_base_schema.OneofWithBaseSchema.from_openapi_data_oapg( + body = post.request_body.oneof_with_base_schema.OneofWithBaseSchema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -69,7 +69,7 @@ def test_one_oneof_valid_passes(self): payload = ( "foobar" ) - body = post.request_body.oneof_with_base_schema.OneofWithBaseSchema.from_openapi_data_oapg( + body = post.request_body.oneof_with_base_schema.OneofWithBaseSchema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_oneof_with_empty_schema_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_oneof_with_empty_schema_request_body/test_post.py index 16ec42f740f..a17f152d7ed 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_oneof_with_empty_schema_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_oneof_with_empty_schema_request_body/test_post.py @@ -42,7 +42,7 @@ def test_both_valid_invalid_fails(self): 123 ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.oneof_with_empty_schema.OneofWithEmptySchema.from_openapi_data_oapg( + body = post.request_body.oneof_with_empty_schema.OneofWithEmptySchema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -55,7 +55,7 @@ def test_one_valid_valid_passes(self): payload = ( "foo" ) - body = post.request_body.oneof_with_empty_schema.OneofWithEmptySchema.from_openapi_data_oapg( + body = post.request_body.oneof_with_empty_schema.OneofWithEmptySchema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_oneof_with_required_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_oneof_with_required_request_body/test_post.py index bfa95656eef..a7b2bfbad09 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_oneof_with_required_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_oneof_with_required_request_body/test_post.py @@ -49,7 +49,7 @@ def test_both_valid_invalid_fails(self): } ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.oneof_with_required.OneofWithRequired.from_openapi_data_oapg( + body = post.request_body.oneof_with_required.OneofWithRequired.from_openapi_data_( payload, _configuration=self._configuration ) @@ -66,7 +66,7 @@ def test_both_invalid_invalid_fails(self): } ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.oneof_with_required.OneofWithRequired.from_openapi_data_oapg( + body = post.request_body.oneof_with_required.OneofWithRequired.from_openapi_data_( payload, _configuration=self._configuration ) @@ -84,7 +84,7 @@ def test_first_valid_valid_passes(self): 2, } ) - body = post.request_body.oneof_with_required.OneofWithRequired.from_openapi_data_oapg( + body = post.request_body.oneof_with_required.OneofWithRequired.from_openapi_data_( payload, _configuration=self._configuration ) @@ -119,7 +119,7 @@ def test_second_valid_valid_passes(self): 3, } ) - body = post.request_body.oneof_with_required.OneofWithRequired.from_openapi_data_oapg( + body = post.request_body.oneof_with_required.OneofWithRequired.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_pattern_is_not_anchored_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_pattern_is_not_anchored_request_body/test_post.py index 4dab72c543d..7c3bedf2cb6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_pattern_is_not_anchored_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_pattern_is_not_anchored_request_body/test_post.py @@ -41,7 +41,7 @@ def test_matches_a_substring_passes(self): payload = ( "xxaayy" ) - body = post.request_body.pattern_is_not_anchored.PatternIsNotAnchored.from_openapi_data_oapg( + body = post.request_body.pattern_is_not_anchored.PatternIsNotAnchored.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_pattern_validation_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_pattern_validation_request_body/test_post.py index bc356536739..749e4890c69 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_pattern_validation_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_pattern_validation_request_body/test_post.py @@ -42,7 +42,7 @@ def test_ignores_arrays_passes(self): [ ] ) - body = post.request_body.pattern_validation.PatternValidation.from_openapi_data_oapg( + body = post.request_body.pattern_validation.PatternValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -73,7 +73,7 @@ def test_ignores_objects_passes(self): { } ) - body = post.request_body.pattern_validation.PatternValidation.from_openapi_data_oapg( + body = post.request_body.pattern_validation.PatternValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -103,7 +103,7 @@ def test_ignores_null_passes(self): payload = ( None ) - body = post.request_body.pattern_validation.PatternValidation.from_openapi_data_oapg( + body = post.request_body.pattern_validation.PatternValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -133,7 +133,7 @@ def test_ignores_floats_passes(self): payload = ( 1.0 ) - body = post.request_body.pattern_validation.PatternValidation.from_openapi_data_oapg( + body = post.request_body.pattern_validation.PatternValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -164,7 +164,7 @@ def test_a_non_matching_pattern_is_invalid_fails(self): "abc" ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.pattern_validation.PatternValidation.from_openapi_data_oapg( + body = post.request_body.pattern_validation.PatternValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -177,7 +177,7 @@ def test_ignores_booleans_passes(self): payload = ( True ) - body = post.request_body.pattern_validation.PatternValidation.from_openapi_data_oapg( + body = post.request_body.pattern_validation.PatternValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -207,7 +207,7 @@ def test_a_matching_pattern_is_valid_passes(self): payload = ( "aaa" ) - body = post.request_body.pattern_validation.PatternValidation.from_openapi_data_oapg( + body = post.request_body.pattern_validation.PatternValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -237,7 +237,7 @@ def test_ignores_integers_passes(self): payload = ( 123 ) - body = post.request_body.pattern_validation.PatternValidation.from_openapi_data_oapg( + body = post.request_body.pattern_validation.PatternValidation.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_properties_with_escaped_characters_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_properties_with_escaped_characters_request_body/test_post.py index 98f946db4a2..9ffbb342c28 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_properties_with_escaped_characters_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_properties_with_escaped_characters_request_body/test_post.py @@ -54,7 +54,7 @@ def test_object_with_all_numbers_is_valid_passes(self): 1, } ) - body = post.request_body.properties_with_escaped_characters.PropertiesWithEscapedCharacters.from_openapi_data_oapg( + body = post.request_body.properties_with_escaped_characters.PropertiesWithEscapedCharacters.from_openapi_data_( payload, _configuration=self._configuration ) @@ -98,7 +98,7 @@ def test_object_with_strings_is_invalid_fails(self): } ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.properties_with_escaped_characters.PropertiesWithEscapedCharacters.from_openapi_data_oapg( + body = post.request_body.properties_with_escaped_characters.PropertiesWithEscapedCharacters.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_property_named_ref_that_is_not_a_reference_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_property_named_ref_that_is_not_a_reference_request_body/test_post.py index b55344cb1bb..ae4687bd3ae 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_property_named_ref_that_is_not_a_reference_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_property_named_ref_that_is_not_a_reference_request_body/test_post.py @@ -44,7 +44,7 @@ def test_property_named_ref_valid_passes(self): "a", } ) - body = post.request_body.property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference.from_openapi_data_oapg( + body = post.request_body.property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference.from_openapi_data_( payload, _configuration=self._configuration ) @@ -78,7 +78,7 @@ def test_property_named_ref_invalid_fails(self): } ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference.from_openapi_data_oapg( + body = post.request_body.property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_additionalproperties_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_additionalproperties_request_body/test_post.py index 846bc2230d1..2b064c54fd5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_additionalproperties_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_additionalproperties_request_body/test_post.py @@ -47,7 +47,7 @@ def test_property_named_ref_valid_passes(self): }, } ) - body = post.request_body.ref_in_additionalproperties.RefInAdditionalproperties.from_openapi_data_oapg( + body = post.request_body.ref_in_additionalproperties.RefInAdditionalproperties.from_openapi_data_( payload, _configuration=self._configuration ) @@ -84,7 +84,7 @@ def test_property_named_ref_invalid_fails(self): } ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.ref_in_additionalproperties.RefInAdditionalproperties.from_openapi_data_oapg( + body = post.request_body.ref_in_additionalproperties.RefInAdditionalproperties.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_allof_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_allof_request_body/test_post.py index c4c86593fba..44ae15a4fff 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_allof_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_allof_request_body/test_post.py @@ -44,7 +44,7 @@ def test_property_named_ref_valid_passes(self): "a", } ) - body = post.request_body.ref_in_allof.RefInAllof.from_openapi_data_oapg( + body = post.request_body.ref_in_allof.RefInAllof.from_openapi_data_( payload, _configuration=self._configuration ) @@ -78,7 +78,7 @@ def test_property_named_ref_invalid_fails(self): } ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.ref_in_allof.RefInAllof.from_openapi_data_oapg( + body = post.request_body.ref_in_allof.RefInAllof.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_anyof_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_anyof_request_body/test_post.py index 40d7e3b903c..867fd43e634 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_anyof_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_anyof_request_body/test_post.py @@ -44,7 +44,7 @@ def test_property_named_ref_valid_passes(self): "a", } ) - body = post.request_body.ref_in_anyof.RefInAnyof.from_openapi_data_oapg( + body = post.request_body.ref_in_anyof.RefInAnyof.from_openapi_data_( payload, _configuration=self._configuration ) @@ -78,7 +78,7 @@ def test_property_named_ref_invalid_fails(self): } ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.ref_in_anyof.RefInAnyof.from_openapi_data_oapg( + body = post.request_body.ref_in_anyof.RefInAnyof.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_items_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_items_request_body/test_post.py index 9817487a8a8..f5b8df6f96e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_items_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_items_request_body/test_post.py @@ -46,7 +46,7 @@ def test_property_named_ref_valid_passes(self): }, ] ) - body = post.request_body.ref_in_items.RefInItems.from_openapi_data_oapg( + body = post.request_body.ref_in_items.RefInItems.from_openapi_data_( payload, _configuration=self._configuration ) @@ -82,7 +82,7 @@ def test_property_named_ref_invalid_fails(self): ] ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.ref_in_items.RefInItems.from_openapi_data_oapg( + body = post.request_body.ref_in_items.RefInItems.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_not_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_not_request_body/test_post.py index aa8083e63d0..5602cbaa9af 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_not_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_not_request_body/test_post.py @@ -44,7 +44,7 @@ def test_property_named_ref_valid_passes(self): 2, } ) - body = post.request_body.ref_in_not.RefInNot.from_openapi_data_oapg( + body = post.request_body.ref_in_not.RefInNot.from_openapi_data_( payload, _configuration=self._configuration ) @@ -78,7 +78,7 @@ def test_property_named_ref_invalid_fails(self): } ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.ref_in_not.RefInNot.from_openapi_data_oapg( + body = post.request_body.ref_in_not.RefInNot.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_oneof_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_oneof_request_body/test_post.py index 08a3926c656..ba7338c7a17 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_oneof_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_oneof_request_body/test_post.py @@ -44,7 +44,7 @@ def test_property_named_ref_valid_passes(self): "a", } ) - body = post.request_body.ref_in_oneof.RefInOneof.from_openapi_data_oapg( + body = post.request_body.ref_in_oneof.RefInOneof.from_openapi_data_( payload, _configuration=self._configuration ) @@ -78,7 +78,7 @@ def test_property_named_ref_invalid_fails(self): } ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.ref_in_oneof.RefInOneof.from_openapi_data_oapg( + body = post.request_body.ref_in_oneof.RefInOneof.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_property_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_property_request_body/test_post.py index 52daa87bd05..88f0b8e3d40 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_property_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_property_request_body/test_post.py @@ -47,7 +47,7 @@ def test_property_named_ref_valid_passes(self): }, } ) - body = post.request_body.ref_in_property.RefInProperty.from_openapi_data_oapg( + body = post.request_body.ref_in_property.RefInProperty.from_openapi_data_( payload, _configuration=self._configuration ) @@ -84,7 +84,7 @@ def test_property_named_ref_invalid_fails(self): } ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.ref_in_property.RefInProperty.from_openapi_data_oapg( + body = post.request_body.ref_in_property.RefInProperty.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_required_default_validation_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_required_default_validation_request_body/test_post.py index feba6576d6b..0a7be2ec69f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_required_default_validation_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_required_default_validation_request_body/test_post.py @@ -42,7 +42,7 @@ def test_not_required_by_default_passes(self): { } ) - body = post.request_body.required_default_validation.RequiredDefaultValidation.from_openapi_data_oapg( + body = post.request_body.required_default_validation.RequiredDefaultValidation.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_required_validation_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_required_validation_request_body/test_post.py index 145e9ebea8f..8716ed1031a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_required_validation_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_required_validation_request_body/test_post.py @@ -42,7 +42,7 @@ def test_ignores_arrays_passes(self): [ ] ) - body = post.request_body.required_validation.RequiredValidation.from_openapi_data_oapg( + body = post.request_body.required_validation.RequiredValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -75,7 +75,7 @@ def test_present_required_property_is_valid_passes(self): 1, } ) - body = post.request_body.required_validation.RequiredValidation.from_openapi_data_oapg( + body = post.request_body.required_validation.RequiredValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -105,7 +105,7 @@ def test_ignores_other_non_objects_passes(self): payload = ( 12 ) - body = post.request_body.required_validation.RequiredValidation.from_openapi_data_oapg( + body = post.request_body.required_validation.RequiredValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -135,7 +135,7 @@ def test_ignores_strings_passes(self): payload = ( "" ) - body = post.request_body.required_validation.RequiredValidation.from_openapi_data_oapg( + body = post.request_body.required_validation.RequiredValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -169,7 +169,7 @@ def test_non_present_required_property_is_invalid_fails(self): } ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.required_validation.RequiredValidation.from_openapi_data_oapg( + body = post.request_body.required_validation.RequiredValidation.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_required_with_empty_array_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_required_with_empty_array_request_body/test_post.py index 82e60add816..0bf7c44999d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_required_with_empty_array_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_required_with_empty_array_request_body/test_post.py @@ -42,7 +42,7 @@ def test_property_not_required_passes(self): { } ) - body = post.request_body.required_with_empty_array.RequiredWithEmptyArray.from_openapi_data_oapg( + body = post.request_body.required_with_empty_array.RequiredWithEmptyArray.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_required_with_escaped_characters_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_required_with_escaped_characters_request_body/test_post.py index a9c8405f5cc..d435b05d7eb 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_required_with_escaped_characters_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_required_with_escaped_characters_request_body/test_post.py @@ -47,7 +47,7 @@ def test_object_with_some_properties_missing_is_invalid_fails(self): } ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.required_with_escaped_characters.RequiredWithEscapedCharacters.from_openapi_data_oapg( + body = post.request_body.required_with_escaped_characters.RequiredWithEscapedCharacters.from_openapi_data_( payload, _configuration=self._configuration ) @@ -73,7 +73,7 @@ def test_object_with_all_properties_present_is_valid_passes(self): 1, } ) - body = post.request_body.required_with_escaped_characters.RequiredWithEscapedCharacters.from_openapi_data_oapg( + body = post.request_body.required_with_escaped_characters.RequiredWithEscapedCharacters.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_simple_enum_validation_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_simple_enum_validation_request_body/test_post.py index 5b686cfdfd0..2f10c0d4160 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_simple_enum_validation_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_simple_enum_validation_request_body/test_post.py @@ -42,7 +42,7 @@ def test_something_else_is_invalid_fails(self): 4 ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.simple_enum_validation.SimpleEnumValidation.from_openapi_data_oapg( + body = post.request_body.simple_enum_validation.SimpleEnumValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -55,7 +55,7 @@ def test_one_of_the_enum_is_valid_passes(self): payload = ( 1 ) - body = post.request_body.simple_enum_validation.SimpleEnumValidation.from_openapi_data_oapg( + body = post.request_body.simple_enum_validation.SimpleEnumValidation.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_string_type_matches_strings_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_string_type_matches_strings_request_body/test_post.py index 9cd745cbcef..3b40b1cf275 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_string_type_matches_strings_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_string_type_matches_strings_request_body/test_post.py @@ -42,7 +42,7 @@ def test_1_is_not_a_string_fails(self): 1 ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.string_type_matches_strings.StringTypeMatchesStrings.from_openapi_data_oapg( + body = post.request_body.string_type_matches_strings.StringTypeMatchesStrings.from_openapi_data_( payload, _configuration=self._configuration ) @@ -55,7 +55,7 @@ def test_a_string_is_still_a_string_even_if_it_looks_like_a_number_passes(self): payload = ( "1" ) - body = post.request_body.string_type_matches_strings.StringTypeMatchesStrings.from_openapi_data_oapg( + body = post.request_body.string_type_matches_strings.StringTypeMatchesStrings.from_openapi_data_( payload, _configuration=self._configuration ) @@ -85,7 +85,7 @@ def test_an_empty_string_is_still_a_string_passes(self): payload = ( "" ) - body = post.request_body.string_type_matches_strings.StringTypeMatchesStrings.from_openapi_data_oapg( + body = post.request_body.string_type_matches_strings.StringTypeMatchesStrings.from_openapi_data_( payload, _configuration=self._configuration ) @@ -116,7 +116,7 @@ def test_a_float_is_not_a_string_fails(self): 1.1 ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.string_type_matches_strings.StringTypeMatchesStrings.from_openapi_data_oapg( + body = post.request_body.string_type_matches_strings.StringTypeMatchesStrings.from_openapi_data_( payload, _configuration=self._configuration ) @@ -131,7 +131,7 @@ def test_an_object_is_not_a_string_fails(self): } ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.string_type_matches_strings.StringTypeMatchesStrings.from_openapi_data_oapg( + body = post.request_body.string_type_matches_strings.StringTypeMatchesStrings.from_openapi_data_( payload, _configuration=self._configuration ) @@ -146,7 +146,7 @@ def test_an_array_is_not_a_string_fails(self): ] ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.string_type_matches_strings.StringTypeMatchesStrings.from_openapi_data_oapg( + body = post.request_body.string_type_matches_strings.StringTypeMatchesStrings.from_openapi_data_( payload, _configuration=self._configuration ) @@ -160,7 +160,7 @@ def test_a_boolean_is_not_a_string_fails(self): True ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.string_type_matches_strings.StringTypeMatchesStrings.from_openapi_data_oapg( + body = post.request_body.string_type_matches_strings.StringTypeMatchesStrings.from_openapi_data_( payload, _configuration=self._configuration ) @@ -174,7 +174,7 @@ def test_null_is_not_a_string_fails(self): None ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.string_type_matches_strings.StringTypeMatchesStrings.from_openapi_data_oapg( + body = post.request_body.string_type_matches_strings.StringTypeMatchesStrings.from_openapi_data_( payload, _configuration=self._configuration ) @@ -187,7 +187,7 @@ def test_a_string_is_a_string_passes(self): payload = ( "foo" ) - body = post.request_body.string_type_matches_strings.StringTypeMatchesStrings.from_openapi_data_oapg( + body = post.request_body.string_type_matches_strings.StringTypeMatchesStrings.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/test_post.py index 82d1d7fc1a1..85dd3adbef0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/test_post.py @@ -42,7 +42,7 @@ def test_missing_properties_are_not_filled_in_with_the_default_passes(self): { } ) - body = post.request_body.the_default_keyword_does_not_do_anything_if_the_property_is_missing.TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.from_openapi_data_oapg( + body = post.request_body.the_default_keyword_does_not_do_anything_if_the_property_is_missing.TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.from_openapi_data_( payload, _configuration=self._configuration ) @@ -75,7 +75,7 @@ def test_an_explicit_property_value_is_checked_against_maximum_passing_passes(se 1, } ) - body = post.request_body.the_default_keyword_does_not_do_anything_if_the_property_is_missing.TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.from_openapi_data_oapg( + body = post.request_body.the_default_keyword_does_not_do_anything_if_the_property_is_missing.TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.from_openapi_data_( payload, _configuration=self._configuration ) @@ -109,7 +109,7 @@ def test_an_explicit_property_value_is_checked_against_maximum_failing_fails(sel } ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.the_default_keyword_does_not_do_anything_if_the_property_is_missing.TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.from_openapi_data_oapg( + body = post.request_body.the_default_keyword_does_not_do_anything_if_the_property_is_missing.TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_uniqueitems_false_validation_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_uniqueitems_false_validation_request_body/test_post.py index f1fb278b564..373de83fc9c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_uniqueitems_false_validation_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_uniqueitems_false_validation_request_body/test_post.py @@ -44,7 +44,7 @@ def test_non_unique_array_of_integers_is_valid_passes(self): 1, ] ) - body = post.request_body.uniqueitems_false_validation.UniqueitemsFalseValidation.from_openapi_data_oapg( + body = post.request_body.uniqueitems_false_validation.UniqueitemsFalseValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -83,7 +83,7 @@ def test_unique_array_of_objects_is_valid_passes(self): }, ] ) - body = post.request_body.uniqueitems_false_validation.UniqueitemsFalseValidation.from_openapi_data_oapg( + body = post.request_body.uniqueitems_false_validation.UniqueitemsFalseValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -134,7 +134,7 @@ def test_non_unique_array_of_nested_objects_is_valid_passes(self): }, ] ) - body = post.request_body.uniqueitems_false_validation.UniqueitemsFalseValidation.from_openapi_data_oapg( + body = post.request_body.uniqueitems_false_validation.UniqueitemsFalseValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -173,7 +173,7 @@ def test_non_unique_array_of_objects_is_valid_passes(self): }, ] ) - body = post.request_body.uniqueitems_false_validation.UniqueitemsFalseValidation.from_openapi_data_oapg( + body = post.request_body.uniqueitems_false_validation.UniqueitemsFalseValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -206,7 +206,7 @@ def test_1_and_true_are_unique_passes(self): True, ] ) - body = post.request_body.uniqueitems_false_validation.UniqueitemsFalseValidation.from_openapi_data_oapg( + body = post.request_body.uniqueitems_false_validation.UniqueitemsFalseValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -239,7 +239,7 @@ def test_unique_array_of_integers_is_valid_passes(self): 2, ] ) - body = post.request_body.uniqueitems_false_validation.UniqueitemsFalseValidation.from_openapi_data_oapg( + body = post.request_body.uniqueitems_false_validation.UniqueitemsFalseValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -276,7 +276,7 @@ def test_non_unique_array_of_arrays_is_valid_passes(self): ], ] ) - body = post.request_body.uniqueitems_false_validation.UniqueitemsFalseValidation.from_openapi_data_oapg( + body = post.request_body.uniqueitems_false_validation.UniqueitemsFalseValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -310,7 +310,7 @@ def test_numbers_are_unique_if_mathematically_unequal_passes(self): 1, ] ) - body = post.request_body.uniqueitems_false_validation.UniqueitemsFalseValidation.from_openapi_data_oapg( + body = post.request_body.uniqueitems_false_validation.UniqueitemsFalseValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -343,7 +343,7 @@ def test_false_is_not_equal_to_zero_passes(self): False, ] ) - body = post.request_body.uniqueitems_false_validation.UniqueitemsFalseValidation.from_openapi_data_oapg( + body = post.request_body.uniqueitems_false_validation.UniqueitemsFalseValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -394,7 +394,7 @@ def test_unique_array_of_nested_objects_is_valid_passes(self): }, ] ) - body = post.request_body.uniqueitems_false_validation.UniqueitemsFalseValidation.from_openapi_data_oapg( + body = post.request_body.uniqueitems_false_validation.UniqueitemsFalseValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -427,7 +427,7 @@ def test_0_and_false_are_unique_passes(self): False, ] ) - body = post.request_body.uniqueitems_false_validation.UniqueitemsFalseValidation.from_openapi_data_oapg( + body = post.request_body.uniqueitems_false_validation.UniqueitemsFalseValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -464,7 +464,7 @@ def test_unique_array_of_arrays_is_valid_passes(self): ], ] ) - body = post.request_body.uniqueitems_false_validation.UniqueitemsFalseValidation.from_openapi_data_oapg( + body = post.request_body.uniqueitems_false_validation.UniqueitemsFalseValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -497,7 +497,7 @@ def test_true_is_not_equal_to_one_passes(self): True, ] ) - body = post.request_body.uniqueitems_false_validation.UniqueitemsFalseValidation.from_openapi_data_oapg( + body = post.request_body.uniqueitems_false_validation.UniqueitemsFalseValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -538,7 +538,7 @@ def test_non_unique_heterogeneous_types_are_valid_passes(self): 1, ] ) - body = post.request_body.uniqueitems_false_validation.UniqueitemsFalseValidation.from_openapi_data_oapg( + body = post.request_body.uniqueitems_false_validation.UniqueitemsFalseValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -577,7 +577,7 @@ def test_unique_heterogeneous_types_are_valid_passes(self): 1, ] ) - body = post.request_body.uniqueitems_false_validation.UniqueitemsFalseValidation.from_openapi_data_oapg( + body = post.request_body.uniqueitems_false_validation.UniqueitemsFalseValidation.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_uniqueitems_validation_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_uniqueitems_validation_request_body/test_post.py index b9e659e4b90..91d2aa917e8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_uniqueitems_validation_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_uniqueitems_validation_request_body/test_post.py @@ -50,7 +50,7 @@ def test_unique_array_of_objects_is_valid_passes(self): }, ] ) - body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_oapg( + body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -89,7 +89,7 @@ def test_a_true_and_a1_are_unique_passes(self): }, ] ) - body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_oapg( + body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -131,7 +131,7 @@ def test_non_unique_heterogeneous_types_are_invalid_fails(self): ] ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_oapg( + body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -157,7 +157,7 @@ def test_nested0_and_false_are_unique_passes(self): ], ] ) - body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_oapg( + body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -196,7 +196,7 @@ def test_a_false_and_a0_are_unique_passes(self): }, ] ) - body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_oapg( + body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -231,7 +231,7 @@ def test_numbers_are_unique_if_mathematically_unequal_fails(self): ] ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_oapg( + body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -247,7 +247,7 @@ def test_false_is_not_equal_to_zero_passes(self): False, ] ) - body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_oapg( + body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -284,7 +284,7 @@ def test_0_and_false_are_unique_passes(self): ], ] ) - body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_oapg( + body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -321,7 +321,7 @@ def test_unique_array_of_arrays_is_valid_passes(self): ], ] ) - body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_oapg( + body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -373,7 +373,7 @@ def test_non_unique_array_of_nested_objects_is_invalid_fails(self): ] ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_oapg( + body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -391,7 +391,7 @@ def test_non_unique_array_of_more_than_two_integers_is_invalid_fails(self): ] ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_oapg( + body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -407,7 +407,7 @@ def test_true_is_not_equal_to_one_passes(self): True, ] ) - body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_oapg( + body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -451,7 +451,7 @@ def test_objects_are_non_unique_despite_key_order_fails(self): ] ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_oapg( + body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -468,7 +468,7 @@ def test_unique_array_of_strings_is_valid_passes(self): "baz", ] ) - body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_oapg( + body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -505,7 +505,7 @@ def test_1_and_true_are_unique_passes(self): ], ] ) - body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_oapg( + body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -548,7 +548,7 @@ def test_different_objects_are_unique_passes(self): }, ] ) - body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_oapg( + body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -581,7 +581,7 @@ def test_unique_array_of_integers_is_valid_passes(self): 2, ] ) - body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_oapg( + body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -622,7 +622,7 @@ def test_non_unique_array_of_more_than_two_arrays_is_invalid_fails(self): ] ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_oapg( + body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -645,7 +645,7 @@ def test_non_unique_array_of_objects_is_invalid_fails(self): ] ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_oapg( + body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -679,7 +679,7 @@ def test_unique_array_of_nested_objects_is_valid_passes(self): }, ] ) - body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_oapg( + body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -717,7 +717,7 @@ def test_non_unique_array_of_arrays_is_invalid_fails(self): ] ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_oapg( + body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -735,7 +735,7 @@ def test_non_unique_array_of_strings_is_invalid_fails(self): ] ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_oapg( + body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -761,7 +761,7 @@ def test_nested1_and_true_are_unique_passes(self): ], ] ) - body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_oapg( + body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -801,7 +801,7 @@ def test_unique_heterogeneous_types_are_valid_passes(self): "{}", ] ) - body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_oapg( + body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_( payload, _configuration=self._configuration ) @@ -835,7 +835,7 @@ def test_non_unique_array_of_integers_is_invalid_fails(self): ] ) with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): - body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_oapg( + body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_uri_format_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_uri_format_request_body/test_post.py index 99289ac005e..0ec987ab73b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_uri_format_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_uri_format_request_body/test_post.py @@ -42,7 +42,7 @@ def test_all_string_formats_ignore_objects_passes(self): { } ) - body = post.request_body.uri_format.UriFormat.from_openapi_data_oapg( + body = post.request_body.uri_format.UriFormat.from_openapi_data_( payload, _configuration=self._configuration ) @@ -72,7 +72,7 @@ def test_all_string_formats_ignore_booleans_passes(self): payload = ( False ) - body = post.request_body.uri_format.UriFormat.from_openapi_data_oapg( + body = post.request_body.uri_format.UriFormat.from_openapi_data_( payload, _configuration=self._configuration ) @@ -102,7 +102,7 @@ def test_all_string_formats_ignore_integers_passes(self): payload = ( 12 ) - body = post.request_body.uri_format.UriFormat.from_openapi_data_oapg( + body = post.request_body.uri_format.UriFormat.from_openapi_data_( payload, _configuration=self._configuration ) @@ -132,7 +132,7 @@ def test_all_string_formats_ignore_floats_passes(self): payload = ( 13.7 ) - body = post.request_body.uri_format.UriFormat.from_openapi_data_oapg( + body = post.request_body.uri_format.UriFormat.from_openapi_data_( payload, _configuration=self._configuration ) @@ -163,7 +163,7 @@ def test_all_string_formats_ignore_arrays_passes(self): [ ] ) - body = post.request_body.uri_format.UriFormat.from_openapi_data_oapg( + body = post.request_body.uri_format.UriFormat.from_openapi_data_( payload, _configuration=self._configuration ) @@ -193,7 +193,7 @@ def test_all_string_formats_ignore_nulls_passes(self): payload = ( None ) - body = post.request_body.uri_format.UriFormat.from_openapi_data_oapg( + body = post.request_body.uri_format.UriFormat.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_uri_reference_format_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_uri_reference_format_request_body/test_post.py index 72bbe374d27..aec61403b2a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_uri_reference_format_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_uri_reference_format_request_body/test_post.py @@ -42,7 +42,7 @@ def test_all_string_formats_ignore_objects_passes(self): { } ) - body = post.request_body.uri_reference_format.UriReferenceFormat.from_openapi_data_oapg( + body = post.request_body.uri_reference_format.UriReferenceFormat.from_openapi_data_( payload, _configuration=self._configuration ) @@ -72,7 +72,7 @@ def test_all_string_formats_ignore_booleans_passes(self): payload = ( False ) - body = post.request_body.uri_reference_format.UriReferenceFormat.from_openapi_data_oapg( + body = post.request_body.uri_reference_format.UriReferenceFormat.from_openapi_data_( payload, _configuration=self._configuration ) @@ -102,7 +102,7 @@ def test_all_string_formats_ignore_integers_passes(self): payload = ( 12 ) - body = post.request_body.uri_reference_format.UriReferenceFormat.from_openapi_data_oapg( + body = post.request_body.uri_reference_format.UriReferenceFormat.from_openapi_data_( payload, _configuration=self._configuration ) @@ -132,7 +132,7 @@ def test_all_string_formats_ignore_floats_passes(self): payload = ( 13.7 ) - body = post.request_body.uri_reference_format.UriReferenceFormat.from_openapi_data_oapg( + body = post.request_body.uri_reference_format.UriReferenceFormat.from_openapi_data_( payload, _configuration=self._configuration ) @@ -163,7 +163,7 @@ def test_all_string_formats_ignore_arrays_passes(self): [ ] ) - body = post.request_body.uri_reference_format.UriReferenceFormat.from_openapi_data_oapg( + body = post.request_body.uri_reference_format.UriReferenceFormat.from_openapi_data_( payload, _configuration=self._configuration ) @@ -193,7 +193,7 @@ def test_all_string_formats_ignore_nulls_passes(self): payload = ( None ) - body = post.request_body.uri_reference_format.UriReferenceFormat.from_openapi_data_oapg( + body = post.request_body.uri_reference_format.UriReferenceFormat.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_uri_template_format_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_uri_template_format_request_body/test_post.py index baaacaae411..e3f60aefafd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_uri_template_format_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_uri_template_format_request_body/test_post.py @@ -42,7 +42,7 @@ def test_all_string_formats_ignore_objects_passes(self): { } ) - body = post.request_body.uri_template_format.UriTemplateFormat.from_openapi_data_oapg( + body = post.request_body.uri_template_format.UriTemplateFormat.from_openapi_data_( payload, _configuration=self._configuration ) @@ -72,7 +72,7 @@ def test_all_string_formats_ignore_booleans_passes(self): payload = ( False ) - body = post.request_body.uri_template_format.UriTemplateFormat.from_openapi_data_oapg( + body = post.request_body.uri_template_format.UriTemplateFormat.from_openapi_data_( payload, _configuration=self._configuration ) @@ -102,7 +102,7 @@ def test_all_string_formats_ignore_integers_passes(self): payload = ( 12 ) - body = post.request_body.uri_template_format.UriTemplateFormat.from_openapi_data_oapg( + body = post.request_body.uri_template_format.UriTemplateFormat.from_openapi_data_( payload, _configuration=self._configuration ) @@ -132,7 +132,7 @@ def test_all_string_formats_ignore_floats_passes(self): payload = ( 13.7 ) - body = post.request_body.uri_template_format.UriTemplateFormat.from_openapi_data_oapg( + body = post.request_body.uri_template_format.UriTemplateFormat.from_openapi_data_( payload, _configuration=self._configuration ) @@ -163,7 +163,7 @@ def test_all_string_formats_ignore_arrays_passes(self): [ ] ) - body = post.request_body.uri_template_format.UriTemplateFormat.from_openapi_data_oapg( + body = post.request_body.uri_template_format.UriTemplateFormat.from_openapi_data_( payload, _configuration=self._configuration ) @@ -193,7 +193,7 @@ def test_all_string_formats_ignore_nulls_passes(self): payload = ( None ) - body = post.request_body.uri_template_format.UriTemplateFormat.from_openapi_data_oapg( + body = post.request_body.uri_template_format.UriTemplateFormat.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/test_post.py index 359d6dee234..b388fe03049 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/test_post.py @@ -61,7 +61,7 @@ def test_no_additional_properties_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -129,7 +129,7 @@ def test_an_additional_valid_property_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/test_post.py index 3dd18823ac0..aa999d396cb 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/test_post.py @@ -65,7 +65,7 @@ def test_additional_properties_are_allowed_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/test_post.py index 6b26fd11633..02316667669 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/test_post.py @@ -88,7 +88,7 @@ def test_an_additional_valid_property_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/test_post.py index 69229a1befb..b55195bd91c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/test_post.py @@ -92,7 +92,7 @@ def test_valid_test_case_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/test_post.py index ac30414aa99..4ee2cdd94c8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/test_post.py @@ -154,7 +154,7 @@ def test_allof_true_anyof_true_oneof_true_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_response_body_for_content_types/test_post.py index daab176aa27..73b5a0c5148 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_response_body_for_content_types/test_post.py @@ -63,7 +63,7 @@ def test_allof_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_simple_types_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_simple_types_response_body_for_content_types/test_post.py index 116024657ae..6706c806a7d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_simple_types_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_simple_types_response_body_for_content_types/test_post.py @@ -58,7 +58,7 @@ def test_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_with_base_schema_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_with_base_schema_response_body_for_content_types/test_post.py index de7888e6e23..33b3efa87da 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_with_base_schema_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_with_base_schema_response_body_for_content_types/test_post.py @@ -65,7 +65,7 @@ def test_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_with_one_empty_schema_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_with_one_empty_schema_response_body_for_content_types/test_post.py index cfd21a9f271..396c1346867 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_with_one_empty_schema_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_with_one_empty_schema_response_body_for_content_types/test_post.py @@ -58,7 +58,7 @@ def test_any_data_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/test_post.py index 772b530956c..99cb9a465d8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/test_post.py @@ -82,7 +82,7 @@ def test_number_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/test_post.py index f595eb2f9c4..9ff3fd037f1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/test_post.py @@ -82,7 +82,7 @@ def test_number_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/test_post.py index 46e47546374..2c04fa31690 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/test_post.py @@ -58,7 +58,7 @@ def test_any_data_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_anyof_complex_types_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_anyof_complex_types_response_body_for_content_types/test_post.py index 9934450f6e4..9e78acd7622 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_anyof_complex_types_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_anyof_complex_types_response_body_for_content_types/test_post.py @@ -61,7 +61,7 @@ def test_second_anyof_valid_complex_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -125,7 +125,7 @@ def test_both_anyof_valid_complex_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -158,7 +158,7 @@ def test_first_anyof_valid_complex_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_anyof_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_anyof_response_body_for_content_types/test_post.py index 248bc4f4db2..b649dba9e22 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_anyof_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_anyof_response_body_for_content_types/test_post.py @@ -58,7 +58,7 @@ def test_second_anyof_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -112,7 +112,7 @@ def test_both_anyof_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -142,7 +142,7 @@ def test_first_anyof_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_anyof_with_base_schema_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_anyof_with_base_schema_response_body_for_content_types/test_post.py index 75990078f73..008f6c2982f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_anyof_with_base_schema_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_anyof_with_base_schema_response_body_for_content_types/test_post.py @@ -58,7 +58,7 @@ def test_one_anyof_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/test_post.py index f104ebe7484..e18cf511589 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/test_post.py @@ -58,7 +58,7 @@ def test_string_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -88,7 +88,7 @@ def test_number_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_array_type_matches_arrays_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_array_type_matches_arrays_response_body_for_content_types/test_post.py index 7e1d571bf51..2d2b294bed2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_array_type_matches_arrays_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_array_type_matches_arrays_response_body_for_content_types/test_post.py @@ -180,7 +180,7 @@ def test_an_array_is_an_array_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_boolean_type_matches_booleans_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_boolean_type_matches_booleans_response_body_for_content_types/test_post.py index 702673e5ab8..1647fc92dc7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_boolean_type_matches_booleans_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_boolean_type_matches_booleans_response_body_for_content_types/test_post.py @@ -203,7 +203,7 @@ def test_false_is_a_boolean_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -257,7 +257,7 @@ def test_true_is_a_boolean_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_by_int_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_by_int_response_body_for_content_types/test_post.py index d14d7e629cd..2e58ab32525 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_by_int_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_by_int_response_body_for_content_types/test_post.py @@ -82,7 +82,7 @@ def test_int_by_int_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -112,7 +112,7 @@ def test_ignores_non_numbers_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_by_number_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_by_number_response_body_for_content_types/test_post.py index 03fa3ee8b97..d24ed292a3b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_by_number_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_by_number_response_body_for_content_types/test_post.py @@ -58,7 +58,7 @@ def test_45_is_multiple_of15_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -112,7 +112,7 @@ def test_zero_is_multiple_of_anything_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_by_small_number_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_by_small_number_response_body_for_content_types/test_post.py index 8745c76d99f..518069b1ac7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_by_small_number_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_by_small_number_response_body_for_content_types/test_post.py @@ -82,7 +82,7 @@ def test_00075_is_multiple_of00001_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_date_time_format_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_date_time_format_response_body_for_content_types/test_post.py index 26f61f34218..c765d11fa5c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_date_time_format_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_date_time_format_response_body_for_content_types/test_post.py @@ -59,7 +59,7 @@ def test_all_string_formats_ignore_objects_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -89,7 +89,7 @@ def test_all_string_formats_ignore_booleans_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -119,7 +119,7 @@ def test_all_string_formats_ignore_integers_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -149,7 +149,7 @@ def test_all_string_formats_ignore_floats_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -180,7 +180,7 @@ def test_all_string_formats_ignore_arrays_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -210,7 +210,7 @@ def test_all_string_formats_ignore_nulls_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_email_format_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_email_format_response_body_for_content_types/test_post.py index 3b844a0aab4..9597a0abe3b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_email_format_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_email_format_response_body_for_content_types/test_post.py @@ -59,7 +59,7 @@ def test_all_string_formats_ignore_objects_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -89,7 +89,7 @@ def test_all_string_formats_ignore_booleans_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -119,7 +119,7 @@ def test_all_string_formats_ignore_integers_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -149,7 +149,7 @@ def test_all_string_formats_ignore_floats_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -180,7 +180,7 @@ def test_all_string_formats_ignore_arrays_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -210,7 +210,7 @@ def test_all_string_formats_ignore_nulls_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/test_post.py index 1b8e1301e39..409122b321b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/test_post.py @@ -58,7 +58,7 @@ def test_integer_zero_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -88,7 +88,7 @@ def test_float_zero_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/test_post.py index a20f893e244..485e60bbe7b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/test_post.py @@ -82,7 +82,7 @@ def test_integer_one_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -112,7 +112,7 @@ def test_float_one_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_enum_with_escaped_characters_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_enum_with_escaped_characters_response_body_for_content_types/test_post.py index b6296d026f7..cbb01865126 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_enum_with_escaped_characters_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_enum_with_escaped_characters_response_body_for_content_types/test_post.py @@ -58,7 +58,7 @@ def test_member2_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -88,7 +88,7 @@ def test_member1_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/test_post.py index 879238e0cb2..13a4d1480d6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/test_post.py @@ -58,7 +58,7 @@ def test_false_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/test_post.py index c6541674314..27ca6cf8795 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/test_post.py @@ -82,7 +82,7 @@ def test_true_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_enums_in_properties_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_enums_in_properties_response_body_for_content_types/test_post.py index a927eb16bdc..61389afb3a6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_enums_in_properties_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_enums_in_properties_response_body_for_content_types/test_post.py @@ -61,7 +61,7 @@ def test_missing_optional_property_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -125,7 +125,7 @@ def test_both_properties_are_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_forbidden_property_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_forbidden_property_response_body_for_content_types/test_post.py index 3cdaae50bb3..b59df266356 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_forbidden_property_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_forbidden_property_response_body_for_content_types/test_post.py @@ -92,7 +92,7 @@ def test_property_absent_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_hostname_format_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_hostname_format_response_body_for_content_types/test_post.py index 370805d0b5a..0c1e86d290f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_hostname_format_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_hostname_format_response_body_for_content_types/test_post.py @@ -59,7 +59,7 @@ def test_all_string_formats_ignore_objects_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -89,7 +89,7 @@ def test_all_string_formats_ignore_booleans_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -119,7 +119,7 @@ def test_all_string_formats_ignore_integers_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -149,7 +149,7 @@ def test_all_string_formats_ignore_floats_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -180,7 +180,7 @@ def test_all_string_formats_ignore_arrays_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -210,7 +210,7 @@ def test_all_string_formats_ignore_nulls_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_integer_type_matches_integers_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_integer_type_matches_integers_response_body_for_content_types/test_post.py index 7ec42a6e2ab..6fb0baab0ee 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_integer_type_matches_integers_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_integer_type_matches_integers_response_body_for_content_types/test_post.py @@ -131,7 +131,7 @@ def test_a_float_with_zero_fractional_part_is_an_integer_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -209,7 +209,7 @@ def test_an_integer_is_an_integer_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/test_post.py index de4015edbad..f8eb7c91316 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/test_post.py @@ -82,7 +82,7 @@ def test_valid_integer_with_multipleof_float_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_invalid_string_value_for_default_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_invalid_string_value_for_default_response_body_for_content_types/test_post.py index 57ea9a2c512..36ac5c4e387 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_invalid_string_value_for_default_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_invalid_string_value_for_default_response_body_for_content_types/test_post.py @@ -61,7 +61,7 @@ def test_valid_when_property_is_specified_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -92,7 +92,7 @@ def test_still_valid_when_the_invalid_default_is_used_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ipv4_format_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ipv4_format_response_body_for_content_types/test_post.py index 52bad328e2e..cb1138b3de6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ipv4_format_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ipv4_format_response_body_for_content_types/test_post.py @@ -59,7 +59,7 @@ def test_all_string_formats_ignore_objects_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -89,7 +89,7 @@ def test_all_string_formats_ignore_booleans_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -119,7 +119,7 @@ def test_all_string_formats_ignore_integers_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -149,7 +149,7 @@ def test_all_string_formats_ignore_floats_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -180,7 +180,7 @@ def test_all_string_formats_ignore_arrays_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -210,7 +210,7 @@ def test_all_string_formats_ignore_nulls_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ipv6_format_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ipv6_format_response_body_for_content_types/test_post.py index 2dd4424e3e2..46605190fed 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ipv6_format_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ipv6_format_response_body_for_content_types/test_post.py @@ -59,7 +59,7 @@ def test_all_string_formats_ignore_objects_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -89,7 +89,7 @@ def test_all_string_formats_ignore_booleans_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -119,7 +119,7 @@ def test_all_string_formats_ignore_integers_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -149,7 +149,7 @@ def test_all_string_formats_ignore_floats_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -180,7 +180,7 @@ def test_all_string_formats_ignore_arrays_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -210,7 +210,7 @@ def test_all_string_formats_ignore_nulls_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_json_pointer_format_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_json_pointer_format_response_body_for_content_types/test_post.py index caae7727329..a5f4010f9c5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_json_pointer_format_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_json_pointer_format_response_body_for_content_types/test_post.py @@ -59,7 +59,7 @@ def test_all_string_formats_ignore_objects_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -89,7 +89,7 @@ def test_all_string_formats_ignore_booleans_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -119,7 +119,7 @@ def test_all_string_formats_ignore_integers_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -149,7 +149,7 @@ def test_all_string_formats_ignore_floats_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -180,7 +180,7 @@ def test_all_string_formats_ignore_arrays_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -210,7 +210,7 @@ def test_all_string_formats_ignore_nulls_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_maximum_validation_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_maximum_validation_response_body_for_content_types/test_post.py index 5436aa900ab..1b96fbb2852 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_maximum_validation_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_maximum_validation_response_body_for_content_types/test_post.py @@ -58,7 +58,7 @@ def test_below_the_maximum_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -88,7 +88,7 @@ def test_boundary_point_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -142,7 +142,7 @@ def test_ignores_non_numbers_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/test_post.py index 198455e815d..109bd78e510 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/test_post.py @@ -58,7 +58,7 @@ def test_below_the_maximum_is_invalid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -112,7 +112,7 @@ def test_boundary_point_integer_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -142,7 +142,7 @@ def test_boundary_point_float_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_maxitems_validation_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_maxitems_validation_response_body_for_content_types/test_post.py index b8cb0561a40..4aca99e236b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_maxitems_validation_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_maxitems_validation_response_body_for_content_types/test_post.py @@ -86,7 +86,7 @@ def test_ignores_non_arrays_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -118,7 +118,7 @@ def test_shorter_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -151,7 +151,7 @@ def test_exact_length_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_maxlength_validation_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_maxlength_validation_response_body_for_content_types/test_post.py index f15f42c998d..5bd7839b34c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_maxlength_validation_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_maxlength_validation_response_body_for_content_types/test_post.py @@ -82,7 +82,7 @@ def test_ignores_non_strings_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -112,7 +112,7 @@ def test_shorter_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -142,7 +142,7 @@ def test_two_supplementary_unicode_code_points_is_long_enough_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -172,7 +172,7 @@ def test_exact_length_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/test_post.py index 6f950971e68..c12883dbb9c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/test_post.py @@ -59,7 +59,7 @@ def test_no_properties_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_maxproperties_validation_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_maxproperties_validation_response_body_for_content_types/test_post.py index 86e0757bf3a..0160a3dcf53 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_maxproperties_validation_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_maxproperties_validation_response_body_for_content_types/test_post.py @@ -93,7 +93,7 @@ def test_ignores_arrays_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -123,7 +123,7 @@ def test_ignores_other_non_objects_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -153,7 +153,7 @@ def test_ignores_strings_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -186,7 +186,7 @@ def test_shorter_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -221,7 +221,7 @@ def test_exact_length_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_minimum_validation_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_minimum_validation_response_body_for_content_types/test_post.py index cfeba214bf7..e76aa134a27 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_minimum_validation_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_minimum_validation_response_body_for_content_types/test_post.py @@ -58,7 +58,7 @@ def test_boundary_point_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -112,7 +112,7 @@ def test_above_the_minimum_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -142,7 +142,7 @@ def test_ignores_non_numbers_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/test_post.py index c9bf042e762..ab484a89a86 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/test_post.py @@ -58,7 +58,7 @@ def test_boundary_point_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -88,7 +88,7 @@ def test_positive_above_the_minimum_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -166,7 +166,7 @@ def test_boundary_point_with_float_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -196,7 +196,7 @@ def test_negative_above_the_minimum_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -226,7 +226,7 @@ def test_ignores_non_numbers_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_minitems_validation_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_minitems_validation_response_body_for_content_types/test_post.py index 7bf0e70d656..ece37fa44a5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_minitems_validation_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_minitems_validation_response_body_for_content_types/test_post.py @@ -83,7 +83,7 @@ def test_ignores_non_arrays_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -116,7 +116,7 @@ def test_longer_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -148,7 +148,7 @@ def test_exact_length_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_minlength_validation_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_minlength_validation_response_body_for_content_types/test_post.py index 38f5e152d18..69a4fc9ab4c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_minlength_validation_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_minlength_validation_response_body_for_content_types/test_post.py @@ -106,7 +106,7 @@ def test_longer_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -136,7 +136,7 @@ def test_ignores_non_strings_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -166,7 +166,7 @@ def test_exact_length_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_minproperties_validation_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_minproperties_validation_response_body_for_content_types/test_post.py index 0f889e0ba31..86460b271e4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_minproperties_validation_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_minproperties_validation_response_body_for_content_types/test_post.py @@ -59,7 +59,7 @@ def test_ignores_arrays_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -89,7 +89,7 @@ def test_ignores_other_non_objects_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -144,7 +144,7 @@ def test_ignores_strings_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -179,7 +179,7 @@ def test_longer_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -212,7 +212,7 @@ def test_exact_length_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/test_post.py index db853269359..c62ece4e14f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/test_post.py @@ -82,7 +82,7 @@ def test_null_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/test_post.py index 4c979b134c7..7845d1bc02b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/test_post.py @@ -82,7 +82,7 @@ def test_null_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_nested_items_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_nested_items_response_body_for_content_types/test_post.py index 3c570313096..f52bffb45f3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_nested_items_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_nested_items_response_body_for_content_types/test_post.py @@ -87,7 +87,7 @@ def test_valid_nested_array_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/test_post.py index 438f7fdeded..1eb46ae0613 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/test_post.py @@ -82,7 +82,7 @@ def test_null_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_not_more_complex_schema_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_not_more_complex_schema_response_body_for_content_types/test_post.py index 208c6e7093a..d4afe3b96d2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_not_more_complex_schema_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_not_more_complex_schema_response_body_for_content_types/test_post.py @@ -61,7 +61,7 @@ def test_other_match_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -118,7 +118,7 @@ def test_match_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_not_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_not_response_body_for_content_types/test_post.py index 2385cd33d2e..03ba1643ed9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_not_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_not_response_body_for_content_types/test_post.py @@ -58,7 +58,7 @@ def test_allowed_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_nul_characters_in_strings_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_nul_characters_in_strings_response_body_for_content_types/test_post.py index 1df41f8d7c7..8f976ed9a4e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_nul_characters_in_strings_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_nul_characters_in_strings_response_body_for_content_types/test_post.py @@ -58,7 +58,7 @@ def test_match_string_with_nul_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/test_post.py index 838b94b8b96..8017d236778 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/test_post.py @@ -227,7 +227,7 @@ def test_null_is_null_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_number_type_matches_numbers_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_number_type_matches_numbers_response_body_for_content_types/test_post.py index f0e321e0e4c..441572390e4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_number_type_matches_numbers_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_number_type_matches_numbers_response_body_for_content_types/test_post.py @@ -156,7 +156,7 @@ def test_a_float_is_a_number_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -234,7 +234,7 @@ def test_an_integer_is_a_number_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -264,7 +264,7 @@ def test_a_float_with_zero_fractional_part_is_a_number_and_an_integer_passes(sel assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_object_properties_validation_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_object_properties_validation_response_body_for_content_types/test_post.py index 4be01666389..d607c60c891 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_object_properties_validation_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_object_properties_validation_response_body_for_content_types/test_post.py @@ -59,7 +59,7 @@ def test_ignores_arrays_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -89,7 +89,7 @@ def test_ignores_other_non_objects_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -154,7 +154,7 @@ def test_both_properties_present_and_valid_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -188,7 +188,7 @@ def test_doesn_t_invalidate_other_properties_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_object_type_matches_objects_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_object_type_matches_objects_response_body_for_content_types/test_post.py index 3d20c20dd19..c2c443b8ddc 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_object_type_matches_objects_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_object_type_matches_objects_response_body_for_content_types/test_post.py @@ -132,7 +132,7 @@ def test_an_object_is_an_object_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_oneof_complex_types_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_oneof_complex_types_response_body_for_content_types/test_post.py index c8af54674e8..15fd1b4c039 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_oneof_complex_types_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_oneof_complex_types_response_body_for_content_types/test_post.py @@ -61,7 +61,7 @@ def test_first_oneof_valid_complex_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -152,7 +152,7 @@ def test_second_oneof_valid_complex_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_oneof_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_oneof_response_body_for_content_types/test_post.py index 00fcade925e..777bbc60b3e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_oneof_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_oneof_response_body_for_content_types/test_post.py @@ -58,7 +58,7 @@ def test_second_oneof_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -112,7 +112,7 @@ def test_first_oneof_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_oneof_with_base_schema_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_oneof_with_base_schema_response_body_for_content_types/test_post.py index 8f38c2bf37e..060e92ebca8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_oneof_with_base_schema_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_oneof_with_base_schema_response_body_for_content_types/test_post.py @@ -106,7 +106,7 @@ def test_one_oneof_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_oneof_with_empty_schema_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_oneof_with_empty_schema_response_body_for_content_types/test_post.py index ae487ffbafc..495086341bc 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_oneof_with_empty_schema_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_oneof_with_empty_schema_response_body_for_content_types/test_post.py @@ -82,7 +82,7 @@ def test_one_valid_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_oneof_with_required_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_oneof_with_required_response_body_for_content_types/test_post.py index 76c185434d5..aef28cd62d3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_oneof_with_required_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_oneof_with_required_response_body_for_content_types/test_post.py @@ -121,7 +121,7 @@ def test_first_valid_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -156,7 +156,7 @@ def test_second_valid_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_pattern_is_not_anchored_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_pattern_is_not_anchored_response_body_for_content_types/test_post.py index 86afa293f6a..9744739dfc8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_pattern_is_not_anchored_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_pattern_is_not_anchored_response_body_for_content_types/test_post.py @@ -58,7 +58,7 @@ def test_matches_a_substring_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_pattern_validation_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_pattern_validation_response_body_for_content_types/test_post.py index 6b68fea2877..52ce95246da 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_pattern_validation_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_pattern_validation_response_body_for_content_types/test_post.py @@ -59,7 +59,7 @@ def test_ignores_arrays_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -90,7 +90,7 @@ def test_ignores_objects_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -120,7 +120,7 @@ def test_ignores_null_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -150,7 +150,7 @@ def test_ignores_floats_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -204,7 +204,7 @@ def test_ignores_booleans_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -234,7 +234,7 @@ def test_a_matching_pattern_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -264,7 +264,7 @@ def test_ignores_integers_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_properties_with_escaped_characters_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_properties_with_escaped_characters_response_body_for_content_types/test_post.py index d18dc5b27b1..fab3e9f41f1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_properties_with_escaped_characters_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_properties_with_escaped_characters_response_body_for_content_types/test_post.py @@ -71,7 +71,7 @@ def test_object_with_all_numbers_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/test_post.py index 7e369545767..d69ba67c15b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/test_post.py @@ -61,7 +61,7 @@ def test_property_named_ref_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_additionalproperties_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_additionalproperties_response_body_for_content_types/test_post.py index 75458f1873e..97aae825319 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_additionalproperties_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_additionalproperties_response_body_for_content_types/test_post.py @@ -64,7 +64,7 @@ def test_property_named_ref_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_allof_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_allof_response_body_for_content_types/test_post.py index 421cb90c9a9..fc1b50a8810 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_allof_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_allof_response_body_for_content_types/test_post.py @@ -61,7 +61,7 @@ def test_property_named_ref_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_anyof_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_anyof_response_body_for_content_types/test_post.py index 0cfbfce8488..8600eb1a7e7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_anyof_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_anyof_response_body_for_content_types/test_post.py @@ -61,7 +61,7 @@ def test_property_named_ref_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_items_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_items_response_body_for_content_types/test_post.py index ed32fa68680..61895c482e8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_items_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_items_response_body_for_content_types/test_post.py @@ -63,7 +63,7 @@ def test_property_named_ref_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_not_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_not_response_body_for_content_types/test_post.py index 5a991868343..8b56040b345 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_not_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_not_response_body_for_content_types/test_post.py @@ -61,7 +61,7 @@ def test_property_named_ref_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_oneof_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_oneof_response_body_for_content_types/test_post.py index 385233deffa..05038bede62 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_oneof_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_oneof_response_body_for_content_types/test_post.py @@ -61,7 +61,7 @@ def test_property_named_ref_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_property_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_property_response_body_for_content_types/test_post.py index 2045fc99383..807d0845fda 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_property_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_property_response_body_for_content_types/test_post.py @@ -64,7 +64,7 @@ def test_property_named_ref_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_required_default_validation_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_required_default_validation_response_body_for_content_types/test_post.py index 68a717ee42c..88100340e26 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_required_default_validation_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_required_default_validation_response_body_for_content_types/test_post.py @@ -59,7 +59,7 @@ def test_not_required_by_default_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_required_validation_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_required_validation_response_body_for_content_types/test_post.py index c983cdd9af7..c38331fed51 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_required_validation_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_required_validation_response_body_for_content_types/test_post.py @@ -59,7 +59,7 @@ def test_ignores_arrays_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -92,7 +92,7 @@ def test_present_required_property_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -122,7 +122,7 @@ def test_ignores_other_non_objects_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -152,7 +152,7 @@ def test_ignores_strings_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_required_with_empty_array_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_required_with_empty_array_response_body_for_content_types/test_post.py index c19d895d0ac..26aaf8818cd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_required_with_empty_array_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_required_with_empty_array_response_body_for_content_types/test_post.py @@ -59,7 +59,7 @@ def test_property_not_required_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_required_with_escaped_characters_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_required_with_escaped_characters_response_body_for_content_types/test_post.py index 109e822b6f8..d143a42f4d9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_required_with_escaped_characters_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_required_with_escaped_characters_response_body_for_content_types/test_post.py @@ -100,7 +100,7 @@ def test_object_with_all_properties_present_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_simple_enum_validation_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_simple_enum_validation_response_body_for_content_types/test_post.py index b3ca3fac21a..9589fc1f204 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_simple_enum_validation_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_simple_enum_validation_response_body_for_content_types/test_post.py @@ -82,7 +82,7 @@ def test_one_of_the_enum_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_string_type_matches_strings_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_string_type_matches_strings_response_body_for_content_types/test_post.py index 6d0d5f988ab..aef7038974a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_string_type_matches_strings_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_string_type_matches_strings_response_body_for_content_types/test_post.py @@ -82,7 +82,7 @@ def test_a_string_is_still_a_string_even_if_it_looks_like_a_number_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -112,7 +112,7 @@ def test_an_empty_string_is_still_a_string_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -264,7 +264,7 @@ def test_a_string_is_a_string_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types/test_post.py index 581ad0eea4e..849cbf1ee22 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types/test_post.py @@ -59,7 +59,7 @@ def test_missing_properties_are_not_filled_in_with_the_default_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -92,7 +92,7 @@ def test_an_explicit_property_value_is_checked_against_maximum_passing_passes(se assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_uniqueitems_false_validation_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_uniqueitems_false_validation_response_body_for_content_types/test_post.py index 71a76faca2a..74e6efdf91a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_uniqueitems_false_validation_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_uniqueitems_false_validation_response_body_for_content_types/test_post.py @@ -61,7 +61,7 @@ def test_non_unique_array_of_integers_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -100,7 +100,7 @@ def test_unique_array_of_objects_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -151,7 +151,7 @@ def test_non_unique_array_of_nested_objects_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -190,7 +190,7 @@ def test_non_unique_array_of_objects_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -223,7 +223,7 @@ def test_1_and_true_are_unique_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -256,7 +256,7 @@ def test_unique_array_of_integers_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -293,7 +293,7 @@ def test_non_unique_array_of_arrays_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -327,7 +327,7 @@ def test_numbers_are_unique_if_mathematically_unequal_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -360,7 +360,7 @@ def test_false_is_not_equal_to_zero_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -411,7 +411,7 @@ def test_unique_array_of_nested_objects_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -444,7 +444,7 @@ def test_0_and_false_are_unique_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -481,7 +481,7 @@ def test_unique_array_of_arrays_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -514,7 +514,7 @@ def test_true_is_not_equal_to_one_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -555,7 +555,7 @@ def test_non_unique_heterogeneous_types_are_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -594,7 +594,7 @@ def test_unique_heterogeneous_types_are_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_uniqueitems_validation_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_uniqueitems_validation_response_body_for_content_types/test_post.py index 92cbd258e69..4497fc096d2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_uniqueitems_validation_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_uniqueitems_validation_response_body_for_content_types/test_post.py @@ -67,7 +67,7 @@ def test_unique_array_of_objects_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -106,7 +106,7 @@ def test_a_true_and_a1_are_unique_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -184,7 +184,7 @@ def test_nested0_and_false_are_unique_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -223,7 +223,7 @@ def test_a_false_and_a0_are_unique_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -284,7 +284,7 @@ def test_false_is_not_equal_to_zero_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -321,7 +321,7 @@ def test_0_and_false_are_unique_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -358,7 +358,7 @@ def test_unique_array_of_arrays_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -464,7 +464,7 @@ def test_true_is_not_equal_to_one_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -535,7 +535,7 @@ def test_unique_array_of_strings_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -572,7 +572,7 @@ def test_1_and_true_are_unique_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -615,7 +615,7 @@ def test_different_objects_are_unique_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -648,7 +648,7 @@ def test_unique_array_of_integers_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -766,7 +766,7 @@ def test_unique_array_of_nested_objects_is_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -868,7 +868,7 @@ def test_nested1_and_true_are_unique_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -908,7 +908,7 @@ def test_unique_heterogeneous_types_are_valid_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_uri_format_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_uri_format_response_body_for_content_types/test_post.py index 01d2ae341ce..d36a78b895a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_uri_format_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_uri_format_response_body_for_content_types/test_post.py @@ -59,7 +59,7 @@ def test_all_string_formats_ignore_objects_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -89,7 +89,7 @@ def test_all_string_formats_ignore_booleans_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -119,7 +119,7 @@ def test_all_string_formats_ignore_integers_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -149,7 +149,7 @@ def test_all_string_formats_ignore_floats_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -180,7 +180,7 @@ def test_all_string_formats_ignore_arrays_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -210,7 +210,7 @@ def test_all_string_formats_ignore_nulls_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_uri_reference_format_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_uri_reference_format_response_body_for_content_types/test_post.py index 2990204d696..ac40f09c409 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_uri_reference_format_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_uri_reference_format_response_body_for_content_types/test_post.py @@ -59,7 +59,7 @@ def test_all_string_formats_ignore_objects_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -89,7 +89,7 @@ def test_all_string_formats_ignore_booleans_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -119,7 +119,7 @@ def test_all_string_formats_ignore_integers_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -149,7 +149,7 @@ def test_all_string_formats_ignore_floats_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -180,7 +180,7 @@ def test_all_string_formats_ignore_arrays_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -210,7 +210,7 @@ def test_all_string_formats_ignore_nulls_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_uri_template_format_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_uri_template_format_response_body_for_content_types/test_post.py index 0d9041cbcb0..cf67ae9a8b0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_uri_template_format_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_uri_template_format_response_body_for_content_types/test_post.py @@ -59,7 +59,7 @@ def test_all_string_formats_ignore_objects_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -89,7 +89,7 @@ def test_all_string_formats_ignore_booleans_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -119,7 +119,7 @@ def test_all_string_formats_ignore_integers_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -149,7 +149,7 @@ def test_all_string_formats_ignore_floats_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -180,7 +180,7 @@ def test_all_string_formats_ignore_arrays_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) @@ -210,7 +210,7 @@ def test_all_string_formats_ignore_nulls_passes(self): assert isinstance(api_response.response, urllib3.HTTPResponse) assert isinstance(api_response.body, self.response_body_schema) - deserialized_response_body = self.response_body_schema.from_openapi_data_oapg( + deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, _configuration=self._configuration ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/api_client.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/api_client.py index 68e3486511f..c0876c406a5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/api_client.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/api_client.py @@ -674,12 +674,12 @@ def deserialize( """ if cls.style: extracted_data = cls._deserialize_simple(in_data, name, cls.explode, False) - return schema.from_openapi_data_oapg(extracted_data) + return schema.from_openapi_data_(extracted_data) # cls.content will be length one for content_type, schema in cls.content.items(): if cls._content_type_is_json(content_type): cast_in_data = json.loads(in_data) - return schema.from_openapi_data_oapg(cast_in_data) + return schema.from_openapi_data_(cast_in_data) raise NotImplementedError('Deserialization of {} has not yet been implemented'.format(content_type)) @@ -927,7 +927,7 @@ def deserialize(cls, response: urllib3.HTTPResponse, configuration: configuratio content_type = 'multipart/form-data' else: raise NotImplementedError('Deserialization of {} has not yet been implemented'.format(content_type)) - deserialized_body = body_schema.from_openapi_data_oapg( + deserialized_body = body_schema.from_openapi_data_( body_data, _configuration=configuration) elif streamed: response.release_conn() diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py index 31554fd76c6..c93f75feb4f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py @@ -1287,7 +1287,7 @@ def _get_new_instance_without_conversion_oapg( return super(Schema, cls).__new__(cls, arg) @classmethod - def from_openapi_data_oapg( + def from_openapi_data_( cls, arg: typing.Union[ str, @@ -1304,7 +1304,7 @@ def from_openapi_data_oapg( _configuration: typing.Optional[configuration_module.Configuration] = None ): """ - Schema from_openapi_data_oapg + Schema from_openapi_data_ """ from_server = True validated_path_to_schemas = {} @@ -2089,8 +2089,8 @@ class MetaOapg: types = {tuple} @classmethod - def from_openapi_data_oapg(cls, arg: typing.List[typing.Any], _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_oapg(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: typing.List[typing.Any], _configuration: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, _configuration=_configuration) def __new__(cls, _arg: typing.Union[typing.List[typing.Any], typing.Tuple[typing.Any]], **kwargs: configuration_module.Configuration): return super().__new__(cls, _arg, **kwargs) @@ -2105,8 +2105,8 @@ class MetaOapg: types = {NoneClass} @classmethod - def from_openapi_data_oapg(cls, arg: None, _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_oapg(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: None, _configuration: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, _configuration=_configuration) def __new__(cls, _arg: None, **kwargs: configuration_module.Configuration): return super().__new__(cls, _arg, **kwargs) @@ -2125,8 +2125,8 @@ class MetaOapg: types = {decimal.Decimal} @classmethod - def from_openapi_data_oapg(cls, arg: typing.Union[int, float], _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_oapg(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: typing.Union[int, float], _configuration: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, _configuration=_configuration) def __new__(cls, _arg: typing.Union[decimal.Decimal, int, float], **kwargs: configuration_module.Configuration): return super().__new__(cls, _arg, **kwargs) @@ -2148,8 +2148,8 @@ class MetaOapg: format = 'int' @classmethod - def from_openapi_data_oapg(cls, arg: int, _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_oapg(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: int, _configuration: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, _configuration=_configuration) def __new__(cls, _arg: typing.Union[decimal.Decimal, int], **kwargs: configuration_module.Configuration): return super().__new__(cls, _arg, **kwargs) @@ -2179,8 +2179,8 @@ class MetaOapg: format = 'float' @classmethod - def from_openapi_data_oapg(cls, arg: float, _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_oapg(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: float, _configuration: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, _configuration=_configuration) class Float64Schema( @@ -2191,8 +2191,8 @@ class MetaOapg: format = 'double' @classmethod - def from_openapi_data_oapg(cls, arg: float, _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_oapg(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: float, _configuration: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, _configuration=_configuration) class StrSchema( @@ -2210,8 +2210,8 @@ class MetaOapg: types = {str} @classmethod - def from_openapi_data_oapg(cls, arg: str, _configuration: typing.Optional[configuration_module.Configuration] = None) -> 'StrSchema': - return super().from_openapi_data_oapg(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: str, _configuration: typing.Optional[configuration_module.Configuration] = None) -> 'StrSchema': + return super().from_openapi_data_(arg, _configuration=_configuration) def __new__(cls, _arg: typing.Union[str, datetime.date, datetime.datetime, uuid.UUID], **kwargs: configuration_module.Configuration): return super().__new__(cls, _arg, **kwargs) @@ -2329,8 +2329,8 @@ class MetaOapg: types = {BoolClass} @classmethod - def from_openapi_data_oapg(cls, arg: bool, _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_oapg(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: bool, _configuration: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, _configuration=_configuration) def __new__(cls, _arg: bool, **kwargs: ValidationMetadata): return super().__new__(cls, _arg, **kwargs) @@ -2387,8 +2387,8 @@ class MetaOapg: types = {frozendict.frozendict} @classmethod - def from_openapi_data_oapg(cls, arg: typing.Dict[str, typing.Any], _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_oapg(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: typing.Dict[str, typing.Any], _configuration: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, _configuration=_configuration) def __new__(cls, *_args: typing.Union[dict, frozendict.frozendict], **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, bool, None, bytes, Schema, Unset, ValidationMetadata]): return super().__new__(cls, *_args, **kwargs) diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/api_client.py b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/api_client.py index 3e926e1a84d..c68b46cb635 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/api_client.py +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/api_client.py @@ -674,12 +674,12 @@ def deserialize( """ if cls.style: extracted_data = cls._deserialize_simple(in_data, name, cls.explode, False) - return schema.from_openapi_data_oapg(extracted_data) + return schema.from_openapi_data_(extracted_data) # cls.content will be length one for content_type, schema in cls.content.items(): if cls._content_type_is_json(content_type): cast_in_data = json.loads(in_data) - return schema.from_openapi_data_oapg(cast_in_data) + return schema.from_openapi_data_(cast_in_data) raise NotImplementedError('Deserialization of {} has not yet been implemented'.format(content_type)) @@ -927,7 +927,7 @@ def deserialize(cls, response: urllib3.HTTPResponse, configuration: configuratio content_type = 'multipart/form-data' else: raise NotImplementedError('Deserialization of {} has not yet been implemented'.format(content_type)) - deserialized_body = body_schema.from_openapi_data_oapg( + deserialized_body = body_schema.from_openapi_data_( body_data, _configuration=configuration) elif streamed: response.release_conn() diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py index aa3e8ebc53a..6fafcd3903e 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py @@ -1363,7 +1363,7 @@ def _get_new_instance_without_conversion_oapg( return super(Schema, cls).__new__(cls, arg) @classmethod - def from_openapi_data_oapg( + def from_openapi_data_( cls, arg: typing.Union[ str, @@ -1380,7 +1380,7 @@ def from_openapi_data_oapg( _configuration: typing.Optional[configuration_module.Configuration] = None ): """ - Schema from_openapi_data_oapg + Schema from_openapi_data_ """ from_server = True validated_path_to_schemas = {} @@ -2165,8 +2165,8 @@ class MetaOapg: types = {tuple} @classmethod - def from_openapi_data_oapg(cls, arg: typing.List[typing.Any], _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_oapg(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: typing.List[typing.Any], _configuration: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, _configuration=_configuration) def __new__(cls, _arg: typing.Union[typing.List[typing.Any], typing.Tuple[typing.Any]], **kwargs: configuration_module.Configuration): return super().__new__(cls, _arg, **kwargs) @@ -2181,8 +2181,8 @@ class MetaOapg: types = {NoneClass} @classmethod - def from_openapi_data_oapg(cls, arg: None, _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_oapg(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: None, _configuration: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, _configuration=_configuration) def __new__(cls, _arg: None, **kwargs: configuration_module.Configuration): return super().__new__(cls, _arg, **kwargs) @@ -2201,8 +2201,8 @@ class MetaOapg: types = {decimal.Decimal} @classmethod - def from_openapi_data_oapg(cls, arg: typing.Union[int, float], _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_oapg(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: typing.Union[int, float], _configuration: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, _configuration=_configuration) def __new__(cls, _arg: typing.Union[decimal.Decimal, int, float], **kwargs: configuration_module.Configuration): return super().__new__(cls, _arg, **kwargs) @@ -2224,8 +2224,8 @@ class MetaOapg: format = 'int' @classmethod - def from_openapi_data_oapg(cls, arg: int, _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_oapg(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: int, _configuration: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, _configuration=_configuration) def __new__(cls, _arg: typing.Union[decimal.Decimal, int], **kwargs: configuration_module.Configuration): return super().__new__(cls, _arg, **kwargs) @@ -2255,8 +2255,8 @@ class MetaOapg: format = 'float' @classmethod - def from_openapi_data_oapg(cls, arg: float, _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_oapg(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: float, _configuration: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, _configuration=_configuration) class Float64Schema( @@ -2267,8 +2267,8 @@ class MetaOapg: format = 'double' @classmethod - def from_openapi_data_oapg(cls, arg: float, _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_oapg(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: float, _configuration: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, _configuration=_configuration) class StrSchema( @@ -2286,8 +2286,8 @@ class MetaOapg: types = {str} @classmethod - def from_openapi_data_oapg(cls, arg: str, _configuration: typing.Optional[configuration_module.Configuration] = None) -> 'StrSchema': - return super().from_openapi_data_oapg(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: str, _configuration: typing.Optional[configuration_module.Configuration] = None) -> 'StrSchema': + return super().from_openapi_data_(arg, _configuration=_configuration) def __new__(cls, _arg: typing.Union[str, datetime.date, datetime.datetime, uuid.UUID], **kwargs: configuration_module.Configuration): return super().__new__(cls, _arg, **kwargs) @@ -2405,8 +2405,8 @@ class MetaOapg: types = {BoolClass} @classmethod - def from_openapi_data_oapg(cls, arg: bool, _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_oapg(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: bool, _configuration: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, _configuration=_configuration) def __new__(cls, _arg: bool, **kwargs: ValidationMetadata): return super().__new__(cls, _arg, **kwargs) @@ -2463,8 +2463,8 @@ class MetaOapg: types = {frozendict.frozendict} @classmethod - def from_openapi_data_oapg(cls, arg: typing.Dict[str, typing.Any], _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_oapg(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: typing.Dict[str, typing.Any], _configuration: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, _configuration=_configuration) def __new__(cls, *_args: typing.Union[dict, frozendict.frozendict], **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, bool, None, bytes, Schema, Unset, ValidationMetadata]): return super().__new__(cls, *_args, **kwargs) diff --git a/samples/openapi3/client/petstore/python/petstore_api/api_client.py b/samples/openapi3/client/petstore/python/petstore_api/api_client.py index 5816b092a47..2dbf9d22775 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/api_client.py +++ b/samples/openapi3/client/petstore/python/petstore_api/api_client.py @@ -674,12 +674,12 @@ def deserialize( """ if cls.style: extracted_data = cls._deserialize_simple(in_data, name, cls.explode, False) - return schema.from_openapi_data_oapg(extracted_data) + return schema.from_openapi_data_(extracted_data) # cls.content will be length one for content_type, schema in cls.content.items(): if cls._content_type_is_json(content_type): cast_in_data = json.loads(in_data) - return schema.from_openapi_data_oapg(cast_in_data) + return schema.from_openapi_data_(cast_in_data) raise NotImplementedError('Deserialization of {} has not yet been implemented'.format(content_type)) @@ -927,7 +927,7 @@ def deserialize(cls, response: urllib3.HTTPResponse, configuration: configuratio content_type = 'multipart/form-data' else: raise NotImplementedError('Deserialization of {} has not yet been implemented'.format(content_type)) - deserialized_body = body_schema.from_openapi_data_oapg( + deserialized_body = body_schema.from_openapi_data_( body_data, _configuration=configuration) elif streamed: response.release_conn() diff --git a/samples/openapi3/client/petstore/python/petstore_api/schemas.py b/samples/openapi3/client/petstore/python/petstore_api/schemas.py index 7d37d2fad98..8475d112154 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/schemas.py +++ b/samples/openapi3/client/petstore/python/petstore_api/schemas.py @@ -1287,7 +1287,7 @@ def _get_new_instance_without_conversion_oapg( return super(Schema, cls).__new__(cls, arg) @classmethod - def from_openapi_data_oapg( + def from_openapi_data_( cls, arg: typing.Union[ str, @@ -1304,7 +1304,7 @@ def from_openapi_data_oapg( _configuration: typing.Optional[configuration_module.Configuration] = None ): """ - Schema from_openapi_data_oapg + Schema from_openapi_data_ """ from_server = True validated_path_to_schemas = {} @@ -2089,8 +2089,8 @@ class MetaOapg: types = {tuple} @classmethod - def from_openapi_data_oapg(cls, arg: typing.List[typing.Any], _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_oapg(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: typing.List[typing.Any], _configuration: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, _configuration=_configuration) def __new__(cls, _arg: typing.Union[typing.List[typing.Any], typing.Tuple[typing.Any]], **kwargs: configuration_module.Configuration): return super().__new__(cls, _arg, **kwargs) @@ -2105,8 +2105,8 @@ class MetaOapg: types = {NoneClass} @classmethod - def from_openapi_data_oapg(cls, arg: None, _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_oapg(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: None, _configuration: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, _configuration=_configuration) def __new__(cls, _arg: None, **kwargs: configuration_module.Configuration): return super().__new__(cls, _arg, **kwargs) @@ -2125,8 +2125,8 @@ class MetaOapg: types = {decimal.Decimal} @classmethod - def from_openapi_data_oapg(cls, arg: typing.Union[int, float], _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_oapg(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: typing.Union[int, float], _configuration: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, _configuration=_configuration) def __new__(cls, _arg: typing.Union[decimal.Decimal, int, float], **kwargs: configuration_module.Configuration): return super().__new__(cls, _arg, **kwargs) @@ -2148,8 +2148,8 @@ class MetaOapg: format = 'int' @classmethod - def from_openapi_data_oapg(cls, arg: int, _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_oapg(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: int, _configuration: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, _configuration=_configuration) def __new__(cls, _arg: typing.Union[decimal.Decimal, int], **kwargs: configuration_module.Configuration): return super().__new__(cls, _arg, **kwargs) @@ -2179,8 +2179,8 @@ class MetaOapg: format = 'float' @classmethod - def from_openapi_data_oapg(cls, arg: float, _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_oapg(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: float, _configuration: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, _configuration=_configuration) class Float64Schema( @@ -2191,8 +2191,8 @@ class MetaOapg: format = 'double' @classmethod - def from_openapi_data_oapg(cls, arg: float, _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_oapg(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: float, _configuration: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, _configuration=_configuration) class StrSchema( @@ -2210,8 +2210,8 @@ class MetaOapg: types = {str} @classmethod - def from_openapi_data_oapg(cls, arg: str, _configuration: typing.Optional[configuration_module.Configuration] = None) -> 'StrSchema': - return super().from_openapi_data_oapg(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: str, _configuration: typing.Optional[configuration_module.Configuration] = None) -> 'StrSchema': + return super().from_openapi_data_(arg, _configuration=_configuration) def __new__(cls, _arg: typing.Union[str, datetime.date, datetime.datetime, uuid.UUID], **kwargs: configuration_module.Configuration): return super().__new__(cls, _arg, **kwargs) @@ -2329,8 +2329,8 @@ class MetaOapg: types = {BoolClass} @classmethod - def from_openapi_data_oapg(cls, arg: bool, _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_oapg(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: bool, _configuration: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, _configuration=_configuration) def __new__(cls, _arg: bool, **kwargs: ValidationMetadata): return super().__new__(cls, _arg, **kwargs) @@ -2387,8 +2387,8 @@ class MetaOapg: types = {frozendict.frozendict} @classmethod - def from_openapi_data_oapg(cls, arg: typing.Dict[str, typing.Any], _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_oapg(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: typing.Dict[str, typing.Any], _configuration: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, _configuration=_configuration) def __new__(cls, *_args: typing.Union[dict, frozendict.frozendict], **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, bool, None, bytes, Schema, Unset, ValidationMetadata]): return super().__new__(cls, *_args, **kwargs) diff --git a/samples/openapi3/client/petstore/python/tests_manual/test_composed_one_of_different_types.py b/samples/openapi3/client/petstore/python/tests_manual/test_composed_one_of_different_types.py index e50804a9d8b..39aeb9a002f 100644 --- a/samples/openapi3/client/petstore/python/tests_manual/test_composed_one_of_different_types.py +++ b/samples/openapi3/client/petstore/python/tests_manual/test_composed_one_of_different_types.py @@ -59,7 +59,7 @@ def test_ComposedOneOfDifferentTypes(self): assert inst.is_none_oapg() is True # date - inst = ComposedOneOfDifferentTypes.from_openapi_data_oapg('2019-01-10') + inst = ComposedOneOfDifferentTypes.from_openapi_data_('2019-01-10') assert isinstance(inst, ComposedOneOfDifferentTypes) assert isinstance(inst, DateSchema) assert isinstance(inst, str) @@ -77,7 +77,7 @@ def test_ComposedOneOfDifferentTypes(self): assert inst.as_date_oapg.day == 10 # date-time - inst = ComposedOneOfDifferentTypes.from_openapi_data_oapg('2020-01-02T03:04:05Z') + inst = ComposedOneOfDifferentTypes.from_openapi_data_('2020-01-02T03:04:05Z') assert isinstance(inst, ComposedOneOfDifferentTypes) assert isinstance(inst, DateTimeSchema) assert isinstance(inst, str) diff --git a/samples/openapi3/client/petstore/python/tests_manual/test_date_time_with_validations.py b/samples/openapi3/client/petstore/python/tests_manual/test_date_time_with_validations.py index 3d15803539e..9d8b80a3f9d 100644 --- a/samples/openapi3/client/petstore/python/tests_manual/test_date_time_with_validations.py +++ b/samples/openapi3/client/petstore/python/tests_manual/test_date_time_with_validations.py @@ -36,22 +36,22 @@ def testDateTimeWithValidations(self): inst = DateTimeWithValidations(valid_value) assert inst == expected_datetime - # when passing data in with from_openapi_data_oapg one must use str + # when passing data in with from_openapi_data_ one must use str with self.assertRaisesRegex( petstore_api.ApiTypeError, r"Invalid type. Required value type is str and passed " r"type was at \('args\[0\]',\)" ): - DateTimeWithValidations.from_openapi_data_oapg(datetime(2020, 1, 1)) + DateTimeWithValidations.from_openapi_data_(datetime(2020, 1, 1)) - # when passing data from_openapi_data_oapg we can use str + # when passing data from_openapi_data_ we can use str input_value_to_datetime = { "2020-01-01T00:00:00": datetime(2020, 1, 1, tzinfo=None), "2020-01-01T00:00:00Z": datetime(2020, 1, 1, tzinfo=timezone.utc), "2020-01-01T00:00:00+00:00": datetime(2020, 1, 1, tzinfo=timezone.utc) } for input_value, expected_datetime in input_value_to_datetime.items(): - inst = DateTimeWithValidations.from_openapi_data_oapg(input_value) + inst = DateTimeWithValidations.from_openapi_data_(input_value) assert inst.as_datetime_oapg == expected_datetime # value error is raised if an invalid string is passed in @@ -59,7 +59,7 @@ def testDateTimeWithValidations(self): petstore_api.ApiValueError, r"Value does not conform to the required ISO-8601 datetime format. Invalid value 'abcd' for type datetime at \('args\[0\]',\)" ): - DateTimeWithValidations.from_openapi_data_oapg("abcd") + DateTimeWithValidations.from_openapi_data_("abcd") # value error is raised if a date is passed in with self.assertRaisesRegex( @@ -74,7 +74,7 @@ def testDateTimeWithValidations(self): petstore_api.ApiValueError, error_regex ): - DateTimeWithValidations.from_openapi_data_oapg("2019-01-01T00:00:00Z") + DateTimeWithValidations.from_openapi_data_("2019-01-01T00:00:00Z") # pattern checking with date input error_regex = r"Invalid value `2019-01-01T00:00:00`, must match regular expression `.+?` at \('args\[0\]',\)" with self.assertRaisesRegex( diff --git a/samples/openapi3/client/petstore/python/tests_manual/test_date_with_validations.py b/samples/openapi3/client/petstore/python/tests_manual/test_date_with_validations.py index eb6161113f9..e54ff82f562 100644 --- a/samples/openapi3/client/petstore/python/tests_manual/test_date_with_validations.py +++ b/samples/openapi3/client/petstore/python/tests_manual/test_date_with_validations.py @@ -36,20 +36,20 @@ def testDateWithValidations(self): inst = DateWithValidations(valid_value) assert inst == expected_date - # when passing data in with from_openapi_data_oapg one must use str + # when passing data in with from_openapi_data_ one must use str with self.assertRaisesRegex( petstore_api.ApiTypeError, r"Invalid type. Required value type is str and passed " r"type was at \('args\[0\]',\)" ): - DateWithValidations.from_openapi_data_oapg(date(2020, 1, 1)) + DateWithValidations.from_openapi_data_(date(2020, 1, 1)) # when passing data in from the server we can use str valid_values = ["2020-01-01", "2020-01", "2020"] expected_date = date(2020, 1, 1) for valid_value in valid_values: - inst = DateWithValidations.from_openapi_data_oapg(valid_value) + inst = DateWithValidations.from_openapi_data_(valid_value) assert inst.as_date_oapg == expected_date # value error is raised if an invalid string is passed in @@ -57,7 +57,7 @@ def testDateWithValidations(self): petstore_api.ApiValueError, r"Value does not conform to the required ISO-8601 date format. Invalid value '2020-01-01T00:00:00Z' for type date at \('args\[0\]',\)" ): - DateWithValidations.from_openapi_data_oapg("2020-01-01T00:00:00Z") + DateWithValidations.from_openapi_data_("2020-01-01T00:00:00Z") # value error is raised if a datetime is passed in with self.assertRaisesRegex( @@ -71,7 +71,7 @@ def testDateWithValidations(self): petstore_api.ApiValueError, r"Value does not conform to the required ISO-8601 date format. Invalid value 'abcd' for type date at \('args\[0\]',\)" ): - DateWithValidations.from_openapi_data_oapg("abcd") + DateWithValidations.from_openapi_data_("abcd") # pattern checking for str input error_regex = r"Invalid value `2019-01-01`, must match regular expression `.+?` at \('args\[0\]',\)" @@ -79,7 +79,7 @@ def testDateWithValidations(self): petstore_api.ApiValueError, error_regex ): - DateWithValidations.from_openapi_data_oapg("2019-01-01") + DateWithValidations.from_openapi_data_("2019-01-01") # pattern checking for date input with self.assertRaisesRegex( petstore_api.ApiValueError, diff --git a/samples/openapi3/client/petstore/python/tests_manual/test_fruit.py b/samples/openapi3/client/petstore/python/tests_manual/test_fruit.py index 21341535c1c..bade7ea6e40 100644 --- a/samples/openapi3/client/petstore/python/tests_manual/test_fruit.py +++ b/samples/openapi3/client/petstore/python/tests_manual/test_fruit.py @@ -64,7 +64,7 @@ def testFruit(self): additional_date='2021-01-02', ) - fruit = Fruit.from_openapi_data_oapg(kwargs) + fruit = Fruit.from_openapi_data_(kwargs) self.assertEqual( fruit, kwargs diff --git a/samples/openapi3/client/petstore/python/tests_manual/test_json_encoder.py b/samples/openapi3/client/petstore/python/tests_manual/test_json_encoder.py index d6cbdfa3757..7a2960e9eb6 100644 --- a/samples/openapi3/client/petstore/python/tests_manual/test_json_encoder.py +++ b/samples/openapi3/client/petstore/python/tests_manual/test_json_encoder.py @@ -28,7 +28,7 @@ def test_receive_encode_str_types(self): schemas.DateTimeSchema: '2020-01-01T00:00:00' } for schema, value in schema_to_value.items(): - inst = schema.from_openapi_data_oapg(value) + inst = schema.from_openapi_data_(value) assert value == self.serializer.default(inst) def test_receive_encode_numeric_types(self): @@ -41,7 +41,7 @@ def test_receive_encode_numeric_types(self): 7.14: schemas.NumberSchema, } for value, schema in value_to_schema.items(): - inst = schema.from_openapi_data_oapg(value) + inst = schema.from_openapi_data_(value) pre_serialize_value = self.serializer.default(inst) assert value == pre_serialize_value and type(value) == type(pre_serialize_value) diff --git a/samples/openapi3/client/petstore/python/tests_manual/test_object_with_invalid_named_refed_properties.py b/samples/openapi3/client/petstore/python/tests_manual/test_object_with_invalid_named_refed_properties.py index d045fab440d..0fcf4bb076f 100644 --- a/samples/openapi3/client/petstore/python/tests_manual/test_object_with_invalid_named_refed_properties.py +++ b/samples/openapi3/client/petstore/python/tests_manual/test_object_with_invalid_named_refed_properties.py @@ -38,8 +38,8 @@ def test_instantiation_success(self): '!reference': (4, 5) } assert inst == primitive_data - # from_openapi_data_oapg works - inst = ObjectWithInvalidNamedRefedProperties.from_openapi_data_oapg(primitive_data) + # from_openapi_data_ works + inst = ObjectWithInvalidNamedRefedProperties.from_openapi_data_(primitive_data) assert inst == primitive_data def test_omitting_required_properties_fails(self): @@ -60,13 +60,13 @@ def test_omitting_required_properties_fails(self): } ) with self.assertRaises(petstore_api.exceptions.ApiTypeError): - ObjectWithInvalidNamedRefedProperties.from_openapi_data_oapg( + ObjectWithInvalidNamedRefedProperties.from_openapi_data_( { 'from': {'data': 'abc', 'id': 1}, } ) with self.assertRaises(petstore_api.exceptions.ApiTypeError): - ObjectWithInvalidNamedRefedProperties.from_openapi_data_oapg( + ObjectWithInvalidNamedRefedProperties.from_openapi_data_( { '!reference': [4, 5] } diff --git a/samples/openapi3/client/petstore/python/tests_manual/test_validate.py b/samples/openapi3/client/petstore/python/tests_manual/test_validate.py index 19bd954f0b8..eb556010e3f 100644 --- a/samples/openapi3/client/petstore/python/tests_manual/test_validate.py +++ b/samples/openapi3/client/petstore/python/tests_manual/test_validate.py @@ -150,7 +150,7 @@ def test_empty_list_validate(self): with patch.object( Schema, "_validate_oapg", return_value=return_value ) as mock_validate: - ArrayHoldingAnyType.from_openapi_data_oapg([]) + ArrayHoldingAnyType.from_openapi_data_([]) assert mock_validate.call_count == 1 def test_empty_dict_validate(self): @@ -164,7 +164,7 @@ def test_empty_dict_validate(self): with patch.object( Schema, "_validate_oapg", return_value=return_value ) as mock_validate: - Foo.from_openapi_data_oapg({}) + Foo.from_openapi_data_({}) assert mock_validate.call_count == 1 def test_list_validate_direct_instantiation(self): @@ -226,7 +226,7 @@ def test_list_validate_from_openai_data_instantiation(self): side_effect=ArrayWithValidationsInItems.MetaOapg.Items._validate_oapg, ) as mock_inner_validate: used_configuration = configuration.Configuration() - ArrayWithValidationsInItems.from_openapi_data_oapg([7], _configuration=used_configuration) + ArrayWithValidationsInItems.from_openapi_data_([7], _configuration=used_configuration) mock_outer_validate.assert_called_once_with( (Decimal("7"),), validation_metadata=ValidationMetadata(path_to_item=("args[0]",), configuration=used_configuration) @@ -289,7 +289,7 @@ def test_dict_validate_from_openapi_data_instantiation(self): side_effect=Bar._validate_oapg, ) as mock_inner_validate: used_configuration = configuration.Configuration() - Foo.from_openapi_data_oapg({"bar": "a"}, _configuration=used_configuration) + Foo.from_openapi_data_({"bar": "a"}, _configuration=used_configuration) mock_outer_validate.assert_called_once_with( frozendict.frozendict({"bar": "a"}), validation_metadata=ValidationMetadata( From 3edd3d70db9076c09b53bb4dba15f6f7b3c768de Mon Sep 17 00:00:00 2001 From: Justin Black Date: Thu, 29 Dec 2022 21:58:40 -0800 Subject: [PATCH 02/29] _verify_typed_dict_inputs_oapg -> _verify_typed_dict_inputs --- .../src/main/resources/python/api_client.handlebars | 4 ++-- .../src/main/resources/python/endpoint.handlebars | 8 ++++---- .../3_0_3_unit_test/python/unit_test_api/api_client.py | 4 ++-- .../python/this_package/api_client.py | 4 ++-- .../client/petstore/python/petstore_api/api_client.py | 4 ++-- .../python/petstore_api/paths/fake/delete/__init__.py | 4 ++-- .../python/petstore_api/paths/fake/delete/__init__.pyi | 4 ++-- .../python/petstore_api/paths/fake/get/__init__.py | 4 ++-- .../python/petstore_api/paths/fake/get/__init__.pyi | 4 ++-- .../paths/fake_body_with_query_params/put/__init__.py | 2 +- .../paths/fake_body_with_query_params/put/__init__.pyi | 2 +- .../paths/fake_case_sensitive_params/put/__init__.py | 2 +- .../paths/fake_case_sensitive_params/put/__init__.pyi | 2 +- .../paths/fake_delete_coffee_id/delete/__init__.py | 2 +- .../paths/fake_delete_coffee_id/delete/__init__.pyi | 2 +- .../paths/fake_inline_composition/post/__init__.py | 2 +- .../paths/fake_inline_composition/post/__init__.pyi | 2 +- .../petstore_api/paths/fake_obj_in_query/get/__init__.py | 2 +- .../petstore_api/paths/fake_obj_in_query/get/__init__.pyi | 2 +- .../post/__init__.py | 8 ++++---- .../post/__init__.pyi | 8 ++++---- .../post/__init__.py | 2 +- .../post/__init__.pyi | 2 +- .../get/__init__.py | 2 +- .../get/__init__.pyi | 2 +- .../paths/fake_ref_obj_in_query/get/__init__.py | 2 +- .../paths/fake_ref_obj_in_query/get/__init__.pyi | 2 +- .../paths/fake_test_query_paramters/put/__init__.py | 2 +- .../paths/fake_test_query_paramters/put/__init__.pyi | 2 +- .../petstore_api/paths/pet_find_by_status/get/__init__.py | 2 +- .../paths/pet_find_by_status/get/__init__.pyi | 2 +- .../petstore_api/paths/pet_find_by_tags/get/__init__.py | 2 +- .../petstore_api/paths/pet_find_by_tags/get/__init__.pyi | 2 +- .../petstore_api/paths/pet_pet_id/delete/__init__.py | 4 ++-- .../petstore_api/paths/pet_pet_id/delete/__init__.pyi | 4 ++-- .../python/petstore_api/paths/pet_pet_id/get/__init__.py | 2 +- .../python/petstore_api/paths/pet_pet_id/get/__init__.pyi | 2 +- .../python/petstore_api/paths/pet_pet_id/post/__init__.py | 2 +- .../petstore_api/paths/pet_pet_id/post/__init__.pyi | 2 +- .../paths/pet_pet_id_upload_image/post/__init__.py | 2 +- .../paths/pet_pet_id_upload_image/post/__init__.pyi | 2 +- .../paths/store_order_order_id/delete/__init__.py | 2 +- .../paths/store_order_order_id/delete/__init__.pyi | 2 +- .../paths/store_order_order_id/get/__init__.py | 2 +- .../paths/store_order_order_id/get/__init__.pyi | 2 +- .../python/petstore_api/paths/user_login/get/__init__.py | 2 +- .../python/petstore_api/paths/user_login/get/__init__.pyi | 2 +- .../petstore_api/paths/user_username/delete/__init__.py | 2 +- .../petstore_api/paths/user_username/delete/__init__.pyi | 2 +- .../petstore_api/paths/user_username/get/__init__.py | 2 +- .../petstore_api/paths/user_username/get/__init__.pyi | 2 +- .../petstore_api/paths/user_username/put/__init__.py | 2 +- .../petstore_api/paths/user_username/put/__init__.pyi | 2 +- 53 files changed, 72 insertions(+), 72 deletions(-) diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/api_client.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/api_client.handlebars index cc811e06175..0aa0c79cb1d 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/api_client.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/api_client.handlebars @@ -753,7 +753,7 @@ class ApiResponseWithoutDeserialization(ApiResponse): class TypedDictInputVerifier: @staticmethod - def _verify_typed_dict_inputs_oapg(cls: typing.Type[typing_extensions.TypedDict], data: typing.Dict[str, typing.Any]): + def _verify_typed_dict_inputs(cls: typing.Type[typing_extensions.TypedDict], data: typing.Dict[str, typing.Any]): """ Ensures that: - required keys are present @@ -890,7 +890,7 @@ class OpenApiResponse(JSONDetector, TypedDictInputVerifier, typing.Generic[T]): deserialized_headers = schemas.unset if cls.headers is not None: - cls._verify_typed_dict_inputs_oapg(cls.response_cls.headers, response.headers) + cls._verify_typed_dict_inputs(cls.response_cls.headers, response.headers) deserialized_headers = {} for header_name, header_param in self.headers.items(): header_value = response.getheader(header_name) diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/endpoint.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/endpoint.handlebars index 255d4dd8ffa..1dc40cc294b 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/endpoint.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/endpoint.handlebars @@ -180,16 +180,16 @@ class BaseApi(api_client.Api): class instances """ {{#if queryParams}} - self._verify_typed_dict_inputs_oapg(RequestQueryParameters.Params, query_params) + self._verify_typed_dict_inputs(RequestQueryParameters.Params, query_params) {{/if}} {{#if headerParams}} - self._verify_typed_dict_inputs_oapg(RequestHeaderParameters.Params, header_params) + self._verify_typed_dict_inputs(RequestHeaderParameters.Params, header_params) {{/if}} {{#if pathParams}} - self._verify_typed_dict_inputs_oapg(RequestPathParameters.Params, path_params) + self._verify_typed_dict_inputs(RequestPathParameters.Params, path_params) {{/if}} {{#if cookieParams}} - self._verify_typed_dict_inputs_oapg(RequestCookieParameters.Params, cookie_params) + self._verify_typed_dict_inputs(RequestCookieParameters.Params, cookie_params) {{/if}} used_path = path {{#if pathParams}} diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/api_client.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/api_client.py index c0876c406a5..fb2b5bfb286 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/api_client.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/api_client.py @@ -757,7 +757,7 @@ class ApiResponseWithoutDeserialization(ApiResponse): class TypedDictInputVerifier: @staticmethod - def _verify_typed_dict_inputs_oapg(cls: typing.Type[typing_extensions.TypedDict], data: typing.Dict[str, typing.Any]): + def _verify_typed_dict_inputs(cls: typing.Type[typing_extensions.TypedDict], data: typing.Dict[str, typing.Any]): """ Ensures that: - required keys are present @@ -894,7 +894,7 @@ def deserialize(cls, response: urllib3.HTTPResponse, configuration: configuratio deserialized_headers = schemas.unset if cls.headers is not None: - cls._verify_typed_dict_inputs_oapg(cls.response_cls.headers, response.headers) + cls._verify_typed_dict_inputs(cls.response_cls.headers, response.headers) deserialized_headers = {} for header_name, header_param in self.headers.items(): header_value = response.getheader(header_name) diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/api_client.py b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/api_client.py index c68b46cb635..4856b849340 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/api_client.py +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/api_client.py @@ -757,7 +757,7 @@ class ApiResponseWithoutDeserialization(ApiResponse): class TypedDictInputVerifier: @staticmethod - def _verify_typed_dict_inputs_oapg(cls: typing.Type[typing_extensions.TypedDict], data: typing.Dict[str, typing.Any]): + def _verify_typed_dict_inputs(cls: typing.Type[typing_extensions.TypedDict], data: typing.Dict[str, typing.Any]): """ Ensures that: - required keys are present @@ -894,7 +894,7 @@ def deserialize(cls, response: urllib3.HTTPResponse, configuration: configuratio deserialized_headers = schemas.unset if cls.headers is not None: - cls._verify_typed_dict_inputs_oapg(cls.response_cls.headers, response.headers) + cls._verify_typed_dict_inputs(cls.response_cls.headers, response.headers) deserialized_headers = {} for header_name, header_param in self.headers.items(): header_value = response.getheader(header_name) diff --git a/samples/openapi3/client/petstore/python/petstore_api/api_client.py b/samples/openapi3/client/petstore/python/petstore_api/api_client.py index 2dbf9d22775..efe7c14b518 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/api_client.py +++ b/samples/openapi3/client/petstore/python/petstore_api/api_client.py @@ -757,7 +757,7 @@ class ApiResponseWithoutDeserialization(ApiResponse): class TypedDictInputVerifier: @staticmethod - def _verify_typed_dict_inputs_oapg(cls: typing.Type[typing_extensions.TypedDict], data: typing.Dict[str, typing.Any]): + def _verify_typed_dict_inputs(cls: typing.Type[typing_extensions.TypedDict], data: typing.Dict[str, typing.Any]): """ Ensures that: - required keys are present @@ -894,7 +894,7 @@ def deserialize(cls, response: urllib3.HTTPResponse, configuration: configuratio deserialized_headers = schemas.unset if cls.headers is not None: - cls._verify_typed_dict_inputs_oapg(cls.response_cls.headers, response.headers) + cls._verify_typed_dict_inputs(cls.response_cls.headers, response.headers) deserialized_headers = {} for header_name, header_param in self.headers.items(): header_value = response.getheader(header_name) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/delete/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/delete/__init__.py index 59643f7a3e7..8234cbeab9d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/delete/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/delete/__init__.py @@ -155,8 +155,8 @@ def _group_parameters_oapg( api_response.body and api_response.headers will not be deserialized into schema class instances """ - self._verify_typed_dict_inputs_oapg(RequestQueryParameters.Params, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParameters.Params, header_params) + self._verify_typed_dict_inputs(RequestQueryParameters.Params, query_params) + self._verify_typed_dict_inputs(RequestHeaderParameters.Params, header_params) used_path = path prefix_separator_iterator = None diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/delete/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/delete/__init__.pyi index 401510a1de9..a242ca45340 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/delete/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/delete/__init__.pyi @@ -139,8 +139,8 @@ class BaseApi(api_client.Api): api_response.body and api_response.headers will not be deserialized into schema class instances """ - self._verify_typed_dict_inputs_oapg(RequestQueryParameters.Params, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParameters.Params, header_params) + self._verify_typed_dict_inputs(RequestQueryParameters.Params, query_params) + self._verify_typed_dict_inputs(RequestHeaderParameters.Params, header_params) used_path = path prefix_separator_iterator = None diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/__init__.py index b4731697d18..f358bb94d7b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/__init__.py @@ -186,8 +186,8 @@ def _enum_parameters_oapg( api_response.body and api_response.headers will not be deserialized into schema class instances """ - self._verify_typed_dict_inputs_oapg(RequestQueryParameters.Params, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParameters.Params, header_params) + self._verify_typed_dict_inputs(RequestQueryParameters.Params, query_params) + self._verify_typed_dict_inputs(RequestHeaderParameters.Params, header_params) used_path = path prefix_separator_iterator = None diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/__init__.pyi index 8d48cfe1097..cb52659f8f3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/__init__.pyi @@ -172,8 +172,8 @@ class BaseApi(api_client.Api): api_response.body and api_response.headers will not be deserialized into schema class instances """ - self._verify_typed_dict_inputs_oapg(RequestQueryParameters.Params, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParameters.Params, header_params) + self._verify_typed_dict_inputs(RequestQueryParameters.Params, query_params) + self._verify_typed_dict_inputs(RequestHeaderParameters.Params, header_params) used_path = path prefix_separator_iterator = None diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_body_with_query_params/put/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_body_with_query_params/put/__init__.py index 2919462b0c9..75e01c2a8b0 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_body_with_query_params/put/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_body_with_query_params/put/__init__.py @@ -133,7 +133,7 @@ def _body_with_query_params_oapg( api_response.body and api_response.headers will not be deserialized into schema class instances """ - self._verify_typed_dict_inputs_oapg(RequestQueryParameters.Params, query_params) + self._verify_typed_dict_inputs(RequestQueryParameters.Params, query_params) used_path = path prefix_separator_iterator = None diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_body_with_query_params/put/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_body_with_query_params/put/__init__.pyi index 0ff847a6288..f7e506620fc 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_body_with_query_params/put/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_body_with_query_params/put/__init__.pyi @@ -121,7 +121,7 @@ class BaseApi(api_client.Api): api_response.body and api_response.headers will not be deserialized into schema class instances """ - self._verify_typed_dict_inputs_oapg(RequestQueryParameters.Params, query_params) + self._verify_typed_dict_inputs(RequestQueryParameters.Params, query_params) used_path = path prefix_separator_iterator = None diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_case_sensitive_params/put/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_case_sensitive_params/put/__init__.py index 56a85177238..12038a9d7a5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_case_sensitive_params/put/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_case_sensitive_params/put/__init__.py @@ -115,7 +115,7 @@ def _case_sensitive_params_oapg( api_response.body and api_response.headers will not be deserialized into schema class instances """ - self._verify_typed_dict_inputs_oapg(RequestQueryParameters.Params, query_params) + self._verify_typed_dict_inputs(RequestQueryParameters.Params, query_params) used_path = path prefix_separator_iterator = None diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_case_sensitive_params/put/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_case_sensitive_params/put/__init__.pyi index 850cf0cdd53..0e95ca5e499 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_case_sensitive_params/put/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_case_sensitive_params/put/__init__.pyi @@ -103,7 +103,7 @@ class BaseApi(api_client.Api): api_response.body and api_response.headers will not be deserialized into schema class instances """ - self._verify_typed_dict_inputs_oapg(RequestQueryParameters.Params, query_params) + self._verify_typed_dict_inputs(RequestQueryParameters.Params, query_params) used_path = path prefix_separator_iterator = None diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_delete_coffee_id/delete/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_delete_coffee_id/delete/__init__.py index f9c97dfea0b..92c8fe7db1a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_delete_coffee_id/delete/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_delete_coffee_id/delete/__init__.py @@ -114,7 +114,7 @@ def _delete_coffee_oapg( api_response.body and api_response.headers will not be deserialized into schema class instances """ - self._verify_typed_dict_inputs_oapg(RequestPathParameters.Params, path_params) + self._verify_typed_dict_inputs(RequestPathParameters.Params, path_params) used_path = path _path_params = {} diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_delete_coffee_id/delete/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_delete_coffee_id/delete/__init__.pyi index a8c5cedb9e4..16dfa031dd6 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_delete_coffee_id/delete/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_delete_coffee_id/delete/__init__.pyi @@ -101,7 +101,7 @@ class BaseApi(api_client.Api): api_response.body and api_response.headers will not be deserialized into schema class instances """ - self._verify_typed_dict_inputs_oapg(RequestPathParameters.Params, path_params) + self._verify_typed_dict_inputs(RequestPathParameters.Params, path_params) used_path = path _path_params = {} diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/__init__.py index bba3c67f68b..8cb3c4ebb3a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/__init__.py @@ -160,7 +160,7 @@ def _inline_composition_oapg( api_response.body and api_response.headers will not be deserialized into schema class instances """ - self._verify_typed_dict_inputs_oapg(RequestQueryParameters.Params, query_params) + self._verify_typed_dict_inputs(RequestQueryParameters.Params, query_params) used_path = path prefix_separator_iterator = None diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/__init__.pyi index 9b89e0d6f27..d81b13a17e9 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/__init__.pyi @@ -148,7 +148,7 @@ class BaseApi(api_client.Api): api_response.body and api_response.headers will not be deserialized into schema class instances """ - self._verify_typed_dict_inputs_oapg(RequestQueryParameters.Params, query_params) + self._verify_typed_dict_inputs(RequestQueryParameters.Params, query_params) used_path = path prefix_separator_iterator = None diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_obj_in_query/get/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_obj_in_query/get/__init__.py index 0cae82815d0..db45e49dff4 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_obj_in_query/get/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_obj_in_query/get/__init__.py @@ -110,7 +110,7 @@ def _object_in_query_oapg( api_response.body and api_response.headers will not be deserialized into schema class instances """ - self._verify_typed_dict_inputs_oapg(RequestQueryParameters.Params, query_params) + self._verify_typed_dict_inputs(RequestQueryParameters.Params, query_params) used_path = path prefix_separator_iterator = None diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_obj_in_query/get/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_obj_in_query/get/__init__.pyi index 807fcebefe4..5fa9fbd8773 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_obj_in_query/get/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_obj_in_query/get/__init__.pyi @@ -98,7 +98,7 @@ class BaseApi(api_client.Api): api_response.body and api_response.headers will not be deserialized into schema class instances """ - self._verify_typed_dict_inputs_oapg(RequestQueryParameters.Params, query_params) + self._verify_typed_dict_inputs(RequestQueryParameters.Params, query_params) used_path = path prefix_separator_iterator = None diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_parameter_collisions1_abab_self_ab/post/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_parameter_collisions1_abab_self_ab/post/__init__.py index 0e47e7bb04e..abf31d3709e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_parameter_collisions1_abab_self_ab/post/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_parameter_collisions1_abab_self_ab/post/__init__.py @@ -274,10 +274,10 @@ def _parameter_collisions_oapg( api_response.body and api_response.headers will not be deserialized into schema class instances """ - self._verify_typed_dict_inputs_oapg(RequestQueryParameters.Params, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParameters.Params, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParameters.Params, path_params) - self._verify_typed_dict_inputs_oapg(RequestCookieParameters.Params, cookie_params) + self._verify_typed_dict_inputs(RequestQueryParameters.Params, query_params) + self._verify_typed_dict_inputs(RequestHeaderParameters.Params, header_params) + self._verify_typed_dict_inputs(RequestPathParameters.Params, path_params) + self._verify_typed_dict_inputs(RequestCookieParameters.Params, cookie_params) used_path = path _path_params = {} diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_parameter_collisions1_abab_self_ab/post/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_parameter_collisions1_abab_self_ab/post/__init__.pyi index bdb9c455ddb..533fa8bfcd2 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_parameter_collisions1_abab_self_ab/post/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_parameter_collisions1_abab_self_ab/post/__init__.pyi @@ -262,10 +262,10 @@ class BaseApi(api_client.Api): api_response.body and api_response.headers will not be deserialized into schema class instances """ - self._verify_typed_dict_inputs_oapg(RequestQueryParameters.Params, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParameters.Params, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParameters.Params, path_params) - self._verify_typed_dict_inputs_oapg(RequestCookieParameters.Params, cookie_params) + self._verify_typed_dict_inputs(RequestQueryParameters.Params, query_params) + self._verify_typed_dict_inputs(RequestHeaderParameters.Params, header_params) + self._verify_typed_dict_inputs(RequestPathParameters.Params, path_params) + self._verify_typed_dict_inputs(RequestCookieParameters.Params, cookie_params) used_path = path _path_params = {} diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/__init__.py index e21a048753f..a985d61fd92 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/__init__.py @@ -146,7 +146,7 @@ def _upload_file_with_required_file_oapg( api_response.body and api_response.headers will not be deserialized into schema class instances """ - self._verify_typed_dict_inputs_oapg(RequestPathParameters.Params, path_params) + self._verify_typed_dict_inputs(RequestPathParameters.Params, path_params) used_path = path _path_params = {} diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/__init__.pyi index 36368f65248..d34f33beec9 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/__init__.pyi @@ -130,7 +130,7 @@ class BaseApi(api_client.Api): api_response.body and api_response.headers will not be deserialized into schema class instances """ - self._verify_typed_dict_inputs_oapg(RequestPathParameters.Params, path_params) + self._verify_typed_dict_inputs(RequestPathParameters.Params, path_params) used_path = path _path_params = {} diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_query_param_with_json_content_type/get/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_query_param_with_json_content_type/get/__init__.py index a33e9865d7c..cf625432166 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_query_param_with_json_content_type/get/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_query_param_with_json_content_type/get/__init__.py @@ -118,7 +118,7 @@ def _query_param_with_json_content_type_oapg( api_response.body and api_response.headers will not be deserialized into schema class instances """ - self._verify_typed_dict_inputs_oapg(RequestQueryParameters.Params, query_params) + self._verify_typed_dict_inputs(RequestQueryParameters.Params, query_params) used_path = path prefix_separator_iterator = None diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_query_param_with_json_content_type/get/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_query_param_with_json_content_type/get/__init__.pyi index daa732810d5..45ec5cbd7b7 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_query_param_with_json_content_type/get/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_query_param_with_json_content_type/get/__init__.pyi @@ -106,7 +106,7 @@ class BaseApi(api_client.Api): api_response.body and api_response.headers will not be deserialized into schema class instances """ - self._verify_typed_dict_inputs_oapg(RequestQueryParameters.Params, query_params) + self._verify_typed_dict_inputs(RequestQueryParameters.Params, query_params) used_path = path prefix_separator_iterator = None diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_ref_obj_in_query/get/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_ref_obj_in_query/get/__init__.py index e275f3fa0ad..3b89c958361 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_ref_obj_in_query/get/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_ref_obj_in_query/get/__init__.py @@ -110,7 +110,7 @@ def _ref_object_in_query_oapg( api_response.body and api_response.headers will not be deserialized into schema class instances """ - self._verify_typed_dict_inputs_oapg(RequestQueryParameters.Params, query_params) + self._verify_typed_dict_inputs(RequestQueryParameters.Params, query_params) used_path = path prefix_separator_iterator = None diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_ref_obj_in_query/get/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_ref_obj_in_query/get/__init__.pyi index 1fd9171a539..183db2f3641 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_ref_obj_in_query/get/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_ref_obj_in_query/get/__init__.pyi @@ -98,7 +98,7 @@ class BaseApi(api_client.Api): api_response.body and api_response.headers will not be deserialized into schema class instances """ - self._verify_typed_dict_inputs_oapg(RequestQueryParameters.Params, query_params) + self._verify_typed_dict_inputs(RequestQueryParameters.Params, query_params) used_path = path prefix_separator_iterator = None diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/__init__.py index 057b9f8ad6d..98d9bfe1a22 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/__init__.py @@ -124,7 +124,7 @@ def _query_parameter_collection_format_oapg( api_response.body and api_response.headers will not be deserialized into schema class instances """ - self._verify_typed_dict_inputs_oapg(RequestQueryParameters.Params, query_params) + self._verify_typed_dict_inputs(RequestQueryParameters.Params, query_params) used_path = path prefix_separator_iterator = None diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/__init__.pyi index 3bc91f57b1f..e21a87b7ded 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/__init__.pyi @@ -112,7 +112,7 @@ class BaseApi(api_client.Api): api_response.body and api_response.headers will not be deserialized into schema class instances """ - self._verify_typed_dict_inputs_oapg(RequestQueryParameters.Params, query_params) + self._verify_typed_dict_inputs(RequestQueryParameters.Params, query_params) used_path = path prefix_separator_iterator = None diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/__init__.py index ad370b65cd1..d445159f2ac 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/__init__.py @@ -127,7 +127,7 @@ def _find_pets_by_status_oapg( api_response.body and api_response.headers will not be deserialized into schema class instances """ - self._verify_typed_dict_inputs_oapg(RequestQueryParameters.Params, query_params) + self._verify_typed_dict_inputs(RequestQueryParameters.Params, query_params) used_path = path prefix_separator_iterator = None diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/__init__.pyi index 9926ac2fab3..3dee5723c0f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/__init__.pyi @@ -108,7 +108,7 @@ class BaseApi(api_client.Api): api_response.body and api_response.headers will not be deserialized into schema class instances """ - self._verify_typed_dict_inputs_oapg(RequestQueryParameters.Params, query_params) + self._verify_typed_dict_inputs(RequestQueryParameters.Params, query_params) used_path = path prefix_separator_iterator = None diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/__init__.py index 38da8f64f06..3e593cec8b4 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/__init__.py @@ -127,7 +127,7 @@ def _find_pets_by_tags_oapg( api_response.body and api_response.headers will not be deserialized into schema class instances """ - self._verify_typed_dict_inputs_oapg(RequestQueryParameters.Params, query_params) + self._verify_typed_dict_inputs(RequestQueryParameters.Params, query_params) used_path = path prefix_separator_iterator = None diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/__init__.pyi index b0394a79030..206ef336613 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/__init__.pyi @@ -108,7 +108,7 @@ class BaseApi(api_client.Api): api_response.body and api_response.headers will not be deserialized into schema class instances """ - self._verify_typed_dict_inputs_oapg(RequestQueryParameters.Params, query_params) + self._verify_typed_dict_inputs(RequestQueryParameters.Params, query_params) used_path = path prefix_separator_iterator = None diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/delete/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/delete/__init__.py index 062b93d7bfa..b02419e238a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/delete/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/delete/__init__.py @@ -139,8 +139,8 @@ def _delete_pet_oapg( api_response.body and api_response.headers will not be deserialized into schema class instances """ - self._verify_typed_dict_inputs_oapg(RequestHeaderParameters.Params, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParameters.Params, path_params) + self._verify_typed_dict_inputs(RequestHeaderParameters.Params, header_params) + self._verify_typed_dict_inputs(RequestPathParameters.Params, path_params) used_path = path _path_params = {} diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/delete/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/delete/__init__.pyi index fed1865b34a..c0acd3d9299 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/delete/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/delete/__init__.pyi @@ -123,8 +123,8 @@ class BaseApi(api_client.Api): api_response.body and api_response.headers will not be deserialized into schema class instances """ - self._verify_typed_dict_inputs_oapg(RequestHeaderParameters.Params, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParameters.Params, path_params) + self._verify_typed_dict_inputs(RequestHeaderParameters.Params, header_params) + self._verify_typed_dict_inputs(RequestPathParameters.Params, path_params) used_path = path _path_params = {} diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/get/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/get/__init__.py index 06e7a06d1ef..99ef69d0e9e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/get/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/get/__init__.py @@ -129,7 +129,7 @@ def _get_pet_by_id_oapg( api_response.body and api_response.headers will not be deserialized into schema class instances """ - self._verify_typed_dict_inputs_oapg(RequestPathParameters.Params, path_params) + self._verify_typed_dict_inputs(RequestPathParameters.Params, path_params) used_path = path _path_params = {} diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/get/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/get/__init__.pyi index c9042017eb8..2df27e10735 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/get/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/get/__init__.pyi @@ -109,7 +109,7 @@ class BaseApi(api_client.Api): api_response.body and api_response.headers will not be deserialized into schema class instances """ - self._verify_typed_dict_inputs_oapg(RequestPathParameters.Params, path_params) + self._verify_typed_dict_inputs(RequestPathParameters.Params, path_params) used_path = path _path_params = {} diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/post/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/post/__init__.py index 2b6d0e125e8..bb73d8bf0b1 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/post/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/post/__init__.py @@ -131,7 +131,7 @@ def _update_pet_with_form_oapg( api_response.body and api_response.headers will not be deserialized into schema class instances """ - self._verify_typed_dict_inputs_oapg(RequestPathParameters.Params, path_params) + self._verify_typed_dict_inputs(RequestPathParameters.Params, path_params) used_path = path _path_params = {} diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/post/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/post/__init__.pyi index cf561a6444f..97b712f5d9d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/post/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/post/__init__.pyi @@ -115,7 +115,7 @@ class BaseApi(api_client.Api): api_response.body and api_response.headers will not be deserialized into schema class instances """ - self._verify_typed_dict_inputs_oapg(RequestPathParameters.Params, path_params) + self._verify_typed_dict_inputs(RequestPathParameters.Params, path_params) used_path = path _path_params = {} diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id_upload_image/post/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id_upload_image/post/__init__.py index 960194f55f4..0766d7f815d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id_upload_image/post/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id_upload_image/post/__init__.py @@ -146,7 +146,7 @@ def _upload_image_oapg( api_response.body and api_response.headers will not be deserialized into schema class instances """ - self._verify_typed_dict_inputs_oapg(RequestPathParameters.Params, path_params) + self._verify_typed_dict_inputs(RequestPathParameters.Params, path_params) used_path = path _path_params = {} diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id_upload_image/post/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id_upload_image/post/__init__.pyi index 03a3387bc9a..21c542c6684 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id_upload_image/post/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id_upload_image/post/__init__.pyi @@ -130,7 +130,7 @@ class BaseApi(api_client.Api): api_response.body and api_response.headers will not be deserialized into schema class instances """ - self._verify_typed_dict_inputs_oapg(RequestPathParameters.Params, path_params) + self._verify_typed_dict_inputs(RequestPathParameters.Params, path_params) used_path = path _path_params = {} diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/store_order_order_id/delete/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/store_order_order_id/delete/__init__.py index 254abe2756a..cdb9430e819 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/store_order_order_id/delete/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/store_order_order_id/delete/__init__.py @@ -109,7 +109,7 @@ def _delete_order_oapg( api_response.body and api_response.headers will not be deserialized into schema class instances """ - self._verify_typed_dict_inputs_oapg(RequestPathParameters.Params, path_params) + self._verify_typed_dict_inputs(RequestPathParameters.Params, path_params) used_path = path _path_params = {} diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/store_order_order_id/delete/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/store_order_order_id/delete/__init__.pyi index 46914e5ca99..d49c2b44490 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/store_order_order_id/delete/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/store_order_order_id/delete/__init__.pyi @@ -95,7 +95,7 @@ class BaseApi(api_client.Api): api_response.body and api_response.headers will not be deserialized into schema class instances """ - self._verify_typed_dict_inputs_oapg(RequestPathParameters.Params, path_params) + self._verify_typed_dict_inputs(RequestPathParameters.Params, path_params) used_path = path _path_params = {} diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/store_order_order_id/get/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/store_order_order_id/get/__init__.py index 278eb6bffbe..2ebd64bb6ee 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/store_order_order_id/get/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/store_order_order_id/get/__init__.py @@ -125,7 +125,7 @@ def _get_order_by_id_oapg( api_response.body and api_response.headers will not be deserialized into schema class instances """ - self._verify_typed_dict_inputs_oapg(RequestPathParameters.Params, path_params) + self._verify_typed_dict_inputs(RequestPathParameters.Params, path_params) used_path = path _path_params = {} diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/store_order_order_id/get/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/store_order_order_id/get/__init__.pyi index 6fc4d821240..4766ed6a530 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/store_order_order_id/get/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/store_order_order_id/get/__init__.pyi @@ -109,7 +109,7 @@ class BaseApi(api_client.Api): api_response.body and api_response.headers will not be deserialized into schema class instances """ - self._verify_typed_dict_inputs_oapg(RequestPathParameters.Params, path_params) + self._verify_typed_dict_inputs(RequestPathParameters.Params, path_params) used_path = path _path_params = {} diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/user_login/get/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/user_login/get/__init__.py index c52de991988..dd6890846ed 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/user_login/get/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/user_login/get/__init__.py @@ -125,7 +125,7 @@ def _login_user_oapg( api_response.body and api_response.headers will not be deserialized into schema class instances """ - self._verify_typed_dict_inputs_oapg(RequestQueryParameters.Params, query_params) + self._verify_typed_dict_inputs(RequestQueryParameters.Params, query_params) used_path = path prefix_separator_iterator = None diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/user_login/get/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/user_login/get/__init__.pyi index 7ee16ee4aa2..d2242fa1d64 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/user_login/get/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/user_login/get/__init__.pyi @@ -111,7 +111,7 @@ class BaseApi(api_client.Api): api_response.body and api_response.headers will not be deserialized into schema class instances """ - self._verify_typed_dict_inputs_oapg(RequestQueryParameters.Params, query_params) + self._verify_typed_dict_inputs(RequestQueryParameters.Params, query_params) used_path = path prefix_separator_iterator = None diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/delete/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/delete/__init__.py index ff56c5a3e4e..4d4791739e8 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/delete/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/delete/__init__.py @@ -113,7 +113,7 @@ def _delete_user_oapg( api_response.body and api_response.headers will not be deserialized into schema class instances """ - self._verify_typed_dict_inputs_oapg(RequestPathParameters.Params, path_params) + self._verify_typed_dict_inputs(RequestPathParameters.Params, path_params) used_path = path _path_params = {} diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/delete/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/delete/__init__.pyi index 14c33fcf8ca..ec4db8a6806 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/delete/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/delete/__init__.pyi @@ -99,7 +99,7 @@ class BaseApi(api_client.Api): api_response.body and api_response.headers will not be deserialized into schema class instances """ - self._verify_typed_dict_inputs_oapg(RequestPathParameters.Params, path_params) + self._verify_typed_dict_inputs(RequestPathParameters.Params, path_params) used_path = path _path_params = {} diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/get/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/get/__init__.py index 4e315229295..b88c456e07f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/get/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/get/__init__.py @@ -125,7 +125,7 @@ def _get_user_by_name_oapg( api_response.body and api_response.headers will not be deserialized into schema class instances """ - self._verify_typed_dict_inputs_oapg(RequestPathParameters.Params, path_params) + self._verify_typed_dict_inputs(RequestPathParameters.Params, path_params) used_path = path _path_params = {} diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/get/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/get/__init__.pyi index 5c3f8cd69d6..9c18e94221e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/get/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/get/__init__.pyi @@ -109,7 +109,7 @@ class BaseApi(api_client.Api): api_response.body and api_response.headers will not be deserialized into schema class instances """ - self._verify_typed_dict_inputs_oapg(RequestPathParameters.Params, path_params) + self._verify_typed_dict_inputs(RequestPathParameters.Params, path_params) used_path = path _path_params = {} diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/put/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/put/__init__.py index 036c25750fa..4d5a4a1d2a3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/put/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/put/__init__.py @@ -130,7 +130,7 @@ def _update_user_oapg( api_response.body and api_response.headers will not be deserialized into schema class instances """ - self._verify_typed_dict_inputs_oapg(RequestPathParameters.Params, path_params) + self._verify_typed_dict_inputs(RequestPathParameters.Params, path_params) used_path = path _path_params = {} diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/put/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/put/__init__.pyi index c0638d4e808..94753050822 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/put/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/put/__init__.pyi @@ -116,7 +116,7 @@ class BaseApi(api_client.Api): api_response.body and api_response.headers will not be deserialized into schema class instances """ - self._verify_typed_dict_inputs_oapg(RequestPathParameters.Params, path_params) + self._verify_typed_dict_inputs(RequestPathParameters.Params, path_params) used_path = path _path_params = {} From 87a9072bbcc31e52a906592f3e60420038a1ce58 Mon Sep 17 00:00:00 2001 From: Justin Black Date: Thu, 29 Dec 2022 21:59:59 -0800 Subject: [PATCH 03/29] _get_host_oapg -> _get_host --- .../src/main/resources/python/api_client.handlebars | 2 +- .../src/main/resources/python/endpoint.handlebars | 2 +- .../client/3_0_3_unit_test/python/unit_test_api/api_client.py | 2 +- .../python/this_package/api_client.py | 2 +- .../openapi3/client/petstore/python/petstore_api/api_client.py | 2 +- .../petstore/python/petstore_api/paths/pet/post/__init__.py | 2 +- .../petstore/python/petstore_api/paths/pet/post/__init__.pyi | 2 +- .../petstore/python/petstore_api/paths/pet/put/__init__.py | 2 +- .../petstore/python/petstore_api/paths/pet/put/__init__.pyi | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/api_client.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/api_client.handlebars index 0aa0c79cb1d..863144d4610 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/api_client.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/api_client.handlebars @@ -1259,7 +1259,7 @@ class Api(TypedDictInputVerifier): api_client = ApiClient() self.api_client = api_client - def _get_host_oapg( + def _get_host( self, operation_id: str, servers: typing.Tuple[typing.Dict[str, str], ...] = tuple(), diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/endpoint.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/endpoint.handlebars index 1dc40cc294b..cb9ea1e9fdf 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/endpoint.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/endpoint.handlebars @@ -255,7 +255,7 @@ class BaseApi(api_client.Api): {{/with}} {{#if servers}} - host = self._get_host_oapg('{{operationId}}', _servers, host_index) + host = self._get_host('{{operationId}}', _servers, host_index) {{/if}} response = self.api_client.call_api( diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/api_client.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/api_client.py index fb2b5bfb286..bdbfe8dff8d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/api_client.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/api_client.py @@ -1249,7 +1249,7 @@ def __init__(self, api_client: typing.Optional[ApiClient] = None): api_client = ApiClient() self.api_client = api_client - def _get_host_oapg( + def _get_host( self, operation_id: str, servers: typing.Tuple[typing.Dict[str, str], ...] = tuple(), diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/api_client.py b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/api_client.py index 4856b849340..aed5c1ffb0f 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/api_client.py +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/api_client.py @@ -1249,7 +1249,7 @@ def __init__(self, api_client: typing.Optional[ApiClient] = None): api_client = ApiClient() self.api_client = api_client - def _get_host_oapg( + def _get_host( self, operation_id: str, servers: typing.Tuple[typing.Dict[str, str], ...] = tuple(), diff --git a/samples/openapi3/client/petstore/python/petstore_api/api_client.py b/samples/openapi3/client/petstore/python/petstore_api/api_client.py index efe7c14b518..841c019bbb7 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/api_client.py +++ b/samples/openapi3/client/petstore/python/petstore_api/api_client.py @@ -1258,7 +1258,7 @@ def __init__(self, api_client: typing.Optional[ApiClient] = None): api_client = ApiClient() self.api_client = api_client - def _get_host_oapg( + def _get_host( self, operation_id: str, servers: typing.Tuple[typing.Dict[str, str], ...] = tuple(), diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet/post/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/pet/post/__init__.py index a61cbf556dc..289330454d6 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet/post/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet/post/__init__.py @@ -158,7 +158,7 @@ class instances _fields = serialized_data['fields'] elif 'body' in serialized_data: _body = serialized_data['body'] - host = self._get_host_oapg('add_pet', _servers, host_index) + host = self._get_host('add_pet', _servers, host_index) response = self.api_client.call_api( resource_path=used_path, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet/post/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/pet/post/__init__.pyi index 9a9a6f2f4c8..06953cf1ce8 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet/post/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet/post/__init__.pyi @@ -128,7 +128,7 @@ class BaseApi(api_client.Api): _fields = serialized_data['fields'] elif 'body' in serialized_data: _body = serialized_data['body'] - host = self._get_host_oapg('add_pet', _servers, host_index) + host = self._get_host('add_pet', _servers, host_index) response = self.api_client.call_api( resource_path=used_path, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet/put/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/pet/put/__init__.py index 6f0c6260dd2..baab5e4077e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet/put/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet/put/__init__.py @@ -151,7 +151,7 @@ class instances _fields = serialized_data['fields'] elif 'body' in serialized_data: _body = serialized_data['body'] - host = self._get_host_oapg('update_pet', _servers, host_index) + host = self._get_host('update_pet', _servers, host_index) response = self.api_client.call_api( resource_path=used_path, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet/put/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/pet/put/__init__.pyi index c7ff6b1bd16..bab3a967ecf 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet/put/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet/put/__init__.pyi @@ -119,7 +119,7 @@ class BaseApi(api_client.Api): _fields = serialized_data['fields'] elif 'body' in serialized_data: _body = serialized_data['body'] - host = self._get_host_oapg('update_pet', _servers, host_index) + host = self._get_host('update_pet', _servers, host_index) response = self.api_client.call_api( resource_path=used_path, From 6a37963cc1b9233884c0285f602f9bb4dec1b054 Mon Sep 17 00:00:00 2001 From: Justin Black Date: Thu, 29 Dec 2022 22:06:16 -0800 Subject: [PATCH 04/29] _{{operationId}}_oapg -> _{{operationId}} --- .../src/main/resources/python/endpoint.handlebars | 12 ++++++------ .../python/endpoint_args_baseapi_wrapper.handlebars | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/endpoint.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/endpoint.handlebars index cb9ea1e9fdf..13daf3fc4c6 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/endpoint.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/endpoint.handlebars @@ -157,19 +157,19 @@ class BaseApi(api_client.Api): {{else}} @typing.overload - def _{{operationId}}_oapg( + def _{{operationId}}( {{> endpoint_args isOverload=true skipDeserialization="False" contentType="null"}} {{/if}} @typing.overload - def _{{operationId}}_oapg( + def _{{operationId}}( {{> endpoint_args isOverload=true skipDeserialization="True" contentType="null"}} @typing.overload - def _{{operationId}}_oapg( + def _{{operationId}}( {{> endpoint_args isOverload=true skipDeserialization="null" contentType="null"}} - def _{{operationId}}_oapg( + def _{{operationId}}( {{> endpoint_args isOverload=false skipDeserialization="null" contentType="null"}} """ {{#if summary}} @@ -340,7 +340,7 @@ class {{operationIdCamelCase}}(BaseApi): def {{operationId}}( {{> endpoint_args isOverload=false skipDeserialization="null" contentType="null"}} - return self._{{operationId}}_oapg( + return self._{{operationId}}( {{> endpoint_args_passed }} ) @@ -371,7 +371,7 @@ class ApiFor{{httpMethod}}(BaseApi): def {{httpMethod}}( {{> endpoint_args isOverload=false skipDeserialization="null" contentType="null"}} - return self._{{operationId}}_oapg( + return self._{{operationId}}( {{> endpoint_args_passed }} ) diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/endpoint_args_baseapi_wrapper.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/endpoint_args_baseapi_wrapper.handlebars index cd73d02e9c8..6660095ca66 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/endpoint_args_baseapi_wrapper.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/endpoint_args_baseapi_wrapper.handlebars @@ -1,5 +1,5 @@ @typing.overload {{#with this}} -def _{{operationId}}_oapg( +def _{{operationId}}( {{> endpoint_args isOverload=true skipDeserialization="False" contentType=contentType}} {{/with}} \ No newline at end of file From ef966d0652c40b168dc51ab04001109766f8c697 Mon Sep 17 00:00:00 2001 From: Justin Black Date: Thu, 29 Dec 2022 22:07:39 -0800 Subject: [PATCH 05/29] _raise_validation_error_message_oapg -> _raise_validation_error_message --- .../main/resources/python/schemas.handlebars | 30 +++++++++---------- .../python/unit_test_api/schemas.py | 30 +++++++++---------- .../python/this_package/schemas.py | 30 +++++++++---------- .../petstore/python/petstore_api/schemas.py | 30 +++++++++---------- 4 files changed, 60 insertions(+), 60 deletions(-) diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars index b637e7a3507..afc8826f131 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars @@ -323,7 +323,7 @@ def validate_enum( return None -def _raise_validation_error_message_oapg(value, constraint_msg, constraint_value, path_to_item, additional_txt=""): +def _raise_validation_error_message(value, constraint_msg, constraint_value, path_to_item, additional_txt=""): raise exceptions.ApiValueError( "Invalid value `{value}`, {constraint_msg} `{constraint_value}`{additional_txt} at {path_to_item}".format( value=value, @@ -347,7 +347,7 @@ def validate_unique_items( if not unique_items_value or not isinstance(arg, tuple): return None if len(arg) > len(set(arg)): - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="duplicate items were found, and the tuple must not contain duplicates because", constraint_value='unique_items==True', @@ -368,7 +368,7 @@ def validate_min_items( if not isinstance(arg, tuple): return None if len(arg) < min_items: - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="number of items must be greater than or equal to", constraint_value=min_items, @@ -389,7 +389,7 @@ def validate_max_items( if not isinstance(arg, tuple): return None if len(arg) > max_items: - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="number of items must be less than or equal to", constraint_value=max_items, @@ -410,7 +410,7 @@ def validate_min_properties( if not isinstance(arg, frozendict.frozendict): return None if len(arg) < min_properties: - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="number of properties must be greater than or equal to", constraint_value=min_properties, @@ -431,7 +431,7 @@ def validate_max_properties( if not isinstance(arg, frozendict.frozendict): return None if len(arg) > max_properties: - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="number of properties must be less than or equal to", constraint_value=max_properties, @@ -452,7 +452,7 @@ def validate_min_length( if not isinstance(arg, str): return None if len(arg) < min_length: - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="length must be greater than or equal to", constraint_value=min_length, @@ -473,7 +473,7 @@ def validate_max_length( if not isinstance(arg, str): return None if len(arg) > max_length: - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="length must be less than or equal to", constraint_value=max_length, @@ -494,7 +494,7 @@ def validate_inclusive_minimum( if not isinstance(arg, decimal.Decimal): return None if arg < inclusive_minimum: - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="must be a value greater than or equal to", constraint_value=inclusive_minimum, @@ -515,7 +515,7 @@ def validate_exclusive_minimum( if not isinstance(arg, decimal.Decimal): return None if arg <= exclusive_minimum: - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="must be a value greater than", constraint_value=exclusive_minimum, @@ -536,7 +536,7 @@ def validate_inclusive_maximum( if not isinstance(arg, decimal.Decimal): return None if arg > inclusive_maximum: - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="must be a value less than or equal to", constraint_value=inclusive_maximum, @@ -557,7 +557,7 @@ def validate_exclusive_maximum( if not isinstance(arg, decimal.Decimal): return None if arg >= exclusive_minimum: - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="must be a value less than", constraint_value=exclusive_maximum, @@ -578,7 +578,7 @@ def validate_multiple_of( return None if (not (float(arg) / multiple_of).is_integer()): # Note 'multipleOf' will be as good as the floating point arithmetic. - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="value must be a multiple of", constraint_value=multiple_of, @@ -603,14 +603,14 @@ def validate_regex( if flags != 0: # Don't print the regex flags if the flags are not # specified in the OAS document. - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="must match regular expression", constraint_value=regex_dict['pattern'], path_to_item=validation_metadata.path_to_item, additional_txt=" with flags=`{}`".format(flags) ) - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="must match regular expression", constraint_value=regex_dict['pattern'], diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py index c93f75feb4f..9fef789e867 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py @@ -324,7 +324,7 @@ def validate_enum( return None -def _raise_validation_error_message_oapg(value, constraint_msg, constraint_value, path_to_item, additional_txt=""): +def _raise_validation_error_message(value, constraint_msg, constraint_value, path_to_item, additional_txt=""): raise exceptions.ApiValueError( "Invalid value `{value}`, {constraint_msg} `{constraint_value}`{additional_txt} at {path_to_item}".format( value=value, @@ -345,7 +345,7 @@ def validate_unique_items( if not unique_items_value or not isinstance(arg, tuple): return None if len(arg) > len(set(arg)): - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="duplicate items were found, and the tuple must not contain duplicates because", constraint_value='unique_items==True', @@ -363,7 +363,7 @@ def validate_min_items( if not isinstance(arg, tuple): return None if len(arg) < min_items: - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="number of items must be greater than or equal to", constraint_value=min_items, @@ -381,7 +381,7 @@ def validate_max_items( if not isinstance(arg, tuple): return None if len(arg) > max_items: - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="number of items must be less than or equal to", constraint_value=max_items, @@ -399,7 +399,7 @@ def validate_min_properties( if not isinstance(arg, frozendict.frozendict): return None if len(arg) < min_properties: - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="number of properties must be greater than or equal to", constraint_value=min_properties, @@ -417,7 +417,7 @@ def validate_max_properties( if not isinstance(arg, frozendict.frozendict): return None if len(arg) > max_properties: - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="number of properties must be less than or equal to", constraint_value=max_properties, @@ -435,7 +435,7 @@ def validate_min_length( if not isinstance(arg, str): return None if len(arg) < min_length: - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="length must be greater than or equal to", constraint_value=min_length, @@ -453,7 +453,7 @@ def validate_max_length( if not isinstance(arg, str): return None if len(arg) > max_length: - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="length must be less than or equal to", constraint_value=max_length, @@ -471,7 +471,7 @@ def validate_inclusive_minimum( if not isinstance(arg, decimal.Decimal): return None if arg < inclusive_minimum: - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="must be a value greater than or equal to", constraint_value=inclusive_minimum, @@ -489,7 +489,7 @@ def validate_exclusive_minimum( if not isinstance(arg, decimal.Decimal): return None if arg <= exclusive_minimum: - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="must be a value greater than", constraint_value=exclusive_minimum, @@ -507,7 +507,7 @@ def validate_inclusive_maximum( if not isinstance(arg, decimal.Decimal): return None if arg > inclusive_maximum: - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="must be a value less than or equal to", constraint_value=inclusive_maximum, @@ -525,7 +525,7 @@ def validate_exclusive_maximum( if not isinstance(arg, decimal.Decimal): return None if arg >= exclusive_minimum: - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="must be a value less than", constraint_value=exclusive_maximum, @@ -543,7 +543,7 @@ def validate_multiple_of( return None if (not (float(arg) / multiple_of).is_integer()): # Note 'multipleOf' will be as good as the floating point arithmetic. - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="value must be a multiple of", constraint_value=multiple_of, @@ -565,14 +565,14 @@ def validate_regex( if flags != 0: # Don't print the regex flags if the flags are not # specified in the OAS document. - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="must match regular expression", constraint_value=regex_dict['pattern'], path_to_item=validation_metadata.path_to_item, additional_txt=" with flags=`{}`".format(flags) ) - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="must match regular expression", constraint_value=regex_dict['pattern'], diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py index 6fafcd3903e..ea719c2b160 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py @@ -326,7 +326,7 @@ def validate_enum( return None -def _raise_validation_error_message_oapg(value, constraint_msg, constraint_value, path_to_item, additional_txt=""): +def _raise_validation_error_message(value, constraint_msg, constraint_value, path_to_item, additional_txt=""): raise exceptions.ApiValueError( "Invalid value `{value}`, {constraint_msg} `{constraint_value}`{additional_txt} at {path_to_item}".format( value=value, @@ -348,7 +348,7 @@ def validate_unique_items( if not unique_items_value or not isinstance(arg, tuple): return None if len(arg) > len(set(arg)): - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="duplicate items were found, and the tuple must not contain duplicates because", constraint_value='unique_items==True', @@ -367,7 +367,7 @@ def validate_min_items( if not isinstance(arg, tuple): return None if len(arg) < min_items: - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="number of items must be greater than or equal to", constraint_value=min_items, @@ -386,7 +386,7 @@ def validate_max_items( if not isinstance(arg, tuple): return None if len(arg) > max_items: - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="number of items must be less than or equal to", constraint_value=max_items, @@ -405,7 +405,7 @@ def validate_min_properties( if not isinstance(arg, frozendict.frozendict): return None if len(arg) < min_properties: - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="number of properties must be greater than or equal to", constraint_value=min_properties, @@ -424,7 +424,7 @@ def validate_max_properties( if not isinstance(arg, frozendict.frozendict): return None if len(arg) > max_properties: - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="number of properties must be less than or equal to", constraint_value=max_properties, @@ -443,7 +443,7 @@ def validate_min_length( if not isinstance(arg, str): return None if len(arg) < min_length: - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="length must be greater than or equal to", constraint_value=min_length, @@ -462,7 +462,7 @@ def validate_max_length( if not isinstance(arg, str): return None if len(arg) > max_length: - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="length must be less than or equal to", constraint_value=max_length, @@ -481,7 +481,7 @@ def validate_inclusive_minimum( if not isinstance(arg, decimal.Decimal): return None if arg < inclusive_minimum: - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="must be a value greater than or equal to", constraint_value=inclusive_minimum, @@ -500,7 +500,7 @@ def validate_exclusive_minimum( if not isinstance(arg, decimal.Decimal): return None if arg <= exclusive_minimum: - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="must be a value greater than", constraint_value=exclusive_minimum, @@ -519,7 +519,7 @@ def validate_inclusive_maximum( if not isinstance(arg, decimal.Decimal): return None if arg > inclusive_maximum: - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="must be a value less than or equal to", constraint_value=inclusive_maximum, @@ -538,7 +538,7 @@ def validate_exclusive_maximum( if not isinstance(arg, decimal.Decimal): return None if arg >= exclusive_minimum: - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="must be a value less than", constraint_value=exclusive_maximum, @@ -557,7 +557,7 @@ def validate_multiple_of( return None if (not (float(arg) / multiple_of).is_integer()): # Note 'multipleOf' will be as good as the floating point arithmetic. - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="value must be a multiple of", constraint_value=multiple_of, @@ -580,14 +580,14 @@ def validate_regex( if flags != 0: # Don't print the regex flags if the flags are not # specified in the OAS document. - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="must match regular expression", constraint_value=regex_dict['pattern'], path_to_item=validation_metadata.path_to_item, additional_txt=" with flags=`{}`".format(flags) ) - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="must match regular expression", constraint_value=regex_dict['pattern'], diff --git a/samples/openapi3/client/petstore/python/petstore_api/schemas.py b/samples/openapi3/client/petstore/python/petstore_api/schemas.py index 8475d112154..8342290e7ff 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/schemas.py +++ b/samples/openapi3/client/petstore/python/petstore_api/schemas.py @@ -324,7 +324,7 @@ def validate_enum( return None -def _raise_validation_error_message_oapg(value, constraint_msg, constraint_value, path_to_item, additional_txt=""): +def _raise_validation_error_message(value, constraint_msg, constraint_value, path_to_item, additional_txt=""): raise exceptions.ApiValueError( "Invalid value `{value}`, {constraint_msg} `{constraint_value}`{additional_txt} at {path_to_item}".format( value=value, @@ -345,7 +345,7 @@ def validate_unique_items( if not unique_items_value or not isinstance(arg, tuple): return None if len(arg) > len(set(arg)): - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="duplicate items were found, and the tuple must not contain duplicates because", constraint_value='unique_items==True', @@ -363,7 +363,7 @@ def validate_min_items( if not isinstance(arg, tuple): return None if len(arg) < min_items: - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="number of items must be greater than or equal to", constraint_value=min_items, @@ -381,7 +381,7 @@ def validate_max_items( if not isinstance(arg, tuple): return None if len(arg) > max_items: - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="number of items must be less than or equal to", constraint_value=max_items, @@ -399,7 +399,7 @@ def validate_min_properties( if not isinstance(arg, frozendict.frozendict): return None if len(arg) < min_properties: - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="number of properties must be greater than or equal to", constraint_value=min_properties, @@ -417,7 +417,7 @@ def validate_max_properties( if not isinstance(arg, frozendict.frozendict): return None if len(arg) > max_properties: - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="number of properties must be less than or equal to", constraint_value=max_properties, @@ -435,7 +435,7 @@ def validate_min_length( if not isinstance(arg, str): return None if len(arg) < min_length: - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="length must be greater than or equal to", constraint_value=min_length, @@ -453,7 +453,7 @@ def validate_max_length( if not isinstance(arg, str): return None if len(arg) > max_length: - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="length must be less than or equal to", constraint_value=max_length, @@ -471,7 +471,7 @@ def validate_inclusive_minimum( if not isinstance(arg, decimal.Decimal): return None if arg < inclusive_minimum: - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="must be a value greater than or equal to", constraint_value=inclusive_minimum, @@ -489,7 +489,7 @@ def validate_exclusive_minimum( if not isinstance(arg, decimal.Decimal): return None if arg <= exclusive_minimum: - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="must be a value greater than", constraint_value=exclusive_minimum, @@ -507,7 +507,7 @@ def validate_inclusive_maximum( if not isinstance(arg, decimal.Decimal): return None if arg > inclusive_maximum: - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="must be a value less than or equal to", constraint_value=inclusive_maximum, @@ -525,7 +525,7 @@ def validate_exclusive_maximum( if not isinstance(arg, decimal.Decimal): return None if arg >= exclusive_minimum: - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="must be a value less than", constraint_value=exclusive_maximum, @@ -543,7 +543,7 @@ def validate_multiple_of( return None if (not (float(arg) / multiple_of).is_integer()): # Note 'multipleOf' will be as good as the floating point arithmetic. - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="value must be a multiple of", constraint_value=multiple_of, @@ -565,14 +565,14 @@ def validate_regex( if flags != 0: # Don't print the regex flags if the flags are not # specified in the OAS document. - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="must match regular expression", constraint_value=regex_dict['pattern'], path_to_item=validation_metadata.path_to_item, additional_txt=" with flags=`{}`".format(flags) ) - _raise_validation_error_message_oapg( + _raise_validation_error_message( value=arg, constraint_msg="must match regular expression", constraint_value=regex_dict['pattern'], From 81e68309e8e2e1ce81c2d554c2dcdd03ca19e7b1 Mon Sep 17 00:00:00 2001 From: Justin Black Date: Thu, 29 Dec 2022 22:09:13 -0800 Subject: [PATCH 06/29] is_true_oapg -> is_true_ --- .../src/main/resources/python/README.handlebars | 2 +- .../src/main/resources/python/schemas.handlebars | 2 +- samples/openapi3/client/3_0_3_unit_test/python/README.md | 2 +- .../client/3_0_3_unit_test/python/unit_test_api/schemas.py | 2 +- .../python/README.md | 2 +- .../python/this_package/schemas.py | 2 +- samples/openapi3/client/petstore/python/README.md | 2 +- .../openapi3/client/petstore/python/petstore_api/schemas.py | 2 +- .../client/petstore/python/tests_manual/test_boolean_enum.py | 2 +- .../client/petstore/python/tests_manual/test_composed_bool.py | 4 ++-- 10 files changed, 11 insertions(+), 11 deletions(-) diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/README.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/README.handlebars index 06e5a4c3984..92f856bb90f 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/README.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/README.handlebars @@ -35,7 +35,7 @@ Python {{generatorLanguageVersion}} - ingested None will subclass NoneClass - ingested True will subclass BoolClass - ingested False will subclass BoolClass - - So if you need to check is True/False/None, instead use instance.is_true_oapg()/.is_false_oapg()/.is_none_oapg() + - So if you need to check is True/False/None, instead use instance.is_true_()/.is_false_oapg()/.is_none_oapg() 5. All validated class instances are immutable except for ones based on io.File - This is because if properties were changed after validation, that validation would no longer apply - So no changing values or property values after a class has been instantiated diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars index afc8826f131..79ebd64ed7d 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars @@ -1840,7 +1840,7 @@ else: class BoolBase: - def is_true_oapg(self) -> bool: + def is_true_(self) -> bool: """ A replacement for x is True True if the instance is a BoolClass True Singleton diff --git a/samples/openapi3/client/3_0_3_unit_test/python/README.md b/samples/openapi3/client/3_0_3_unit_test/python/README.md index 38b57c81f64..dea5b9b98a5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/README.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/README.md @@ -27,7 +27,7 @@ Python >=3.7 - ingested None will subclass NoneClass - ingested True will subclass BoolClass - ingested False will subclass BoolClass - - So if you need to check is True/False/None, instead use instance.is_true_oapg()/.is_false_oapg()/.is_none_oapg() + - So if you need to check is True/False/None, instead use instance.is_true_()/.is_false_oapg()/.is_none_oapg() 5. All validated class instances are immutable except for ones based on io.File - This is because if properties were changed after validation, that validation would no longer apply - So no changing values or property values after a class has been instantiated diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py index 9fef789e867..483fd39ee15 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py @@ -1732,7 +1732,7 @@ class NoneFrozenDictTupleStrDecimalBoolFileBytesMixin: class BoolBase: - def is_true_oapg(self) -> bool: + def is_true_(self) -> bool: """ A replacement for x is True True if the instance is a BoolClass True Singleton diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/README.md b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/README.md index 48f4adb809f..67e65bc7591 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/README.md +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/README.md @@ -27,7 +27,7 @@ Python >=3.7 - ingested None will subclass NoneClass - ingested True will subclass BoolClass - ingested False will subclass BoolClass - - So if you need to check is True/False/None, instead use instance.is_true_oapg()/.is_false_oapg()/.is_none_oapg() + - So if you need to check is True/False/None, instead use instance.is_true_()/.is_false_oapg()/.is_none_oapg() 5. All validated class instances are immutable except for ones based on io.File - This is because if properties were changed after validation, that validation would no longer apply - So no changing values or property values after a class has been instantiated diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py index ea719c2b160..54dad288bcb 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py @@ -1808,7 +1808,7 @@ class NoneFrozenDictTupleStrDecimalBoolFileBytesMixin: class BoolBase: - def is_true_oapg(self) -> bool: + def is_true_(self) -> bool: """ A replacement for x is True True if the instance is a BoolClass True Singleton diff --git a/samples/openapi3/client/petstore/python/README.md b/samples/openapi3/client/petstore/python/README.md index e518d3a46be..e177df39fcf 100644 --- a/samples/openapi3/client/petstore/python/README.md +++ b/samples/openapi3/client/petstore/python/README.md @@ -27,7 +27,7 @@ Python >=3.7 - ingested None will subclass NoneClass - ingested True will subclass BoolClass - ingested False will subclass BoolClass - - So if you need to check is True/False/None, instead use instance.is_true_oapg()/.is_false_oapg()/.is_none_oapg() + - So if you need to check is True/False/None, instead use instance.is_true_()/.is_false_oapg()/.is_none_oapg() 5. All validated class instances are immutable except for ones based on io.File - This is because if properties were changed after validation, that validation would no longer apply - So no changing values or property values after a class has been instantiated diff --git a/samples/openapi3/client/petstore/python/petstore_api/schemas.py b/samples/openapi3/client/petstore/python/petstore_api/schemas.py index 8342290e7ff..fc9f08986ca 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/schemas.py +++ b/samples/openapi3/client/petstore/python/petstore_api/schemas.py @@ -1732,7 +1732,7 @@ class NoneFrozenDictTupleStrDecimalBoolFileBytesMixin: class BoolBase: - def is_true_oapg(self) -> bool: + def is_true_(self) -> bool: """ A replacement for x is True True if the instance is a BoolClass True Singleton diff --git a/samples/openapi3/client/petstore/python/tests_manual/test_boolean_enum.py b/samples/openapi3/client/petstore/python/tests_manual/test_boolean_enum.py index d376b4cbd5e..01018ad387d 100644 --- a/samples/openapi3/client/petstore/python/tests_manual/test_boolean_enum.py +++ b/samples/openapi3/client/petstore/python/tests_manual/test_boolean_enum.py @@ -29,7 +29,7 @@ def test_BooleanEnum(self): """Test BooleanEnum""" model = BooleanEnum(True) assert model is BooleanEnum.TRUE - assert model.is_true_oapg() + assert model.is_true_() assert model.is_false_oapg() is False assert repr(model) == '' with self.assertRaises(petstore_api.ApiValueError): diff --git a/samples/openapi3/client/petstore/python/tests_manual/test_composed_bool.py b/samples/openapi3/client/petstore/python/tests_manual/test_composed_bool.py index f6216d5254f..c17f7e4e738 100644 --- a/samples/openapi3/client/petstore/python/tests_manual/test_composed_bool.py +++ b/samples/openapi3/client/petstore/python/tests_manual/test_composed_bool.py @@ -33,11 +33,11 @@ def test_ComposedBool(self): model = ComposedBool(value) if value is True: self.assertTrue(bool(model)) - self.assertTrue(model.is_true_oapg()) + self.assertTrue(model.is_true_()) self.assertFalse(model.is_false_oapg()) else: self.assertTrue(model.is_false_oapg()) - self.assertFalse(model.is_true_oapg()) + self.assertFalse(model.is_true_()) self.assertFalse(bool(model)) continue with self.assertRaises(petstore_api.ApiTypeError): From 2628505f993e4a8dc76abbe15e6a546728fa2378 Mon Sep 17 00:00:00 2001 From: Justin Black Date: Thu, 29 Dec 2022 22:09:47 -0800 Subject: [PATCH 07/29] is_false_oapg -> is_false_ --- .../src/main/resources/python/README.handlebars | 2 +- .../src/main/resources/python/schemas.handlebars | 2 +- samples/openapi3/client/3_0_3_unit_test/python/README.md | 2 +- .../client/3_0_3_unit_test/python/unit_test_api/schemas.py | 2 +- .../python/README.md | 2 +- .../python/this_package/schemas.py | 2 +- samples/openapi3/client/petstore/python/README.md | 2 +- .../openapi3/client/petstore/python/petstore_api/schemas.py | 2 +- .../client/petstore/python/tests_manual/test_boolean_enum.py | 2 +- .../client/petstore/python/tests_manual/test_composed_bool.py | 4 ++-- 10 files changed, 11 insertions(+), 11 deletions(-) diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/README.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/README.handlebars index 92f856bb90f..1eede21ab26 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/README.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/README.handlebars @@ -35,7 +35,7 @@ Python {{generatorLanguageVersion}} - ingested None will subclass NoneClass - ingested True will subclass BoolClass - ingested False will subclass BoolClass - - So if you need to check is True/False/None, instead use instance.is_true_()/.is_false_oapg()/.is_none_oapg() + - So if you need to check is True/False/None, instead use instance.is_true_()/.is_false_()/.is_none_oapg() 5. All validated class instances are immutable except for ones based on io.File - This is because if properties were changed after validation, that validation would no longer apply - So no changing values or property values after a class has been instantiated diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars index 79ebd64ed7d..285001bd2c5 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars @@ -1849,7 +1849,7 @@ class BoolBase: return False return bool(self) - def is_false_oapg(self) -> bool: + def is_false_(self) -> bool: """ A replacement for x is False True if the instance is a BoolClass False Singleton diff --git a/samples/openapi3/client/3_0_3_unit_test/python/README.md b/samples/openapi3/client/3_0_3_unit_test/python/README.md index dea5b9b98a5..2e281fe513d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/README.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/README.md @@ -27,7 +27,7 @@ Python >=3.7 - ingested None will subclass NoneClass - ingested True will subclass BoolClass - ingested False will subclass BoolClass - - So if you need to check is True/False/None, instead use instance.is_true_()/.is_false_oapg()/.is_none_oapg() + - So if you need to check is True/False/None, instead use instance.is_true_()/.is_false_()/.is_none_oapg() 5. All validated class instances are immutable except for ones based on io.File - This is because if properties were changed after validation, that validation would no longer apply - So no changing values or property values after a class has been instantiated diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py index 483fd39ee15..51d02d5b02f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py @@ -1741,7 +1741,7 @@ def is_true_(self) -> bool: return False return bool(self) - def is_false_oapg(self) -> bool: + def is_false_(self) -> bool: """ A replacement for x is False True if the instance is a BoolClass False Singleton diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/README.md b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/README.md index 67e65bc7591..6f4e4c7b81b 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/README.md +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/README.md @@ -27,7 +27,7 @@ Python >=3.7 - ingested None will subclass NoneClass - ingested True will subclass BoolClass - ingested False will subclass BoolClass - - So if you need to check is True/False/None, instead use instance.is_true_()/.is_false_oapg()/.is_none_oapg() + - So if you need to check is True/False/None, instead use instance.is_true_()/.is_false_()/.is_none_oapg() 5. All validated class instances are immutable except for ones based on io.File - This is because if properties were changed after validation, that validation would no longer apply - So no changing values or property values after a class has been instantiated diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py index 54dad288bcb..9d0094d98e2 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py @@ -1817,7 +1817,7 @@ def is_true_(self) -> bool: return False return bool(self) - def is_false_oapg(self) -> bool: + def is_false_(self) -> bool: """ A replacement for x is False True if the instance is a BoolClass False Singleton diff --git a/samples/openapi3/client/petstore/python/README.md b/samples/openapi3/client/petstore/python/README.md index e177df39fcf..de20176aab9 100644 --- a/samples/openapi3/client/petstore/python/README.md +++ b/samples/openapi3/client/petstore/python/README.md @@ -27,7 +27,7 @@ Python >=3.7 - ingested None will subclass NoneClass - ingested True will subclass BoolClass - ingested False will subclass BoolClass - - So if you need to check is True/False/None, instead use instance.is_true_()/.is_false_oapg()/.is_none_oapg() + - So if you need to check is True/False/None, instead use instance.is_true_()/.is_false_()/.is_none_oapg() 5. All validated class instances are immutable except for ones based on io.File - This is because if properties were changed after validation, that validation would no longer apply - So no changing values or property values after a class has been instantiated diff --git a/samples/openapi3/client/petstore/python/petstore_api/schemas.py b/samples/openapi3/client/petstore/python/petstore_api/schemas.py index fc9f08986ca..784192dc6be 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/schemas.py +++ b/samples/openapi3/client/petstore/python/petstore_api/schemas.py @@ -1741,7 +1741,7 @@ def is_true_(self) -> bool: return False return bool(self) - def is_false_oapg(self) -> bool: + def is_false_(self) -> bool: """ A replacement for x is False True if the instance is a BoolClass False Singleton diff --git a/samples/openapi3/client/petstore/python/tests_manual/test_boolean_enum.py b/samples/openapi3/client/petstore/python/tests_manual/test_boolean_enum.py index 01018ad387d..91de07ee449 100644 --- a/samples/openapi3/client/petstore/python/tests_manual/test_boolean_enum.py +++ b/samples/openapi3/client/petstore/python/tests_manual/test_boolean_enum.py @@ -30,7 +30,7 @@ def test_BooleanEnum(self): model = BooleanEnum(True) assert model is BooleanEnum.TRUE assert model.is_true_() - assert model.is_false_oapg() is False + assert model.is_false_() is False assert repr(model) == '' with self.assertRaises(petstore_api.ApiValueError): BooleanEnum(False) diff --git a/samples/openapi3/client/petstore/python/tests_manual/test_composed_bool.py b/samples/openapi3/client/petstore/python/tests_manual/test_composed_bool.py index c17f7e4e738..4a3761dca04 100644 --- a/samples/openapi3/client/petstore/python/tests_manual/test_composed_bool.py +++ b/samples/openapi3/client/petstore/python/tests_manual/test_composed_bool.py @@ -34,9 +34,9 @@ def test_ComposedBool(self): if value is True: self.assertTrue(bool(model)) self.assertTrue(model.is_true_()) - self.assertFalse(model.is_false_oapg()) + self.assertFalse(model.is_false_()) else: - self.assertTrue(model.is_false_oapg()) + self.assertTrue(model.is_false_()) self.assertFalse(model.is_true_()) self.assertFalse(bool(model)) continue From 2b614e245a3bc083f3aad5ba3419ad9e844457cc Mon Sep 17 00:00:00 2001 From: Justin Black Date: Thu, 29 Dec 2022 22:10:23 -0800 Subject: [PATCH 08/29] is_none_oapg -> is_none_ --- .../src/main/resources/python/README.handlebars | 2 +- .../src/main/resources/python/schemas.handlebars | 2 +- samples/openapi3/client/3_0_3_unit_test/python/README.md | 2 +- .../client/3_0_3_unit_test/python/unit_test_api/schemas.py | 2 +- .../python/README.md | 2 +- .../python/this_package/schemas.py | 2 +- samples/openapi3/client/petstore/python/README.md | 2 +- .../openapi3/client/petstore/python/petstore_api/schemas.py | 2 +- .../petstore/python/tests_manual/test_any_type_schema.py | 2 +- .../tests_manual/test_composed_one_of_different_types.py | 4 ++-- .../client/petstore/python/tests_manual/test_fake_api.py | 2 +- .../client/petstore/python/tests_manual/test_format_test.py | 2 +- .../client/petstore/python/tests_manual/test_fruit.py | 4 ++-- .../client/petstore/python/tests_manual/test_fruit_req.py | 2 +- .../petstore/python/tests_manual/test_nullable_string.py | 4 ++-- 15 files changed, 18 insertions(+), 18 deletions(-) diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/README.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/README.handlebars index 1eede21ab26..99521e93f4e 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/README.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/README.handlebars @@ -35,7 +35,7 @@ Python {{generatorLanguageVersion}} - ingested None will subclass NoneClass - ingested True will subclass BoolClass - ingested False will subclass BoolClass - - So if you need to check is True/False/None, instead use instance.is_true_()/.is_false_()/.is_none_oapg() + - So if you need to check is True/False/None, instead use instance.is_true_()/.is_false_()/.is_none_() 5. All validated class instances are immutable except for ones based on io.File - This is because if properties were changed after validation, that validation would no longer apply - So no changing values or property values after a class has been instantiated diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars index 285001bd2c5..c17be20c82e 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars @@ -1860,7 +1860,7 @@ class BoolBase: class NoneBase: - def is_none_oapg(self) -> bool: + def is_none_(self) -> bool: """ A replacement for x is None True if the instance is a NoneClass None Singleton diff --git a/samples/openapi3/client/3_0_3_unit_test/python/README.md b/samples/openapi3/client/3_0_3_unit_test/python/README.md index 2e281fe513d..dea6086d137 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/README.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/README.md @@ -27,7 +27,7 @@ Python >=3.7 - ingested None will subclass NoneClass - ingested True will subclass BoolClass - ingested False will subclass BoolClass - - So if you need to check is True/False/None, instead use instance.is_true_()/.is_false_()/.is_none_oapg() + - So if you need to check is True/False/None, instead use instance.is_true_()/.is_false_()/.is_none_() 5. All validated class instances are immutable except for ones based on io.File - This is because if properties were changed after validation, that validation would no longer apply - So no changing values or property values after a class has been instantiated diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py index 51d02d5b02f..98797aa8df2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py @@ -1752,7 +1752,7 @@ def is_false_(self) -> bool: class NoneBase: - def is_none_oapg(self) -> bool: + def is_none_(self) -> bool: """ A replacement for x is None True if the instance is a NoneClass None Singleton diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/README.md b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/README.md index 6f4e4c7b81b..070aced710a 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/README.md +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/README.md @@ -27,7 +27,7 @@ Python >=3.7 - ingested None will subclass NoneClass - ingested True will subclass BoolClass - ingested False will subclass BoolClass - - So if you need to check is True/False/None, instead use instance.is_true_()/.is_false_()/.is_none_oapg() + - So if you need to check is True/False/None, instead use instance.is_true_()/.is_false_()/.is_none_() 5. All validated class instances are immutable except for ones based on io.File - This is because if properties were changed after validation, that validation would no longer apply - So no changing values or property values after a class has been instantiated diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py index 9d0094d98e2..e55d4888d0c 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py @@ -1828,7 +1828,7 @@ def is_false_(self) -> bool: class NoneBase: - def is_none_oapg(self) -> bool: + def is_none_(self) -> bool: """ A replacement for x is None True if the instance is a NoneClass None Singleton diff --git a/samples/openapi3/client/petstore/python/README.md b/samples/openapi3/client/petstore/python/README.md index de20176aab9..aad672c7504 100644 --- a/samples/openapi3/client/petstore/python/README.md +++ b/samples/openapi3/client/petstore/python/README.md @@ -27,7 +27,7 @@ Python >=3.7 - ingested None will subclass NoneClass - ingested True will subclass BoolClass - ingested False will subclass BoolClass - - So if you need to check is True/False/None, instead use instance.is_true_()/.is_false_()/.is_none_oapg() + - So if you need to check is True/False/None, instead use instance.is_true_()/.is_false_()/.is_none_() 5. All validated class instances are immutable except for ones based on io.File - This is because if properties were changed after validation, that validation would no longer apply - So no changing values or property values after a class has been instantiated diff --git a/samples/openapi3/client/petstore/python/petstore_api/schemas.py b/samples/openapi3/client/petstore/python/petstore_api/schemas.py index 784192dc6be..7c9cdd46078 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/schemas.py +++ b/samples/openapi3/client/petstore/python/petstore_api/schemas.py @@ -1752,7 +1752,7 @@ def is_false_(self) -> bool: class NoneBase: - def is_none_oapg(self) -> bool: + def is_none_(self) -> bool: """ A replacement for x is None True if the instance is a NoneClass None Singleton diff --git a/samples/openapi3/client/petstore/python/tests_manual/test_any_type_schema.py b/samples/openapi3/client/petstore/python/tests_manual/test_any_type_schema.py index ffe15920165..162bb80853d 100644 --- a/samples/openapi3/client/petstore/python/tests_manual/test_any_type_schema.py +++ b/samples/openapi3/client/petstore/python/tests_manual/test_any_type_schema.py @@ -166,7 +166,7 @@ class AllOf: ] m = Model(None) - self.assertTrue(m.is_none_oapg()) + self.assertTrue(m.is_none_()) assert isinstance(m, Model) assert isinstance(m, AnyTypeSchema) assert isinstance(m, NoneSchema) diff --git a/samples/openapi3/client/petstore/python/tests_manual/test_composed_one_of_different_types.py b/samples/openapi3/client/petstore/python/tests_manual/test_composed_one_of_different_types.py index 39aeb9a002f..d8418762ad1 100644 --- a/samples/openapi3/client/petstore/python/tests_manual/test_composed_one_of_different_types.py +++ b/samples/openapi3/client/petstore/python/tests_manual/test_composed_one_of_different_types.py @@ -52,11 +52,11 @@ def test_ComposedOneOfDifferentTypes(self): # None inst = ComposedOneOfDifferentTypes(None) - inst.is_none_oapg() + inst.is_none_() assert isinstance(inst, ComposedOneOfDifferentTypes) assert isinstance(inst, Singleton) assert isinstance(inst, NoneClass) - assert inst.is_none_oapg() is True + assert inst.is_none_() is True # date inst = ComposedOneOfDifferentTypes.from_openapi_data_('2019-01-10') diff --git a/samples/openapi3/client/petstore/python/tests_manual/test_fake_api.py b/samples/openapi3/client/petstore/python/tests_manual/test_fake_api.py index 398bd658d3e..55e367eb448 100644 --- a/samples/openapi3/client/petstore/python/tests_manual/test_fake_api.py +++ b/samples/openapi3/client/petstore/python/tests_manual/test_fake_api.py @@ -738,7 +738,7 @@ def test_json_with_charset(self): assert isinstance(api_response.body, schemas.AnyTypeSchema) assert isinstance(api_response.body, schemas.NoneClass) - assert api_response.body.is_none_oapg() + assert api_response.body.is_none_() def test_response_without_schema(self): # received response is not loaded into body because there is no deserialization schema defined diff --git a/samples/openapi3/client/petstore/python/tests_manual/test_format_test.py b/samples/openapi3/client/petstore/python/tests_manual/test_format_test.py index 9de52249e40..e94ec9bf506 100644 --- a/samples/openapi3/client/petstore/python/tests_manual/test_format_test.py +++ b/samples/openapi3/client/petstore/python/tests_manual/test_format_test.py @@ -103,7 +103,7 @@ def test_FormatTest(self): model = FormatTest(noneProp=None, **required_args) assert isinstance(model["noneProp"], Singleton) self.assertFalse(model["noneProp"]) - self.assertTrue(model["noneProp"].is_none_oapg()) + self.assertTrue(model["noneProp"].is_none_()) # binary check model = FormatTest(binary=b'123', **required_args) diff --git a/samples/openapi3/client/petstore/python/tests_manual/test_fruit.py b/samples/openapi3/client/petstore/python/tests_manual/test_fruit.py index bade7ea6e40..94a765bc229 100644 --- a/samples/openapi3/client/petstore/python/tests_manual/test_fruit.py +++ b/samples/openapi3/client/petstore/python/tests_manual/test_fruit.py @@ -105,7 +105,7 @@ def testFruitNullValue(self): fruit = apple.Apple(None) assert isinstance(fruit, schemas.Singleton) assert isinstance(fruit, apple.Apple) - assert fruit.is_none_oapg() is True + assert fruit.is_none_() is True # 'banana' is not nullable. # TODO cast this into ApiTypeError? @@ -118,7 +118,7 @@ def testFruitNullValue(self): assert isinstance(fruit, schemas.Singleton) assert isinstance(fruit, apple.Apple) assert isinstance(fruit, Fruit) - assert fruit.is_none_oapg() is True + assert fruit.is_none_() is True if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/tests_manual/test_fruit_req.py b/samples/openapi3/client/petstore/python/tests_manual/test_fruit_req.py index 3dbbe9070e5..72c5fb67b45 100644 --- a/samples/openapi3/client/petstore/python/tests_manual/test_fruit_req.py +++ b/samples/openapi3/client/petstore/python/tests_manual/test_fruit_req.py @@ -103,7 +103,7 @@ def testFruitReq(self): assert isinstance(fruit, schemas.Singleton) assert isinstance(fruit, FruitReq) assert isinstance(fruit, schemas.NoneSchema) - assert fruit.is_none_oapg() is True + assert fruit.is_none_() is True if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/tests_manual/test_nullable_string.py b/samples/openapi3/client/petstore/python/tests_manual/test_nullable_string.py index abea23f385a..c43156e960c 100644 --- a/samples/openapi3/client/petstore/python/tests_manual/test_nullable_string.py +++ b/samples/openapi3/client/petstore/python/tests_manual/test_nullable_string.py @@ -32,11 +32,11 @@ def testNullableString(self): assert isinstance(inst, Singleton) assert isinstance(inst, NullableString) assert isinstance(inst, Schema) - assert inst.is_none_oapg() is True + assert inst.is_none_() is True assert repr(inst) == '' inst = NullableString('approved') - assert inst.is_none_oapg() is False + assert inst.is_none_() is False assert isinstance(inst, NullableString) assert isinstance(inst, Schema) assert isinstance(inst, str) From 0be47b326ba87c71f7ada12fd6e8f7b3f9ccd5c5 Mon Sep 17 00:00:00 2001 From: Justin Black Date: Thu, 29 Dec 2022 22:11:08 -0800 Subject: [PATCH 09/29] as_date_oapg -> as_date_ --- .../src/main/resources/python/README.handlebars | 4 ++-- .../src/main/resources/python/schemas.handlebars | 4 ++-- .../openapi3/client/3_0_3_unit_test/python/README.md | 4 ++-- .../3_0_3_unit_test/python/unit_test_api/schemas.py | 4 ++-- .../python/README.md | 4 ++-- .../python/this_package/schemas.py | 4 ++-- samples/openapi3/client/petstore/python/README.md | 4 ++-- .../client/petstore/python/petstore_api/schemas.py | 4 ++-- .../test_composed_one_of_different_types.py | 12 ++++++------ .../tests_manual/test_date_with_validations.py | 2 +- 10 files changed, 23 insertions(+), 23 deletions(-) diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/README.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/README.handlebars index 99521e93f4e..e960c9955ca 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/README.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/README.handlebars @@ -42,11 +42,11 @@ Python {{generatorLanguageVersion}} 6. String + Number types with formats - String type data is stored as a string and if you need to access types based on its format like date, date-time, uuid, number etc then you will need to use accessor functions on the instance - - type string + format: See .as_date_oapg, .as_datetime_oapg, .as_decimal_oapg, .as_uuid_oapg + - type string + format: See .as_date_, .as_datetime_oapg, .as_decimal_oapg, .as_uuid_oapg - type number + format: See .as_float_oapg, .as_int_oapg - this was done because openapi/json-schema defines constraints. string data may be type string with no format keyword in one schema, and include a format constraint in another schema - - So if you need to access a string format based type, use as_date_oapg/as_datetime_oapg/as_decimal_oapg/as_uuid_oapg + - So if you need to access a string format based type, use as_date_/as_datetime_oapg/as_decimal_oapg/as_uuid_oapg - So if you need to access a number format based type, use as_int_oapg/as_float_oapg 7. Property access on AnyType(type unset) or object(dict) schemas - Only required keys with valid python names are properties like .someProp and have type hints diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars index c17be20c82e..5333dcaa8ed 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars @@ -1878,7 +1878,7 @@ class StrBase: return self @property - def as_date_oapg(self) -> datetime.date: + def as_date_(self) -> datetime.date: raise Exception('not implemented') @property @@ -1904,7 +1904,7 @@ class UUIDBase: class DateBase: @property @functools.lru_cache() - def as_date_oapg(self) -> datetime.date: + def as_date_(self) -> datetime.date: return DEFAULT_ISOPARSER.parse_isodate(self) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/README.md b/samples/openapi3/client/3_0_3_unit_test/python/README.md index dea6086d137..a39903c10f6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/README.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/README.md @@ -34,11 +34,11 @@ Python >=3.7 6. String + Number types with formats - String type data is stored as a string and if you need to access types based on its format like date, date-time, uuid, number etc then you will need to use accessor functions on the instance - - type string + format: See .as_date_oapg, .as_datetime_oapg, .as_decimal_oapg, .as_uuid_oapg + - type string + format: See .as_date_, .as_datetime_oapg, .as_decimal_oapg, .as_uuid_oapg - type number + format: See .as_float_oapg, .as_int_oapg - this was done because openapi/json-schema defines constraints. string data may be type string with no format keyword in one schema, and include a format constraint in another schema - - So if you need to access a string format based type, use as_date_oapg/as_datetime_oapg/as_decimal_oapg/as_uuid_oapg + - So if you need to access a string format based type, use as_date_/as_datetime_oapg/as_decimal_oapg/as_uuid_oapg - So if you need to access a number format based type, use as_int_oapg/as_float_oapg 7. Property access on AnyType(type unset) or object(dict) schemas - Only required keys with valid python names are properties like .someProp and have type hints diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py index 98797aa8df2..3551c3ff824 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py @@ -1770,7 +1770,7 @@ def as_str_oapg(self) -> str: return self @property - def as_date_oapg(self) -> datetime.date: + def as_date_(self) -> datetime.date: raise Exception('not implemented') @property @@ -1796,7 +1796,7 @@ def as_uuid_oapg(self) -> uuid.UUID: class DateBase: @property @functools.lru_cache() - def as_date_oapg(self) -> datetime.date: + def as_date_(self) -> datetime.date: return DEFAULT_ISOPARSER.parse_isodate(self) diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/README.md b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/README.md index 070aced710a..1ffd35192ea 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/README.md +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/README.md @@ -34,11 +34,11 @@ Python >=3.7 6. String + Number types with formats - String type data is stored as a string and if you need to access types based on its format like date, date-time, uuid, number etc then you will need to use accessor functions on the instance - - type string + format: See .as_date_oapg, .as_datetime_oapg, .as_decimal_oapg, .as_uuid_oapg + - type string + format: See .as_date_, .as_datetime_oapg, .as_decimal_oapg, .as_uuid_oapg - type number + format: See .as_float_oapg, .as_int_oapg - this was done because openapi/json-schema defines constraints. string data may be type string with no format keyword in one schema, and include a format constraint in another schema - - So if you need to access a string format based type, use as_date_oapg/as_datetime_oapg/as_decimal_oapg/as_uuid_oapg + - So if you need to access a string format based type, use as_date_/as_datetime_oapg/as_decimal_oapg/as_uuid_oapg - So if you need to access a number format based type, use as_int_oapg/as_float_oapg 7. Property access on AnyType(type unset) or object(dict) schemas - Only required keys with valid python names are properties like .someProp and have type hints diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py index e55d4888d0c..219c60eed4b 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py @@ -1846,7 +1846,7 @@ def as_str_oapg(self) -> str: return self @property - def as_date_oapg(self) -> datetime.date: + def as_date_(self) -> datetime.date: raise Exception('not implemented') @property @@ -1872,7 +1872,7 @@ def as_uuid_oapg(self) -> uuid.UUID: class DateBase: @property @functools.lru_cache() - def as_date_oapg(self) -> datetime.date: + def as_date_(self) -> datetime.date: return DEFAULT_ISOPARSER.parse_isodate(self) diff --git a/samples/openapi3/client/petstore/python/README.md b/samples/openapi3/client/petstore/python/README.md index aad672c7504..5c60b8ec2d7 100644 --- a/samples/openapi3/client/petstore/python/README.md +++ b/samples/openapi3/client/petstore/python/README.md @@ -34,11 +34,11 @@ Python >=3.7 6. String + Number types with formats - String type data is stored as a string and if you need to access types based on its format like date, date-time, uuid, number etc then you will need to use accessor functions on the instance - - type string + format: See .as_date_oapg, .as_datetime_oapg, .as_decimal_oapg, .as_uuid_oapg + - type string + format: See .as_date_, .as_datetime_oapg, .as_decimal_oapg, .as_uuid_oapg - type number + format: See .as_float_oapg, .as_int_oapg - this was done because openapi/json-schema defines constraints. string data may be type string with no format keyword in one schema, and include a format constraint in another schema - - So if you need to access a string format based type, use as_date_oapg/as_datetime_oapg/as_decimal_oapg/as_uuid_oapg + - So if you need to access a string format based type, use as_date_/as_datetime_oapg/as_decimal_oapg/as_uuid_oapg - So if you need to access a number format based type, use as_int_oapg/as_float_oapg 7. Property access on AnyType(type unset) or object(dict) schemas - Only required keys with valid python names are properties like .someProp and have type hints diff --git a/samples/openapi3/client/petstore/python/petstore_api/schemas.py b/samples/openapi3/client/petstore/python/petstore_api/schemas.py index 7c9cdd46078..7c08e5165b6 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/schemas.py +++ b/samples/openapi3/client/petstore/python/petstore_api/schemas.py @@ -1770,7 +1770,7 @@ def as_str_oapg(self) -> str: return self @property - def as_date_oapg(self) -> datetime.date: + def as_date_(self) -> datetime.date: raise Exception('not implemented') @property @@ -1796,7 +1796,7 @@ def as_uuid_oapg(self) -> uuid.UUID: class DateBase: @property @functools.lru_cache() - def as_date_oapg(self) -> datetime.date: + def as_date_(self) -> datetime.date: return DEFAULT_ISOPARSER.parse_isodate(self) diff --git a/samples/openapi3/client/petstore/python/tests_manual/test_composed_one_of_different_types.py b/samples/openapi3/client/petstore/python/tests_manual/test_composed_one_of_different_types.py index d8418762ad1..61703dd0626 100644 --- a/samples/openapi3/client/petstore/python/tests_manual/test_composed_one_of_different_types.py +++ b/samples/openapi3/client/petstore/python/tests_manual/test_composed_one_of_different_types.py @@ -63,18 +63,18 @@ def test_ComposedOneOfDifferentTypes(self): assert isinstance(inst, ComposedOneOfDifferentTypes) assert isinstance(inst, DateSchema) assert isinstance(inst, str) - assert inst.as_date_oapg.year == 2019 - assert inst.as_date_oapg.month == 1 - assert inst.as_date_oapg.day == 10 + assert inst.as_date_.year == 2019 + assert inst.as_date_.month == 1 + assert inst.as_date_.day == 10 # date inst = ComposedOneOfDifferentTypes(date(2019, 1, 10)) assert isinstance(inst, ComposedOneOfDifferentTypes) assert isinstance(inst, DateSchema) assert isinstance(inst, str) - assert inst.as_date_oapg.year == 2019 - assert inst.as_date_oapg.month == 1 - assert inst.as_date_oapg.day == 10 + assert inst.as_date_.year == 2019 + assert inst.as_date_.month == 1 + assert inst.as_date_.day == 10 # date-time inst = ComposedOneOfDifferentTypes.from_openapi_data_('2020-01-02T03:04:05Z') diff --git a/samples/openapi3/client/petstore/python/tests_manual/test_date_with_validations.py b/samples/openapi3/client/petstore/python/tests_manual/test_date_with_validations.py index e54ff82f562..561b6f93f47 100644 --- a/samples/openapi3/client/petstore/python/tests_manual/test_date_with_validations.py +++ b/samples/openapi3/client/petstore/python/tests_manual/test_date_with_validations.py @@ -50,7 +50,7 @@ def testDateWithValidations(self): expected_date = date(2020, 1, 1) for valid_value in valid_values: inst = DateWithValidations.from_openapi_data_(valid_value) - assert inst.as_date_oapg == expected_date + assert inst.as_date_ == expected_date # value error is raised if an invalid string is passed in with self.assertRaisesRegex( From 481d27c7b6b4f905ab727b74cc3622d072c7c605 Mon Sep 17 00:00:00 2001 From: Justin Black Date: Thu, 29 Dec 2022 22:11:52 -0800 Subject: [PATCH 10/29] as_datetime_oapg -> as_datetime_ --- .../main/resources/python/README.handlebars | 4 +-- .../main/resources/python/schemas.handlebars | 4 +-- .../client/3_0_3_unit_test/python/README.md | 4 +-- .../python/unit_test_api/schemas.py | 4 +-- .../python/README.md | 4 +-- .../python/this_package/schemas.py | 4 +-- .../openapi3/client/petstore/python/README.md | 4 +-- .../petstore/python/petstore_api/schemas.py | 4 +-- .../test_composed_one_of_different_types.py | 28 +++++++++---------- .../test_date_time_with_validations.py | 2 +- 10 files changed, 31 insertions(+), 31 deletions(-) diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/README.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/README.handlebars index e960c9955ca..e6de58d59f1 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/README.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/README.handlebars @@ -42,11 +42,11 @@ Python {{generatorLanguageVersion}} 6. String + Number types with formats - String type data is stored as a string and if you need to access types based on its format like date, date-time, uuid, number etc then you will need to use accessor functions on the instance - - type string + format: See .as_date_, .as_datetime_oapg, .as_decimal_oapg, .as_uuid_oapg + - type string + format: See .as_date_, .as_datetime_, .as_decimal_oapg, .as_uuid_oapg - type number + format: See .as_float_oapg, .as_int_oapg - this was done because openapi/json-schema defines constraints. string data may be type string with no format keyword in one schema, and include a format constraint in another schema - - So if you need to access a string format based type, use as_date_/as_datetime_oapg/as_decimal_oapg/as_uuid_oapg + - So if you need to access a string format based type, use as_date_/as_datetime_/as_decimal_oapg/as_uuid_oapg - So if you need to access a number format based type, use as_int_oapg/as_float_oapg 7. Property access on AnyType(type unset) or object(dict) schemas - Only required keys with valid python names are properties like .someProp and have type hints diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars index 5333dcaa8ed..0fc796211cc 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars @@ -1882,7 +1882,7 @@ class StrBase: raise Exception('not implemented') @property - def as_datetime_oapg(self) -> datetime.datetime: + def as_datetime_(self) -> datetime.datetime: raise Exception('not implemented') @property @@ -1911,7 +1911,7 @@ class DateBase: class DateTimeBase: @property @functools.lru_cache() - def as_datetime_oapg(self) -> datetime.datetime: + def as_datetime_(self) -> datetime.datetime: return DEFAULT_ISOPARSER.parse_isodatetime(self) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/README.md b/samples/openapi3/client/3_0_3_unit_test/python/README.md index a39903c10f6..7b99cdbe2e3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/README.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/README.md @@ -34,11 +34,11 @@ Python >=3.7 6. String + Number types with formats - String type data is stored as a string and if you need to access types based on its format like date, date-time, uuid, number etc then you will need to use accessor functions on the instance - - type string + format: See .as_date_, .as_datetime_oapg, .as_decimal_oapg, .as_uuid_oapg + - type string + format: See .as_date_, .as_datetime_, .as_decimal_oapg, .as_uuid_oapg - type number + format: See .as_float_oapg, .as_int_oapg - this was done because openapi/json-schema defines constraints. string data may be type string with no format keyword in one schema, and include a format constraint in another schema - - So if you need to access a string format based type, use as_date_/as_datetime_oapg/as_decimal_oapg/as_uuid_oapg + - So if you need to access a string format based type, use as_date_/as_datetime_/as_decimal_oapg/as_uuid_oapg - So if you need to access a number format based type, use as_int_oapg/as_float_oapg 7. Property access on AnyType(type unset) or object(dict) schemas - Only required keys with valid python names are properties like .someProp and have type hints diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py index 3551c3ff824..031cdf8879a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py @@ -1774,7 +1774,7 @@ def as_date_(self) -> datetime.date: raise Exception('not implemented') @property - def as_datetime_oapg(self) -> datetime.datetime: + def as_datetime_(self) -> datetime.datetime: raise Exception('not implemented') @property @@ -1803,7 +1803,7 @@ def as_date_(self) -> datetime.date: class DateTimeBase: @property @functools.lru_cache() - def as_datetime_oapg(self) -> datetime.datetime: + def as_datetime_(self) -> datetime.datetime: return DEFAULT_ISOPARSER.parse_isodatetime(self) diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/README.md b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/README.md index 1ffd35192ea..98792d83770 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/README.md +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/README.md @@ -34,11 +34,11 @@ Python >=3.7 6. String + Number types with formats - String type data is stored as a string and if you need to access types based on its format like date, date-time, uuid, number etc then you will need to use accessor functions on the instance - - type string + format: See .as_date_, .as_datetime_oapg, .as_decimal_oapg, .as_uuid_oapg + - type string + format: See .as_date_, .as_datetime_, .as_decimal_oapg, .as_uuid_oapg - type number + format: See .as_float_oapg, .as_int_oapg - this was done because openapi/json-schema defines constraints. string data may be type string with no format keyword in one schema, and include a format constraint in another schema - - So if you need to access a string format based type, use as_date_/as_datetime_oapg/as_decimal_oapg/as_uuid_oapg + - So if you need to access a string format based type, use as_date_/as_datetime_/as_decimal_oapg/as_uuid_oapg - So if you need to access a number format based type, use as_int_oapg/as_float_oapg 7. Property access on AnyType(type unset) or object(dict) schemas - Only required keys with valid python names are properties like .someProp and have type hints diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py index 219c60eed4b..60c8e73c5a8 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py @@ -1850,7 +1850,7 @@ def as_date_(self) -> datetime.date: raise Exception('not implemented') @property - def as_datetime_oapg(self) -> datetime.datetime: + def as_datetime_(self) -> datetime.datetime: raise Exception('not implemented') @property @@ -1879,7 +1879,7 @@ def as_date_(self) -> datetime.date: class DateTimeBase: @property @functools.lru_cache() - def as_datetime_oapg(self) -> datetime.datetime: + def as_datetime_(self) -> datetime.datetime: return DEFAULT_ISOPARSER.parse_isodatetime(self) diff --git a/samples/openapi3/client/petstore/python/README.md b/samples/openapi3/client/petstore/python/README.md index 5c60b8ec2d7..502949c9ba5 100644 --- a/samples/openapi3/client/petstore/python/README.md +++ b/samples/openapi3/client/petstore/python/README.md @@ -34,11 +34,11 @@ Python >=3.7 6. String + Number types with formats - String type data is stored as a string and if you need to access types based on its format like date, date-time, uuid, number etc then you will need to use accessor functions on the instance - - type string + format: See .as_date_, .as_datetime_oapg, .as_decimal_oapg, .as_uuid_oapg + - type string + format: See .as_date_, .as_datetime_, .as_decimal_oapg, .as_uuid_oapg - type number + format: See .as_float_oapg, .as_int_oapg - this was done because openapi/json-schema defines constraints. string data may be type string with no format keyword in one schema, and include a format constraint in another schema - - So if you need to access a string format based type, use as_date_/as_datetime_oapg/as_decimal_oapg/as_uuid_oapg + - So if you need to access a string format based type, use as_date_/as_datetime_/as_decimal_oapg/as_uuid_oapg - So if you need to access a number format based type, use as_int_oapg/as_float_oapg 7. Property access on AnyType(type unset) or object(dict) schemas - Only required keys with valid python names are properties like .someProp and have type hints diff --git a/samples/openapi3/client/petstore/python/petstore_api/schemas.py b/samples/openapi3/client/petstore/python/petstore_api/schemas.py index 7c08e5165b6..22eb5ce89a5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/schemas.py +++ b/samples/openapi3/client/petstore/python/petstore_api/schemas.py @@ -1774,7 +1774,7 @@ def as_date_(self) -> datetime.date: raise Exception('not implemented') @property - def as_datetime_oapg(self) -> datetime.datetime: + def as_datetime_(self) -> datetime.datetime: raise Exception('not implemented') @property @@ -1803,7 +1803,7 @@ def as_date_(self) -> datetime.date: class DateTimeBase: @property @functools.lru_cache() - def as_datetime_oapg(self) -> datetime.datetime: + def as_datetime_(self) -> datetime.datetime: return DEFAULT_ISOPARSER.parse_isodatetime(self) diff --git a/samples/openapi3/client/petstore/python/tests_manual/test_composed_one_of_different_types.py b/samples/openapi3/client/petstore/python/tests_manual/test_composed_one_of_different_types.py index 61703dd0626..fa7fc34f0c1 100644 --- a/samples/openapi3/client/petstore/python/tests_manual/test_composed_one_of_different_types.py +++ b/samples/openapi3/client/petstore/python/tests_manual/test_composed_one_of_different_types.py @@ -81,27 +81,27 @@ def test_ComposedOneOfDifferentTypes(self): assert isinstance(inst, ComposedOneOfDifferentTypes) assert isinstance(inst, DateTimeSchema) assert isinstance(inst, str) - assert inst.as_datetime_oapg.year == 2020 - assert inst.as_datetime_oapg.month == 1 - assert inst.as_datetime_oapg.day == 2 - assert inst.as_datetime_oapg.hour == 3 - assert inst.as_datetime_oapg.minute == 4 - assert inst.as_datetime_oapg.second == 5 + assert inst.as_datetime_.year == 2020 + assert inst.as_datetime_.month == 1 + assert inst.as_datetime_.day == 2 + assert inst.as_datetime_.hour == 3 + assert inst.as_datetime_.minute == 4 + assert inst.as_datetime_.second == 5 utc_tz = tzutc() - assert inst.as_datetime_oapg.tzinfo == utc_tz + assert inst.as_datetime_.tzinfo == utc_tz # date-time inst = ComposedOneOfDifferentTypes(datetime(2020, 1, 2, 3, 4, 5, tzinfo=timezone.utc)) assert isinstance(inst, ComposedOneOfDifferentTypes) assert isinstance(inst, DateTimeSchema) assert isinstance(inst, str) - assert inst.as_datetime_oapg.year == 2020 - assert inst.as_datetime_oapg.month == 1 - assert inst.as_datetime_oapg.day == 2 - assert inst.as_datetime_oapg.hour == 3 - assert inst.as_datetime_oapg.minute == 4 - assert inst.as_datetime_oapg.second == 5 - assert inst.as_datetime_oapg.tzinfo == utc_tz + assert inst.as_datetime_.year == 2020 + assert inst.as_datetime_.month == 1 + assert inst.as_datetime_.day == 2 + assert inst.as_datetime_.hour == 3 + assert inst.as_datetime_.minute == 4 + assert inst.as_datetime_.second == 5 + assert inst.as_datetime_.tzinfo == utc_tz if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/tests_manual/test_date_time_with_validations.py b/samples/openapi3/client/petstore/python/tests_manual/test_date_time_with_validations.py index 9d8b80a3f9d..aca44eefead 100644 --- a/samples/openapi3/client/petstore/python/tests_manual/test_date_time_with_validations.py +++ b/samples/openapi3/client/petstore/python/tests_manual/test_date_time_with_validations.py @@ -52,7 +52,7 @@ def testDateTimeWithValidations(self): } for input_value, expected_datetime in input_value_to_datetime.items(): inst = DateTimeWithValidations.from_openapi_data_(input_value) - assert inst.as_datetime_oapg == expected_datetime + assert inst.as_datetime_ == expected_datetime # value error is raised if an invalid string is passed in with self.assertRaisesRegex( From 5c1098c3a13a0a43d356e879c5b73b77dd4ca9a1 Mon Sep 17 00:00:00 2001 From: Justin Black Date: Thu, 29 Dec 2022 22:12:37 -0800 Subject: [PATCH 11/29] as_decimal_oapg -> as_decimal_ --- README.md | 2 +- .../src/main/resources/python/README.handlebars | 4 ++-- .../src/main/resources/python/schemas.handlebars | 4 ++-- samples/openapi3/client/3_0_3_unit_test/python/README.md | 4 ++-- .../client/3_0_3_unit_test/python/unit_test_api/schemas.py | 4 ++-- .../python/README.md | 4 ++-- .../python/this_package/schemas.py | 4 ++-- samples/openapi3/client/petstore/python/README.md | 4 ++-- .../openapi3/client/petstore/python/petstore_api/schemas.py | 4 ++-- .../petstore/python/tests_manual/test_any_type_schema.py | 2 +- .../petstore/python/tests_manual/test_decimal_payload.py | 4 ++-- .../client/petstore/python/tests_manual/test_money.py | 2 +- 12 files changed, 21 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index 6153d2920d8..f182b6931fd 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ Currently, the following languages/frameworks are supported: - Openapi spec inline schemas supported at any depth - If needed, validation of some json schema keywords can be deactivated via a configuration class - Payload values are not coerced when validated, so a datetime value can pass other validations that describe the payload only as type string -- String transmission of numbers supported with type: string, format: number, value can be accessed as a Decimal with inst.as_decimal_oapg +- String transmission of numbers supported with type: string, format: number, value can be accessed as a Decimal with inst.as_decimal_ - Multiple content types supported for request and response bodies - Endpoint response always also includes the urllib3.HTTPResponse - Endpoint response deserialization can be skipped with the skip_deserialization argument diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/README.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/README.handlebars index e6de58d59f1..4d8c770b7be 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/README.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/README.handlebars @@ -42,11 +42,11 @@ Python {{generatorLanguageVersion}} 6. String + Number types with formats - String type data is stored as a string and if you need to access types based on its format like date, date-time, uuid, number etc then you will need to use accessor functions on the instance - - type string + format: See .as_date_, .as_datetime_, .as_decimal_oapg, .as_uuid_oapg + - type string + format: See .as_date_, .as_datetime_, .as_decimal_, .as_uuid_oapg - type number + format: See .as_float_oapg, .as_int_oapg - this was done because openapi/json-schema defines constraints. string data may be type string with no format keyword in one schema, and include a format constraint in another schema - - So if you need to access a string format based type, use as_date_/as_datetime_/as_decimal_oapg/as_uuid_oapg + - So if you need to access a string format based type, use as_date_/as_datetime_/as_decimal_/as_uuid_oapg - So if you need to access a number format based type, use as_int_oapg/as_float_oapg 7. Property access on AnyType(type unset) or object(dict) schemas - Only required keys with valid python names are properties like .someProp and have type hints diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars index 0fc796211cc..d4b5fc96809 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars @@ -1886,7 +1886,7 @@ class StrBase: raise Exception('not implemented') @property - def as_decimal_oapg(self) -> decimal.Decimal: + def as_decimal_(self) -> decimal.Decimal: raise Exception('not implemented') @property @@ -1924,7 +1924,7 @@ class DecimalBase: @property @functools.lru_cache() - def as_decimal_oapg(self) -> decimal.Decimal: + def as_decimal_(self) -> decimal.Decimal: return decimal.Decimal(self) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/README.md b/samples/openapi3/client/3_0_3_unit_test/python/README.md index 7b99cdbe2e3..08b35a97dcb 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/README.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/README.md @@ -34,11 +34,11 @@ Python >=3.7 6. String + Number types with formats - String type data is stored as a string and if you need to access types based on its format like date, date-time, uuid, number etc then you will need to use accessor functions on the instance - - type string + format: See .as_date_, .as_datetime_, .as_decimal_oapg, .as_uuid_oapg + - type string + format: See .as_date_, .as_datetime_, .as_decimal_, .as_uuid_oapg - type number + format: See .as_float_oapg, .as_int_oapg - this was done because openapi/json-schema defines constraints. string data may be type string with no format keyword in one schema, and include a format constraint in another schema - - So if you need to access a string format based type, use as_date_/as_datetime_/as_decimal_oapg/as_uuid_oapg + - So if you need to access a string format based type, use as_date_/as_datetime_/as_decimal_/as_uuid_oapg - So if you need to access a number format based type, use as_int_oapg/as_float_oapg 7. Property access on AnyType(type unset) or object(dict) schemas - Only required keys with valid python names are properties like .someProp and have type hints diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py index 031cdf8879a..6b797942e28 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py @@ -1778,7 +1778,7 @@ def as_datetime_(self) -> datetime.datetime: raise Exception('not implemented') @property - def as_decimal_oapg(self) -> decimal.Decimal: + def as_decimal_(self) -> decimal.Decimal: raise Exception('not implemented') @property @@ -1816,7 +1816,7 @@ class DecimalBase: @property @functools.lru_cache() - def as_decimal_oapg(self) -> decimal.Decimal: + def as_decimal_(self) -> decimal.Decimal: return decimal.Decimal(self) diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/README.md b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/README.md index 98792d83770..8b11c754cfc 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/README.md +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/README.md @@ -34,11 +34,11 @@ Python >=3.7 6. String + Number types with formats - String type data is stored as a string and if you need to access types based on its format like date, date-time, uuid, number etc then you will need to use accessor functions on the instance - - type string + format: See .as_date_, .as_datetime_, .as_decimal_oapg, .as_uuid_oapg + - type string + format: See .as_date_, .as_datetime_, .as_decimal_, .as_uuid_oapg - type number + format: See .as_float_oapg, .as_int_oapg - this was done because openapi/json-schema defines constraints. string data may be type string with no format keyword in one schema, and include a format constraint in another schema - - So if you need to access a string format based type, use as_date_/as_datetime_/as_decimal_oapg/as_uuid_oapg + - So if you need to access a string format based type, use as_date_/as_datetime_/as_decimal_/as_uuid_oapg - So if you need to access a number format based type, use as_int_oapg/as_float_oapg 7. Property access on AnyType(type unset) or object(dict) schemas - Only required keys with valid python names are properties like .someProp and have type hints diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py index 60c8e73c5a8..ea66c9ee1bf 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py @@ -1854,7 +1854,7 @@ def as_datetime_(self) -> datetime.datetime: raise Exception('not implemented') @property - def as_decimal_oapg(self) -> decimal.Decimal: + def as_decimal_(self) -> decimal.Decimal: raise Exception('not implemented') @property @@ -1892,7 +1892,7 @@ class DecimalBase: @property @functools.lru_cache() - def as_decimal_oapg(self) -> decimal.Decimal: + def as_decimal_(self) -> decimal.Decimal: return decimal.Decimal(self) diff --git a/samples/openapi3/client/petstore/python/README.md b/samples/openapi3/client/petstore/python/README.md index 502949c9ba5..c7e34a610f8 100644 --- a/samples/openapi3/client/petstore/python/README.md +++ b/samples/openapi3/client/petstore/python/README.md @@ -34,11 +34,11 @@ Python >=3.7 6. String + Number types with formats - String type data is stored as a string and if you need to access types based on its format like date, date-time, uuid, number etc then you will need to use accessor functions on the instance - - type string + format: See .as_date_, .as_datetime_, .as_decimal_oapg, .as_uuid_oapg + - type string + format: See .as_date_, .as_datetime_, .as_decimal_, .as_uuid_oapg - type number + format: See .as_float_oapg, .as_int_oapg - this was done because openapi/json-schema defines constraints. string data may be type string with no format keyword in one schema, and include a format constraint in another schema - - So if you need to access a string format based type, use as_date_/as_datetime_/as_decimal_oapg/as_uuid_oapg + - So if you need to access a string format based type, use as_date_/as_datetime_/as_decimal_/as_uuid_oapg - So if you need to access a number format based type, use as_int_oapg/as_float_oapg 7. Property access on AnyType(type unset) or object(dict) schemas - Only required keys with valid python names are properties like .someProp and have type hints diff --git a/samples/openapi3/client/petstore/python/petstore_api/schemas.py b/samples/openapi3/client/petstore/python/petstore_api/schemas.py index 22eb5ce89a5..477dd29b02a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/schemas.py +++ b/samples/openapi3/client/petstore/python/petstore_api/schemas.py @@ -1778,7 +1778,7 @@ def as_datetime_(self) -> datetime.datetime: raise Exception('not implemented') @property - def as_decimal_oapg(self) -> decimal.Decimal: + def as_decimal_(self) -> decimal.Decimal: raise Exception('not implemented') @property @@ -1816,7 +1816,7 @@ class DecimalBase: @property @functools.lru_cache() - def as_decimal_oapg(self) -> decimal.Decimal: + def as_decimal_(self) -> decimal.Decimal: return decimal.Decimal(self) diff --git a/samples/openapi3/client/petstore/python/tests_manual/test_any_type_schema.py b/samples/openapi3/client/petstore/python/tests_manual/test_any_type_schema.py index 162bb80853d..fc29cab4cb9 100644 --- a/samples/openapi3/client/petstore/python/tests_manual/test_any_type_schema.py +++ b/samples/openapi3/client/petstore/python/tests_manual/test_any_type_schema.py @@ -218,7 +218,7 @@ class AllOf: m = Model('12.34') assert m == '12.34' - assert m.as_decimal_oapg == Decimal('12.34') + assert m.as_decimal_ == Decimal('12.34') assert isinstance(m, Model) assert isinstance(m, AnyTypeSchema) assert isinstance(m, DecimalSchema) diff --git a/samples/openapi3/client/petstore/python/tests_manual/test_decimal_payload.py b/samples/openapi3/client/petstore/python/tests_manual/test_decimal_payload.py index efd2264f830..6baafcc0bee 100644 --- a/samples/openapi3/client/petstore/python/tests_manual/test_decimal_payload.py +++ b/samples/openapi3/client/petstore/python/tests_manual/test_decimal_payload.py @@ -28,14 +28,14 @@ def test_DecimalPayload(self): assert isinstance(m, DecimalSchema) assert isinstance(m, str) assert m == '12' - assert m.as_decimal_oapg == decimal.Decimal('12') + assert m.as_decimal_ == decimal.Decimal('12') m = DecimalPayload('12.34') assert isinstance(m, DecimalPayload) assert isinstance(m, DecimalSchema) assert isinstance(m, str) assert m == '12.34' - assert m.as_decimal_oapg == decimal.Decimal('12.34') + assert m.as_decimal_ == decimal.Decimal('12.34') # passing in a Decimal does not work with self.assertRaises(petstore_api.ApiTypeError): diff --git a/samples/openapi3/client/petstore/python/tests_manual/test_money.py b/samples/openapi3/client/petstore/python/tests_manual/test_money.py index 1abf642478e..dcc8c847de7 100644 --- a/samples/openapi3/client/petstore/python/tests_manual/test_money.py +++ b/samples/openapi3/client/petstore/python/tests_manual/test_money.py @@ -23,7 +23,7 @@ def test_Money(self): currency='usd', amount='10.99' ) - self.assertEqual(price.amount.as_decimal_oapg, decimal.Decimal('10.99')) + self.assertEqual(price.amount.as_decimal_, decimal.Decimal('10.99')) self.assertEqual( price, dict(currency='usd', amount='10.99') From 188d6066abf5f2b2cd977b2d710b48803dcf9529 Mon Sep 17 00:00:00 2001 From: Justin Black Date: Thu, 29 Dec 2022 22:13:27 -0800 Subject: [PATCH 12/29] as_uuid_oapg -> as_uuid_ --- .../src/main/resources/python/README.handlebars | 4 ++-- .../src/main/resources/python/schemas.handlebars | 4 ++-- samples/openapi3/client/3_0_3_unit_test/python/README.md | 4 ++-- .../client/3_0_3_unit_test/python/unit_test_api/schemas.py | 4 ++-- .../python/README.md | 4 ++-- .../python/this_package/schemas.py | 4 ++-- samples/openapi3/client/petstore/python/README.md | 4 ++-- .../openapi3/client/petstore/python/petstore_api/schemas.py | 4 ++-- .../client/petstore/python/tests_manual/test_uuid_string.py | 4 ++-- 9 files changed, 18 insertions(+), 18 deletions(-) diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/README.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/README.handlebars index 4d8c770b7be..0114be7bfdc 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/README.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/README.handlebars @@ -42,11 +42,11 @@ Python {{generatorLanguageVersion}} 6. String + Number types with formats - String type data is stored as a string and if you need to access types based on its format like date, date-time, uuid, number etc then you will need to use accessor functions on the instance - - type string + format: See .as_date_, .as_datetime_, .as_decimal_, .as_uuid_oapg + - type string + format: See .as_date_, .as_datetime_, .as_decimal_, .as_uuid_ - type number + format: See .as_float_oapg, .as_int_oapg - this was done because openapi/json-schema defines constraints. string data may be type string with no format keyword in one schema, and include a format constraint in another schema - - So if you need to access a string format based type, use as_date_/as_datetime_/as_decimal_/as_uuid_oapg + - So if you need to access a string format based type, use as_date_/as_datetime_/as_decimal_/as_uuid_ - So if you need to access a number format based type, use as_int_oapg/as_float_oapg 7. Property access on AnyType(type unset) or object(dict) schemas - Only required keys with valid python names are properties like .someProp and have type hints diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars index d4b5fc96809..6f1ca863b3f 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars @@ -1890,14 +1890,14 @@ class StrBase: raise Exception('not implemented') @property - def as_uuid_oapg(self) -> uuid.UUID: + def as_uuid_(self) -> uuid.UUID: raise Exception('not implemented') class UUIDBase: @property @functools.lru_cache() - def as_uuid_oapg(self) -> uuid.UUID: + def as_uuid_(self) -> uuid.UUID: return uuid.UUID(self) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/README.md b/samples/openapi3/client/3_0_3_unit_test/python/README.md index 08b35a97dcb..a4812831abf 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/README.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/README.md @@ -34,11 +34,11 @@ Python >=3.7 6. String + Number types with formats - String type data is stored as a string and if you need to access types based on its format like date, date-time, uuid, number etc then you will need to use accessor functions on the instance - - type string + format: See .as_date_, .as_datetime_, .as_decimal_, .as_uuid_oapg + - type string + format: See .as_date_, .as_datetime_, .as_decimal_, .as_uuid_ - type number + format: See .as_float_oapg, .as_int_oapg - this was done because openapi/json-schema defines constraints. string data may be type string with no format keyword in one schema, and include a format constraint in another schema - - So if you need to access a string format based type, use as_date_/as_datetime_/as_decimal_/as_uuid_oapg + - So if you need to access a string format based type, use as_date_/as_datetime_/as_decimal_/as_uuid_ - So if you need to access a number format based type, use as_int_oapg/as_float_oapg 7. Property access on AnyType(type unset) or object(dict) schemas - Only required keys with valid python names are properties like .someProp and have type hints diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py index 6b797942e28..0a4b771bbc4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py @@ -1782,14 +1782,14 @@ def as_decimal_(self) -> decimal.Decimal: raise Exception('not implemented') @property - def as_uuid_oapg(self) -> uuid.UUID: + def as_uuid_(self) -> uuid.UUID: raise Exception('not implemented') class UUIDBase: @property @functools.lru_cache() - def as_uuid_oapg(self) -> uuid.UUID: + def as_uuid_(self) -> uuid.UUID: return uuid.UUID(self) diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/README.md b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/README.md index 8b11c754cfc..543c0daf95e 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/README.md +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/README.md @@ -34,11 +34,11 @@ Python >=3.7 6. String + Number types with formats - String type data is stored as a string and if you need to access types based on its format like date, date-time, uuid, number etc then you will need to use accessor functions on the instance - - type string + format: See .as_date_, .as_datetime_, .as_decimal_, .as_uuid_oapg + - type string + format: See .as_date_, .as_datetime_, .as_decimal_, .as_uuid_ - type number + format: See .as_float_oapg, .as_int_oapg - this was done because openapi/json-schema defines constraints. string data may be type string with no format keyword in one schema, and include a format constraint in another schema - - So if you need to access a string format based type, use as_date_/as_datetime_/as_decimal_/as_uuid_oapg + - So if you need to access a string format based type, use as_date_/as_datetime_/as_decimal_/as_uuid_ - So if you need to access a number format based type, use as_int_oapg/as_float_oapg 7. Property access on AnyType(type unset) or object(dict) schemas - Only required keys with valid python names are properties like .someProp and have type hints diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py index ea66c9ee1bf..db48040b976 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py @@ -1858,14 +1858,14 @@ def as_decimal_(self) -> decimal.Decimal: raise Exception('not implemented') @property - def as_uuid_oapg(self) -> uuid.UUID: + def as_uuid_(self) -> uuid.UUID: raise Exception('not implemented') class UUIDBase: @property @functools.lru_cache() - def as_uuid_oapg(self) -> uuid.UUID: + def as_uuid_(self) -> uuid.UUID: return uuid.UUID(self) diff --git a/samples/openapi3/client/petstore/python/README.md b/samples/openapi3/client/petstore/python/README.md index c7e34a610f8..500347c2f7d 100644 --- a/samples/openapi3/client/petstore/python/README.md +++ b/samples/openapi3/client/petstore/python/README.md @@ -34,11 +34,11 @@ Python >=3.7 6. String + Number types with formats - String type data is stored as a string and if you need to access types based on its format like date, date-time, uuid, number etc then you will need to use accessor functions on the instance - - type string + format: See .as_date_, .as_datetime_, .as_decimal_, .as_uuid_oapg + - type string + format: See .as_date_, .as_datetime_, .as_decimal_, .as_uuid_ - type number + format: See .as_float_oapg, .as_int_oapg - this was done because openapi/json-schema defines constraints. string data may be type string with no format keyword in one schema, and include a format constraint in another schema - - So if you need to access a string format based type, use as_date_/as_datetime_/as_decimal_/as_uuid_oapg + - So if you need to access a string format based type, use as_date_/as_datetime_/as_decimal_/as_uuid_ - So if you need to access a number format based type, use as_int_oapg/as_float_oapg 7. Property access on AnyType(type unset) or object(dict) schemas - Only required keys with valid python names are properties like .someProp and have type hints diff --git a/samples/openapi3/client/petstore/python/petstore_api/schemas.py b/samples/openapi3/client/petstore/python/petstore_api/schemas.py index 477dd29b02a..ec338052c62 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/schemas.py +++ b/samples/openapi3/client/petstore/python/petstore_api/schemas.py @@ -1782,14 +1782,14 @@ def as_decimal_(self) -> decimal.Decimal: raise Exception('not implemented') @property - def as_uuid_oapg(self) -> uuid.UUID: + def as_uuid_(self) -> uuid.UUID: raise Exception('not implemented') class UUIDBase: @property @functools.lru_cache() - def as_uuid_oapg(self) -> uuid.UUID: + def as_uuid_(self) -> uuid.UUID: return uuid.UUID(self) diff --git a/samples/openapi3/client/petstore/python/tests_manual/test_uuid_string.py b/samples/openapi3/client/petstore/python/tests_manual/test_uuid_string.py index fb944f197a1..e2736461d97 100644 --- a/samples/openapi3/client/petstore/python/tests_manual/test_uuid_string.py +++ b/samples/openapi3/client/petstore/python/tests_manual/test_uuid_string.py @@ -28,7 +28,7 @@ def test_UUIDString(self): self.assertTrue(isinstance(u, schemas.UUIDSchema)) self.assertTrue(isinstance(u, schemas.StrSchema)) self.assertTrue(isinstance(u, str)) - self.assertEqual(u.as_uuid_oapg, uuid.UUID(uuid_value)) + self.assertEqual(u.as_uuid_, uuid.UUID(uuid_value)) # passing in a uuid also works u = UUIDString(uuid.UUID(uuid_value)) @@ -37,7 +37,7 @@ def test_UUIDString(self): self.assertTrue(isinstance(u, schemas.UUIDSchema)) self.assertTrue(isinstance(u, schemas.StrSchema)) self.assertTrue(isinstance(u, str)) - self.assertEqual(u.as_uuid_oapg, uuid.UUID(uuid_value)) + self.assertEqual(u.as_uuid_, uuid.UUID(uuid_value)) # an invalid value does not work with self.assertRaises(exceptions.ApiValueError): From 1d110355f19bbcdeb7c6bdb976635d1aad6073dc Mon Sep 17 00:00:00 2001 From: Justin Black Date: Thu, 29 Dec 2022 22:14:49 -0800 Subject: [PATCH 13/29] as_float_oapg -> as_float_ --- .../src/main/resources/python/README.handlebars | 4 ++-- .../src/main/resources/python/schemas.handlebars | 2 +- samples/openapi3/client/3_0_3_unit_test/python/README.md | 4 ++-- .../client/3_0_3_unit_test/python/unit_test_api/schemas.py | 2 +- .../python/README.md | 4 ++-- .../python/this_package/schemas.py | 2 +- samples/openapi3/client/petstore/python/README.md | 4 ++-- .../openapi3/client/petstore/python/petstore_api/schemas.py | 2 +- 8 files changed, 12 insertions(+), 12 deletions(-) diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/README.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/README.handlebars index 0114be7bfdc..d9d405dadd9 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/README.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/README.handlebars @@ -43,11 +43,11 @@ Python {{generatorLanguageVersion}} - String type data is stored as a string and if you need to access types based on its format like date, date-time, uuid, number etc then you will need to use accessor functions on the instance - type string + format: See .as_date_, .as_datetime_, .as_decimal_, .as_uuid_ - - type number + format: See .as_float_oapg, .as_int_oapg + - type number + format: See .as_float_, .as_int_oapg - this was done because openapi/json-schema defines constraints. string data may be type string with no format keyword in one schema, and include a format constraint in another schema - So if you need to access a string format based type, use as_date_/as_datetime_/as_decimal_/as_uuid_ - - So if you need to access a number format based type, use as_int_oapg/as_float_oapg + - So if you need to access a number format based type, use as_int_oapg/as_float_ 7. Property access on AnyType(type unset) or object(dict) schemas - Only required keys with valid python names are properties like .someProp and have type hints - All optional keys may not exist, so properties are not defined for them diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars index 6f1ca863b3f..05cfb2501ae 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars @@ -1952,7 +1952,7 @@ class NumberBase: return self._as_int @property - def as_float_oapg(self) -> float: + def as_float_(self) -> float: try: return self._as_float except AttributeError: diff --git a/samples/openapi3/client/3_0_3_unit_test/python/README.md b/samples/openapi3/client/3_0_3_unit_test/python/README.md index a4812831abf..1a53fa4a25f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/README.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/README.md @@ -35,11 +35,11 @@ Python >=3.7 - String type data is stored as a string and if you need to access types based on its format like date, date-time, uuid, number etc then you will need to use accessor functions on the instance - type string + format: See .as_date_, .as_datetime_, .as_decimal_, .as_uuid_ - - type number + format: See .as_float_oapg, .as_int_oapg + - type number + format: See .as_float_, .as_int_oapg - this was done because openapi/json-schema defines constraints. string data may be type string with no format keyword in one schema, and include a format constraint in another schema - So if you need to access a string format based type, use as_date_/as_datetime_/as_decimal_/as_uuid_ - - So if you need to access a number format based type, use as_int_oapg/as_float_oapg + - So if you need to access a number format based type, use as_int_oapg/as_float_ 7. Property access on AnyType(type unset) or object(dict) schemas - Only required keys with valid python names are properties like .someProp and have type hints - All optional keys may not exist, so properties are not defined for them diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py index 0a4b771bbc4..ff0fca29b74 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py @@ -1844,7 +1844,7 @@ def as_int_oapg(self) -> int: return self._as_int @property - def as_float_oapg(self) -> float: + def as_float_(self) -> float: try: return self._as_float except AttributeError: diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/README.md b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/README.md index 543c0daf95e..8e99f44a529 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/README.md +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/README.md @@ -35,11 +35,11 @@ Python >=3.7 - String type data is stored as a string and if you need to access types based on its format like date, date-time, uuid, number etc then you will need to use accessor functions on the instance - type string + format: See .as_date_, .as_datetime_, .as_decimal_, .as_uuid_ - - type number + format: See .as_float_oapg, .as_int_oapg + - type number + format: See .as_float_, .as_int_oapg - this was done because openapi/json-schema defines constraints. string data may be type string with no format keyword in one schema, and include a format constraint in another schema - So if you need to access a string format based type, use as_date_/as_datetime_/as_decimal_/as_uuid_ - - So if you need to access a number format based type, use as_int_oapg/as_float_oapg + - So if you need to access a number format based type, use as_int_oapg/as_float_ 7. Property access on AnyType(type unset) or object(dict) schemas - Only required keys with valid python names are properties like .someProp and have type hints - All optional keys may not exist, so properties are not defined for them diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py index db48040b976..f9ee9b5402c 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py @@ -1920,7 +1920,7 @@ def as_int_oapg(self) -> int: return self._as_int @property - def as_float_oapg(self) -> float: + def as_float_(self) -> float: try: return self._as_float except AttributeError: diff --git a/samples/openapi3/client/petstore/python/README.md b/samples/openapi3/client/petstore/python/README.md index 500347c2f7d..ffc8abf88cf 100644 --- a/samples/openapi3/client/petstore/python/README.md +++ b/samples/openapi3/client/petstore/python/README.md @@ -35,11 +35,11 @@ Python >=3.7 - String type data is stored as a string and if you need to access types based on its format like date, date-time, uuid, number etc then you will need to use accessor functions on the instance - type string + format: See .as_date_, .as_datetime_, .as_decimal_, .as_uuid_ - - type number + format: See .as_float_oapg, .as_int_oapg + - type number + format: See .as_float_, .as_int_oapg - this was done because openapi/json-schema defines constraints. string data may be type string with no format keyword in one schema, and include a format constraint in another schema - So if you need to access a string format based type, use as_date_/as_datetime_/as_decimal_/as_uuid_ - - So if you need to access a number format based type, use as_int_oapg/as_float_oapg + - So if you need to access a number format based type, use as_int_oapg/as_float_ 7. Property access on AnyType(type unset) or object(dict) schemas - Only required keys with valid python names are properties like .someProp and have type hints - All optional keys may not exist, so properties are not defined for them diff --git a/samples/openapi3/client/petstore/python/petstore_api/schemas.py b/samples/openapi3/client/petstore/python/petstore_api/schemas.py index ec338052c62..a36a31db683 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/schemas.py +++ b/samples/openapi3/client/petstore/python/petstore_api/schemas.py @@ -1844,7 +1844,7 @@ def as_int_oapg(self) -> int: return self._as_int @property - def as_float_oapg(self) -> float: + def as_float_(self) -> float: try: return self._as_float except AttributeError: From cad009a1adf3b6a4ae4d97f4cb5331b301c17728 Mon Sep 17 00:00:00 2001 From: Justin Black Date: Thu, 29 Dec 2022 22:15:26 -0800 Subject: [PATCH 14/29] as_int_oapg -> as_int_ --- .../src/main/resources/python/README.handlebars | 4 ++-- .../src/main/resources/python/schemas.handlebars | 4 ++-- samples/openapi3/client/3_0_3_unit_test/python/README.md | 4 ++-- .../client/3_0_3_unit_test/python/unit_test_api/schemas.py | 4 ++-- .../python/README.md | 4 ++-- .../python/this_package/schemas.py | 4 ++-- samples/openapi3/client/petstore/python/README.md | 4 ++-- .../openapi3/client/petstore/python/petstore_api/schemas.py | 4 ++-- 8 files changed, 16 insertions(+), 16 deletions(-) diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/README.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/README.handlebars index d9d405dadd9..00c93254734 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/README.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/README.handlebars @@ -43,11 +43,11 @@ Python {{generatorLanguageVersion}} - String type data is stored as a string and if you need to access types based on its format like date, date-time, uuid, number etc then you will need to use accessor functions on the instance - type string + format: See .as_date_, .as_datetime_, .as_decimal_, .as_uuid_ - - type number + format: See .as_float_, .as_int_oapg + - type number + format: See .as_float_, .as_int_ - this was done because openapi/json-schema defines constraints. string data may be type string with no format keyword in one schema, and include a format constraint in another schema - So if you need to access a string format based type, use as_date_/as_datetime_/as_decimal_/as_uuid_ - - So if you need to access a number format based type, use as_int_oapg/as_float_ + - So if you need to access a number format based type, use as_int_/as_float_ 7. Property access on AnyType(type unset) or object(dict) schemas - Only required keys with valid python names are properties like .someProp and have type hints - All optional keys may not exist, so properties are not defined for them diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars index 05cfb2501ae..541296f7537 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars @@ -1932,7 +1932,7 @@ class NumberBase: MetaOapg: MetaOapgTyped @property - def as_int_oapg(self) -> int: + def as_int_(self) -> int: try: return self._as_int except AttributeError: @@ -2221,7 +2221,7 @@ class NumberSchema( class IntBase: @property - def as_int_oapg(self) -> int: + def as_int_(self) -> int: try: return self._as_int except AttributeError: diff --git a/samples/openapi3/client/3_0_3_unit_test/python/README.md b/samples/openapi3/client/3_0_3_unit_test/python/README.md index 1a53fa4a25f..42209a13f63 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/README.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/README.md @@ -35,11 +35,11 @@ Python >=3.7 - String type data is stored as a string and if you need to access types based on its format like date, date-time, uuid, number etc then you will need to use accessor functions on the instance - type string + format: See .as_date_, .as_datetime_, .as_decimal_, .as_uuid_ - - type number + format: See .as_float_, .as_int_oapg + - type number + format: See .as_float_, .as_int_ - this was done because openapi/json-schema defines constraints. string data may be type string with no format keyword in one schema, and include a format constraint in another schema - So if you need to access a string format based type, use as_date_/as_datetime_/as_decimal_/as_uuid_ - - So if you need to access a number format based type, use as_int_oapg/as_float_ + - So if you need to access a number format based type, use as_int_/as_float_ 7. Property access on AnyType(type unset) or object(dict) schemas - Only required keys with valid python names are properties like .someProp and have type hints - All optional keys may not exist, so properties are not defined for them diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py index ff0fca29b74..61b178c6318 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py @@ -1824,7 +1824,7 @@ class NumberBase: MetaOapg: MetaOapgTyped @property - def as_int_oapg(self) -> int: + def as_int_(self) -> int: try: return self._as_int except AttributeError: @@ -2134,7 +2134,7 @@ def __new__(cls, _arg: typing.Union[decimal.Decimal, int, float], **kwargs: conf class IntBase: @property - def as_int_oapg(self) -> int: + def as_int_(self) -> int: try: return self._as_int except AttributeError: diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/README.md b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/README.md index 8e99f44a529..70f7eca28d4 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/README.md +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/README.md @@ -35,11 +35,11 @@ Python >=3.7 - String type data is stored as a string and if you need to access types based on its format like date, date-time, uuid, number etc then you will need to use accessor functions on the instance - type string + format: See .as_date_, .as_datetime_, .as_decimal_, .as_uuid_ - - type number + format: See .as_float_, .as_int_oapg + - type number + format: See .as_float_, .as_int_ - this was done because openapi/json-schema defines constraints. string data may be type string with no format keyword in one schema, and include a format constraint in another schema - So if you need to access a string format based type, use as_date_/as_datetime_/as_decimal_/as_uuid_ - - So if you need to access a number format based type, use as_int_oapg/as_float_ + - So if you need to access a number format based type, use as_int_/as_float_ 7. Property access on AnyType(type unset) or object(dict) schemas - Only required keys with valid python names are properties like .someProp and have type hints - All optional keys may not exist, so properties are not defined for them diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py index f9ee9b5402c..14f035f1485 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py @@ -1900,7 +1900,7 @@ class NumberBase: MetaOapg: MetaOapgTyped @property - def as_int_oapg(self) -> int: + def as_int_(self) -> int: try: return self._as_int except AttributeError: @@ -2210,7 +2210,7 @@ def __new__(cls, _arg: typing.Union[decimal.Decimal, int, float], **kwargs: conf class IntBase: @property - def as_int_oapg(self) -> int: + def as_int_(self) -> int: try: return self._as_int except AttributeError: diff --git a/samples/openapi3/client/petstore/python/README.md b/samples/openapi3/client/petstore/python/README.md index ffc8abf88cf..d25e374bc91 100644 --- a/samples/openapi3/client/petstore/python/README.md +++ b/samples/openapi3/client/petstore/python/README.md @@ -35,11 +35,11 @@ Python >=3.7 - String type data is stored as a string and if you need to access types based on its format like date, date-time, uuid, number etc then you will need to use accessor functions on the instance - type string + format: See .as_date_, .as_datetime_, .as_decimal_, .as_uuid_ - - type number + format: See .as_float_, .as_int_oapg + - type number + format: See .as_float_, .as_int_ - this was done because openapi/json-schema defines constraints. string data may be type string with no format keyword in one schema, and include a format constraint in another schema - So if you need to access a string format based type, use as_date_/as_datetime_/as_decimal_/as_uuid_ - - So if you need to access a number format based type, use as_int_oapg/as_float_ + - So if you need to access a number format based type, use as_int_/as_float_ 7. Property access on AnyType(type unset) or object(dict) schemas - Only required keys with valid python names are properties like .someProp and have type hints - All optional keys may not exist, so properties are not defined for them diff --git a/samples/openapi3/client/petstore/python/petstore_api/schemas.py b/samples/openapi3/client/petstore/python/petstore_api/schemas.py index a36a31db683..9105fbe1906 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/schemas.py +++ b/samples/openapi3/client/petstore/python/petstore_api/schemas.py @@ -1824,7 +1824,7 @@ class NumberBase: MetaOapg: MetaOapgTyped @property - def as_int_oapg(self) -> int: + def as_int_(self) -> int: try: return self._as_int except AttributeError: @@ -2134,7 +2134,7 @@ def __new__(cls, _arg: typing.Union[decimal.Decimal, int, float], **kwargs: conf class IntBase: @property - def as_int_oapg(self) -> int: + def as_int_(self) -> int: try: return self._as_int except AttributeError: From 34ee883201a14f4d45c0667f35eab0151728b3e2 Mon Sep 17 00:00:00 2001 From: Justin Black Date: Fri, 30 Dec 2022 00:19:48 -0800 Subject: [PATCH 15/29] _get_class_oapg -> _get_class --- .../main/resources/python/schemas.handlebars | 22 +++++++++---------- .../python/unit_test_api/schemas.py | 22 +++++++++---------- .../python/this_package/schemas.py | 22 +++++++++---------- .../petstore/python/petstore_api/schemas.py | 22 +++++++++---------- 4 files changed, 44 insertions(+), 44 deletions(-) diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars index 541296f7537..6c69dbd94d9 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars @@ -799,7 +799,7 @@ def validate_required( return None -def _get_class_oapg(item_cls: typing.Union[types.FunctionType, staticmethod, typing.Type['Schema']]) -> typing.Type['Schema']: +def _get_class(item_cls: typing.Union[types.FunctionType, staticmethod, typing.Type['Schema']]) -> typing.Type['Schema']: if isinstance(item_cls, types.FunctionType): # referenced schema return item_cls() @@ -820,7 +820,7 @@ def validate_items( ) -> PathToSchemasType: if not isinstance(arg, tuple): return None - item_cls = _get_class_oapg(item_cls) + item_cls = _get_class(item_cls) path_to_schemas = {} for i, value in enumerate(arg): item_validation_metadata = ValidationMetadata( @@ -853,7 +853,7 @@ def validate_properties( for property_name, value in present_properties.items(): path_to_item = validation_metadata.path_to_item + (property_name,) schema = properties.__annotations__[property_name] - schema = _get_class_oapg(schema) + schema = _get_class(schema) arg_validation_metadata = ValidationMetadata( path_to_item=path_to_item, configuration=validation_metadata.configuration, @@ -878,7 +878,7 @@ def validate_additional_properties( ) -> typing.Optional[PathToSchemasType]: if not isinstance(arg, frozendict.frozendict): return None - schema = _get_class_oapg(additional_properties_schema) + schema = _get_class(additional_properties_schema) path_to_schemas = {} properties_annotations = cls.MetaOapg.Properties.__annotations__ if hasattr(cls.MetaOapg, 'Properties') else {} present_additional_properties = {k: v for k, v, in arg.items() if k not in properties_annotations} @@ -910,7 +910,7 @@ def validate_one_of( oneof_classes = [] path_to_schemas = collections.defaultdict(set) for one_of_cls in one_of_container_cls.classes: - schema = _get_class_oapg(one_of_cls) + schema = _get_class(one_of_cls) if schema in path_to_schemas[validation_metadata.path_to_item]: oneof_classes.append(schema) continue @@ -974,7 +974,7 @@ def validate_any_of( anyof_classes = [] path_to_schemas = collections.defaultdict(set) for any_of_cls in any_of_container_cls.classes: - schema = _get_class_oapg(any_of_cls) + schema = _get_class(any_of_cls) if schema is cls: """ optimistically assume that cls schema will pass validation @@ -1021,7 +1021,7 @@ def validate_all_of( ) -> PathToSchemasType: path_to_schemas = collections.defaultdict(set) for allof_cls in all_of_cls.classes: - schema = _get_class_oapg(allof_cls) + schema = _get_class(allof_cls) if schema is cls: """ optimistically assume that cls schema will pass validation @@ -1045,7 +1045,7 @@ def validate_not( **kwargs {{/if}} ) -> None: - not_schema = _get_class_oapg(not_cls) + not_schema = _get_class(not_cls) other_path_to_schemas = None not_exception = exceptions.ApiValueError( "Invalid value '{}' was passed in to {}. Value is invalid because it is disallowed by {}".format( @@ -1100,21 +1100,21 @@ def __get_discriminated_class(cls, disc_property_name: str, disc_payload_value: # TODO stop traveling if a cycle is hit if hasattr(cls.MetaOapg, 'AllOf'): for allof_cls in cls.MetaOapg.AllOf.classes: - allof_cls = _get_class_oapg(allof_cls) + allof_cls = _get_class(allof_cls) discriminated_cls = __get_discriminated_class( allof_cls, disc_property_name=disc_property_name, disc_payload_value=disc_payload_value) if discriminated_cls is not None: return discriminated_cls if hasattr(cls.MetaOapg, 'OneOf'): for oneof_cls in cls.MetaOapg.OneOf.classes: - oneof_cls = _get_class_oapg(oneof_cls) + oneof_cls = _get_class(oneof_cls) discriminated_cls = __get_discriminated_class( oneof_cls, disc_property_name=disc_property_name, disc_payload_value=disc_payload_value) if discriminated_cls is not None: return discriminated_cls if hasattr(cls.MetaOapg, 'AnyOf'): for anyof_cls in cls.MetaOapg.AnyOf.classes: - anyof_cls = _get_class_oapg(anyof_cls) + anyof_cls = _get_class(anyof_cls) discriminated_cls = __get_discriminated_class( anyof_cls, disc_property_name=disc_property_name, disc_payload_value=disc_payload_value) if discriminated_cls is not None: diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py index 61b178c6318..604943b7d00 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py @@ -755,7 +755,7 @@ def validate_required( return None -def _get_class_oapg(item_cls: typing.Union[types.FunctionType, staticmethod, typing.Type['Schema']]) -> typing.Type['Schema']: +def _get_class(item_cls: typing.Union[types.FunctionType, staticmethod, typing.Type['Schema']]) -> typing.Type['Schema']: if isinstance(item_cls, types.FunctionType): # referenced schema return item_cls() @@ -773,7 +773,7 @@ def validate_items( ) -> PathToSchemasType: if not isinstance(arg, tuple): return None - item_cls = _get_class_oapg(item_cls) + item_cls = _get_class(item_cls) path_to_schemas = {} for i, value in enumerate(arg): item_validation_metadata = ValidationMetadata( @@ -803,7 +803,7 @@ def validate_properties( for property_name, value in present_properties.items(): path_to_item = validation_metadata.path_to_item + (property_name,) schema = properties.__annotations__[property_name] - schema = _get_class_oapg(schema) + schema = _get_class(schema) arg_validation_metadata = ValidationMetadata( path_to_item=path_to_item, configuration=validation_metadata.configuration, @@ -825,7 +825,7 @@ def validate_additional_properties( ) -> typing.Optional[PathToSchemasType]: if not isinstance(arg, frozendict.frozendict): return None - schema = _get_class_oapg(additional_properties_schema) + schema = _get_class(additional_properties_schema) path_to_schemas = {} properties_annotations = cls.MetaOapg.Properties.__annotations__ if hasattr(cls.MetaOapg, 'Properties') else {} present_additional_properties = {k: v for k, v, in arg.items() if k not in properties_annotations} @@ -853,7 +853,7 @@ def validate_one_of( oneof_classes = [] path_to_schemas = collections.defaultdict(set) for one_of_cls in one_of_container_cls.classes: - schema = _get_class_oapg(one_of_cls) + schema = _get_class(one_of_cls) if schema in path_to_schemas[validation_metadata.path_to_item]: oneof_classes.append(schema) continue @@ -897,7 +897,7 @@ def validate_any_of( anyof_classes = [] path_to_schemas = collections.defaultdict(set) for any_of_cls in any_of_container_cls.classes: - schema = _get_class_oapg(any_of_cls) + schema = _get_class(any_of_cls) if schema is cls: """ optimistically assume that cls schema will pass validation @@ -933,7 +933,7 @@ def validate_all_of( ) -> PathToSchemasType: path_to_schemas = collections.defaultdict(set) for allof_cls in all_of_cls.classes: - schema = _get_class_oapg(allof_cls) + schema = _get_class(allof_cls) if schema is cls: """ optimistically assume that cls schema will pass validation @@ -954,7 +954,7 @@ def validate_not( cls: typing.Type, validation_metadata: ValidationMetadata, ) -> None: - not_schema = _get_class_oapg(not_cls) + not_schema = _get_class(not_cls) other_path_to_schemas = None not_exception = exceptions.ApiValueError( "Invalid value '{}' was passed in to {}. Value is invalid because it is disallowed by {}".format( @@ -1009,21 +1009,21 @@ def __get_discriminated_class(cls, disc_property_name: str, disc_payload_value: # TODO stop traveling if a cycle is hit if hasattr(cls.MetaOapg, 'AllOf'): for allof_cls in cls.MetaOapg.AllOf.classes: - allof_cls = _get_class_oapg(allof_cls) + allof_cls = _get_class(allof_cls) discriminated_cls = __get_discriminated_class( allof_cls, disc_property_name=disc_property_name, disc_payload_value=disc_payload_value) if discriminated_cls is not None: return discriminated_cls if hasattr(cls.MetaOapg, 'OneOf'): for oneof_cls in cls.MetaOapg.OneOf.classes: - oneof_cls = _get_class_oapg(oneof_cls) + oneof_cls = _get_class(oneof_cls) discriminated_cls = __get_discriminated_class( oneof_cls, disc_property_name=disc_property_name, disc_payload_value=disc_payload_value) if discriminated_cls is not None: return discriminated_cls if hasattr(cls.MetaOapg, 'AnyOf'): for anyof_cls in cls.MetaOapg.AnyOf.classes: - anyof_cls = _get_class_oapg(anyof_cls) + anyof_cls = _get_class(anyof_cls) discriminated_cls = __get_discriminated_class( anyof_cls, disc_property_name=disc_property_name, disc_payload_value=disc_payload_value) if discriminated_cls is not None: diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py index 14f035f1485..8d4f3be3c86 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py @@ -772,7 +772,7 @@ def validate_required( return None -def _get_class_oapg(item_cls: typing.Union[types.FunctionType, staticmethod, typing.Type['Schema']]) -> typing.Type['Schema']: +def _get_class(item_cls: typing.Union[types.FunctionType, staticmethod, typing.Type['Schema']]) -> typing.Type['Schema']: if isinstance(item_cls, types.FunctionType): # referenced schema return item_cls() @@ -791,7 +791,7 @@ def validate_items( ) -> PathToSchemasType: if not isinstance(arg, tuple): return None - item_cls = _get_class_oapg(item_cls) + item_cls = _get_class(item_cls) path_to_schemas = {} for i, value in enumerate(arg): item_validation_metadata = ValidationMetadata( @@ -822,7 +822,7 @@ def validate_properties( for property_name, value in present_properties.items(): path_to_item = validation_metadata.path_to_item + (property_name,) schema = properties.__annotations__[property_name] - schema = _get_class_oapg(schema) + schema = _get_class(schema) arg_validation_metadata = ValidationMetadata( path_to_item=path_to_item, configuration=validation_metadata.configuration, @@ -845,7 +845,7 @@ def validate_additional_properties( ) -> typing.Optional[PathToSchemasType]: if not isinstance(arg, frozendict.frozendict): return None - schema = _get_class_oapg(additional_properties_schema) + schema = _get_class(additional_properties_schema) path_to_schemas = {} properties_annotations = cls.MetaOapg.Properties.__annotations__ if hasattr(cls.MetaOapg, 'Properties') else {} present_additional_properties = {k: v for k, v, in arg.items() if k not in properties_annotations} @@ -875,7 +875,7 @@ def validate_one_of( oneof_classes = [] path_to_schemas = collections.defaultdict(set) for one_of_cls in one_of_container_cls.classes: - schema = _get_class_oapg(one_of_cls) + schema = _get_class(one_of_cls) if schema in path_to_schemas[validation_metadata.path_to_item]: oneof_classes.append(schema) continue @@ -933,7 +933,7 @@ def validate_any_of( anyof_classes = [] path_to_schemas = collections.defaultdict(set) for any_of_cls in any_of_container_cls.classes: - schema = _get_class_oapg(any_of_cls) + schema = _get_class(any_of_cls) if schema is cls: """ optimistically assume that cls schema will pass validation @@ -976,7 +976,7 @@ def validate_all_of( ) -> PathToSchemasType: path_to_schemas = collections.defaultdict(set) for allof_cls in all_of_cls.classes: - schema = _get_class_oapg(allof_cls) + schema = _get_class(allof_cls) if schema is cls: """ optimistically assume that cls schema will pass validation @@ -998,7 +998,7 @@ def validate_not( validation_metadata: ValidationMetadata, **kwargs ) -> None: - not_schema = _get_class_oapg(not_cls) + not_schema = _get_class(not_cls) other_path_to_schemas = None not_exception = exceptions.ApiValueError( "Invalid value '{}' was passed in to {}. Value is invalid because it is disallowed by {}".format( @@ -1053,21 +1053,21 @@ def __get_discriminated_class(cls, disc_property_name: str, disc_payload_value: # TODO stop traveling if a cycle is hit if hasattr(cls.MetaOapg, 'AllOf'): for allof_cls in cls.MetaOapg.AllOf.classes: - allof_cls = _get_class_oapg(allof_cls) + allof_cls = _get_class(allof_cls) discriminated_cls = __get_discriminated_class( allof_cls, disc_property_name=disc_property_name, disc_payload_value=disc_payload_value) if discriminated_cls is not None: return discriminated_cls if hasattr(cls.MetaOapg, 'OneOf'): for oneof_cls in cls.MetaOapg.OneOf.classes: - oneof_cls = _get_class_oapg(oneof_cls) + oneof_cls = _get_class(oneof_cls) discriminated_cls = __get_discriminated_class( oneof_cls, disc_property_name=disc_property_name, disc_payload_value=disc_payload_value) if discriminated_cls is not None: return discriminated_cls if hasattr(cls.MetaOapg, 'AnyOf'): for anyof_cls in cls.MetaOapg.AnyOf.classes: - anyof_cls = _get_class_oapg(anyof_cls) + anyof_cls = _get_class(anyof_cls) discriminated_cls = __get_discriminated_class( anyof_cls, disc_property_name=disc_property_name, disc_payload_value=disc_payload_value) if discriminated_cls is not None: diff --git a/samples/openapi3/client/petstore/python/petstore_api/schemas.py b/samples/openapi3/client/petstore/python/petstore_api/schemas.py index 9105fbe1906..a3516938601 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/schemas.py +++ b/samples/openapi3/client/petstore/python/petstore_api/schemas.py @@ -755,7 +755,7 @@ def validate_required( return None -def _get_class_oapg(item_cls: typing.Union[types.FunctionType, staticmethod, typing.Type['Schema']]) -> typing.Type['Schema']: +def _get_class(item_cls: typing.Union[types.FunctionType, staticmethod, typing.Type['Schema']]) -> typing.Type['Schema']: if isinstance(item_cls, types.FunctionType): # referenced schema return item_cls() @@ -773,7 +773,7 @@ def validate_items( ) -> PathToSchemasType: if not isinstance(arg, tuple): return None - item_cls = _get_class_oapg(item_cls) + item_cls = _get_class(item_cls) path_to_schemas = {} for i, value in enumerate(arg): item_validation_metadata = ValidationMetadata( @@ -803,7 +803,7 @@ def validate_properties( for property_name, value in present_properties.items(): path_to_item = validation_metadata.path_to_item + (property_name,) schema = properties.__annotations__[property_name] - schema = _get_class_oapg(schema) + schema = _get_class(schema) arg_validation_metadata = ValidationMetadata( path_to_item=path_to_item, configuration=validation_metadata.configuration, @@ -825,7 +825,7 @@ def validate_additional_properties( ) -> typing.Optional[PathToSchemasType]: if not isinstance(arg, frozendict.frozendict): return None - schema = _get_class_oapg(additional_properties_schema) + schema = _get_class(additional_properties_schema) path_to_schemas = {} properties_annotations = cls.MetaOapg.Properties.__annotations__ if hasattr(cls.MetaOapg, 'Properties') else {} present_additional_properties = {k: v for k, v, in arg.items() if k not in properties_annotations} @@ -853,7 +853,7 @@ def validate_one_of( oneof_classes = [] path_to_schemas = collections.defaultdict(set) for one_of_cls in one_of_container_cls.classes: - schema = _get_class_oapg(one_of_cls) + schema = _get_class(one_of_cls) if schema in path_to_schemas[validation_metadata.path_to_item]: oneof_classes.append(schema) continue @@ -897,7 +897,7 @@ def validate_any_of( anyof_classes = [] path_to_schemas = collections.defaultdict(set) for any_of_cls in any_of_container_cls.classes: - schema = _get_class_oapg(any_of_cls) + schema = _get_class(any_of_cls) if schema is cls: """ optimistically assume that cls schema will pass validation @@ -933,7 +933,7 @@ def validate_all_of( ) -> PathToSchemasType: path_to_schemas = collections.defaultdict(set) for allof_cls in all_of_cls.classes: - schema = _get_class_oapg(allof_cls) + schema = _get_class(allof_cls) if schema is cls: """ optimistically assume that cls schema will pass validation @@ -954,7 +954,7 @@ def validate_not( cls: typing.Type, validation_metadata: ValidationMetadata, ) -> None: - not_schema = _get_class_oapg(not_cls) + not_schema = _get_class(not_cls) other_path_to_schemas = None not_exception = exceptions.ApiValueError( "Invalid value '{}' was passed in to {}. Value is invalid because it is disallowed by {}".format( @@ -1009,21 +1009,21 @@ def __get_discriminated_class(cls, disc_property_name: str, disc_payload_value: # TODO stop traveling if a cycle is hit if hasattr(cls.MetaOapg, 'AllOf'): for allof_cls in cls.MetaOapg.AllOf.classes: - allof_cls = _get_class_oapg(allof_cls) + allof_cls = _get_class(allof_cls) discriminated_cls = __get_discriminated_class( allof_cls, disc_property_name=disc_property_name, disc_payload_value=disc_payload_value) if discriminated_cls is not None: return discriminated_cls if hasattr(cls.MetaOapg, 'OneOf'): for oneof_cls in cls.MetaOapg.OneOf.classes: - oneof_cls = _get_class_oapg(oneof_cls) + oneof_cls = _get_class(oneof_cls) discriminated_cls = __get_discriminated_class( oneof_cls, disc_property_name=disc_property_name, disc_payload_value=disc_payload_value) if discriminated_cls is not None: return discriminated_cls if hasattr(cls.MetaOapg, 'AnyOf'): for anyof_cls in cls.MetaOapg.AnyOf.classes: - anyof_cls = _get_class_oapg(anyof_cls) + anyof_cls = _get_class(anyof_cls) discriminated_cls = __get_discriminated_class( anyof_cls, disc_property_name=disc_property_name, disc_payload_value=disc_payload_value) if discriminated_cls is not None: From c27d1437db38766ce5ff7f5d8b55aa406c661c1e Mon Sep 17 00:00:00 2001 From: Justin Black Date: Fri, 30 Dec 2022 00:22:05 -0800 Subject: [PATCH 16/29] get_item_oapg -> get_item_ --- .../main/resources/python/README.handlebars | 4 +- .../property_getitems.handlebars | 22 ++++----- .../main/resources/python/schemas.handlebars | 2 +- .../client/3_0_3_unit_test/python/README.md | 4 +- ...s_allows_a_schema_which_should_validate.py | 10 ++-- ..._allows_a_schema_which_should_validate.pyi | 10 ++-- ...tionalproperties_are_allowed_by_default.py | 10 ++-- ...ionalproperties_are_allowed_by_default.pyi | 10 ++-- ...dditionalproperties_can_exist_by_itself.py | 4 +- ...ditionalproperties_can_exist_by_itself.pyi | 4 +- ...operties_should_not_look_in_applicators.py | 12 ++--- ...perties_should_not_look_in_applicators.pyi | 12 ++--- .../unit_test_api/components/schema/allof.py | 16 +++---- .../unit_test_api/components/schema/allof.pyi | 16 +++---- .../schema/allof_with_base_schema.py | 24 +++++----- .../schema/allof_with_base_schema.pyi | 24 +++++----- .../components/schema/anyof_complex_types.py | 16 +++---- .../components/schema/anyof_complex_types.pyi | 16 +++---- .../components/schema/enums_in_properties.py | 10 ++-- .../components/schema/enums_in_properties.pyi | 10 ++-- .../components/schema/forbidden_property.py | 8 ++-- .../components/schema/forbidden_property.pyi | 8 ++-- .../invalid_string_value_for_default.py | 8 ++-- .../invalid_string_value_for_default.pyi | 8 ++-- .../schema/not_more_complex_schema.py | 8 ++-- .../schema/not_more_complex_schema.pyi | 8 ++-- .../schema/object_properties_validation.py | 10 ++-- .../schema/object_properties_validation.pyi | 10 ++-- .../components/schema/oneof_complex_types.py | 16 +++---- .../components/schema/oneof_complex_types.pyi | 16 +++---- .../components/schema/oneof_with_required.py | 20 ++++---- .../components/schema/oneof_with_required.pyi | 20 ++++---- .../properties_with_escaped_characters.py | 18 +++---- .../properties_with_escaped_characters.pyi | 18 +++---- ...perty_named_ref_that_is_not_a_reference.py | 8 ++-- ...erty_named_ref_that_is_not_a_reference.pyi | 8 ++-- .../schema/ref_in_additionalproperties.py | 4 +- .../schema/ref_in_additionalproperties.pyi | 4 +- .../components/schema/ref_in_property.py | 8 ++-- .../components/schema/ref_in_property.pyi | 8 ++-- .../schema/required_default_validation.py | 8 ++-- .../schema/required_default_validation.pyi | 8 ++-- .../components/schema/required_validation.py | 10 ++-- .../components/schema/required_validation.pyi | 10 ++-- .../schema/required_with_empty_array.py | 8 ++-- .../schema/required_with_empty_array.pyi | 8 ++-- .../required_with_escaped_characters.py | 18 +++---- .../required_with_escaped_characters.pyi | 18 +++---- ..._do_anything_if_the_property_is_missing.py | 8 ++-- ...do_anything_if_the_property_is_missing.pyi | 8 ++-- .../python/unit_test_api/schemas.py | 2 +- .../python/README.md | 4 +- .../components/schema/addition_operator.py | 10 ++-- .../components/schema/addition_operator.pyi | 10 ++-- .../components/schema/subtraction_operator.py | 10 ++-- .../schema/subtraction_operator.pyi | 10 ++-- .../python/this_package/schemas.py | 2 +- .../openapi3/client/petstore/python/README.md | 4 +- .../application_json.py | 4 +- .../application_json.pyi | 4 +- .../components/schema/_200_response.py | 10 ++-- .../components/schema/_200_response.pyi | 10 ++-- .../petstore_api/components/schema/_return.py | 8 ++-- .../components/schema/_return.pyi | 8 ++-- .../schema/abstract_step_message.py | 12 ++--- .../schema/abstract_step_message.pyi | 12 ++--- .../schema/additional_properties_class.py | 42 ++++++++-------- .../schema/additional_properties_class.pyi | 42 ++++++++-------- .../schema/additional_properties_validator.py | 12 ++--- .../additional_properties_validator.pyi | 12 ++--- ...ditional_properties_with_array_of_enums.py | 4 +- ...itional_properties_with_array_of_enums.pyi | 4 +- .../petstore_api/components/schema/address.py | 4 +- .../components/schema/address.pyi | 4 +- .../petstore_api/components/schema/animal.py | 10 ++-- .../petstore_api/components/schema/animal.pyi | 10 ++-- .../components/schema/any_type_and_format.py | 24 +++++----- .../components/schema/any_type_and_format.pyi | 24 +++++----- .../components/schema/api_response.py | 12 ++--- .../components/schema/api_response.pyi | 12 ++--- .../petstore_api/components/schema/apple.py | 10 ++-- .../petstore_api/components/schema/apple.pyi | 10 ++-- .../components/schema/apple_req.py | 8 ++-- .../components/schema/apple_req.pyi | 8 ++-- .../schema/array_of_array_of_number_only.py | 8 ++-- .../schema/array_of_array_of_number_only.pyi | 8 ++-- .../components/schema/array_of_number_only.py | 8 ++-- .../schema/array_of_number_only.pyi | 8 ++-- .../components/schema/array_test.py | 12 ++--- .../components/schema/array_test.pyi | 12 ++--- .../petstore_api/components/schema/banana.py | 8 ++-- .../petstore_api/components/schema/banana.pyi | 8 ++-- .../components/schema/banana_req.py | 8 ++-- .../components/schema/banana_req.pyi | 8 ++-- .../components/schema/basque_pig.py | 8 ++-- .../components/schema/basque_pig.pyi | 8 ++-- .../components/schema/capitalization.py | 18 +++---- .../components/schema/capitalization.pyi | 18 +++---- .../petstore_api/components/schema/cat.py | 8 ++-- .../petstore_api/components/schema/cat.pyi | 8 ++-- .../components/schema/category.py | 10 ++-- .../components/schema/category.pyi | 10 ++-- .../components/schema/child_cat.py | 8 ++-- .../components/schema/child_cat.pyi | 8 ++-- .../components/schema/class_model.py | 8 ++-- .../components/schema/class_model.pyi | 8 ++-- .../petstore_api/components/schema/client.py | 8 ++-- .../petstore_api/components/schema/client.pyi | 8 ++-- .../schema/complex_quadrilateral.py | 8 ++-- .../schema/complex_quadrilateral.pyi | 8 ++-- .../components/schema/danish_pig.py | 8 ++-- .../components/schema/danish_pig.pyi | 8 ++-- .../petstore_api/components/schema/dog.py | 8 ++-- .../petstore_api/components/schema/dog.pyi | 8 ++-- .../petstore_api/components/schema/drawing.py | 14 +++--- .../components/schema/drawing.pyi | 14 +++--- .../components/schema/enum_arrays.py | 10 ++-- .../components/schema/enum_arrays.pyi | 10 ++-- .../components/schema/enum_test.py | 24 +++++----- .../components/schema/enum_test.pyi | 24 +++++----- .../components/schema/equilateral_triangle.py | 8 ++-- .../schema/equilateral_triangle.pyi | 8 ++-- .../petstore_api/components/schema/file.py | 8 ++-- .../petstore_api/components/schema/file.pyi | 8 ++-- .../schema/file_schema_test_class.py | 10 ++-- .../schema/file_schema_test_class.pyi | 10 ++-- .../petstore_api/components/schema/foo.py | 8 ++-- .../petstore_api/components/schema/foo.pyi | 8 ++-- .../components/schema/format_test.py | 48 +++++++++---------- .../components/schema/format_test.pyi | 48 +++++++++---------- .../components/schema/from_schema.py | 10 ++-- .../components/schema/from_schema.pyi | 10 ++-- .../petstore_api/components/schema/fruit.py | 8 ++-- .../petstore_api/components/schema/fruit.pyi | 8 ++-- .../components/schema/gm_fruit.py | 8 ++-- .../components/schema/gm_fruit.pyi | 8 ++-- .../components/schema/grandparent_animal.py | 8 ++-- .../components/schema/grandparent_animal.pyi | 8 ++-- .../components/schema/has_only_read_only.py | 10 ++-- .../components/schema/has_only_read_only.pyi | 10 ++-- .../components/schema/health_check_result.py | 8 ++-- .../components/schema/health_check_result.pyi | 8 ++-- .../components/schema/isosceles_triangle.py | 8 ++-- .../components/schema/isosceles_triangle.pyi | 8 ++-- .../json_patch_request_add_replace_test.py | 10 ++-- .../json_patch_request_add_replace_test.pyi | 10 ++-- .../schema/json_patch_request_move_copy.py | 10 ++-- .../schema/json_patch_request_move_copy.pyi | 10 ++-- .../schema/json_patch_request_remove.py | 8 ++-- .../schema/json_patch_request_remove.pyi | 8 ++-- .../components/schema/map_test.py | 30 ++++++------ .../components/schema/map_test.pyi | 30 ++++++------ ...perties_and_additional_properties_class.py | 16 +++---- ...erties_and_additional_properties_class.pyi | 16 +++---- .../petstore_api/components/schema/money.py | 10 ++-- .../petstore_api/components/schema/money.pyi | 10 ++-- .../petstore_api/components/schema/name.py | 12 ++--- .../petstore_api/components/schema/name.pyi | 12 ++--- .../schema/no_additional_properties.py | 8 ++-- .../schema/no_additional_properties.pyi | 8 ++-- .../components/schema/nullable_class.py | 42 ++++++++-------- .../components/schema/nullable_class.pyi | 42 ++++++++-------- .../components/schema/number_only.py | 8 ++-- .../components/schema/number_only.pyi | 8 ++-- ...ject_model_with_arg_and_args_properties.py | 10 ++-- ...ect_model_with_arg_and_args_properties.pyi | 10 ++-- .../schema/object_model_with_ref_props.py | 12 ++--- .../schema/object_model_with_ref_props.pyi | 12 ++--- ..._with_req_test_prop_from_unset_add_prop.py | 10 ++-- ...with_req_test_prop_from_unset_add_prop.pyi | 10 ++-- .../schema/object_with_decimal_properties.py | 12 ++--- .../schema/object_with_decimal_properties.pyi | 12 ++--- .../object_with_difficultly_named_props.py | 12 ++--- .../object_with_difficultly_named_props.pyi | 12 ++--- ...object_with_inline_composition_property.py | 8 ++-- ...bject_with_inline_composition_property.pyi | 8 ++-- ...ect_with_invalid_named_refed_properties.py | 10 ++-- ...ct_with_invalid_named_refed_properties.pyi | 10 ++-- .../schema/object_with_optional_test_prop.py | 8 ++-- .../schema/object_with_optional_test_prop.pyi | 8 ++-- .../petstore_api/components/schema/order.py | 18 +++---- .../petstore_api/components/schema/order.pyi | 18 +++---- .../petstore_api/components/schema/pet.py | 18 +++---- .../petstore_api/components/schema/pet.pyi | 18 +++---- .../petstore_api/components/schema/player.py | 10 ++-- .../petstore_api/components/schema/player.pyi | 10 ++-- .../schema/quadrilateral_interface.py | 10 ++-- .../schema/quadrilateral_interface.pyi | 10 ++-- .../components/schema/read_only_first.py | 10 ++-- .../components/schema/read_only_first.pyi | 10 ++-- .../req_props_from_explicit_add_props.py | 10 ++-- .../req_props_from_explicit_add_props.pyi | 10 ++-- .../schema/req_props_from_true_add_props.py | 10 ++-- .../schema/req_props_from_true_add_props.pyi | 10 ++-- .../schema/req_props_from_unset_add_props.py | 10 ++-- .../schema/req_props_from_unset_add_props.pyi | 10 ++-- .../components/schema/scalene_triangle.py | 8 ++-- .../components/schema/scalene_triangle.pyi | 8 ++-- .../schema/self_referencing_object_model.py | 8 ++-- .../schema/self_referencing_object_model.pyi | 8 ++-- .../components/schema/simple_quadrilateral.py | 8 ++-- .../schema/simple_quadrilateral.pyi | 8 ++-- .../components/schema/special_model_name.py | 8 ++-- .../components/schema/special_model_name.pyi | 8 ++-- .../components/schema/string_boolean_map.py | 4 +- .../components/schema/string_boolean_map.pyi | 4 +- .../petstore_api/components/schema/tag.py | 10 ++-- .../petstore_api/components/schema/tag.pyi | 10 ++-- .../components/schema/triangle_interface.py | 10 ++-- .../components/schema/triangle_interface.pyi | 10 ++-- .../petstore_api/components/schema/user.py | 32 ++++++------- .../petstore_api/components/schema/user.pyi | 32 ++++++------- .../petstore_api/components/schema/whale.py | 12 ++--- .../petstore_api/components/schema/whale.pyi | 12 ++--- .../petstore_api/components/schema/zebra.py | 10 ++-- .../petstore_api/components/schema/zebra.pyi | 10 ++-- .../application_x_www_form_urlencoded.py | 10 ++-- .../application_x_www_form_urlencoded.pyi | 10 ++-- .../application_x_www_form_urlencoded.py | 34 ++++++------- .../application_x_www_form_urlencoded.pyi | 34 ++++++------- .../post/request_body/application_json.py | 4 +- .../post/request_body/application_json.pyi | 4 +- .../post/parameter_1/schema.py | 8 ++-- .../post/parameter_1/schema.pyi | 8 ++-- .../post/request_body/multipart_form_data.py | 8 ++-- .../post/request_body/multipart_form_data.pyi | 8 ++-- .../response_for_200/multipart_form_data.py | 8 ++-- .../response_for_200/multipart_form_data.pyi | 8 ++-- .../application_x_www_form_urlencoded.py | 10 ++-- .../application_x_www_form_urlencoded.pyi | 10 ++-- .../get/parameter_0/schema.py | 8 ++-- .../get/parameter_0/schema.pyi | 8 ++-- .../post/request_body/multipart_form_data.py | 10 ++-- .../post/request_body/multipart_form_data.pyi | 10 ++-- .../post/request_body/multipart_form_data.py | 10 ++-- .../post/request_body/multipart_form_data.pyi | 10 ++-- .../post/request_body/multipart_form_data.py | 8 ++-- .../post/request_body/multipart_form_data.pyi | 8 ++-- .../response_for_default/application_json.py | 8 ++-- .../response_for_default/application_json.pyi | 8 ++-- .../application_x_www_form_urlencoded.py | 10 ++-- .../application_x_www_form_urlencoded.pyi | 10 ++-- .../post/request_body/multipart_form_data.py | 10 ++-- .../post/request_body/multipart_form_data.pyi | 10 ++-- .../petstore/python/petstore_api/schemas.py | 2 +- .../test_additional_properties_class.py | 2 +- .../python/tests_manual/test_fruit.py | 2 +- .../python/tests_manual/test_fruit_req.py | 2 +- .../python/tests_manual/test_gm_fruit.py | 4 +- .../test_no_additional_properties.py | 2 +- 250 files changed, 1385 insertions(+), 1385 deletions(-) diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/README.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/README.handlebars index 00c93254734..f77704938e2 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/README.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/README.handlebars @@ -52,8 +52,8 @@ Python {{generatorLanguageVersion}} - Only required keys with valid python names are properties like .someProp and have type hints - All optional keys may not exist, so properties are not defined for them - One can access optional values with dict_instance['optionalProp'] and KeyError will be raised if it does not exist - - Use get_item_oapg if you need a way to always get a value whether or not the key exists - - If the key does not exist, schemas.unset is returned from calling dict_instance.get_item_oapg('optionalProp') + - Use get_item_ if you need a way to always get a value whether or not the key exists + - If the key does not exist, schemas.unset is returned from calling dict_instance.get_item_('optionalProp') - All required and optional keys have type hints for this method, and @typing.overload is used - A type hint is also generated for additionalProperties accessed using this method - So you will need to update you code to use some_instance['optionalProp'] to access optional property diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/model_templates/property_getitems.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/model_templates/property_getitems.handlebars index 70d17cc2c9a..b6ca5490677 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/model_templates/property_getitems.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/model_templates/property_getitems.handlebars @@ -60,16 +60,16 @@ def __getitem__(self, name: str) -> {{#if refClass}}'{{> refclass_with_module }} @typing.overload {{#if refClass}} -def get_item_oapg(self, name: typing_extensions.Literal["{{{@key.getName}}}"]) -> '{{> refclass_with_module }}': ... +def get_item_(self, name: typing_extensions.Literal["{{{@key.getName}}}"]) -> '{{> refclass_with_module }}': ... {{else}} {{#if name}} {{#if schemaIsFromAdditionalProperties}} -def get_item_oapg(self, name: typing_extensions.Literal["{{{@key.getName}}}"]) -> MetaOapg.{{name.getCamelCaseName}}: ... +def get_item_(self, name: typing_extensions.Literal["{{{@key.getName}}}"]) -> MetaOapg.{{name.getCamelCaseName}}: ... {{else}} -def get_item_oapg(self, name: typing_extensions.Literal["{{{@key.getName}}}"]) -> MetaOapg.Properties.{{name.getCamelCaseName}}: ... +def get_item_(self, name: typing_extensions.Literal["{{{@key.getName}}}"]) -> MetaOapg.Properties.{{name.getCamelCaseName}}: ... {{/if}} {{else}} -def get_item_oapg(self, name: typing_extensions.Literal["{{{@key.getName}}}"]) -> schemas.AnyTypeSchema: ... +def get_item_(self, name: typing_extensions.Literal["{{{@key.getName}}}"]) -> schemas.AnyTypeSchema: ... {{/if}} {{/if}} {{/with}} @@ -80,9 +80,9 @@ def get_item_oapg(self, name: typing_extensions.Literal["{{{@key.getName}}}"]) - @typing.overload {{#if refClass}} -def get_item_oapg(self, name: typing_extensions.Literal["{{{@key.getName}}}"]) -> typing.Union['{{> refclass_with_module }}', schemas.Unset]: ... +def get_item_(self, name: typing_extensions.Literal["{{{@key.getName}}}"]) -> typing.Union['{{> refclass_with_module }}', schemas.Unset]: ... {{else}} -def get_item_oapg(self, name: typing_extensions.Literal["{{{@key.getName}}}"]) -> typing.Union[MetaOapg.Properties.{{name.getCamelCaseName}}, schemas.Unset]: ... +def get_item_(self, name: typing_extensions.Literal["{{{@key.getName}}}"]) -> typing.Union[MetaOapg.Properties.{{name.getCamelCaseName}}, schemas.Unset]: ... {{/if}} {{/each}} {{/if}} @@ -91,21 +91,21 @@ def get_item_oapg(self, name: typing_extensions.Literal["{{{@key.getName}}}"]) - {{#unless getIsBooleanSchemaFalse}} @typing.overload -def get_item_oapg(self, name: str) -> typing.Union[{{#if refClass}}'{{> refclass_with_module }}'{{else}}MetaOapg.{{name.getCamelCaseName}}{{/if}}, schemas.Unset]: ... +def get_item_(self, name: str) -> typing.Union[{{#if refClass}}'{{> refclass_with_module }}'{{else}}MetaOapg.{{name.getCamelCaseName}}{{/if}}, schemas.Unset]: ... {{/unless}} {{else}} @typing.overload -def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... +def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... {{/with}} -{{> model_templates/property_getitem methodName="get_item_oapg" }} +{{> model_templates/property_getitem methodName="get_item_" }} {{else}} {{#with additionalProperties}} {{#unless getIsBooleanSchemaFalse}} -def get_item_oapg(self, name: str) -> {{#if refClass}}'{{> refclass_with_module }}'{{else}}MetaOapg.{{name.getCamelCaseName}}{{/if}}: - return super().get_item_oapg(name) +def get_item_(self, name: str) -> {{#if refClass}}'{{> refclass_with_module }}'{{else}}MetaOapg.{{name.getCamelCaseName}}{{/if}}: + return super().get_item_(name) {{/unless}} {{/with}} {{/or}} \ No newline at end of file diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars index 6c69dbd94d9..571ac8c5a39 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars @@ -2036,7 +2036,7 @@ class DictBase: except KeyError as ex: raise AttributeError(str(ex)) - def get_item_oapg(self, name: str) -> typing.Union['AnyTypeSchema', Unset]: + def get_item_(self, name: str) -> typing.Union['AnyTypeSchema', Unset]: # dict_instance[name] accessor if not isinstance(self, frozendict.frozendict): raise NotImplementedError() diff --git a/samples/openapi3/client/3_0_3_unit_test/python/README.md b/samples/openapi3/client/3_0_3_unit_test/python/README.md index 42209a13f63..94b69ef83a7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/README.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/README.md @@ -44,8 +44,8 @@ Python >=3.7 - Only required keys with valid python names are properties like .someProp and have type hints - All optional keys may not exist, so properties are not defined for them - One can access optional values with dict_instance['optionalProp'] and KeyError will be raised if it does not exist - - Use get_item_oapg if you need a way to always get a value whether or not the key exists - - If the key does not exist, schemas.unset is returned from calling dict_instance.get_item_oapg('optionalProp') + - Use get_item_ if you need a way to always get a value whether or not the key exists + - If the key does not exist, schemas.unset is returned from calling dict_instance.get_item_('optionalProp') - All required and optional keys have type hints for this method, and @typing.overload is used - A type hint is also generated for additionalProperties accessed using this method - So you will need to update you code to use some_instance['optionalProp'] to access optional property diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_allows_a_schema_which_should_validate.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_allows_a_schema_which_should_validate.py index 98543333cd5..2baa5250642 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_allows_a_schema_which_should_validate.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_allows_a_schema_which_should_validate.py @@ -66,15 +66,15 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["bar"]) -> typing.Union[MetaOapg.Properties.Bar, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["bar"]) -> typing.Union[MetaOapg.Properties.Bar, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[MetaOapg.AdditionalProperties, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[MetaOapg.AdditionalProperties, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["foo"], @@ -82,7 +82,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_allows_a_schema_which_should_validate.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_allows_a_schema_which_should_validate.pyi index f977d045908..88539da5f8f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_allows_a_schema_which_should_validate.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_allows_a_schema_which_should_validate.pyi @@ -65,15 +65,15 @@ class AdditionalpropertiesAllowsASchemaWhichShouldValidate( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["bar"]) -> typing.Union[MetaOapg.Properties.Bar, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["bar"]) -> typing.Union[MetaOapg.Properties.Bar, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[MetaOapg.AdditionalProperties, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[MetaOapg.AdditionalProperties, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["foo"], @@ -81,7 +81,7 @@ class AdditionalpropertiesAllowsASchemaWhichShouldValidate( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_are_allowed_by_default.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_are_allowed_by_default.py index db1607ec605..f2701e6bfcd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_are_allowed_by_default.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_are_allowed_by_default.py @@ -66,15 +66,15 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["bar"]) -> typing.Union[MetaOapg.Properties.Bar, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["bar"]) -> typing.Union[MetaOapg.Properties.Bar, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["foo"], @@ -82,7 +82,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_are_allowed_by_default.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_are_allowed_by_default.pyi index db1607ec605..f2701e6bfcd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_are_allowed_by_default.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_are_allowed_by_default.pyi @@ -66,15 +66,15 @@ class AdditionalpropertiesAreAllowedByDefault( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["bar"]) -> typing.Union[MetaOapg.Properties.Bar, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["bar"]) -> typing.Union[MetaOapg.Properties.Bar, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["foo"], @@ -82,7 +82,7 @@ class AdditionalpropertiesAreAllowedByDefault( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_can_exist_by_itself.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_can_exist_by_itself.py index 979cbed68f1..62a3aea2fbf 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_can_exist_by_itself.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_can_exist_by_itself.py @@ -41,8 +41,8 @@ def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_oapg(self, name: str) -> MetaOapg.AdditionalProperties: - return super().get_item_oapg(name) + def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_can_exist_by_itself.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_can_exist_by_itself.pyi index 7f6bd8a893b..e7154998930 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_can_exist_by_itself.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_can_exist_by_itself.pyi @@ -40,8 +40,8 @@ class AdditionalpropertiesCanExistByItself( # dict_instance[name] accessor return super().__getitem__(name) - def get_item_oapg(self, name: str) -> MetaOapg.AdditionalProperties: - return super().get_item_oapg(name) + def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_should_not_look_in_applicators.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_should_not_look_in_applicators.py index f232095fa18..d463feaca04 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_should_not_look_in_applicators.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_should_not_look_in_applicators.py @@ -72,19 +72,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["foo"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, @@ -109,8 +109,8 @@ def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_oapg(self, name: str) -> MetaOapg.AdditionalProperties: - return super().get_item_oapg(name) + def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_should_not_look_in_applicators.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_should_not_look_in_applicators.pyi index f232095fa18..d463feaca04 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_should_not_look_in_applicators.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_should_not_look_in_applicators.pyi @@ -72,19 +72,19 @@ class AdditionalpropertiesShouldNotLookInApplicators( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["foo"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, @@ -109,8 +109,8 @@ class AdditionalpropertiesShouldNotLookInApplicators( # dict_instance[name] accessor return super().__getitem__(name) - def get_item_oapg(self, name: str) -> MetaOapg.AdditionalProperties: - return super().get_item_oapg(name) + def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof.py index 1cfe58eba57..e3ef4e5e8c6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof.py @@ -76,19 +76,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... + def get_item_(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["bar"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, @@ -143,19 +143,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["foo"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof.pyi index 1cfe58eba57..e3ef4e5e8c6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof.pyi @@ -76,19 +76,19 @@ class Allof( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... + def get_item_(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["bar"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, @@ -143,19 +143,19 @@ class Allof( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["foo"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_base_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_base_schema.py index 081f1a5459a..2bf6bcc8229 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_base_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_base_schema.py @@ -85,19 +85,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["foo"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, @@ -152,19 +152,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["baz"]) -> MetaOapg.Properties.Baz: ... + def get_item_(self, name: typing_extensions.Literal["baz"]) -> MetaOapg.Properties.Baz: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["baz"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, @@ -205,19 +205,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... + def get_item_(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["bar"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_base_schema.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_base_schema.pyi index 081f1a5459a..2bf6bcc8229 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_base_schema.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_base_schema.pyi @@ -85,19 +85,19 @@ class AllofWithBaseSchema( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["foo"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, @@ -152,19 +152,19 @@ class AllofWithBaseSchema( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["baz"]) -> MetaOapg.Properties.Baz: ... + def get_item_(self, name: typing_extensions.Literal["baz"]) -> MetaOapg.Properties.Baz: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["baz"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, @@ -205,19 +205,19 @@ class AllofWithBaseSchema( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... + def get_item_(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["bar"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_complex_types.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_complex_types.py index 3934f2204e0..f76bcfd69b0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_complex_types.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_complex_types.py @@ -76,19 +76,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... + def get_item_(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["bar"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, @@ -143,19 +143,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["foo"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_complex_types.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_complex_types.pyi index 3934f2204e0..f76bcfd69b0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_complex_types.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_complex_types.pyi @@ -76,19 +76,19 @@ class AnyofComplexTypes( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... + def get_item_(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["bar"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, @@ -143,19 +143,19 @@ class AnyofComplexTypes( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["foo"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/enums_in_properties.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/enums_in_properties.py index 1eb67d23c6b..073838629cd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/enums_in_properties.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/enums_in_properties.py @@ -104,15 +104,15 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... + def get_item_(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["bar"], @@ -120,7 +120,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/enums_in_properties.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/enums_in_properties.pyi index 345087dd38e..53d12c6b81f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/enums_in_properties.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/enums_in_properties.pyi @@ -85,15 +85,15 @@ class EnumsInProperties( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... + def get_item_(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["bar"], @@ -101,7 +101,7 @@ class EnumsInProperties( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/forbidden_property.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/forbidden_property.py index 77eb36ab0cc..e2c08085bbc 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/forbidden_property.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/forbidden_property.py @@ -60,19 +60,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["foo"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/forbidden_property.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/forbidden_property.pyi index 77eb36ab0cc..e2c08085bbc 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/forbidden_property.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/forbidden_property.pyi @@ -60,19 +60,19 @@ class ForbiddenProperty( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["foo"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/invalid_string_value_for_default.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/invalid_string_value_for_default.py index 1255624f572..6b4f35a59c3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/invalid_string_value_for_default.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/invalid_string_value_for_default.py @@ -71,19 +71,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["bar"]) -> typing.Union[MetaOapg.Properties.Bar, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["bar"]) -> typing.Union[MetaOapg.Properties.Bar, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["bar"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/invalid_string_value_for_default.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/invalid_string_value_for_default.pyi index 40570855b51..8ec49dec3bd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/invalid_string_value_for_default.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/invalid_string_value_for_default.pyi @@ -65,19 +65,19 @@ class InvalidStringValueForDefault( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["bar"]) -> typing.Union[MetaOapg.Properties.Bar, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["bar"]) -> typing.Union[MetaOapg.Properties.Bar, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["bar"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/not_more_complex_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/not_more_complex_schema.py index 8fe6a176bac..626a5b29877 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/not_more_complex_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/not_more_complex_schema.py @@ -68,19 +68,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["foo"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/not_more_complex_schema.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/not_more_complex_schema.pyi index a82a219f578..7cf5db43b77 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/not_more_complex_schema.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/not_more_complex_schema.pyi @@ -67,19 +67,19 @@ class NotMoreComplexSchema( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["foo"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/object_properties_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/object_properties_validation.py index a7534961efb..bcec2228957 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/object_properties_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/object_properties_validation.py @@ -66,15 +66,15 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["bar"]) -> typing.Union[MetaOapg.Properties.Bar, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["bar"]) -> typing.Union[MetaOapg.Properties.Bar, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["foo"], @@ -82,7 +82,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/object_properties_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/object_properties_validation.pyi index a7534961efb..bcec2228957 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/object_properties_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/object_properties_validation.pyi @@ -66,15 +66,15 @@ class ObjectPropertiesValidation( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["bar"]) -> typing.Union[MetaOapg.Properties.Bar, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["bar"]) -> typing.Union[MetaOapg.Properties.Bar, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["foo"], @@ -82,7 +82,7 @@ class ObjectPropertiesValidation( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_complex_types.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_complex_types.py index ea9764e3dca..1dab1072e81 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_complex_types.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_complex_types.py @@ -76,19 +76,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... + def get_item_(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["bar"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, @@ -143,19 +143,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["foo"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_complex_types.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_complex_types.pyi index ea9764e3dca..1dab1072e81 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_complex_types.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_complex_types.pyi @@ -76,19 +76,19 @@ class OneofComplexTypes( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... + def get_item_(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["bar"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, @@ -143,19 +143,19 @@ class OneofComplexTypes( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["foo"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_required.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_required.py index 660f2954564..a146ac156df 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_required.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_required.py @@ -78,15 +78,15 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["bar"]) -> schemas.AnyTypeSchema: ... + def get_item_(self, name: typing_extensions.Literal["bar"]) -> schemas.AnyTypeSchema: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo"]) -> schemas.AnyTypeSchema: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> schemas.AnyTypeSchema: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["bar"], @@ -94,7 +94,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, @@ -151,15 +151,15 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["baz"]) -> schemas.AnyTypeSchema: ... + def get_item_(self, name: typing_extensions.Literal["baz"]) -> schemas.AnyTypeSchema: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo"]) -> schemas.AnyTypeSchema: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> schemas.AnyTypeSchema: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["baz"], @@ -167,7 +167,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_required.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_required.pyi index 660f2954564..a146ac156df 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_required.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_required.pyi @@ -78,15 +78,15 @@ class OneofWithRequired( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["bar"]) -> schemas.AnyTypeSchema: ... + def get_item_(self, name: typing_extensions.Literal["bar"]) -> schemas.AnyTypeSchema: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo"]) -> schemas.AnyTypeSchema: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> schemas.AnyTypeSchema: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["bar"], @@ -94,7 +94,7 @@ class OneofWithRequired( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, @@ -151,15 +151,15 @@ class OneofWithRequired( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["baz"]) -> schemas.AnyTypeSchema: ... + def get_item_(self, name: typing_extensions.Literal["baz"]) -> schemas.AnyTypeSchema: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo"]) -> schemas.AnyTypeSchema: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> schemas.AnyTypeSchema: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["baz"], @@ -167,7 +167,7 @@ class OneofWithRequired( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/properties_with_escaped_characters.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/properties_with_escaped_characters.py index 0f5aac527de..b9eb8c11ac8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/properties_with_escaped_characters.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/properties_with_escaped_characters.py @@ -90,27 +90,27 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo\nbar"]) -> typing.Union[MetaOapg.Properties.FooNbar, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo\nbar"]) -> typing.Union[MetaOapg.Properties.FooNbar, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo\"bar"]) -> typing.Union[MetaOapg.Properties.FooBar, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo\"bar"]) -> typing.Union[MetaOapg.Properties.FooBar, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo\\bar"]) -> typing.Union[MetaOapg.Properties.FooBar, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo\\bar"]) -> typing.Union[MetaOapg.Properties.FooBar, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo\rbar"]) -> typing.Union[MetaOapg.Properties.FooRbar, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo\rbar"]) -> typing.Union[MetaOapg.Properties.FooRbar, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo\tbar"]) -> typing.Union[MetaOapg.Properties.FooTbar, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo\tbar"]) -> typing.Union[MetaOapg.Properties.FooTbar, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo\fbar"]) -> typing.Union[MetaOapg.Properties.FooFbar, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo\fbar"]) -> typing.Union[MetaOapg.Properties.FooFbar, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["foo\nbar"], @@ -122,7 +122,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/properties_with_escaped_characters.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/properties_with_escaped_characters.pyi index 0f5aac527de..b9eb8c11ac8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/properties_with_escaped_characters.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/properties_with_escaped_characters.pyi @@ -90,27 +90,27 @@ class PropertiesWithEscapedCharacters( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo\nbar"]) -> typing.Union[MetaOapg.Properties.FooNbar, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo\nbar"]) -> typing.Union[MetaOapg.Properties.FooNbar, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo\"bar"]) -> typing.Union[MetaOapg.Properties.FooBar, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo\"bar"]) -> typing.Union[MetaOapg.Properties.FooBar, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo\\bar"]) -> typing.Union[MetaOapg.Properties.FooBar, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo\\bar"]) -> typing.Union[MetaOapg.Properties.FooBar, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo\rbar"]) -> typing.Union[MetaOapg.Properties.FooRbar, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo\rbar"]) -> typing.Union[MetaOapg.Properties.FooRbar, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo\tbar"]) -> typing.Union[MetaOapg.Properties.FooTbar, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo\tbar"]) -> typing.Union[MetaOapg.Properties.FooTbar, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo\fbar"]) -> typing.Union[MetaOapg.Properties.FooFbar, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo\fbar"]) -> typing.Union[MetaOapg.Properties.FooFbar, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["foo\nbar"], @@ -122,7 +122,7 @@ class PropertiesWithEscapedCharacters( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/property_named_ref_that_is_not_a_reference.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/property_named_ref_that_is_not_a_reference.py index 26b0d29e3d6..c207c4db3bb 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/property_named_ref_that_is_not_a_reference.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/property_named_ref_that_is_not_a_reference.py @@ -60,19 +60,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["$ref"]) -> typing.Union[MetaOapg.Properties.Ref, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["$ref"]) -> typing.Union[MetaOapg.Properties.Ref, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["$ref"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/property_named_ref_that_is_not_a_reference.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/property_named_ref_that_is_not_a_reference.pyi index 26b0d29e3d6..c207c4db3bb 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/property_named_ref_that_is_not_a_reference.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/property_named_ref_that_is_not_a_reference.pyi @@ -60,19 +60,19 @@ class PropertyNamedRefThatIsNotAReference( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["$ref"]) -> typing.Union[MetaOapg.Properties.Ref, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["$ref"]) -> typing.Union[MetaOapg.Properties.Ref, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["$ref"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_additionalproperties.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_additionalproperties.py index 5dd69c16f05..218290c0cde 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_additionalproperties.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_additionalproperties.py @@ -44,8 +44,8 @@ def __getitem__(self, name: str) -> 'property_named_ref_that_is_not_a_reference. # dict_instance[name] accessor return super().__getitem__(name) - def get_item_oapg(self, name: str) -> 'property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference': - return super().get_item_oapg(name) + def get_item_(self, name: str) -> 'property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference': + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_additionalproperties.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_additionalproperties.pyi index 37e82ea07fa..623993bb140 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_additionalproperties.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_additionalproperties.pyi @@ -43,8 +43,8 @@ class RefInAdditionalproperties( # dict_instance[name] accessor return super().__getitem__(name) - def get_item_oapg(self, name: str) -> 'property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference': - return super().get_item_oapg(name) + def get_item_(self, name: str) -> 'property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference': + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_property.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_property.py index 8e5b6005aa2..27b0603abe1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_property.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_property.py @@ -63,19 +63,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["a"]) -> typing.Union['property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference', schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["a"]) -> typing.Union['property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["a"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_property.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_property.pyi index 8e5b6005aa2..27b0603abe1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_property.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_property.pyi @@ -63,19 +63,19 @@ class RefInProperty( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["a"]) -> typing.Union['property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference', schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["a"]) -> typing.Union['property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["a"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_default_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_default_validation.py index b46c1cd9821..0a0246e3490 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_default_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_default_validation.py @@ -60,19 +60,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["foo"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_default_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_default_validation.pyi index b46c1cd9821..0a0246e3490 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_default_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_default_validation.pyi @@ -60,19 +60,19 @@ class RequiredDefaultValidation( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["foo"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_validation.py index b7f8225f5c8..b0e4e31adbc 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_validation.py @@ -71,15 +71,15 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["bar"]) -> typing.Union[MetaOapg.Properties.Bar, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["bar"]) -> typing.Union[MetaOapg.Properties.Bar, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["foo"], @@ -87,7 +87,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_validation.pyi index b7f8225f5c8..b0e4e31adbc 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_validation.pyi @@ -71,15 +71,15 @@ class RequiredValidation( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["bar"]) -> typing.Union[MetaOapg.Properties.Bar, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["bar"]) -> typing.Union[MetaOapg.Properties.Bar, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["foo"], @@ -87,7 +87,7 @@ class RequiredValidation( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_empty_array.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_empty_array.py index a6ac5e9e00a..e2d8a28d102 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_empty_array.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_empty_array.py @@ -60,19 +60,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["foo"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_empty_array.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_empty_array.pyi index a6ac5e9e00a..e2d8a28d102 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_empty_array.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_empty_array.pyi @@ -60,19 +60,19 @@ class RequiredWithEmptyArray( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["foo"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_escaped_characters.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_escaped_characters.py index dc067ea3a0d..c34f637a232 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_escaped_characters.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_escaped_characters.py @@ -83,27 +83,27 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo\tbar"]) -> schemas.AnyTypeSchema: ... + def get_item_(self, name: typing_extensions.Literal["foo\tbar"]) -> schemas.AnyTypeSchema: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo\nbar"]) -> schemas.AnyTypeSchema: ... + def get_item_(self, name: typing_extensions.Literal["foo\nbar"]) -> schemas.AnyTypeSchema: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo\fbar"]) -> schemas.AnyTypeSchema: ... + def get_item_(self, name: typing_extensions.Literal["foo\fbar"]) -> schemas.AnyTypeSchema: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo\rbar"]) -> schemas.AnyTypeSchema: ... + def get_item_(self, name: typing_extensions.Literal["foo\rbar"]) -> schemas.AnyTypeSchema: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo\"bar"]) -> schemas.AnyTypeSchema: ... + def get_item_(self, name: typing_extensions.Literal["foo\"bar"]) -> schemas.AnyTypeSchema: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo\\bar"]) -> schemas.AnyTypeSchema: ... + def get_item_(self, name: typing_extensions.Literal["foo\\bar"]) -> schemas.AnyTypeSchema: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["foo\tbar"], @@ -115,7 +115,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_escaped_characters.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_escaped_characters.pyi index dc067ea3a0d..c34f637a232 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_escaped_characters.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_escaped_characters.pyi @@ -83,27 +83,27 @@ class RequiredWithEscapedCharacters( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo\tbar"]) -> schemas.AnyTypeSchema: ... + def get_item_(self, name: typing_extensions.Literal["foo\tbar"]) -> schemas.AnyTypeSchema: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo\nbar"]) -> schemas.AnyTypeSchema: ... + def get_item_(self, name: typing_extensions.Literal["foo\nbar"]) -> schemas.AnyTypeSchema: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo\fbar"]) -> schemas.AnyTypeSchema: ... + def get_item_(self, name: typing_extensions.Literal["foo\fbar"]) -> schemas.AnyTypeSchema: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo\rbar"]) -> schemas.AnyTypeSchema: ... + def get_item_(self, name: typing_extensions.Literal["foo\rbar"]) -> schemas.AnyTypeSchema: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo\"bar"]) -> schemas.AnyTypeSchema: ... + def get_item_(self, name: typing_extensions.Literal["foo\"bar"]) -> schemas.AnyTypeSchema: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo\\bar"]) -> schemas.AnyTypeSchema: ... + def get_item_(self, name: typing_extensions.Literal["foo\\bar"]) -> schemas.AnyTypeSchema: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["foo\tbar"], @@ -115,7 +115,7 @@ class RequiredWithEscapedCharacters( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.py index afebbfa1163..70eace81fb3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.py @@ -70,19 +70,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["alpha"]) -> typing.Union[MetaOapg.Properties.Alpha, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["alpha"]) -> typing.Union[MetaOapg.Properties.Alpha, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["alpha"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.pyi index b3172735747..ae61bc527e9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.pyi @@ -63,19 +63,19 @@ class TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["alpha"]) -> typing.Union[MetaOapg.Properties.Alpha, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["alpha"]) -> typing.Union[MetaOapg.Properties.Alpha, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["alpha"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py index 604943b7d00..c86f9f7b11d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py @@ -1928,7 +1928,7 @@ def __getattr__(self, name: str): except KeyError as ex: raise AttributeError(str(ex)) - def get_item_oapg(self, name: str) -> typing.Union['AnyTypeSchema', Unset]: + def get_item_(self, name: str) -> typing.Union['AnyTypeSchema', Unset]: # dict_instance[name] accessor if not isinstance(self, frozendict.frozendict): raise NotImplementedError() diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/README.md b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/README.md index 70f7eca28d4..30c9dd53962 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/README.md +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/README.md @@ -44,8 +44,8 @@ Python >=3.7 - Only required keys with valid python names are properties like .someProp and have type hints - All optional keys may not exist, so properties are not defined for them - One can access optional values with dict_instance['optionalProp'] and KeyError will be raised if it does not exist - - Use get_item_oapg if you need a way to always get a value whether or not the key exists - - If the key does not exist, schemas.unset is returned from calling dict_instance.get_item_oapg('optionalProp') + - Use get_item_ if you need a way to always get a value whether or not the key exists + - If the key does not exist, schemas.unset is returned from calling dict_instance.get_item_('optionalProp') - All required and optional keys have type hints for this method, and @typing.overload is used - A type hint is also generated for additionalProperties accessed using this method - So you will need to update you code to use some_instance['optionalProp'] to access optional property diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/addition_operator.py b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/addition_operator.py index 637761a6dac..071995ccb54 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/addition_operator.py +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/addition_operator.py @@ -77,15 +77,15 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["a"]) -> MetaOapg.Properties.A: ... + def get_item_(self, name: typing_extensions.Literal["a"]) -> MetaOapg.Properties.A: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["b"]) -> MetaOapg.Properties.B: ... + def get_item_(self, name: typing_extensions.Literal["b"]) -> MetaOapg.Properties.B: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["operator_id"]) -> MetaOapg.Properties.OperatorId: ... + def get_item_(self, name: typing_extensions.Literal["operator_id"]) -> MetaOapg.Properties.OperatorId: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["a"], @@ -93,7 +93,7 @@ def get_item_oapg( typing_extensions.Literal["operator_id"], ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/addition_operator.pyi b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/addition_operator.pyi index 6ee186f7d8f..c8aadd41bc6 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/addition_operator.pyi +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/addition_operator.pyi @@ -76,15 +76,15 @@ class AdditionOperator( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["a"]) -> MetaOapg.Properties.A: ... + def get_item_(self, name: typing_extensions.Literal["a"]) -> MetaOapg.Properties.A: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["b"]) -> MetaOapg.Properties.B: ... + def get_item_(self, name: typing_extensions.Literal["b"]) -> MetaOapg.Properties.B: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["operator_id"]) -> MetaOapg.Properties.OperatorId: ... + def get_item_(self, name: typing_extensions.Literal["operator_id"]) -> MetaOapg.Properties.OperatorId: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["a"], @@ -92,7 +92,7 @@ class AdditionOperator( typing_extensions.Literal["operator_id"], ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/subtraction_operator.py b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/subtraction_operator.py index 476e0626b81..4fe3cb6d21e 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/subtraction_operator.py +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/subtraction_operator.py @@ -77,15 +77,15 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["a"]) -> MetaOapg.Properties.A: ... + def get_item_(self, name: typing_extensions.Literal["a"]) -> MetaOapg.Properties.A: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["b"]) -> MetaOapg.Properties.B: ... + def get_item_(self, name: typing_extensions.Literal["b"]) -> MetaOapg.Properties.B: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["operator_id"]) -> MetaOapg.Properties.OperatorId: ... + def get_item_(self, name: typing_extensions.Literal["operator_id"]) -> MetaOapg.Properties.OperatorId: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["a"], @@ -93,7 +93,7 @@ def get_item_oapg( typing_extensions.Literal["operator_id"], ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/subtraction_operator.pyi b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/subtraction_operator.pyi index 80d4e6ffb0d..a0a444f4866 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/subtraction_operator.pyi +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/subtraction_operator.pyi @@ -76,15 +76,15 @@ class SubtractionOperator( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["a"]) -> MetaOapg.Properties.A: ... + def get_item_(self, name: typing_extensions.Literal["a"]) -> MetaOapg.Properties.A: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["b"]) -> MetaOapg.Properties.B: ... + def get_item_(self, name: typing_extensions.Literal["b"]) -> MetaOapg.Properties.B: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["operator_id"]) -> MetaOapg.Properties.OperatorId: ... + def get_item_(self, name: typing_extensions.Literal["operator_id"]) -> MetaOapg.Properties.OperatorId: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["a"], @@ -92,7 +92,7 @@ class SubtractionOperator( typing_extensions.Literal["operator_id"], ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py index 8d4f3be3c86..35fb7383116 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py @@ -2004,7 +2004,7 @@ def __getattr__(self, name: str): except KeyError as ex: raise AttributeError(str(ex)) - def get_item_oapg(self, name: str) -> typing.Union['AnyTypeSchema', Unset]: + def get_item_(self, name: str) -> typing.Union['AnyTypeSchema', Unset]: # dict_instance[name] accessor if not isinstance(self, frozendict.frozendict): raise NotImplementedError() diff --git a/samples/openapi3/client/petstore/python/README.md b/samples/openapi3/client/petstore/python/README.md index d25e374bc91..0018e27279f 100644 --- a/samples/openapi3/client/petstore/python/README.md +++ b/samples/openapi3/client/petstore/python/README.md @@ -44,8 +44,8 @@ Python >=3.7 - Only required keys with valid python names are properties like .someProp and have type hints - All optional keys may not exist, so properties are not defined for them - One can access optional values with dict_instance['optionalProp'] and KeyError will be raised if it does not exist - - Use get_item_oapg if you need a way to always get a value whether or not the key exists - - If the key does not exist, schemas.unset is returned from calling dict_instance.get_item_oapg('optionalProp') + - Use get_item_ if you need a way to always get a value whether or not the key exists + - If the key does not exist, schemas.unset is returned from calling dict_instance.get_item_('optionalProp') - All required and optional keys have type hints for this method, and @typing.overload is used - A type hint is also generated for additionalProperties accessed using this method - So you will need to update you code to use some_instance['optionalProp'] to access optional property diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/responses/response_success_inline_content_and_header/application_json.py b/samples/openapi3/client/petstore/python/petstore_api/components/responses/response_success_inline_content_and_header/application_json.py index 08ea8090509..2fd6de8f6d5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/responses/response_success_inline_content_and_header/application_json.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/responses/response_success_inline_content_and_header/application_json.py @@ -36,8 +36,8 @@ def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_oapg(self, name: str) -> MetaOapg.AdditionalProperties: - return super().get_item_oapg(name) + def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/responses/response_success_inline_content_and_header/application_json.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/responses/response_success_inline_content_and_header/application_json.pyi index 43ab102a27f..48ec478b1a9 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/responses/response_success_inline_content_and_header/application_json.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/responses/response_success_inline_content_and_header/application_json.pyi @@ -35,8 +35,8 @@ class ApplicationJson( # dict_instance[name] accessor return super().__getitem__(name) - def get_item_oapg(self, name: str) -> MetaOapg.AdditionalProperties: - return super().get_item_oapg(name) + def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/_200_response.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/_200_response.py index f6f8a7632d8..fb32af9fe63 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/_200_response.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/_200_response.py @@ -68,15 +68,15 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.Properties.Name, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.Properties.Name, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["class"]) -> typing.Union[MetaOapg.Properties._Class, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["class"]) -> typing.Union[MetaOapg.Properties._Class, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["name"], @@ -84,7 +84,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/_200_response.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/_200_response.pyi index f6f8a7632d8..fb32af9fe63 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/_200_response.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/_200_response.pyi @@ -68,15 +68,15 @@ class _200Response( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.Properties.Name, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.Properties.Name, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["class"]) -> typing.Union[MetaOapg.Properties._Class, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["class"]) -> typing.Union[MetaOapg.Properties._Class, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["name"], @@ -84,7 +84,7 @@ class _200Response( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/_return.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/_return.py index 8e4c924ec6a..498b44ad432 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/_return.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/_return.py @@ -62,19 +62,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["return"]) -> typing.Union[MetaOapg.Properties._Return, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["return"]) -> typing.Union[MetaOapg.Properties._Return, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["return"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/_return.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/_return.pyi index 8e4c924ec6a..498b44ad432 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/_return.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/_return.pyi @@ -62,19 +62,19 @@ class _Return( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["return"]) -> typing.Union[MetaOapg.Properties._Return, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["return"]) -> typing.Union[MetaOapg.Properties._Return, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["return"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/abstract_step_message.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/abstract_step_message.py index 5bac4f872a0..68a612e5767 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/abstract_step_message.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/abstract_step_message.py @@ -98,18 +98,18 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["description"]) -> schemas.AnyTypeSchema: ... + def get_item_(self, name: typing_extensions.Literal["description"]) -> schemas.AnyTypeSchema: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["discriminator"]) -> MetaOapg.Properties.Discriminator: ... + def get_item_(self, name: typing_extensions.Literal["discriminator"]) -> MetaOapg.Properties.Discriminator: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["sequenceNumber"]) -> schemas.AnyTypeSchema: ... + def get_item_(self, name: typing_extensions.Literal["sequenceNumber"]) -> schemas.AnyTypeSchema: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["description"], @@ -118,7 +118,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/abstract_step_message.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/abstract_step_message.pyi index 5bac4f872a0..68a612e5767 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/abstract_step_message.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/abstract_step_message.pyi @@ -98,18 +98,18 @@ class AbstractStepMessage( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["description"]) -> schemas.AnyTypeSchema: ... + def get_item_(self, name: typing_extensions.Literal["description"]) -> schemas.AnyTypeSchema: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["discriminator"]) -> MetaOapg.Properties.Discriminator: ... + def get_item_(self, name: typing_extensions.Literal["discriminator"]) -> MetaOapg.Properties.Discriminator: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["sequenceNumber"]) -> schemas.AnyTypeSchema: ... + def get_item_(self, name: typing_extensions.Literal["sequenceNumber"]) -> schemas.AnyTypeSchema: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["description"], @@ -118,7 +118,7 @@ class AbstractStepMessage( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_class.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_class.py index 7f5cb43b79c..03bb12f417e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_class.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_class.py @@ -52,8 +52,8 @@ def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_oapg(self, name: str) -> MetaOapg.AdditionalProperties: - return super().get_item_oapg(name) + def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + return super().get_item_(name) def __new__( cls, @@ -91,8 +91,8 @@ def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_oapg(self, name: str) -> MetaOapg.AdditionalProperties: - return super().get_item_oapg(name) + def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + return super().get_item_(name) def __new__( cls, @@ -111,8 +111,8 @@ def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_oapg(self, name: str) -> MetaOapg.AdditionalProperties: - return super().get_item_oapg(name) + def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + return super().get_item_(name) def __new__( cls, @@ -144,8 +144,8 @@ def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_oapg(self, name: str) -> MetaOapg.AdditionalProperties: - return super().get_item_oapg(name) + def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + return super().get_item_(name) def __new__( cls, @@ -195,8 +195,8 @@ def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_oapg(self, name: str) -> MetaOapg.AdditionalProperties: - return super().get_item_oapg(name) + def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + return super().get_item_(name) def __new__( cls, @@ -266,33 +266,33 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["map_property"]) -> typing.Union[MetaOapg.Properties.MapProperty, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["map_property"]) -> typing.Union[MetaOapg.Properties.MapProperty, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["map_of_map_property"]) -> typing.Union[MetaOapg.Properties.MapOfMapProperty, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["map_of_map_property"]) -> typing.Union[MetaOapg.Properties.MapOfMapProperty, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["anytype_1"]) -> typing.Union[MetaOapg.Properties.Anytype1, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["anytype_1"]) -> typing.Union[MetaOapg.Properties.Anytype1, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["map_with_undeclared_properties_anytype_1"]) -> typing.Union[MetaOapg.Properties.MapWithUndeclaredPropertiesAnytype1, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["map_with_undeclared_properties_anytype_1"]) -> typing.Union[MetaOapg.Properties.MapWithUndeclaredPropertiesAnytype1, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["map_with_undeclared_properties_anytype_2"]) -> typing.Union[MetaOapg.Properties.MapWithUndeclaredPropertiesAnytype2, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["map_with_undeclared_properties_anytype_2"]) -> typing.Union[MetaOapg.Properties.MapWithUndeclaredPropertiesAnytype2, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["map_with_undeclared_properties_anytype_3"]) -> typing.Union[MetaOapg.Properties.MapWithUndeclaredPropertiesAnytype3, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["map_with_undeclared_properties_anytype_3"]) -> typing.Union[MetaOapg.Properties.MapWithUndeclaredPropertiesAnytype3, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["empty_map"]) -> typing.Union[MetaOapg.Properties.EmptyMap, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["empty_map"]) -> typing.Union[MetaOapg.Properties.EmptyMap, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["map_with_undeclared_properties_string"]) -> typing.Union[MetaOapg.Properties.MapWithUndeclaredPropertiesString, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["map_with_undeclared_properties_string"]) -> typing.Union[MetaOapg.Properties.MapWithUndeclaredPropertiesString, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["map_property"], @@ -306,7 +306,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_class.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_class.pyi index 6a78b3954b8..c8373cc92b0 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_class.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_class.pyi @@ -50,8 +50,8 @@ class AdditionalPropertiesClass( # dict_instance[name] accessor return super().__getitem__(name) - def get_item_oapg(self, name: str) -> MetaOapg.AdditionalProperties: - return super().get_item_oapg(name) + def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + return super().get_item_(name) def __new__( cls, @@ -87,8 +87,8 @@ class AdditionalPropertiesClass( # dict_instance[name] accessor return super().__getitem__(name) - def get_item_oapg(self, name: str) -> MetaOapg.AdditionalProperties: - return super().get_item_oapg(name) + def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + return super().get_item_(name) def __new__( cls, @@ -107,8 +107,8 @@ class AdditionalPropertiesClass( # dict_instance[name] accessor return super().__getitem__(name) - def get_item_oapg(self, name: str) -> MetaOapg.AdditionalProperties: - return super().get_item_oapg(name) + def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + return super().get_item_(name) def __new__( cls, @@ -139,8 +139,8 @@ class AdditionalPropertiesClass( # dict_instance[name] accessor return super().__getitem__(name) - def get_item_oapg(self, name: str) -> MetaOapg.AdditionalProperties: - return super().get_item_oapg(name) + def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + return super().get_item_(name) def __new__( cls, @@ -188,8 +188,8 @@ class AdditionalPropertiesClass( # dict_instance[name] accessor return super().__getitem__(name) - def get_item_oapg(self, name: str) -> MetaOapg.AdditionalProperties: - return super().get_item_oapg(name) + def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + return super().get_item_(name) def __new__( cls, @@ -259,33 +259,33 @@ class AdditionalPropertiesClass( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["map_property"]) -> typing.Union[MetaOapg.Properties.MapProperty, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["map_property"]) -> typing.Union[MetaOapg.Properties.MapProperty, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["map_of_map_property"]) -> typing.Union[MetaOapg.Properties.MapOfMapProperty, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["map_of_map_property"]) -> typing.Union[MetaOapg.Properties.MapOfMapProperty, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["anytype_1"]) -> typing.Union[MetaOapg.Properties.Anytype1, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["anytype_1"]) -> typing.Union[MetaOapg.Properties.Anytype1, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["map_with_undeclared_properties_anytype_1"]) -> typing.Union[MetaOapg.Properties.MapWithUndeclaredPropertiesAnytype1, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["map_with_undeclared_properties_anytype_1"]) -> typing.Union[MetaOapg.Properties.MapWithUndeclaredPropertiesAnytype1, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["map_with_undeclared_properties_anytype_2"]) -> typing.Union[MetaOapg.Properties.MapWithUndeclaredPropertiesAnytype2, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["map_with_undeclared_properties_anytype_2"]) -> typing.Union[MetaOapg.Properties.MapWithUndeclaredPropertiesAnytype2, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["map_with_undeclared_properties_anytype_3"]) -> typing.Union[MetaOapg.Properties.MapWithUndeclaredPropertiesAnytype3, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["map_with_undeclared_properties_anytype_3"]) -> typing.Union[MetaOapg.Properties.MapWithUndeclaredPropertiesAnytype3, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["empty_map"]) -> typing.Union[MetaOapg.Properties.EmptyMap, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["empty_map"]) -> typing.Union[MetaOapg.Properties.EmptyMap, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["map_with_undeclared_properties_string"]) -> typing.Union[MetaOapg.Properties.MapWithUndeclaredPropertiesString, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["map_with_undeclared_properties_string"]) -> typing.Union[MetaOapg.Properties.MapWithUndeclaredPropertiesString, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["map_property"], @@ -299,7 +299,7 @@ class AdditionalPropertiesClass( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_validator.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_validator.py index d15afde2aa1..96ed081268f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_validator.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_validator.py @@ -54,8 +54,8 @@ def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_oapg(self, name: str) -> MetaOapg.AdditionalProperties: - return super().get_item_oapg(name) + def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + return super().get_item_(name) def __new__( cls, @@ -107,8 +107,8 @@ def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_oapg(self, name: str) -> MetaOapg.AdditionalProperties: - return super().get_item_oapg(name) + def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + return super().get_item_(name) def __new__( cls, @@ -160,8 +160,8 @@ def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_oapg(self, name: str) -> MetaOapg.AdditionalProperties: - return super().get_item_oapg(name) + def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_validator.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_validator.pyi index bd58e78e9e0..2788c7de273 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_validator.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_validator.pyi @@ -53,8 +53,8 @@ class AdditionalPropertiesValidator( # dict_instance[name] accessor return super().__getitem__(name) - def get_item_oapg(self, name: str) -> MetaOapg.AdditionalProperties: - return super().get_item_oapg(name) + def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + return super().get_item_(name) def __new__( cls, @@ -104,8 +104,8 @@ class AdditionalPropertiesValidator( # dict_instance[name] accessor return super().__getitem__(name) - def get_item_oapg(self, name: str) -> MetaOapg.AdditionalProperties: - return super().get_item_oapg(name) + def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + return super().get_item_(name) def __new__( cls, @@ -155,8 +155,8 @@ class AdditionalPropertiesValidator( # dict_instance[name] accessor return super().__getitem__(name) - def get_item_oapg(self, name: str) -> MetaOapg.AdditionalProperties: - return super().get_item_oapg(name) + def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_with_array_of_enums.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_with_array_of_enums.py index 1979cfdcd58..ca598804741 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_with_array_of_enums.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_with_array_of_enums.py @@ -67,8 +67,8 @@ def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_oapg(self, name: str) -> MetaOapg.AdditionalProperties: - return super().get_item_oapg(name) + def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_with_array_of_enums.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_with_array_of_enums.pyi index 6cd1d012abd..4520f82cda7 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_with_array_of_enums.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_with_array_of_enums.pyi @@ -66,8 +66,8 @@ class AdditionalPropertiesWithArrayOfEnums( # dict_instance[name] accessor return super().__getitem__(name) - def get_item_oapg(self, name: str) -> MetaOapg.AdditionalProperties: - return super().get_item_oapg(name) + def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/address.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/address.py index f1b26b64df9..a8602037196 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/address.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/address.py @@ -41,8 +41,8 @@ def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_oapg(self, name: str) -> MetaOapg.AdditionalProperties: - return super().get_item_oapg(name) + def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/address.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/address.pyi index 16182d0d6b3..2442369b27f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/address.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/address.pyi @@ -40,8 +40,8 @@ class Address( # dict_instance[name] accessor return super().__getitem__(name) - def get_item_oapg(self, name: str) -> MetaOapg.AdditionalProperties: - return super().get_item_oapg(name) + def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal.py index 3cca15976ec..522c7ae0690 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal.py @@ -79,15 +79,15 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["className"]) -> MetaOapg.Properties.ClassName: ... + def get_item_(self, name: typing_extensions.Literal["className"]) -> MetaOapg.Properties.ClassName: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["color"]) -> typing.Union[MetaOapg.Properties.Color, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["color"]) -> typing.Union[MetaOapg.Properties.Color, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["className"], @@ -95,7 +95,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal.pyi index 74b07464baa..3652a22ef94 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal.pyi @@ -78,15 +78,15 @@ class Animal( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["className"]) -> MetaOapg.Properties.ClassName: ... + def get_item_(self, name: typing_extensions.Literal["className"]) -> MetaOapg.Properties.ClassName: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["color"]) -> typing.Union[MetaOapg.Properties.Color, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["color"]) -> typing.Union[MetaOapg.Properties.Color, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["className"], @@ -94,7 +94,7 @@ class Animal( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_and_format.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_and_format.py index bbcfe1ddd7e..c20b8e719e0 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_and_format.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_and_format.py @@ -318,36 +318,36 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["uuid"]) -> typing.Union[MetaOapg.Properties.Uuid, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["uuid"]) -> typing.Union[MetaOapg.Properties.Uuid, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["date"]) -> typing.Union[MetaOapg.Properties.Date, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["date"]) -> typing.Union[MetaOapg.Properties.Date, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["date-time"]) -> typing.Union[MetaOapg.Properties.DateTime, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["date-time"]) -> typing.Union[MetaOapg.Properties.DateTime, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["number"]) -> typing.Union[MetaOapg.Properties.Number, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["number"]) -> typing.Union[MetaOapg.Properties.Number, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["binary"]) -> typing.Union[MetaOapg.Properties.Binary, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["binary"]) -> typing.Union[MetaOapg.Properties.Binary, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["int32"]) -> typing.Union[MetaOapg.Properties.Int32, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["int32"]) -> typing.Union[MetaOapg.Properties.Int32, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["int64"]) -> typing.Union[MetaOapg.Properties.Int64, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["int64"]) -> typing.Union[MetaOapg.Properties.Int64, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["double"]) -> typing.Union[MetaOapg.Properties.Double, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["double"]) -> typing.Union[MetaOapg.Properties.Double, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["float"]) -> typing.Union[MetaOapg.Properties._Float, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["float"]) -> typing.Union[MetaOapg.Properties._Float, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["uuid"], @@ -362,7 +362,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_and_format.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_and_format.pyi index 53a0ef42ecd..e25e838e055 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_and_format.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_and_format.pyi @@ -317,36 +317,36 @@ class AnyTypeAndFormat( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["uuid"]) -> typing.Union[MetaOapg.Properties.Uuid, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["uuid"]) -> typing.Union[MetaOapg.Properties.Uuid, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["date"]) -> typing.Union[MetaOapg.Properties.Date, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["date"]) -> typing.Union[MetaOapg.Properties.Date, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["date-time"]) -> typing.Union[MetaOapg.Properties.DateTime, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["date-time"]) -> typing.Union[MetaOapg.Properties.DateTime, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["number"]) -> typing.Union[MetaOapg.Properties.Number, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["number"]) -> typing.Union[MetaOapg.Properties.Number, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["binary"]) -> typing.Union[MetaOapg.Properties.Binary, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["binary"]) -> typing.Union[MetaOapg.Properties.Binary, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["int32"]) -> typing.Union[MetaOapg.Properties.Int32, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["int32"]) -> typing.Union[MetaOapg.Properties.Int32, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["int64"]) -> typing.Union[MetaOapg.Properties.Int64, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["int64"]) -> typing.Union[MetaOapg.Properties.Int64, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["double"]) -> typing.Union[MetaOapg.Properties.Double, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["double"]) -> typing.Union[MetaOapg.Properties.Double, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["float"]) -> typing.Union[MetaOapg.Properties._Float, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["float"]) -> typing.Union[MetaOapg.Properties._Float, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["uuid"], @@ -361,7 +361,7 @@ class AnyTypeAndFormat( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/api_response.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/api_response.py index fde689f8ce9..90445e25679 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/api_response.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/api_response.py @@ -71,18 +71,18 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["code"]) -> typing.Union[MetaOapg.Properties.Code, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["code"]) -> typing.Union[MetaOapg.Properties.Code, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> typing.Union[MetaOapg.Properties.Type, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["type"]) -> typing.Union[MetaOapg.Properties.Type, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["message"]) -> typing.Union[MetaOapg.Properties.Message, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["message"]) -> typing.Union[MetaOapg.Properties.Message, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["code"], @@ -91,7 +91,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/api_response.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/api_response.pyi index ae919e8d9db..ec385bc42e1 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/api_response.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/api_response.pyi @@ -70,18 +70,18 @@ class ApiResponse( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["code"]) -> typing.Union[MetaOapg.Properties.Code, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["code"]) -> typing.Union[MetaOapg.Properties.Code, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> typing.Union[MetaOapg.Properties.Type, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["type"]) -> typing.Union[MetaOapg.Properties.Type, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["message"]) -> typing.Union[MetaOapg.Properties.Message, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["message"]) -> typing.Union[MetaOapg.Properties.Message, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["code"], @@ -90,7 +90,7 @@ class ApiResponse( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple.py index dd3888bc6c0..7c532df28f9 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple.py @@ -106,15 +106,15 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["cultivar"]) -> MetaOapg.Properties.Cultivar: ... + def get_item_(self, name: typing_extensions.Literal["cultivar"]) -> MetaOapg.Properties.Cultivar: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["origin"]) -> typing.Union[MetaOapg.Properties.Origin, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["origin"]) -> typing.Union[MetaOapg.Properties.Origin, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["cultivar"], @@ -122,7 +122,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple.pyi index 2700d4f8474..3971df4c724 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple.pyi @@ -87,15 +87,15 @@ class Apple( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["cultivar"]) -> MetaOapg.Properties.Cultivar: ... + def get_item_(self, name: typing_extensions.Literal["cultivar"]) -> MetaOapg.Properties.Cultivar: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["origin"]) -> typing.Union[MetaOapg.Properties.Origin, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["origin"]) -> typing.Union[MetaOapg.Properties.Origin, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["cultivar"], @@ -103,7 +103,7 @@ class Apple( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple_req.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple_req.py index ddfebc53b70..96e0cd82b04 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple_req.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple_req.py @@ -67,19 +67,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["cultivar"]) -> MetaOapg.Properties.Cultivar: ... + def get_item_(self, name: typing_extensions.Literal["cultivar"]) -> MetaOapg.Properties.Cultivar: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["mealy"]) -> typing.Union[MetaOapg.Properties.Mealy, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["mealy"]) -> typing.Union[MetaOapg.Properties.Mealy, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["cultivar"], typing_extensions.Literal["mealy"], ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple_req.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple_req.pyi index 9edd17dab96..27d491c9bec 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple_req.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple_req.pyi @@ -66,19 +66,19 @@ class AppleReq( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["cultivar"]) -> MetaOapg.Properties.Cultivar: ... + def get_item_(self, name: typing_extensions.Literal["cultivar"]) -> MetaOapg.Properties.Cultivar: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["mealy"]) -> typing.Union[MetaOapg.Properties.Mealy, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["mealy"]) -> typing.Union[MetaOapg.Properties.Mealy, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["cultivar"], typing_extensions.Literal["mealy"], ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_array_of_number_only.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_array_of_number_only.py index b0a88a89cff..49d4af04a15 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_array_of_number_only.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_array_of_number_only.py @@ -105,19 +105,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["ArrayArrayNumber"]) -> typing.Union[MetaOapg.Properties.ArrayArrayNumber, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["ArrayArrayNumber"]) -> typing.Union[MetaOapg.Properties.ArrayArrayNumber, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["ArrayArrayNumber"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_array_of_number_only.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_array_of_number_only.pyi index b30f35145a9..64922d90e85 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_array_of_number_only.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_array_of_number_only.pyi @@ -104,19 +104,19 @@ class ArrayOfArrayOfNumberOnly( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["ArrayArrayNumber"]) -> typing.Union[MetaOapg.Properties.ArrayArrayNumber, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["ArrayArrayNumber"]) -> typing.Union[MetaOapg.Properties.ArrayArrayNumber, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["ArrayArrayNumber"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_number_only.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_number_only.py index 2e282591909..7751e0b4e6d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_number_only.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_number_only.py @@ -82,19 +82,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["ArrayNumber"]) -> typing.Union[MetaOapg.Properties.ArrayNumber, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["ArrayNumber"]) -> typing.Union[MetaOapg.Properties.ArrayNumber, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["ArrayNumber"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_number_only.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_number_only.pyi index a4458d6e044..03841142b90 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_number_only.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_number_only.pyi @@ -81,19 +81,19 @@ class ArrayOfNumberOnly( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["ArrayNumber"]) -> typing.Union[MetaOapg.Properties.ArrayNumber, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["ArrayNumber"]) -> typing.Union[MetaOapg.Properties.ArrayNumber, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["ArrayNumber"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_test.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_test.py index 0344dbaeacc..4550a804b34 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_test.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_test.py @@ -189,18 +189,18 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["array_of_string"]) -> typing.Union[MetaOapg.Properties.ArrayOfString, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["array_of_string"]) -> typing.Union[MetaOapg.Properties.ArrayOfString, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["array_array_of_integer"]) -> typing.Union[MetaOapg.Properties.ArrayArrayOfInteger, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["array_array_of_integer"]) -> typing.Union[MetaOapg.Properties.ArrayArrayOfInteger, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["array_array_of_model"]) -> typing.Union[MetaOapg.Properties.ArrayArrayOfModel, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["array_array_of_model"]) -> typing.Union[MetaOapg.Properties.ArrayArrayOfModel, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["array_of_string"], @@ -209,7 +209,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_test.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_test.pyi index 6367d989634..67ec41c48d1 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_test.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_test.pyi @@ -188,18 +188,18 @@ class ArrayTest( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["array_of_string"]) -> typing.Union[MetaOapg.Properties.ArrayOfString, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["array_of_string"]) -> typing.Union[MetaOapg.Properties.ArrayOfString, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["array_array_of_integer"]) -> typing.Union[MetaOapg.Properties.ArrayArrayOfInteger, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["array_array_of_integer"]) -> typing.Union[MetaOapg.Properties.ArrayArrayOfInteger, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["array_array_of_model"]) -> typing.Union[MetaOapg.Properties.ArrayArrayOfModel, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["array_array_of_model"]) -> typing.Union[MetaOapg.Properties.ArrayArrayOfModel, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["array_of_string"], @@ -208,7 +208,7 @@ class ArrayTest( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana.py index a1bbeb81e05..7e371496787 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana.py @@ -64,19 +64,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["lengthCm"]) -> MetaOapg.Properties.LengthCm: ... + def get_item_(self, name: typing_extensions.Literal["lengthCm"]) -> MetaOapg.Properties.LengthCm: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["lengthCm"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana.pyi index 7796c3081c2..be555b5431c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana.pyi @@ -63,19 +63,19 @@ class Banana( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["lengthCm"]) -> MetaOapg.Properties.LengthCm: ... + def get_item_(self, name: typing_extensions.Literal["lengthCm"]) -> MetaOapg.Properties.LengthCm: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["lengthCm"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana_req.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana_req.py index 0587b82efbe..9ce372ac5fa 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana_req.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana_req.py @@ -67,19 +67,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["lengthCm"]) -> MetaOapg.Properties.LengthCm: ... + def get_item_(self, name: typing_extensions.Literal["lengthCm"]) -> MetaOapg.Properties.LengthCm: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["sweet"]) -> typing.Union[MetaOapg.Properties.Sweet, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["sweet"]) -> typing.Union[MetaOapg.Properties.Sweet, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["lengthCm"], typing_extensions.Literal["sweet"], ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana_req.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana_req.pyi index 349dcb4fe41..becc20807c4 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana_req.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana_req.pyi @@ -66,19 +66,19 @@ class BananaReq( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["lengthCm"]) -> MetaOapg.Properties.LengthCm: ... + def get_item_(self, name: typing_extensions.Literal["lengthCm"]) -> MetaOapg.Properties.LengthCm: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["sweet"]) -> typing.Union[MetaOapg.Properties.Sweet, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["sweet"]) -> typing.Union[MetaOapg.Properties.Sweet, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["lengthCm"], typing_extensions.Literal["sweet"], ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/basque_pig.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/basque_pig.py index 5c8ceca403d..8bfbcbc411f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/basque_pig.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/basque_pig.py @@ -81,19 +81,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["className"]) -> MetaOapg.Properties.ClassName: ... + def get_item_(self, name: typing_extensions.Literal["className"]) -> MetaOapg.Properties.ClassName: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["className"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/basque_pig.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/basque_pig.pyi index 59e0bda26d7..851bc6e2043 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/basque_pig.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/basque_pig.pyi @@ -71,19 +71,19 @@ class BasquePig( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["className"]) -> MetaOapg.Properties.ClassName: ... + def get_item_(self, name: typing_extensions.Literal["className"]) -> MetaOapg.Properties.ClassName: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["className"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/capitalization.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/capitalization.py index db19ea8e5c1..8c16f4ed7d2 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/capitalization.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/capitalization.py @@ -89,27 +89,27 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["smallCamel"]) -> typing.Union[MetaOapg.Properties.SmallCamel, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["smallCamel"]) -> typing.Union[MetaOapg.Properties.SmallCamel, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["CapitalCamel"]) -> typing.Union[MetaOapg.Properties.CapitalCamel, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["CapitalCamel"]) -> typing.Union[MetaOapg.Properties.CapitalCamel, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["small_Snake"]) -> typing.Union[MetaOapg.Properties.SmallSnake, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["small_Snake"]) -> typing.Union[MetaOapg.Properties.SmallSnake, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["Capital_Snake"]) -> typing.Union[MetaOapg.Properties.CapitalSnake, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["Capital_Snake"]) -> typing.Union[MetaOapg.Properties.CapitalSnake, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["SCA_ETH_Flow_Points"]) -> typing.Union[MetaOapg.Properties.SCAETHFlowPoints, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["SCA_ETH_Flow_Points"]) -> typing.Union[MetaOapg.Properties.SCAETHFlowPoints, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["ATT_NAME"]) -> typing.Union[MetaOapg.Properties.ATTNAME, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["ATT_NAME"]) -> typing.Union[MetaOapg.Properties.ATTNAME, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["smallCamel"], @@ -121,7 +121,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/capitalization.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/capitalization.pyi index bba8535d6af..694d3649d9d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/capitalization.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/capitalization.pyi @@ -88,27 +88,27 @@ class Capitalization( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["smallCamel"]) -> typing.Union[MetaOapg.Properties.SmallCamel, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["smallCamel"]) -> typing.Union[MetaOapg.Properties.SmallCamel, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["CapitalCamel"]) -> typing.Union[MetaOapg.Properties.CapitalCamel, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["CapitalCamel"]) -> typing.Union[MetaOapg.Properties.CapitalCamel, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["small_Snake"]) -> typing.Union[MetaOapg.Properties.SmallSnake, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["small_Snake"]) -> typing.Union[MetaOapg.Properties.SmallSnake, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["Capital_Snake"]) -> typing.Union[MetaOapg.Properties.CapitalSnake, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["Capital_Snake"]) -> typing.Union[MetaOapg.Properties.CapitalSnake, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["SCA_ETH_Flow_Points"]) -> typing.Union[MetaOapg.Properties.SCAETHFlowPoints, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["SCA_ETH_Flow_Points"]) -> typing.Union[MetaOapg.Properties.SCAETHFlowPoints, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["ATT_NAME"]) -> typing.Union[MetaOapg.Properties.ATTNAME, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["ATT_NAME"]) -> typing.Union[MetaOapg.Properties.ATTNAME, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["smallCamel"], @@ -120,7 +120,7 @@ class Capitalization( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/cat.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/cat.py index fbcb866dece..9c21ac7a72d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/cat.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/cat.py @@ -74,19 +74,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["declawed"]) -> typing.Union[MetaOapg.Properties.Declawed, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["declawed"]) -> typing.Union[MetaOapg.Properties.Declawed, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["declawed"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/cat.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/cat.pyi index 3677461d1fe..ffaf653183a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/cat.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/cat.pyi @@ -73,19 +73,19 @@ class Cat( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["declawed"]) -> typing.Union[MetaOapg.Properties.Declawed, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["declawed"]) -> typing.Union[MetaOapg.Properties.Declawed, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["declawed"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/category.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/category.py index b44bc015a6c..2d4f84deff5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/category.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/category.py @@ -70,15 +70,15 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> MetaOapg.Properties.Name: ... + def get_item_(self, name: typing_extensions.Literal["name"]) -> MetaOapg.Properties.Name: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> typing.Union[MetaOapg.Properties.Id, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["id"]) -> typing.Union[MetaOapg.Properties.Id, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["name"], @@ -86,7 +86,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/category.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/category.pyi index 7984b8ff1eb..f3d0202a7f1 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/category.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/category.pyi @@ -69,15 +69,15 @@ class Category( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> MetaOapg.Properties.Name: ... + def get_item_(self, name: typing_extensions.Literal["name"]) -> MetaOapg.Properties.Name: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> typing.Union[MetaOapg.Properties.Id, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["id"]) -> typing.Union[MetaOapg.Properties.Id, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["name"], @@ -85,7 +85,7 @@ class Category( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/child_cat.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/child_cat.py index 69f162553a0..be4da253f9d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/child_cat.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/child_cat.py @@ -74,19 +74,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.Properties.Name, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.Properties.Name, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["name"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/child_cat.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/child_cat.pyi index df1f495bcb8..d949494c795 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/child_cat.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/child_cat.pyi @@ -73,19 +73,19 @@ class ChildCat( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.Properties.Name, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.Properties.Name, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["name"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/class_model.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/class_model.py index 24a6c99896c..b26f55c723b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/class_model.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/class_model.py @@ -62,19 +62,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["_class"]) -> typing.Union[MetaOapg.Properties._Class, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["_class"]) -> typing.Union[MetaOapg.Properties._Class, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["_class"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/class_model.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/class_model.pyi index 24a6c99896c..b26f55c723b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/class_model.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/class_model.pyi @@ -62,19 +62,19 @@ class ClassModel( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["_class"]) -> typing.Union[MetaOapg.Properties._Class, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["_class"]) -> typing.Union[MetaOapg.Properties._Class, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["_class"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/client.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/client.py index a9c399d1a98..d7e5f9e0e41 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/client.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/client.py @@ -59,19 +59,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["client"]) -> typing.Union[MetaOapg.Properties.Client, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["client"]) -> typing.Union[MetaOapg.Properties.Client, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["client"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/client.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/client.pyi index 5c8bc0559c2..8fed206d125 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/client.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/client.pyi @@ -58,19 +58,19 @@ class Client( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["client"]) -> typing.Union[MetaOapg.Properties.Client, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["client"]) -> typing.Union[MetaOapg.Properties.Client, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["client"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/complex_quadrilateral.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/complex_quadrilateral.py index 07ed026ee99..489158fd0f7 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/complex_quadrilateral.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/complex_quadrilateral.py @@ -91,19 +91,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["quadrilateralType"]) -> typing.Union[MetaOapg.Properties.QuadrilateralType, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["quadrilateralType"]) -> typing.Union[MetaOapg.Properties.QuadrilateralType, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["quadrilateralType"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/complex_quadrilateral.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/complex_quadrilateral.pyi index 79be1b79c7b..eab6d621565 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/complex_quadrilateral.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/complex_quadrilateral.pyi @@ -81,19 +81,19 @@ class ComplexQuadrilateral( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["quadrilateralType"]) -> typing.Union[MetaOapg.Properties.QuadrilateralType, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["quadrilateralType"]) -> typing.Union[MetaOapg.Properties.QuadrilateralType, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["quadrilateralType"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/danish_pig.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/danish_pig.py index a874f1b4c2e..1d2a82a19af 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/danish_pig.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/danish_pig.py @@ -81,19 +81,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["className"]) -> MetaOapg.Properties.ClassName: ... + def get_item_(self, name: typing_extensions.Literal["className"]) -> MetaOapg.Properties.ClassName: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["className"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/danish_pig.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/danish_pig.pyi index 59d3c9768a8..30b50ee5990 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/danish_pig.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/danish_pig.pyi @@ -71,19 +71,19 @@ class DanishPig( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["className"]) -> MetaOapg.Properties.ClassName: ... + def get_item_(self, name: typing_extensions.Literal["className"]) -> MetaOapg.Properties.ClassName: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["className"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/dog.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/dog.py index fa4ebd14499..540259ffa0d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/dog.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/dog.py @@ -74,19 +74,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["breed"]) -> typing.Union[MetaOapg.Properties.Breed, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["breed"]) -> typing.Union[MetaOapg.Properties.Breed, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["breed"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/dog.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/dog.pyi index f805d96c31c..a2f1ca62e12 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/dog.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/dog.pyi @@ -73,19 +73,19 @@ class Dog( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["breed"]) -> typing.Union[MetaOapg.Properties.Breed, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["breed"]) -> typing.Union[MetaOapg.Properties.Breed, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["breed"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/drawing.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/drawing.py index caba8750ae2..0c497636572 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/drawing.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/drawing.py @@ -116,21 +116,21 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["mainShape"]) -> typing.Union['shape.Shape', schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["mainShape"]) -> typing.Union['shape.Shape', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["shapeOrNull"]) -> typing.Union['shape_or_null.ShapeOrNull', schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["shapeOrNull"]) -> typing.Union['shape_or_null.ShapeOrNull', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["nullableShape"]) -> typing.Union['nullable_shape.NullableShape', schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["nullableShape"]) -> typing.Union['nullable_shape.NullableShape', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["shapes"]) -> typing.Union[MetaOapg.Properties.Shapes, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["shapes"]) -> typing.Union[MetaOapg.Properties.Shapes, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union['fruit.Fruit', schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union['fruit.Fruit', schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["mainShape"], @@ -140,7 +140,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/drawing.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/drawing.pyi index cc7410121cd..ee1eb34f577 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/drawing.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/drawing.pyi @@ -115,21 +115,21 @@ class Drawing( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["mainShape"]) -> typing.Union['shape.Shape', schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["mainShape"]) -> typing.Union['shape.Shape', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["shapeOrNull"]) -> typing.Union['shape_or_null.ShapeOrNull', schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["shapeOrNull"]) -> typing.Union['shape_or_null.ShapeOrNull', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["nullableShape"]) -> typing.Union['nullable_shape.NullableShape', schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["nullableShape"]) -> typing.Union['nullable_shape.NullableShape', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["shapes"]) -> typing.Union[MetaOapg.Properties.Shapes, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["shapes"]) -> typing.Union[MetaOapg.Properties.Shapes, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union['fruit.Fruit', schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union['fruit.Fruit', schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["mainShape"], @@ -139,7 +139,7 @@ class Drawing( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_arrays.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_arrays.py index 8ff29dc66ae..34b4ff39b84 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_arrays.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_arrays.py @@ -132,15 +132,15 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["just_symbol"]) -> typing.Union[MetaOapg.Properties.JustSymbol, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["just_symbol"]) -> typing.Union[MetaOapg.Properties.JustSymbol, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["array_enum"]) -> typing.Union[MetaOapg.Properties.ArrayEnum, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["array_enum"]) -> typing.Union[MetaOapg.Properties.ArrayEnum, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["just_symbol"], @@ -148,7 +148,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_arrays.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_arrays.pyi index 6acfd1290e9..268f92411ec 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_arrays.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_arrays.pyi @@ -111,15 +111,15 @@ class EnumArrays( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["just_symbol"]) -> typing.Union[MetaOapg.Properties.JustSymbol, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["just_symbol"]) -> typing.Union[MetaOapg.Properties.JustSymbol, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["array_enum"]) -> typing.Union[MetaOapg.Properties.ArrayEnum, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["array_enum"]) -> typing.Union[MetaOapg.Properties.ArrayEnum, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["just_symbol"], @@ -127,7 +127,7 @@ class EnumArrays( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_test.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_test.py index e10462240b9..d12fd1da772 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_test.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_test.py @@ -227,36 +227,36 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["enum_string_required"]) -> MetaOapg.Properties.EnumStringRequired: ... + def get_item_(self, name: typing_extensions.Literal["enum_string_required"]) -> MetaOapg.Properties.EnumStringRequired: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["enum_string"]) -> typing.Union[MetaOapg.Properties.EnumString, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["enum_string"]) -> typing.Union[MetaOapg.Properties.EnumString, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["enum_integer"]) -> typing.Union[MetaOapg.Properties.EnumInteger, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["enum_integer"]) -> typing.Union[MetaOapg.Properties.EnumInteger, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["enum_number"]) -> typing.Union[MetaOapg.Properties.EnumNumber, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["enum_number"]) -> typing.Union[MetaOapg.Properties.EnumNumber, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["stringEnum"]) -> typing.Union['string_enum.StringEnum', schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["stringEnum"]) -> typing.Union['string_enum.StringEnum', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["IntegerEnum"]) -> typing.Union['integer_enum.IntegerEnum', schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["IntegerEnum"]) -> typing.Union['integer_enum.IntegerEnum', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["StringEnumWithDefaultValue"]) -> typing.Union['string_enum_with_default_value.StringEnumWithDefaultValue', schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["StringEnumWithDefaultValue"]) -> typing.Union['string_enum_with_default_value.StringEnumWithDefaultValue', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["IntegerEnumWithDefaultValue"]) -> typing.Union['integer_enum_with_default_value.IntegerEnumWithDefaultValue', schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["IntegerEnumWithDefaultValue"]) -> typing.Union['integer_enum_with_default_value.IntegerEnumWithDefaultValue', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["IntegerEnumOneValue"]) -> typing.Union['integer_enum_one_value.IntegerEnumOneValue', schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["IntegerEnumOneValue"]) -> typing.Union['integer_enum_one_value.IntegerEnumOneValue', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["enum_string_required"], @@ -271,7 +271,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_test.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_test.pyi index 093d597acdd..289344f5d69 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_test.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_test.pyi @@ -182,36 +182,36 @@ class EnumTest( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["enum_string_required"]) -> MetaOapg.Properties.EnumStringRequired: ... + def get_item_(self, name: typing_extensions.Literal["enum_string_required"]) -> MetaOapg.Properties.EnumStringRequired: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["enum_string"]) -> typing.Union[MetaOapg.Properties.EnumString, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["enum_string"]) -> typing.Union[MetaOapg.Properties.EnumString, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["enum_integer"]) -> typing.Union[MetaOapg.Properties.EnumInteger, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["enum_integer"]) -> typing.Union[MetaOapg.Properties.EnumInteger, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["enum_number"]) -> typing.Union[MetaOapg.Properties.EnumNumber, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["enum_number"]) -> typing.Union[MetaOapg.Properties.EnumNumber, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["stringEnum"]) -> typing.Union['string_enum.StringEnum', schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["stringEnum"]) -> typing.Union['string_enum.StringEnum', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["IntegerEnum"]) -> typing.Union['integer_enum.IntegerEnum', schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["IntegerEnum"]) -> typing.Union['integer_enum.IntegerEnum', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["StringEnumWithDefaultValue"]) -> typing.Union['string_enum_with_default_value.StringEnumWithDefaultValue', schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["StringEnumWithDefaultValue"]) -> typing.Union['string_enum_with_default_value.StringEnumWithDefaultValue', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["IntegerEnumWithDefaultValue"]) -> typing.Union['integer_enum_with_default_value.IntegerEnumWithDefaultValue', schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["IntegerEnumWithDefaultValue"]) -> typing.Union['integer_enum_with_default_value.IntegerEnumWithDefaultValue', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["IntegerEnumOneValue"]) -> typing.Union['integer_enum_one_value.IntegerEnumOneValue', schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["IntegerEnumOneValue"]) -> typing.Union['integer_enum_one_value.IntegerEnumOneValue', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["enum_string_required"], @@ -226,7 +226,7 @@ class EnumTest( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/equilateral_triangle.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/equilateral_triangle.py index 9e7f3cf4e23..64815656686 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/equilateral_triangle.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/equilateral_triangle.py @@ -91,19 +91,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["triangleType"]) -> typing.Union[MetaOapg.Properties.TriangleType, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["triangleType"]) -> typing.Union[MetaOapg.Properties.TriangleType, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["triangleType"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/equilateral_triangle.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/equilateral_triangle.pyi index eab5c1247cc..c9670f51ec4 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/equilateral_triangle.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/equilateral_triangle.pyi @@ -81,19 +81,19 @@ class EquilateralTriangle( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["triangleType"]) -> typing.Union[MetaOapg.Properties.TriangleType, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["triangleType"]) -> typing.Union[MetaOapg.Properties.TriangleType, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["triangleType"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/file.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/file.py index 7e73d2d5df3..4d928078042 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/file.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/file.py @@ -61,19 +61,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["sourceURI"]) -> typing.Union[MetaOapg.Properties.SourceURI, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["sourceURI"]) -> typing.Union[MetaOapg.Properties.SourceURI, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["sourceURI"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/file.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/file.pyi index c153f1fe340..752c6d49d93 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/file.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/file.pyi @@ -60,19 +60,19 @@ class File( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["sourceURI"]) -> typing.Union[MetaOapg.Properties.SourceURI, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["sourceURI"]) -> typing.Union[MetaOapg.Properties.SourceURI, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["sourceURI"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/file_schema_test_class.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/file_schema_test_class.py index 7c8590f25de..db98f6360d8 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/file_schema_test_class.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/file_schema_test_class.py @@ -94,15 +94,15 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["file"]) -> typing.Union['file.File', schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["file"]) -> typing.Union['file.File', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["files"]) -> typing.Union[MetaOapg.Properties.Files, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["files"]) -> typing.Union[MetaOapg.Properties.Files, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["file"], @@ -110,7 +110,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/file_schema_test_class.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/file_schema_test_class.pyi index 31e5cffd8fb..36db8a9061d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/file_schema_test_class.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/file_schema_test_class.pyi @@ -93,15 +93,15 @@ class FileSchemaTestClass( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["file"]) -> typing.Union['file.File', schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["file"]) -> typing.Union['file.File', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["files"]) -> typing.Union[MetaOapg.Properties.Files, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["files"]) -> typing.Union[MetaOapg.Properties.Files, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["file"], @@ -109,7 +109,7 @@ class FileSchemaTestClass( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/foo.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/foo.py index 8cf1842f23a..b20f5987b8f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/foo.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/foo.py @@ -62,19 +62,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["bar"]) -> typing.Union['bar.Bar', schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["bar"]) -> typing.Union['bar.Bar', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["bar"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/foo.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/foo.pyi index 138b2f38771..49f784adc35 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/foo.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/foo.pyi @@ -61,19 +61,19 @@ class Foo( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["bar"]) -> typing.Union['bar.Bar', schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["bar"]) -> typing.Union['bar.Bar', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["bar"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/format_test.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/format_test.py index 6703af59e5f..a79c8598cb7 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/format_test.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/format_test.py @@ -338,72 +338,72 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["byte"]) -> MetaOapg.Properties.Byte: ... + def get_item_(self, name: typing_extensions.Literal["byte"]) -> MetaOapg.Properties.Byte: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["date"]) -> MetaOapg.Properties.Date: ... + def get_item_(self, name: typing_extensions.Literal["date"]) -> MetaOapg.Properties.Date: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["number"]) -> MetaOapg.Properties.Number: ... + def get_item_(self, name: typing_extensions.Literal["number"]) -> MetaOapg.Properties.Number: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["password"]) -> MetaOapg.Properties.Password: ... + def get_item_(self, name: typing_extensions.Literal["password"]) -> MetaOapg.Properties.Password: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["integer"]) -> typing.Union[MetaOapg.Properties.Integer, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["integer"]) -> typing.Union[MetaOapg.Properties.Integer, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["int32"]) -> typing.Union[MetaOapg.Properties.Int32, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["int32"]) -> typing.Union[MetaOapg.Properties.Int32, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["int32withValidations"]) -> typing.Union[MetaOapg.Properties.Int32withValidations, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["int32withValidations"]) -> typing.Union[MetaOapg.Properties.Int32withValidations, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["int64"]) -> typing.Union[MetaOapg.Properties.Int64, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["int64"]) -> typing.Union[MetaOapg.Properties.Int64, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["float"]) -> typing.Union[MetaOapg.Properties._Float, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["float"]) -> typing.Union[MetaOapg.Properties._Float, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["float32"]) -> typing.Union[MetaOapg.Properties.Float32, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["float32"]) -> typing.Union[MetaOapg.Properties.Float32, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["double"]) -> typing.Union[MetaOapg.Properties.Double, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["double"]) -> typing.Union[MetaOapg.Properties.Double, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["float64"]) -> typing.Union[MetaOapg.Properties.Float64, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["float64"]) -> typing.Union[MetaOapg.Properties.Float64, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["arrayWithUniqueItems"]) -> typing.Union[MetaOapg.Properties.ArrayWithUniqueItems, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["arrayWithUniqueItems"]) -> typing.Union[MetaOapg.Properties.ArrayWithUniqueItems, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["string"]) -> typing.Union[MetaOapg.Properties.String, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["string"]) -> typing.Union[MetaOapg.Properties.String, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["binary"]) -> typing.Union[MetaOapg.Properties.Binary, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["binary"]) -> typing.Union[MetaOapg.Properties.Binary, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["dateTime"]) -> typing.Union[MetaOapg.Properties.DateTime, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["dateTime"]) -> typing.Union[MetaOapg.Properties.DateTime, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["uuid"]) -> typing.Union[MetaOapg.Properties.Uuid, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["uuid"]) -> typing.Union[MetaOapg.Properties.Uuid, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["uuidNoExample"]) -> typing.Union[MetaOapg.Properties.UuidNoExample, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["uuidNoExample"]) -> typing.Union[MetaOapg.Properties.UuidNoExample, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["pattern_with_digits"]) -> typing.Union[MetaOapg.Properties.PatternWithDigits, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["pattern_with_digits"]) -> typing.Union[MetaOapg.Properties.PatternWithDigits, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["pattern_with_digits_and_delimiter"]) -> typing.Union[MetaOapg.Properties.PatternWithDigitsAndDelimiter, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["pattern_with_digits_and_delimiter"]) -> typing.Union[MetaOapg.Properties.PatternWithDigitsAndDelimiter, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["noneProp"]) -> typing.Union[MetaOapg.Properties.NoneProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["noneProp"]) -> typing.Union[MetaOapg.Properties.NoneProp, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["byte"], @@ -430,7 +430,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/format_test.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/format_test.pyi index 98d6718c606..97b5c5acaa8 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/format_test.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/format_test.pyi @@ -258,72 +258,72 @@ class FormatTest( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["byte"]) -> MetaOapg.Properties.Byte: ... + def get_item_(self, name: typing_extensions.Literal["byte"]) -> MetaOapg.Properties.Byte: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["date"]) -> MetaOapg.Properties.Date: ... + def get_item_(self, name: typing_extensions.Literal["date"]) -> MetaOapg.Properties.Date: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["number"]) -> MetaOapg.Properties.Number: ... + def get_item_(self, name: typing_extensions.Literal["number"]) -> MetaOapg.Properties.Number: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["password"]) -> MetaOapg.Properties.Password: ... + def get_item_(self, name: typing_extensions.Literal["password"]) -> MetaOapg.Properties.Password: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["integer"]) -> typing.Union[MetaOapg.Properties.Integer, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["integer"]) -> typing.Union[MetaOapg.Properties.Integer, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["int32"]) -> typing.Union[MetaOapg.Properties.Int32, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["int32"]) -> typing.Union[MetaOapg.Properties.Int32, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["int32withValidations"]) -> typing.Union[MetaOapg.Properties.Int32withValidations, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["int32withValidations"]) -> typing.Union[MetaOapg.Properties.Int32withValidations, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["int64"]) -> typing.Union[MetaOapg.Properties.Int64, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["int64"]) -> typing.Union[MetaOapg.Properties.Int64, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["float"]) -> typing.Union[MetaOapg.Properties._Float, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["float"]) -> typing.Union[MetaOapg.Properties._Float, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["float32"]) -> typing.Union[MetaOapg.Properties.Float32, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["float32"]) -> typing.Union[MetaOapg.Properties.Float32, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["double"]) -> typing.Union[MetaOapg.Properties.Double, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["double"]) -> typing.Union[MetaOapg.Properties.Double, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["float64"]) -> typing.Union[MetaOapg.Properties.Float64, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["float64"]) -> typing.Union[MetaOapg.Properties.Float64, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["arrayWithUniqueItems"]) -> typing.Union[MetaOapg.Properties.ArrayWithUniqueItems, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["arrayWithUniqueItems"]) -> typing.Union[MetaOapg.Properties.ArrayWithUniqueItems, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["string"]) -> typing.Union[MetaOapg.Properties.String, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["string"]) -> typing.Union[MetaOapg.Properties.String, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["binary"]) -> typing.Union[MetaOapg.Properties.Binary, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["binary"]) -> typing.Union[MetaOapg.Properties.Binary, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["dateTime"]) -> typing.Union[MetaOapg.Properties.DateTime, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["dateTime"]) -> typing.Union[MetaOapg.Properties.DateTime, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["uuid"]) -> typing.Union[MetaOapg.Properties.Uuid, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["uuid"]) -> typing.Union[MetaOapg.Properties.Uuid, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["uuidNoExample"]) -> typing.Union[MetaOapg.Properties.UuidNoExample, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["uuidNoExample"]) -> typing.Union[MetaOapg.Properties.UuidNoExample, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["pattern_with_digits"]) -> typing.Union[MetaOapg.Properties.PatternWithDigits, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["pattern_with_digits"]) -> typing.Union[MetaOapg.Properties.PatternWithDigits, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["pattern_with_digits_and_delimiter"]) -> typing.Union[MetaOapg.Properties.PatternWithDigitsAndDelimiter, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["pattern_with_digits_and_delimiter"]) -> typing.Union[MetaOapg.Properties.PatternWithDigitsAndDelimiter, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["noneProp"]) -> typing.Union[MetaOapg.Properties.NoneProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["noneProp"]) -> typing.Union[MetaOapg.Properties.NoneProp, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["byte"], @@ -350,7 +350,7 @@ class FormatTest( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/from_schema.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/from_schema.py index 104608ab312..76e5606ebee 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/from_schema.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/from_schema.py @@ -65,15 +65,15 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> typing.Union[MetaOapg.Properties.Data, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["data"]) -> typing.Union[MetaOapg.Properties.Data, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> typing.Union[MetaOapg.Properties.Id, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["id"]) -> typing.Union[MetaOapg.Properties.Id, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["data"], @@ -81,7 +81,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/from_schema.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/from_schema.pyi index abc586916cb..9ffdabde3f5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/from_schema.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/from_schema.pyi @@ -64,15 +64,15 @@ class FromSchema( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> typing.Union[MetaOapg.Properties.Data, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["data"]) -> typing.Union[MetaOapg.Properties.Data, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> typing.Union[MetaOapg.Properties.Id, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["id"]) -> typing.Union[MetaOapg.Properties.Id, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["data"], @@ -80,7 +80,7 @@ class FromSchema( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit.py index 756e37dd0ad..48e7fd99631 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit.py @@ -74,19 +74,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["color"]) -> typing.Union[MetaOapg.Properties.Color, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["color"]) -> typing.Union[MetaOapg.Properties.Color, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["color"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit.pyi index 756e37dd0ad..48e7fd99631 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit.pyi @@ -74,19 +74,19 @@ class Fruit( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["color"]) -> typing.Union[MetaOapg.Properties.Color, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["color"]) -> typing.Union[MetaOapg.Properties.Color, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["color"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/gm_fruit.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/gm_fruit.py index 3f0e6959465..307f2bdf23e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/gm_fruit.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/gm_fruit.py @@ -74,19 +74,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["color"]) -> typing.Union[MetaOapg.Properties.Color, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["color"]) -> typing.Union[MetaOapg.Properties.Color, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["color"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/gm_fruit.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/gm_fruit.pyi index 3f0e6959465..307f2bdf23e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/gm_fruit.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/gm_fruit.pyi @@ -74,19 +74,19 @@ class GmFruit( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["color"]) -> typing.Union[MetaOapg.Properties.Color, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["color"]) -> typing.Union[MetaOapg.Properties.Color, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["color"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/grandparent_animal.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/grandparent_animal.py index ea3d8c31ba5..620613fd15b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/grandparent_animal.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/grandparent_animal.py @@ -73,19 +73,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["pet_type"]) -> MetaOapg.Properties.PetType: ... + def get_item_(self, name: typing_extensions.Literal["pet_type"]) -> MetaOapg.Properties.PetType: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["pet_type"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/grandparent_animal.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/grandparent_animal.pyi index 6cd0b979682..b54269d39dc 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/grandparent_animal.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/grandparent_animal.pyi @@ -72,19 +72,19 @@ class GrandparentAnimal( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["pet_type"]) -> MetaOapg.Properties.PetType: ... + def get_item_(self, name: typing_extensions.Literal["pet_type"]) -> MetaOapg.Properties.PetType: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["pet_type"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/has_only_read_only.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/has_only_read_only.py index 3cd0549188a..47e06fac72d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/has_only_read_only.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/has_only_read_only.py @@ -65,15 +65,15 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["bar"]) -> typing.Union[MetaOapg.Properties.Bar, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["bar"]) -> typing.Union[MetaOapg.Properties.Bar, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["bar"], @@ -81,7 +81,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/has_only_read_only.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/has_only_read_only.pyi index 803256277d9..c8f52c8afa2 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/has_only_read_only.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/has_only_read_only.pyi @@ -64,15 +64,15 @@ class HasOnlyReadOnly( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["bar"]) -> typing.Union[MetaOapg.Properties.Bar, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["bar"]) -> typing.Union[MetaOapg.Properties.Bar, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["bar"], @@ -80,7 +80,7 @@ class HasOnlyReadOnly( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/health_check_result.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/health_check_result.py index a314ee6899f..151b5c9eceb 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/health_check_result.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/health_check_result.py @@ -87,19 +87,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["NullableMessage"]) -> typing.Union[MetaOapg.Properties.NullableMessage, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["NullableMessage"]) -> typing.Union[MetaOapg.Properties.NullableMessage, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["NullableMessage"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/health_check_result.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/health_check_result.pyi index af427bb80a7..63c61550ae6 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/health_check_result.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/health_check_result.pyi @@ -86,19 +86,19 @@ class HealthCheckResult( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["NullableMessage"]) -> typing.Union[MetaOapg.Properties.NullableMessage, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["NullableMessage"]) -> typing.Union[MetaOapg.Properties.NullableMessage, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["NullableMessage"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/isosceles_triangle.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/isosceles_triangle.py index 412ba33623e..87b51cc22fc 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/isosceles_triangle.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/isosceles_triangle.py @@ -91,19 +91,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["triangleType"]) -> typing.Union[MetaOapg.Properties.TriangleType, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["triangleType"]) -> typing.Union[MetaOapg.Properties.TriangleType, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["triangleType"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/isosceles_triangle.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/isosceles_triangle.pyi index e045968c386..728c090c7f4 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/isosceles_triangle.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/isosceles_triangle.pyi @@ -81,19 +81,19 @@ class IsoscelesTriangle( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["triangleType"]) -> typing.Union[MetaOapg.Properties.TriangleType, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["triangleType"]) -> typing.Union[MetaOapg.Properties.TriangleType, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["triangleType"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_add_replace_test.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_add_replace_test.py index 40e9aa6e30e..8bfc228dc23 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_add_replace_test.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_add_replace_test.py @@ -104,15 +104,15 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["op"]) -> MetaOapg.Properties.Op: ... + def get_item_(self, name: typing_extensions.Literal["op"]) -> MetaOapg.Properties.Op: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["path"]) -> MetaOapg.Properties.Path: ... + def get_item_(self, name: typing_extensions.Literal["path"]) -> MetaOapg.Properties.Path: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["value"]) -> MetaOapg.Properties.Value: ... + def get_item_(self, name: typing_extensions.Literal["value"]) -> MetaOapg.Properties.Value: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["op"], @@ -120,7 +120,7 @@ def get_item_oapg( typing_extensions.Literal["value"], ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_add_replace_test.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_add_replace_test.pyi index 1abacb913d9..e45031be93f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_add_replace_test.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_add_replace_test.pyi @@ -92,15 +92,15 @@ class JSONPatchRequestAddReplaceTest( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["op"]) -> MetaOapg.Properties.Op: ... + def get_item_(self, name: typing_extensions.Literal["op"]) -> MetaOapg.Properties.Op: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["path"]) -> MetaOapg.Properties.Path: ... + def get_item_(self, name: typing_extensions.Literal["path"]) -> MetaOapg.Properties.Path: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["value"]) -> MetaOapg.Properties.Value: ... + def get_item_(self, name: typing_extensions.Literal["value"]) -> MetaOapg.Properties.Value: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["op"], @@ -108,7 +108,7 @@ class JSONPatchRequestAddReplaceTest( typing_extensions.Literal["value"], ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_move_copy.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_move_copy.py index 72a23be5fd3..dff96412226 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_move_copy.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_move_copy.py @@ -98,15 +98,15 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["from"]) -> MetaOapg.Properties._From: ... + def get_item_(self, name: typing_extensions.Literal["from"]) -> MetaOapg.Properties._From: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["op"]) -> MetaOapg.Properties.Op: ... + def get_item_(self, name: typing_extensions.Literal["op"]) -> MetaOapg.Properties.Op: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["path"]) -> MetaOapg.Properties.Path: ... + def get_item_(self, name: typing_extensions.Literal["path"]) -> MetaOapg.Properties.Path: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["from"], @@ -114,7 +114,7 @@ def get_item_oapg( typing_extensions.Literal["path"], ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_move_copy.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_move_copy.pyi index 8cde2f69d8b..9da31559943 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_move_copy.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_move_copy.pyi @@ -87,15 +87,15 @@ class JSONPatchRequestMoveCopy( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["from"]) -> MetaOapg.Properties._From: ... + def get_item_(self, name: typing_extensions.Literal["from"]) -> MetaOapg.Properties._From: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["op"]) -> MetaOapg.Properties.Op: ... + def get_item_(self, name: typing_extensions.Literal["op"]) -> MetaOapg.Properties.Op: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["path"]) -> MetaOapg.Properties.Path: ... + def get_item_(self, name: typing_extensions.Literal["path"]) -> MetaOapg.Properties.Path: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["from"], @@ -103,7 +103,7 @@ class JSONPatchRequestMoveCopy( typing_extensions.Literal["path"], ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_remove.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_remove.py index ff7d65b3392..ab7b34cbff8 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_remove.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_remove.py @@ -86,19 +86,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["op"]) -> MetaOapg.Properties.Op: ... + def get_item_(self, name: typing_extensions.Literal["op"]) -> MetaOapg.Properties.Op: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["path"]) -> MetaOapg.Properties.Path: ... + def get_item_(self, name: typing_extensions.Literal["path"]) -> MetaOapg.Properties.Path: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["op"], typing_extensions.Literal["path"], ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_remove.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_remove.pyi index e79a6359686..f8900d44ea5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_remove.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_remove.pyi @@ -76,19 +76,19 @@ class JSONPatchRequestRemove( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["op"]) -> MetaOapg.Properties.Op: ... + def get_item_(self, name: typing_extensions.Literal["op"]) -> MetaOapg.Properties.Op: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["path"]) -> MetaOapg.Properties.Path: ... + def get_item_(self, name: typing_extensions.Literal["path"]) -> MetaOapg.Properties.Path: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["op"], typing_extensions.Literal["path"], ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/map_test.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/map_test.py index 95c5f0f7ef7..ea92c262605 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/map_test.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/map_test.py @@ -61,8 +61,8 @@ def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_oapg(self, name: str) -> MetaOapg.AdditionalProperties: - return super().get_item_oapg(name) + def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + return super().get_item_(name) def __new__( cls, @@ -81,8 +81,8 @@ def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_oapg(self, name: str) -> MetaOapg.AdditionalProperties: - return super().get_item_oapg(name) + def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + return super().get_item_(name) def __new__( cls, @@ -133,8 +133,8 @@ def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_oapg(self, name: str) -> MetaOapg.AdditionalProperties: - return super().get_item_oapg(name) + def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + return super().get_item_(name) def __new__( cls, @@ -163,8 +163,8 @@ def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_oapg(self, name: str) -> MetaOapg.AdditionalProperties: - return super().get_item_oapg(name) + def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + return super().get_item_(name) def __new__( cls, @@ -218,21 +218,21 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["map_map_of_string"]) -> typing.Union[MetaOapg.Properties.MapMapOfString, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["map_map_of_string"]) -> typing.Union[MetaOapg.Properties.MapMapOfString, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["map_of_enum_string"]) -> typing.Union[MetaOapg.Properties.MapOfEnumString, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["map_of_enum_string"]) -> typing.Union[MetaOapg.Properties.MapOfEnumString, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["direct_map"]) -> typing.Union[MetaOapg.Properties.DirectMap, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["direct_map"]) -> typing.Union[MetaOapg.Properties.DirectMap, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["indirect_map"]) -> typing.Union['string_boolean_map.StringBooleanMap', schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["indirect_map"]) -> typing.Union['string_boolean_map.StringBooleanMap', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["map_map_of_string"], @@ -242,7 +242,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/map_test.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/map_test.pyi index cef6092d940..6a2df6be388 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/map_test.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/map_test.pyi @@ -58,8 +58,8 @@ class MapTest( # dict_instance[name] accessor return super().__getitem__(name) - def get_item_oapg(self, name: str) -> MetaOapg.AdditionalProperties: - return super().get_item_oapg(name) + def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + return super().get_item_(name) def __new__( cls, @@ -78,8 +78,8 @@ class MapTest( # dict_instance[name] accessor return super().__getitem__(name) - def get_item_oapg(self, name: str) -> MetaOapg.AdditionalProperties: - return super().get_item_oapg(name) + def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + return super().get_item_(name) def __new__( cls, @@ -119,8 +119,8 @@ class MapTest( # dict_instance[name] accessor return super().__getitem__(name) - def get_item_oapg(self, name: str) -> MetaOapg.AdditionalProperties: - return super().get_item_oapg(name) + def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + return super().get_item_(name) def __new__( cls, @@ -148,8 +148,8 @@ class MapTest( # dict_instance[name] accessor return super().__getitem__(name) - def get_item_oapg(self, name: str) -> MetaOapg.AdditionalProperties: - return super().get_item_oapg(name) + def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + return super().get_item_(name) def __new__( cls, @@ -203,21 +203,21 @@ class MapTest( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["map_map_of_string"]) -> typing.Union[MetaOapg.Properties.MapMapOfString, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["map_map_of_string"]) -> typing.Union[MetaOapg.Properties.MapMapOfString, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["map_of_enum_string"]) -> typing.Union[MetaOapg.Properties.MapOfEnumString, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["map_of_enum_string"]) -> typing.Union[MetaOapg.Properties.MapOfEnumString, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["direct_map"]) -> typing.Union[MetaOapg.Properties.DirectMap, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["direct_map"]) -> typing.Union[MetaOapg.Properties.DirectMap, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["indirect_map"]) -> typing.Union['string_boolean_map.StringBooleanMap', schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["indirect_map"]) -> typing.Union['string_boolean_map.StringBooleanMap', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["map_map_of_string"], @@ -227,7 +227,7 @@ class MapTest( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/mixed_properties_and_additional_properties_class.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/mixed_properties_and_additional_properties_class.py index c29bd041304..145e1bd8594 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/mixed_properties_and_additional_properties_class.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/mixed_properties_and_additional_properties_class.py @@ -57,8 +57,8 @@ def __getitem__(self, name: str) -> 'animal.Animal': # dict_instance[name] accessor return super().__getitem__(name) - def get_item_oapg(self, name: str) -> 'animal.Animal': - return super().get_item_oapg(name) + def get_item_(self, name: str) -> 'animal.Animal': + return super().get_item_(name) def __new__( cls, @@ -103,18 +103,18 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["uuid"]) -> typing.Union[MetaOapg.Properties.Uuid, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["uuid"]) -> typing.Union[MetaOapg.Properties.Uuid, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["dateTime"]) -> typing.Union[MetaOapg.Properties.DateTime, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["dateTime"]) -> typing.Union[MetaOapg.Properties.DateTime, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["map"]) -> typing.Union[MetaOapg.Properties.Map, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["map"]) -> typing.Union[MetaOapg.Properties.Map, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["uuid"], @@ -123,7 +123,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/mixed_properties_and_additional_properties_class.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/mixed_properties_and_additional_properties_class.pyi index e94ca3720a6..18356232288 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/mixed_properties_and_additional_properties_class.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/mixed_properties_and_additional_properties_class.pyi @@ -55,8 +55,8 @@ class MixedPropertiesAndAdditionalPropertiesClass( # dict_instance[name] accessor return super().__getitem__(name) - def get_item_oapg(self, name: str) -> 'animal.Animal': - return super().get_item_oapg(name) + def get_item_(self, name: str) -> 'animal.Animal': + return super().get_item_(name) def __new__( cls, @@ -101,18 +101,18 @@ class MixedPropertiesAndAdditionalPropertiesClass( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["uuid"]) -> typing.Union[MetaOapg.Properties.Uuid, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["uuid"]) -> typing.Union[MetaOapg.Properties.Uuid, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["dateTime"]) -> typing.Union[MetaOapg.Properties.DateTime, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["dateTime"]) -> typing.Union[MetaOapg.Properties.DateTime, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["map"]) -> typing.Union[MetaOapg.Properties.Map, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["map"]) -> typing.Union[MetaOapg.Properties.Map, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["uuid"], @@ -121,7 +121,7 @@ class MixedPropertiesAndAdditionalPropertiesClass( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/money.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/money.py index c3c76dd2afa..01905b5a68b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/money.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/money.py @@ -75,15 +75,15 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["amount"]) -> MetaOapg.Properties.Amount: ... + def get_item_(self, name: typing_extensions.Literal["amount"]) -> MetaOapg.Properties.Amount: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["currency"]) -> 'currency.Currency': ... + def get_item_(self, name: typing_extensions.Literal["currency"]) -> 'currency.Currency': ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["amount"], @@ -91,7 +91,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/money.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/money.pyi index ab418e3ed24..1206ee0d80d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/money.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/money.pyi @@ -74,15 +74,15 @@ class Money( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["amount"]) -> MetaOapg.Properties.Amount: ... + def get_item_(self, name: typing_extensions.Literal["amount"]) -> MetaOapg.Properties.Amount: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["currency"]) -> 'currency.Currency': ... + def get_item_(self, name: typing_extensions.Literal["currency"]) -> 'currency.Currency': ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["amount"], @@ -90,7 +90,7 @@ class Money( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/name.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/name.py index a1026f87ab7..64437a5b168 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/name.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/name.py @@ -79,18 +79,18 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> MetaOapg.Properties.Name: ... + def get_item_(self, name: typing_extensions.Literal["name"]) -> MetaOapg.Properties.Name: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["snake_case"]) -> typing.Union[MetaOapg.Properties.SnakeCase, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["snake_case"]) -> typing.Union[MetaOapg.Properties.SnakeCase, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["property"]) -> typing.Union[MetaOapg.Properties._Property, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["property"]) -> typing.Union[MetaOapg.Properties._Property, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["name"], @@ -99,7 +99,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/name.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/name.pyi index a1026f87ab7..64437a5b168 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/name.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/name.pyi @@ -79,18 +79,18 @@ class Name( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> MetaOapg.Properties.Name: ... + def get_item_(self, name: typing_extensions.Literal["name"]) -> MetaOapg.Properties.Name: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["snake_case"]) -> typing.Union[MetaOapg.Properties.SnakeCase, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["snake_case"]) -> typing.Union[MetaOapg.Properties.SnakeCase, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["property"]) -> typing.Union[MetaOapg.Properties._Property, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["property"]) -> typing.Union[MetaOapg.Properties._Property, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["name"], @@ -99,7 +99,7 @@ class Name( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/no_additional_properties.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/no_additional_properties.py index e3a82222164..08137c2eeb7 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/no_additional_properties.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/no_additional_properties.py @@ -67,19 +67,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.Properties.Id: ... + def get_item_(self, name: typing_extensions.Literal["id"]) -> MetaOapg.Properties.Id: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["petId"]) -> typing.Union[MetaOapg.Properties.PetId, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["petId"]) -> typing.Union[MetaOapg.Properties.PetId, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["id"], typing_extensions.Literal["petId"], ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/no_additional_properties.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/no_additional_properties.pyi index 17f34c3cb57..852de1a76d6 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/no_additional_properties.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/no_additional_properties.pyi @@ -66,19 +66,19 @@ class NoAdditionalProperties( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.Properties.Id: ... + def get_item_(self, name: typing_extensions.Literal["id"]) -> MetaOapg.Properties.Id: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["petId"]) -> typing.Union[MetaOapg.Properties.PetId, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["petId"]) -> typing.Union[MetaOapg.Properties.PetId, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["id"], typing_extensions.Literal["petId"], ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_class.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_class.py index 40a345c964b..08f23d8f581 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_class.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_class.py @@ -362,8 +362,8 @@ def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_oapg(self, name: str) -> MetaOapg.AdditionalProperties: - return super().get_item_oapg(name) + def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + return super().get_item_(name) def __new__( cls, @@ -427,8 +427,8 @@ def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_oapg(self, name: str) -> MetaOapg.AdditionalProperties: - return super().get_item_oapg(name) + def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + return super().get_item_(name) def __new__( cls, @@ -485,8 +485,8 @@ def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_oapg(self, name: str) -> MetaOapg.AdditionalProperties: - return super().get_item_oapg(name) + def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + return super().get_item_(name) def __new__( cls, @@ -605,45 +605,45 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["integer_prop"]) -> typing.Union[MetaOapg.Properties.IntegerProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["integer_prop"]) -> typing.Union[MetaOapg.Properties.IntegerProp, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["number_prop"]) -> typing.Union[MetaOapg.Properties.NumberProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["number_prop"]) -> typing.Union[MetaOapg.Properties.NumberProp, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["boolean_prop"]) -> typing.Union[MetaOapg.Properties.BooleanProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["boolean_prop"]) -> typing.Union[MetaOapg.Properties.BooleanProp, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["string_prop"]) -> typing.Union[MetaOapg.Properties.StringProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["string_prop"]) -> typing.Union[MetaOapg.Properties.StringProp, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["date_prop"]) -> typing.Union[MetaOapg.Properties.DateProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["date_prop"]) -> typing.Union[MetaOapg.Properties.DateProp, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["datetime_prop"]) -> typing.Union[MetaOapg.Properties.DatetimeProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["datetime_prop"]) -> typing.Union[MetaOapg.Properties.DatetimeProp, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["array_nullable_prop"]) -> typing.Union[MetaOapg.Properties.ArrayNullableProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["array_nullable_prop"]) -> typing.Union[MetaOapg.Properties.ArrayNullableProp, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["array_and_items_nullable_prop"]) -> typing.Union[MetaOapg.Properties.ArrayAndItemsNullableProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["array_and_items_nullable_prop"]) -> typing.Union[MetaOapg.Properties.ArrayAndItemsNullableProp, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["array_items_nullable"]) -> typing.Union[MetaOapg.Properties.ArrayItemsNullable, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["array_items_nullable"]) -> typing.Union[MetaOapg.Properties.ArrayItemsNullable, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["object_nullable_prop"]) -> typing.Union[MetaOapg.Properties.ObjectNullableProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["object_nullable_prop"]) -> typing.Union[MetaOapg.Properties.ObjectNullableProp, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["object_and_items_nullable_prop"]) -> typing.Union[MetaOapg.Properties.ObjectAndItemsNullableProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["object_and_items_nullable_prop"]) -> typing.Union[MetaOapg.Properties.ObjectAndItemsNullableProp, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["object_items_nullable"]) -> typing.Union[MetaOapg.Properties.ObjectItemsNullable, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["object_items_nullable"]) -> typing.Union[MetaOapg.Properties.ObjectItemsNullable, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[MetaOapg.AdditionalProperties, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[MetaOapg.AdditionalProperties, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["integer_prop"], @@ -661,7 +661,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_class.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_class.pyi index 90770aa976d..2fe73db23fd 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_class.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_class.pyi @@ -361,8 +361,8 @@ class NullableClass( # dict_instance[name] accessor return super().__getitem__(name) - def get_item_oapg(self, name: str) -> MetaOapg.AdditionalProperties: - return super().get_item_oapg(name) + def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + return super().get_item_(name) def __new__( cls, @@ -426,8 +426,8 @@ class NullableClass( # dict_instance[name] accessor return super().__getitem__(name) - def get_item_oapg(self, name: str) -> MetaOapg.AdditionalProperties: - return super().get_item_oapg(name) + def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + return super().get_item_(name) def __new__( cls, @@ -483,8 +483,8 @@ class NullableClass( # dict_instance[name] accessor return super().__getitem__(name) - def get_item_oapg(self, name: str) -> MetaOapg.AdditionalProperties: - return super().get_item_oapg(name) + def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + return super().get_item_(name) def __new__( cls, @@ -603,45 +603,45 @@ class NullableClass( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["integer_prop"]) -> typing.Union[MetaOapg.Properties.IntegerProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["integer_prop"]) -> typing.Union[MetaOapg.Properties.IntegerProp, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["number_prop"]) -> typing.Union[MetaOapg.Properties.NumberProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["number_prop"]) -> typing.Union[MetaOapg.Properties.NumberProp, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["boolean_prop"]) -> typing.Union[MetaOapg.Properties.BooleanProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["boolean_prop"]) -> typing.Union[MetaOapg.Properties.BooleanProp, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["string_prop"]) -> typing.Union[MetaOapg.Properties.StringProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["string_prop"]) -> typing.Union[MetaOapg.Properties.StringProp, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["date_prop"]) -> typing.Union[MetaOapg.Properties.DateProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["date_prop"]) -> typing.Union[MetaOapg.Properties.DateProp, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["datetime_prop"]) -> typing.Union[MetaOapg.Properties.DatetimeProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["datetime_prop"]) -> typing.Union[MetaOapg.Properties.DatetimeProp, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["array_nullable_prop"]) -> typing.Union[MetaOapg.Properties.ArrayNullableProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["array_nullable_prop"]) -> typing.Union[MetaOapg.Properties.ArrayNullableProp, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["array_and_items_nullable_prop"]) -> typing.Union[MetaOapg.Properties.ArrayAndItemsNullableProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["array_and_items_nullable_prop"]) -> typing.Union[MetaOapg.Properties.ArrayAndItemsNullableProp, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["array_items_nullable"]) -> typing.Union[MetaOapg.Properties.ArrayItemsNullable, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["array_items_nullable"]) -> typing.Union[MetaOapg.Properties.ArrayItemsNullable, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["object_nullable_prop"]) -> typing.Union[MetaOapg.Properties.ObjectNullableProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["object_nullable_prop"]) -> typing.Union[MetaOapg.Properties.ObjectNullableProp, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["object_and_items_nullable_prop"]) -> typing.Union[MetaOapg.Properties.ObjectAndItemsNullableProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["object_and_items_nullable_prop"]) -> typing.Union[MetaOapg.Properties.ObjectAndItemsNullableProp, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["object_items_nullable"]) -> typing.Union[MetaOapg.Properties.ObjectItemsNullable, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["object_items_nullable"]) -> typing.Union[MetaOapg.Properties.ObjectItemsNullable, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[MetaOapg.AdditionalProperties, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[MetaOapg.AdditionalProperties, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["integer_prop"], @@ -659,7 +659,7 @@ class NullableClass( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/number_only.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/number_only.py index 9f7883b2def..0260c2e6195 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/number_only.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/number_only.py @@ -59,19 +59,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["JustNumber"]) -> typing.Union[MetaOapg.Properties.JustNumber, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["JustNumber"]) -> typing.Union[MetaOapg.Properties.JustNumber, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["JustNumber"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/number_only.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/number_only.pyi index b5d43f88b57..9bb7c4c4263 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/number_only.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/number_only.pyi @@ -58,19 +58,19 @@ class NumberOnly( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["JustNumber"]) -> typing.Union[MetaOapg.Properties.JustNumber, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["JustNumber"]) -> typing.Union[MetaOapg.Properties.JustNumber, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["JustNumber"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_arg_and_args_properties.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_arg_and_args_properties.py index b81b1fc7d5a..fe398b5939c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_arg_and_args_properties.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_arg_and_args_properties.py @@ -72,15 +72,15 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["arg"]) -> MetaOapg.Properties.Arg: ... + def get_item_(self, name: typing_extensions.Literal["arg"]) -> MetaOapg.Properties.Arg: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["args"]) -> MetaOapg.Properties.Args: ... + def get_item_(self, name: typing_extensions.Literal["args"]) -> MetaOapg.Properties.Args: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["arg"], @@ -88,7 +88,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_arg_and_args_properties.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_arg_and_args_properties.pyi index 1edb57b6fd1..a1bc22dba28 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_arg_and_args_properties.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_arg_and_args_properties.pyi @@ -71,15 +71,15 @@ class ObjectModelWithArgAndArgsProperties( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["arg"]) -> MetaOapg.Properties.Arg: ... + def get_item_(self, name: typing_extensions.Literal["arg"]) -> MetaOapg.Properties.Arg: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["args"]) -> MetaOapg.Properties.Args: ... + def get_item_(self, name: typing_extensions.Literal["args"]) -> MetaOapg.Properties.Args: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["arg"], @@ -87,7 +87,7 @@ class ObjectModelWithArgAndArgsProperties( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_ref_props.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_ref_props.py index 4eef533bbd8..9a876d957d5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_ref_props.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_ref_props.py @@ -82,18 +82,18 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["myNumber"]) -> typing.Union['number_with_validations.NumberWithValidations', schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["myNumber"]) -> typing.Union['number_with_validations.NumberWithValidations', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["myString"]) -> typing.Union['string.String', schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["myString"]) -> typing.Union['string.String', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["myBoolean"]) -> typing.Union['boolean.Boolean', schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["myBoolean"]) -> typing.Union['boolean.Boolean', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["myNumber"], @@ -102,7 +102,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_ref_props.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_ref_props.pyi index a0d974f95cb..9fe40d3a4af 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_ref_props.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_ref_props.pyi @@ -81,18 +81,18 @@ class ObjectModelWithRefProps( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["myNumber"]) -> typing.Union['number_with_validations.NumberWithValidations', schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["myNumber"]) -> typing.Union['number_with_validations.NumberWithValidations', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["myString"]) -> typing.Union['string.String', schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["myString"]) -> typing.Union['string.String', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["myBoolean"]) -> typing.Union['boolean.Boolean', schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["myBoolean"]) -> typing.Union['boolean.Boolean', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["myNumber"], @@ -101,7 +101,7 @@ class ObjectModelWithRefProps( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.py index 8843911195a..2c6404e2474 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.py @@ -83,15 +83,15 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["test"]) -> schemas.AnyTypeSchema: ... + def get_item_(self, name: typing_extensions.Literal["test"]) -> schemas.AnyTypeSchema: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.Properties.Name, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.Properties.Name, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["test"], @@ -99,7 +99,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.pyi index 2e05893c9cf..49a3a7cf9b3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.pyi @@ -82,15 +82,15 @@ class ObjectWithAllOfWithReqTestPropFromUnsetAddProp( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["test"]) -> schemas.AnyTypeSchema: ... + def get_item_(self, name: typing_extensions.Literal["test"]) -> schemas.AnyTypeSchema: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.Properties.Name, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.Properties.Name, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["test"], @@ -98,7 +98,7 @@ class ObjectWithAllOfWithReqTestPropFromUnsetAddProp( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_decimal_properties.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_decimal_properties.py index 42748dae5ab..04317e78dc5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_decimal_properties.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_decimal_properties.py @@ -77,18 +77,18 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["length"]) -> typing.Union['decimal_payload.DecimalPayload', schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["length"]) -> typing.Union['decimal_payload.DecimalPayload', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["width"]) -> typing.Union[MetaOapg.Properties.Width, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["width"]) -> typing.Union[MetaOapg.Properties.Width, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["cost"]) -> typing.Union['money.Money', schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["cost"]) -> typing.Union['money.Money', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["length"], @@ -97,7 +97,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_decimal_properties.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_decimal_properties.pyi index 8a5c2e7d76f..d475058e622 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_decimal_properties.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_decimal_properties.pyi @@ -76,18 +76,18 @@ class ObjectWithDecimalProperties( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["length"]) -> typing.Union['decimal_payload.DecimalPayload', schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["length"]) -> typing.Union['decimal_payload.DecimalPayload', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["width"]) -> typing.Union[MetaOapg.Properties.Width, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["width"]) -> typing.Union[MetaOapg.Properties.Width, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["cost"]) -> typing.Union['money.Money', schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["cost"]) -> typing.Union['money.Money', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["length"], @@ -96,7 +96,7 @@ class ObjectWithDecimalProperties( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_difficultly_named_props.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_difficultly_named_props.py index f5bcc57e7cb..03bd48e7acf 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_difficultly_named_props.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_difficultly_named_props.py @@ -77,18 +77,18 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["123-list"]) -> MetaOapg.Properties._123List: ... + def get_item_(self, name: typing_extensions.Literal["123-list"]) -> MetaOapg.Properties._123List: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["$special[property.name]"]) -> typing.Union[MetaOapg.Properties.SpecialPropertyName, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["$special[property.name]"]) -> typing.Union[MetaOapg.Properties.SpecialPropertyName, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["123Number"]) -> typing.Union[MetaOapg.Properties._123Number, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["123Number"]) -> typing.Union[MetaOapg.Properties._123Number, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["123-list"], @@ -97,7 +97,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_difficultly_named_props.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_difficultly_named_props.pyi index f2f280bb651..379e0d59009 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_difficultly_named_props.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_difficultly_named_props.pyi @@ -76,18 +76,18 @@ class ObjectWithDifficultlyNamedProps( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["123-list"]) -> MetaOapg.Properties._123List: ... + def get_item_(self, name: typing_extensions.Literal["123-list"]) -> MetaOapg.Properties._123List: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["$special[property.name]"]) -> typing.Union[MetaOapg.Properties.SpecialPropertyName, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["$special[property.name]"]) -> typing.Union[MetaOapg.Properties.SpecialPropertyName, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["123Number"]) -> typing.Union[MetaOapg.Properties._123Number, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["123Number"]) -> typing.Union[MetaOapg.Properties._123Number, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["123-list"], @@ -96,7 +96,7 @@ class ObjectWithDifficultlyNamedProps( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_inline_composition_property.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_inline_composition_property.py index c28c7af48c8..59a575b2593 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_inline_composition_property.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_inline_composition_property.py @@ -98,19 +98,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["someProp"]) -> typing.Union[MetaOapg.Properties.SomeProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["someProp"]) -> typing.Union[MetaOapg.Properties.SomeProp, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["someProp"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_inline_composition_property.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_inline_composition_property.pyi index 14063c12db2..eab846e84df 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_inline_composition_property.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_inline_composition_property.pyi @@ -91,19 +91,19 @@ class ObjectWithInlineCompositionProperty( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["someProp"]) -> typing.Union[MetaOapg.Properties.SomeProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["someProp"]) -> typing.Union[MetaOapg.Properties.SomeProp, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["someProp"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_invalid_named_refed_properties.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_invalid_named_refed_properties.py index 18b8a53b31e..9fdfdfc9154 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_invalid_named_refed_properties.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_invalid_named_refed_properties.py @@ -76,15 +76,15 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["!reference"]) -> 'array_with_validations_in_items.ArrayWithValidationsInItems': ... + def get_item_(self, name: typing_extensions.Literal["!reference"]) -> 'array_with_validations_in_items.ArrayWithValidationsInItems': ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["from"]) -> 'from_schema.FromSchema': ... + def get_item_(self, name: typing_extensions.Literal["from"]) -> 'from_schema.FromSchema': ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["!reference"], @@ -92,7 +92,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_invalid_named_refed_properties.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_invalid_named_refed_properties.pyi index 26a5c35cc34..c87323b6330 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_invalid_named_refed_properties.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_invalid_named_refed_properties.pyi @@ -75,15 +75,15 @@ class ObjectWithInvalidNamedRefedProperties( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["!reference"]) -> 'array_with_validations_in_items.ArrayWithValidationsInItems': ... + def get_item_(self, name: typing_extensions.Literal["!reference"]) -> 'array_with_validations_in_items.ArrayWithValidationsInItems': ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["from"]) -> 'from_schema.FromSchema': ... + def get_item_(self, name: typing_extensions.Literal["from"]) -> 'from_schema.FromSchema': ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["!reference"], @@ -91,7 +91,7 @@ class ObjectWithInvalidNamedRefedProperties( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_optional_test_prop.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_optional_test_prop.py index 8297af42474..78811165e2d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_optional_test_prop.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_optional_test_prop.py @@ -59,19 +59,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["test"]) -> typing.Union[MetaOapg.Properties.Test, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["test"]) -> typing.Union[MetaOapg.Properties.Test, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["test"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_optional_test_prop.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_optional_test_prop.pyi index 7d942388ccc..543eadfaead 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_optional_test_prop.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_optional_test_prop.pyi @@ -58,19 +58,19 @@ class ObjectWithOptionalTestProp( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["test"]) -> typing.Union[MetaOapg.Properties.Test, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["test"]) -> typing.Union[MetaOapg.Properties.Test, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["test"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/order.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/order.py index d37a35f4e84..b047e723d36 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/order.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/order.py @@ -116,27 +116,27 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> typing.Union[MetaOapg.Properties.Id, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["id"]) -> typing.Union[MetaOapg.Properties.Id, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["petId"]) -> typing.Union[MetaOapg.Properties.PetId, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["petId"]) -> typing.Union[MetaOapg.Properties.PetId, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["quantity"]) -> typing.Union[MetaOapg.Properties.Quantity, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["quantity"]) -> typing.Union[MetaOapg.Properties.Quantity, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["shipDate"]) -> typing.Union[MetaOapg.Properties.ShipDate, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["shipDate"]) -> typing.Union[MetaOapg.Properties.ShipDate, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["status"]) -> typing.Union[MetaOapg.Properties.Status, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["status"]) -> typing.Union[MetaOapg.Properties.Status, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["complete"]) -> typing.Union[MetaOapg.Properties.Complete, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["complete"]) -> typing.Union[MetaOapg.Properties.Complete, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["id"], @@ -148,7 +148,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/order.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/order.pyi index 7f29fa31874..2de9f6189b5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/order.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/order.pyi @@ -104,27 +104,27 @@ class Order( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> typing.Union[MetaOapg.Properties.Id, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["id"]) -> typing.Union[MetaOapg.Properties.Id, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["petId"]) -> typing.Union[MetaOapg.Properties.PetId, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["petId"]) -> typing.Union[MetaOapg.Properties.PetId, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["quantity"]) -> typing.Union[MetaOapg.Properties.Quantity, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["quantity"]) -> typing.Union[MetaOapg.Properties.Quantity, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["shipDate"]) -> typing.Union[MetaOapg.Properties.ShipDate, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["shipDate"]) -> typing.Union[MetaOapg.Properties.ShipDate, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["status"]) -> typing.Union[MetaOapg.Properties.Status, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["status"]) -> typing.Union[MetaOapg.Properties.Status, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["complete"]) -> typing.Union[MetaOapg.Properties.Complete, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["complete"]) -> typing.Union[MetaOapg.Properties.Complete, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["id"], @@ -136,7 +136,7 @@ class Order( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/pet.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/pet.py index e1ebf35ac69..70352af65d6 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/pet.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/pet.py @@ -177,27 +177,27 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> MetaOapg.Properties.Name: ... + def get_item_(self, name: typing_extensions.Literal["name"]) -> MetaOapg.Properties.Name: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["photoUrls"]) -> MetaOapg.Properties.PhotoUrls: ... + def get_item_(self, name: typing_extensions.Literal["photoUrls"]) -> MetaOapg.Properties.PhotoUrls: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> typing.Union[MetaOapg.Properties.Id, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["id"]) -> typing.Union[MetaOapg.Properties.Id, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["category"]) -> typing.Union['category.Category', schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["category"]) -> typing.Union['category.Category', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["tags"]) -> typing.Union[MetaOapg.Properties.Tags, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["tags"]) -> typing.Union[MetaOapg.Properties.Tags, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["status"]) -> typing.Union[MetaOapg.Properties.Status, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["status"]) -> typing.Union[MetaOapg.Properties.Status, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["name"], @@ -209,7 +209,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/pet.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/pet.pyi index 1b7a94ed05d..c7fd6054e39 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/pet.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/pet.pyi @@ -165,27 +165,27 @@ class Pet( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> MetaOapg.Properties.Name: ... + def get_item_(self, name: typing_extensions.Literal["name"]) -> MetaOapg.Properties.Name: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["photoUrls"]) -> MetaOapg.Properties.PhotoUrls: ... + def get_item_(self, name: typing_extensions.Literal["photoUrls"]) -> MetaOapg.Properties.PhotoUrls: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> typing.Union[MetaOapg.Properties.Id, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["id"]) -> typing.Union[MetaOapg.Properties.Id, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["category"]) -> typing.Union['category.Category', schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["category"]) -> typing.Union['category.Category', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["tags"]) -> typing.Union[MetaOapg.Properties.Tags, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["tags"]) -> typing.Union[MetaOapg.Properties.Tags, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["status"]) -> typing.Union[MetaOapg.Properties.Status, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["status"]) -> typing.Union[MetaOapg.Properties.Status, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["name"], @@ -197,7 +197,7 @@ class Pet( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/player.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/player.py index a6aff5414c1..41653504a0d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/player.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/player.py @@ -70,15 +70,15 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.Properties.Name, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.Properties.Name, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["enemyPlayer"]) -> typing.Union['Player', schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["enemyPlayer"]) -> typing.Union['Player', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["name"], @@ -86,7 +86,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/player.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/player.pyi index c0de2c01445..84ffb24946f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/player.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/player.pyi @@ -69,15 +69,15 @@ class Player( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.Properties.Name, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.Properties.Name, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["enemyPlayer"]) -> typing.Union['Player', schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["enemyPlayer"]) -> typing.Union['Player', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["name"], @@ -85,7 +85,7 @@ class Player( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral_interface.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral_interface.py index e9b6244b7b2..cea77a8dfcf 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral_interface.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral_interface.py @@ -90,15 +90,15 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["quadrilateralType"]) -> MetaOapg.Properties.QuadrilateralType: ... + def get_item_(self, name: typing_extensions.Literal["quadrilateralType"]) -> MetaOapg.Properties.QuadrilateralType: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["shapeType"]) -> MetaOapg.Properties.ShapeType: ... + def get_item_(self, name: typing_extensions.Literal["shapeType"]) -> MetaOapg.Properties.ShapeType: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["quadrilateralType"], @@ -106,7 +106,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral_interface.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral_interface.pyi index b039f0e452a..fb562b2fd39 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral_interface.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral_interface.pyi @@ -81,15 +81,15 @@ class QuadrilateralInterface( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["quadrilateralType"]) -> MetaOapg.Properties.QuadrilateralType: ... + def get_item_(self, name: typing_extensions.Literal["quadrilateralType"]) -> MetaOapg.Properties.QuadrilateralType: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["shapeType"]) -> MetaOapg.Properties.ShapeType: ... + def get_item_(self, name: typing_extensions.Literal["shapeType"]) -> MetaOapg.Properties.ShapeType: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["quadrilateralType"], @@ -97,7 +97,7 @@ class QuadrilateralInterface( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/read_only_first.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/read_only_first.py index 3744b6ed0b2..4238968f6ab 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/read_only_first.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/read_only_first.py @@ -65,15 +65,15 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["bar"]) -> typing.Union[MetaOapg.Properties.Bar, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["bar"]) -> typing.Union[MetaOapg.Properties.Bar, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["baz"]) -> typing.Union[MetaOapg.Properties.Baz, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["baz"]) -> typing.Union[MetaOapg.Properties.Baz, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["bar"], @@ -81,7 +81,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/read_only_first.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/read_only_first.pyi index 3cdf0a82619..c3989812d64 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/read_only_first.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/read_only_first.pyi @@ -64,15 +64,15 @@ class ReadOnlyFirst( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["bar"]) -> typing.Union[MetaOapg.Properties.Bar, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["bar"]) -> typing.Union[MetaOapg.Properties.Bar, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["baz"]) -> typing.Union[MetaOapg.Properties.Baz, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["baz"]) -> typing.Union[MetaOapg.Properties.Baz, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["bar"], @@ -80,7 +80,7 @@ class ReadOnlyFirst( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_explicit_add_props.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_explicit_add_props.py index 8e93deaa146..88b4d479a21 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_explicit_add_props.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_explicit_add_props.py @@ -64,15 +64,15 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["invalid-name"]) -> MetaOapg.AdditionalProperties: ... + def get_item_(self, name: typing_extensions.Literal["invalid-name"]) -> MetaOapg.AdditionalProperties: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["validName"]) -> MetaOapg.AdditionalProperties: ... + def get_item_(self, name: typing_extensions.Literal["validName"]) -> MetaOapg.AdditionalProperties: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[MetaOapg.AdditionalProperties, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[MetaOapg.AdditionalProperties, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["invalid-name"], @@ -80,7 +80,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_explicit_add_props.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_explicit_add_props.pyi index 04295d6d65e..a64af029cd2 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_explicit_add_props.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_explicit_add_props.pyi @@ -63,15 +63,15 @@ class ReqPropsFromExplicitAddProps( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["invalid-name"]) -> MetaOapg.AdditionalProperties: ... + def get_item_(self, name: typing_extensions.Literal["invalid-name"]) -> MetaOapg.AdditionalProperties: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["validName"]) -> MetaOapg.AdditionalProperties: ... + def get_item_(self, name: typing_extensions.Literal["validName"]) -> MetaOapg.AdditionalProperties: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[MetaOapg.AdditionalProperties, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[MetaOapg.AdditionalProperties, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["invalid-name"], @@ -79,7 +79,7 @@ class ReqPropsFromExplicitAddProps( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_true_add_props.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_true_add_props.py index bb817157acf..d317884adb9 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_true_add_props.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_true_add_props.py @@ -64,15 +64,15 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["invalid-name"]) -> MetaOapg.AdditionalProperties: ... + def get_item_(self, name: typing_extensions.Literal["invalid-name"]) -> MetaOapg.AdditionalProperties: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["validName"]) -> MetaOapg.AdditionalProperties: ... + def get_item_(self, name: typing_extensions.Literal["validName"]) -> MetaOapg.AdditionalProperties: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[MetaOapg.AdditionalProperties, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[MetaOapg.AdditionalProperties, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["invalid-name"], @@ -80,7 +80,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_true_add_props.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_true_add_props.pyi index 200b69a9e0b..b37a8237aa0 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_true_add_props.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_true_add_props.pyi @@ -63,15 +63,15 @@ class ReqPropsFromTrueAddProps( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["invalid-name"]) -> MetaOapg.AdditionalProperties: ... + def get_item_(self, name: typing_extensions.Literal["invalid-name"]) -> MetaOapg.AdditionalProperties: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["validName"]) -> MetaOapg.AdditionalProperties: ... + def get_item_(self, name: typing_extensions.Literal["validName"]) -> MetaOapg.AdditionalProperties: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[MetaOapg.AdditionalProperties, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[MetaOapg.AdditionalProperties, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["invalid-name"], @@ -79,7 +79,7 @@ class ReqPropsFromTrueAddProps( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_unset_add_props.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_unset_add_props.py index e99cf5bebd1..31edecb56d9 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_unset_add_props.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_unset_add_props.py @@ -63,15 +63,15 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["invalid-name"]) -> schemas.AnyTypeSchema: ... + def get_item_(self, name: typing_extensions.Literal["invalid-name"]) -> schemas.AnyTypeSchema: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["validName"]) -> schemas.AnyTypeSchema: ... + def get_item_(self, name: typing_extensions.Literal["validName"]) -> schemas.AnyTypeSchema: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["invalid-name"], @@ -79,7 +79,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_unset_add_props.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_unset_add_props.pyi index c87f3b36fd6..a9b92eaf8f0 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_unset_add_props.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_unset_add_props.pyi @@ -62,15 +62,15 @@ class ReqPropsFromUnsetAddProps( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["invalid-name"]) -> schemas.AnyTypeSchema: ... + def get_item_(self, name: typing_extensions.Literal["invalid-name"]) -> schemas.AnyTypeSchema: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["validName"]) -> schemas.AnyTypeSchema: ... + def get_item_(self, name: typing_extensions.Literal["validName"]) -> schemas.AnyTypeSchema: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["invalid-name"], @@ -78,7 +78,7 @@ class ReqPropsFromUnsetAddProps( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/scalene_triangle.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/scalene_triangle.py index 36402ad82b7..8ba8bb1e780 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/scalene_triangle.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/scalene_triangle.py @@ -91,19 +91,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["triangleType"]) -> typing.Union[MetaOapg.Properties.TriangleType, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["triangleType"]) -> typing.Union[MetaOapg.Properties.TriangleType, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["triangleType"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/scalene_triangle.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/scalene_triangle.pyi index e9ddcbba2f0..654b8b31848 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/scalene_triangle.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/scalene_triangle.pyi @@ -81,19 +81,19 @@ class ScaleneTriangle( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["triangleType"]) -> typing.Union[MetaOapg.Properties.TriangleType, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["triangleType"]) -> typing.Union[MetaOapg.Properties.TriangleType, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["triangleType"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_object_model.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_object_model.py index 2526793e215..9e8a3f8fb92 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_object_model.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_object_model.py @@ -66,19 +66,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["selfRef"]) -> typing.Union['SelfReferencingObjectModel', schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["selfRef"]) -> typing.Union['SelfReferencingObjectModel', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union['SelfReferencingObjectModel', schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union['SelfReferencingObjectModel', schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["selfRef"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_object_model.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_object_model.pyi index 4e84d3d8445..3d1d7a056f0 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_object_model.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_object_model.pyi @@ -65,19 +65,19 @@ class SelfReferencingObjectModel( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["selfRef"]) -> typing.Union['SelfReferencingObjectModel', schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["selfRef"]) -> typing.Union['SelfReferencingObjectModel', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union['SelfReferencingObjectModel', schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union['SelfReferencingObjectModel', schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["selfRef"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/simple_quadrilateral.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/simple_quadrilateral.py index 757220706eb..6d41018d895 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/simple_quadrilateral.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/simple_quadrilateral.py @@ -91,19 +91,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["quadrilateralType"]) -> typing.Union[MetaOapg.Properties.QuadrilateralType, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["quadrilateralType"]) -> typing.Union[MetaOapg.Properties.QuadrilateralType, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["quadrilateralType"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/simple_quadrilateral.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/simple_quadrilateral.pyi index 4d40dc086ba..b7c7bf8829d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/simple_quadrilateral.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/simple_quadrilateral.pyi @@ -81,19 +81,19 @@ class SimpleQuadrilateral( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["quadrilateralType"]) -> typing.Union[MetaOapg.Properties.QuadrilateralType, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["quadrilateralType"]) -> typing.Union[MetaOapg.Properties.QuadrilateralType, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["quadrilateralType"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/special_model_name.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/special_model_name.py index d97cdb9d171..785211c98a8 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/special_model_name.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/special_model_name.py @@ -61,19 +61,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["a"]) -> typing.Union[MetaOapg.Properties.A, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["a"]) -> typing.Union[MetaOapg.Properties.A, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["a"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/special_model_name.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/special_model_name.pyi index 483685f42e7..c200d76ddce 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/special_model_name.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/special_model_name.pyi @@ -60,19 +60,19 @@ class SpecialModelName( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["a"]) -> typing.Union[MetaOapg.Properties.A, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["a"]) -> typing.Union[MetaOapg.Properties.A, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["a"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_boolean_map.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_boolean_map.py index a3ce24c2256..fa31ebf69c8 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_boolean_map.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_boolean_map.py @@ -41,8 +41,8 @@ def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_oapg(self, name: str) -> MetaOapg.AdditionalProperties: - return super().get_item_oapg(name) + def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_boolean_map.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_boolean_map.pyi index 97a5b0c63a2..10e85c3e5bd 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_boolean_map.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_boolean_map.pyi @@ -40,8 +40,8 @@ class StringBooleanMap( # dict_instance[name] accessor return super().__getitem__(name) - def get_item_oapg(self, name: str) -> MetaOapg.AdditionalProperties: - return super().get_item_oapg(name) + def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/tag.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/tag.py index 06a373e11f4..3745047fd6a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/tag.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/tag.py @@ -65,15 +65,15 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> typing.Union[MetaOapg.Properties.Id, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["id"]) -> typing.Union[MetaOapg.Properties.Id, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.Properties.Name, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.Properties.Name, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["id"], @@ -81,7 +81,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/tag.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/tag.pyi index 19f163c7506..dadf78c7e1a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/tag.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/tag.pyi @@ -64,15 +64,15 @@ class Tag( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> typing.Union[MetaOapg.Properties.Id, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["id"]) -> typing.Union[MetaOapg.Properties.Id, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.Properties.Name, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.Properties.Name, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["id"], @@ -80,7 +80,7 @@ class Tag( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle_interface.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle_interface.py index 3cdbfa2873c..1f24020967b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle_interface.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle_interface.py @@ -90,15 +90,15 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["shapeType"]) -> MetaOapg.Properties.ShapeType: ... + def get_item_(self, name: typing_extensions.Literal["shapeType"]) -> MetaOapg.Properties.ShapeType: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["triangleType"]) -> MetaOapg.Properties.TriangleType: ... + def get_item_(self, name: typing_extensions.Literal["triangleType"]) -> MetaOapg.Properties.TriangleType: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["shapeType"], @@ -106,7 +106,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle_interface.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle_interface.pyi index bc91975284d..f89852ca46f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle_interface.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle_interface.pyi @@ -81,15 +81,15 @@ class TriangleInterface( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["shapeType"]) -> MetaOapg.Properties.ShapeType: ... + def get_item_(self, name: typing_extensions.Literal["shapeType"]) -> MetaOapg.Properties.ShapeType: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["triangleType"]) -> MetaOapg.Properties.TriangleType: ... + def get_item_(self, name: typing_extensions.Literal["triangleType"]) -> MetaOapg.Properties.TriangleType: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["shapeType"], @@ -97,7 +97,7 @@ class TriangleInterface( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/user.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/user.py index 556c2cb9ca4..81dca5df765 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/user.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/user.py @@ -182,48 +182,48 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> typing.Union[MetaOapg.Properties.Id, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["id"]) -> typing.Union[MetaOapg.Properties.Id, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["username"]) -> typing.Union[MetaOapg.Properties.Username, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["username"]) -> typing.Union[MetaOapg.Properties.Username, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["firstName"]) -> typing.Union[MetaOapg.Properties.FirstName, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["firstName"]) -> typing.Union[MetaOapg.Properties.FirstName, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["lastName"]) -> typing.Union[MetaOapg.Properties.LastName, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["lastName"]) -> typing.Union[MetaOapg.Properties.LastName, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["email"]) -> typing.Union[MetaOapg.Properties.Email, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["email"]) -> typing.Union[MetaOapg.Properties.Email, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["password"]) -> typing.Union[MetaOapg.Properties.Password, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["password"]) -> typing.Union[MetaOapg.Properties.Password, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["phone"]) -> typing.Union[MetaOapg.Properties.Phone, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["phone"]) -> typing.Union[MetaOapg.Properties.Phone, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["userStatus"]) -> typing.Union[MetaOapg.Properties.UserStatus, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["userStatus"]) -> typing.Union[MetaOapg.Properties.UserStatus, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["objectWithNoDeclaredProps"]) -> typing.Union[MetaOapg.Properties.ObjectWithNoDeclaredProps, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["objectWithNoDeclaredProps"]) -> typing.Union[MetaOapg.Properties.ObjectWithNoDeclaredProps, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["objectWithNoDeclaredPropsNullable"]) -> typing.Union[MetaOapg.Properties.ObjectWithNoDeclaredPropsNullable, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["objectWithNoDeclaredPropsNullable"]) -> typing.Union[MetaOapg.Properties.ObjectWithNoDeclaredPropsNullable, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["anyTypeProp"]) -> typing.Union[MetaOapg.Properties.AnyTypeProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["anyTypeProp"]) -> typing.Union[MetaOapg.Properties.AnyTypeProp, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["anyTypeExceptNullProp"]) -> typing.Union[MetaOapg.Properties.AnyTypeExceptNullProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["anyTypeExceptNullProp"]) -> typing.Union[MetaOapg.Properties.AnyTypeExceptNullProp, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["anyTypePropNullable"]) -> typing.Union[MetaOapg.Properties.AnyTypePropNullable, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["anyTypePropNullable"]) -> typing.Union[MetaOapg.Properties.AnyTypePropNullable, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["id"], @@ -242,7 +242,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/user.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/user.pyi index 8ffac09429b..f6f7eca2382 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/user.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/user.pyi @@ -181,48 +181,48 @@ class User( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> typing.Union[MetaOapg.Properties.Id, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["id"]) -> typing.Union[MetaOapg.Properties.Id, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["username"]) -> typing.Union[MetaOapg.Properties.Username, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["username"]) -> typing.Union[MetaOapg.Properties.Username, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["firstName"]) -> typing.Union[MetaOapg.Properties.FirstName, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["firstName"]) -> typing.Union[MetaOapg.Properties.FirstName, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["lastName"]) -> typing.Union[MetaOapg.Properties.LastName, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["lastName"]) -> typing.Union[MetaOapg.Properties.LastName, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["email"]) -> typing.Union[MetaOapg.Properties.Email, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["email"]) -> typing.Union[MetaOapg.Properties.Email, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["password"]) -> typing.Union[MetaOapg.Properties.Password, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["password"]) -> typing.Union[MetaOapg.Properties.Password, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["phone"]) -> typing.Union[MetaOapg.Properties.Phone, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["phone"]) -> typing.Union[MetaOapg.Properties.Phone, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["userStatus"]) -> typing.Union[MetaOapg.Properties.UserStatus, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["userStatus"]) -> typing.Union[MetaOapg.Properties.UserStatus, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["objectWithNoDeclaredProps"]) -> typing.Union[MetaOapg.Properties.ObjectWithNoDeclaredProps, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["objectWithNoDeclaredProps"]) -> typing.Union[MetaOapg.Properties.ObjectWithNoDeclaredProps, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["objectWithNoDeclaredPropsNullable"]) -> typing.Union[MetaOapg.Properties.ObjectWithNoDeclaredPropsNullable, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["objectWithNoDeclaredPropsNullable"]) -> typing.Union[MetaOapg.Properties.ObjectWithNoDeclaredPropsNullable, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["anyTypeProp"]) -> typing.Union[MetaOapg.Properties.AnyTypeProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["anyTypeProp"]) -> typing.Union[MetaOapg.Properties.AnyTypeProp, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["anyTypeExceptNullProp"]) -> typing.Union[MetaOapg.Properties.AnyTypeExceptNullProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["anyTypeExceptNullProp"]) -> typing.Union[MetaOapg.Properties.AnyTypeExceptNullProp, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["anyTypePropNullable"]) -> typing.Union[MetaOapg.Properties.AnyTypePropNullable, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["anyTypePropNullable"]) -> typing.Union[MetaOapg.Properties.AnyTypePropNullable, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["id"], @@ -241,7 +241,7 @@ class User( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/whale.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/whale.py index 1d02584aa09..271594f125a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/whale.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/whale.py @@ -93,18 +93,18 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["className"]) -> MetaOapg.Properties.ClassName: ... + def get_item_(self, name: typing_extensions.Literal["className"]) -> MetaOapg.Properties.ClassName: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["hasBaleen"]) -> typing.Union[MetaOapg.Properties.HasBaleen, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["hasBaleen"]) -> typing.Union[MetaOapg.Properties.HasBaleen, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["hasTeeth"]) -> typing.Union[MetaOapg.Properties.HasTeeth, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["hasTeeth"]) -> typing.Union[MetaOapg.Properties.HasTeeth, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["className"], @@ -113,7 +113,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/whale.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/whale.pyi index f228a2fe869..5dafaf82fc6 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/whale.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/whale.pyi @@ -83,18 +83,18 @@ class Whale( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["className"]) -> MetaOapg.Properties.ClassName: ... + def get_item_(self, name: typing_extensions.Literal["className"]) -> MetaOapg.Properties.ClassName: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["hasBaleen"]) -> typing.Union[MetaOapg.Properties.HasBaleen, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["hasBaleen"]) -> typing.Union[MetaOapg.Properties.HasBaleen, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["hasTeeth"]) -> typing.Union[MetaOapg.Properties.HasTeeth, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["hasTeeth"]) -> typing.Union[MetaOapg.Properties.HasTeeth, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["className"], @@ -103,7 +103,7 @@ class Whale( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/zebra.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/zebra.py index 0053e944777..efe42c5fafd 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/zebra.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/zebra.py @@ -115,15 +115,15 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["className"]) -> MetaOapg.Properties.ClassName: ... + def get_item_(self, name: typing_extensions.Literal["className"]) -> MetaOapg.Properties.ClassName: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> typing.Union[MetaOapg.Properties.Type, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["type"]) -> typing.Union[MetaOapg.Properties.Type, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[MetaOapg.AdditionalProperties, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[MetaOapg.AdditionalProperties, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["className"], @@ -131,7 +131,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/zebra.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/zebra.pyi index 1f724dead4d..0f6c53fb1be 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/zebra.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/zebra.pyi @@ -94,15 +94,15 @@ class Zebra( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["className"]) -> MetaOapg.Properties.ClassName: ... + def get_item_(self, name: typing_extensions.Literal["className"]) -> MetaOapg.Properties.ClassName: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> typing.Union[MetaOapg.Properties.Type, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["type"]) -> typing.Union[MetaOapg.Properties.Type, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[MetaOapg.AdditionalProperties, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[MetaOapg.AdditionalProperties, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["className"], @@ -110,7 +110,7 @@ class Zebra( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/request_body/application_x_www_form_urlencoded.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/request_body/application_x_www_form_urlencoded.py index 0466eb024ed..9eddd6910db 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/request_body/application_x_www_form_urlencoded.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/request_body/application_x_www_form_urlencoded.py @@ -132,15 +132,15 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["enum_form_string_array"]) -> typing.Union[MetaOapg.Properties.EnumFormStringArray, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["enum_form_string_array"]) -> typing.Union[MetaOapg.Properties.EnumFormStringArray, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["enum_form_string"]) -> typing.Union[MetaOapg.Properties.EnumFormString, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["enum_form_string"]) -> typing.Union[MetaOapg.Properties.EnumFormString, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["enum_form_string_array"], @@ -148,7 +148,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/request_body/application_x_www_form_urlencoded.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/request_body/application_x_www_form_urlencoded.pyi index 0ad44e2ca44..c434a787592 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/request_body/application_x_www_form_urlencoded.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/request_body/application_x_www_form_urlencoded.pyi @@ -110,15 +110,15 @@ class ApplicationXWwwFormUrlencoded( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["enum_form_string_array"]) -> typing.Union[MetaOapg.Properties.EnumFormStringArray, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["enum_form_string_array"]) -> typing.Union[MetaOapg.Properties.EnumFormStringArray, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["enum_form_string"]) -> typing.Union[MetaOapg.Properties.EnumFormString, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["enum_form_string"]) -> typing.Union[MetaOapg.Properties.EnumFormString, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["enum_form_string_array"], @@ -126,7 +126,7 @@ class ApplicationXWwwFormUrlencoded( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/post/request_body/application_x_www_form_urlencoded.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/post/request_body/application_x_www_form_urlencoded.py index c93db4fd8e0..d8329efd81f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/post/request_body/application_x_www_form_urlencoded.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/post/request_body/application_x_www_form_urlencoded.py @@ -248,51 +248,51 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["byte"]) -> MetaOapg.Properties.Byte: ... + def get_item_(self, name: typing_extensions.Literal["byte"]) -> MetaOapg.Properties.Byte: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["double"]) -> MetaOapg.Properties.Double: ... + def get_item_(self, name: typing_extensions.Literal["double"]) -> MetaOapg.Properties.Double: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["number"]) -> MetaOapg.Properties.Number: ... + def get_item_(self, name: typing_extensions.Literal["number"]) -> MetaOapg.Properties.Number: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["pattern_without_delimiter"]) -> MetaOapg.Properties.PatternWithoutDelimiter: ... + def get_item_(self, name: typing_extensions.Literal["pattern_without_delimiter"]) -> MetaOapg.Properties.PatternWithoutDelimiter: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["integer"]) -> typing.Union[MetaOapg.Properties.Integer, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["integer"]) -> typing.Union[MetaOapg.Properties.Integer, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["int32"]) -> typing.Union[MetaOapg.Properties.Int32, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["int32"]) -> typing.Union[MetaOapg.Properties.Int32, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["int64"]) -> typing.Union[MetaOapg.Properties.Int64, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["int64"]) -> typing.Union[MetaOapg.Properties.Int64, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["float"]) -> typing.Union[MetaOapg.Properties._Float, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["float"]) -> typing.Union[MetaOapg.Properties._Float, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["string"]) -> typing.Union[MetaOapg.Properties.String, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["string"]) -> typing.Union[MetaOapg.Properties.String, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["binary"]) -> typing.Union[MetaOapg.Properties.Binary, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["binary"]) -> typing.Union[MetaOapg.Properties.Binary, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["date"]) -> typing.Union[MetaOapg.Properties.Date, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["date"]) -> typing.Union[MetaOapg.Properties.Date, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["dateTime"]) -> typing.Union[MetaOapg.Properties.DateTime, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["dateTime"]) -> typing.Union[MetaOapg.Properties.DateTime, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["password"]) -> typing.Union[MetaOapg.Properties.Password, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["password"]) -> typing.Union[MetaOapg.Properties.Password, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["callback"]) -> typing.Union[MetaOapg.Properties.Callback, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["callback"]) -> typing.Union[MetaOapg.Properties.Callback, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["byte"], @@ -312,7 +312,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/post/request_body/application_x_www_form_urlencoded.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/post/request_body/application_x_www_form_urlencoded.pyi index 1868c597476..55fae1da565 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/post/request_body/application_x_www_form_urlencoded.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/post/request_body/application_x_www_form_urlencoded.pyi @@ -182,51 +182,51 @@ class ApplicationXWwwFormUrlencoded( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["byte"]) -> MetaOapg.Properties.Byte: ... + def get_item_(self, name: typing_extensions.Literal["byte"]) -> MetaOapg.Properties.Byte: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["double"]) -> MetaOapg.Properties.Double: ... + def get_item_(self, name: typing_extensions.Literal["double"]) -> MetaOapg.Properties.Double: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["number"]) -> MetaOapg.Properties.Number: ... + def get_item_(self, name: typing_extensions.Literal["number"]) -> MetaOapg.Properties.Number: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["pattern_without_delimiter"]) -> MetaOapg.Properties.PatternWithoutDelimiter: ... + def get_item_(self, name: typing_extensions.Literal["pattern_without_delimiter"]) -> MetaOapg.Properties.PatternWithoutDelimiter: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["integer"]) -> typing.Union[MetaOapg.Properties.Integer, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["integer"]) -> typing.Union[MetaOapg.Properties.Integer, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["int32"]) -> typing.Union[MetaOapg.Properties.Int32, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["int32"]) -> typing.Union[MetaOapg.Properties.Int32, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["int64"]) -> typing.Union[MetaOapg.Properties.Int64, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["int64"]) -> typing.Union[MetaOapg.Properties.Int64, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["float"]) -> typing.Union[MetaOapg.Properties._Float, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["float"]) -> typing.Union[MetaOapg.Properties._Float, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["string"]) -> typing.Union[MetaOapg.Properties.String, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["string"]) -> typing.Union[MetaOapg.Properties.String, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["binary"]) -> typing.Union[MetaOapg.Properties.Binary, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["binary"]) -> typing.Union[MetaOapg.Properties.Binary, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["date"]) -> typing.Union[MetaOapg.Properties.Date, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["date"]) -> typing.Union[MetaOapg.Properties.Date, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["dateTime"]) -> typing.Union[MetaOapg.Properties.DateTime, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["dateTime"]) -> typing.Union[MetaOapg.Properties.DateTime, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["password"]) -> typing.Union[MetaOapg.Properties.Password, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["password"]) -> typing.Union[MetaOapg.Properties.Password, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["callback"]) -> typing.Union[MetaOapg.Properties.Callback, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["callback"]) -> typing.Union[MetaOapg.Properties.Callback, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["byte"], @@ -246,7 +246,7 @@ class ApplicationXWwwFormUrlencoded( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_additional_properties/post/request_body/application_json.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_additional_properties/post/request_body/application_json.py index 1a1ecbc961d..61b9dfabe3c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_additional_properties/post/request_body/application_json.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_additional_properties/post/request_body/application_json.py @@ -36,8 +36,8 @@ def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_oapg(self, name: str) -> MetaOapg.AdditionalProperties: - return super().get_item_oapg(name) + def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_additional_properties/post/request_body/application_json.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_additional_properties/post/request_body/application_json.pyi index 6f41da900d4..e9ccec24d32 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_additional_properties/post/request_body/application_json.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_additional_properties/post/request_body/application_json.pyi @@ -35,8 +35,8 @@ class ApplicationJson( # dict_instance[name] accessor return super().__getitem__(name) - def get_item_oapg(self, name: str) -> MetaOapg.AdditionalProperties: - return super().get_item_oapg(name) + def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_1/schema.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_1/schema.py index 1576a1d96f5..f37b486f73d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_1/schema.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_1/schema.py @@ -93,19 +93,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["someProp"]) -> typing.Union[MetaOapg.Properties.SomeProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["someProp"]) -> typing.Union[MetaOapg.Properties.SomeProp, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["someProp"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_1/schema.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_1/schema.pyi index 52575f1de84..b11f4698baf 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_1/schema.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_1/schema.pyi @@ -86,19 +86,19 @@ class Schema( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["someProp"]) -> typing.Union[MetaOapg.Properties.SomeProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["someProp"]) -> typing.Union[MetaOapg.Properties.SomeProp, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["someProp"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/multipart_form_data.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/multipart_form_data.py index f00a59c4eee..d230109d756 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/multipart_form_data.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/multipart_form_data.py @@ -93,19 +93,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["someProp"]) -> typing.Union[MetaOapg.Properties.SomeProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["someProp"]) -> typing.Union[MetaOapg.Properties.SomeProp, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["someProp"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/multipart_form_data.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/multipart_form_data.pyi index 78022db420a..5a5d7fdb05b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/multipart_form_data.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/multipart_form_data.pyi @@ -86,19 +86,19 @@ class MultipartFormData( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["someProp"]) -> typing.Union[MetaOapg.Properties.SomeProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["someProp"]) -> typing.Union[MetaOapg.Properties.SomeProp, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["someProp"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/multipart_form_data.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/multipart_form_data.py index f00a59c4eee..d230109d756 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/multipart_form_data.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/multipart_form_data.py @@ -93,19 +93,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["someProp"]) -> typing.Union[MetaOapg.Properties.SomeProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["someProp"]) -> typing.Union[MetaOapg.Properties.SomeProp, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["someProp"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/multipart_form_data.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/multipart_form_data.pyi index 78022db420a..5a5d7fdb05b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/multipart_form_data.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/multipart_form_data.pyi @@ -86,19 +86,19 @@ class MultipartFormData( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["someProp"]) -> typing.Union[MetaOapg.Properties.SomeProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["someProp"]) -> typing.Union[MetaOapg.Properties.SomeProp, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["someProp"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_form_data/get/request_body/application_x_www_form_urlencoded.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_form_data/get/request_body/application_x_www_form_urlencoded.py index aacb8104745..7981e0ea5cf 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_form_data/get/request_body/application_x_www_form_urlencoded.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_form_data/get/request_body/application_x_www_form_urlencoded.py @@ -67,15 +67,15 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["param"]) -> MetaOapg.Properties.Param: ... + def get_item_(self, name: typing_extensions.Literal["param"]) -> MetaOapg.Properties.Param: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["param2"]) -> MetaOapg.Properties.Param2: ... + def get_item_(self, name: typing_extensions.Literal["param2"]) -> MetaOapg.Properties.Param2: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["param"], @@ -83,7 +83,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_form_data/get/request_body/application_x_www_form_urlencoded.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_form_data/get/request_body/application_x_www_form_urlencoded.pyi index bcb4fbe3b5c..500536b34a5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_form_data/get/request_body/application_x_www_form_urlencoded.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_form_data/get/request_body/application_x_www_form_urlencoded.pyi @@ -66,15 +66,15 @@ class ApplicationXWwwFormUrlencoded( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["param"]) -> MetaOapg.Properties.Param: ... + def get_item_(self, name: typing_extensions.Literal["param"]) -> MetaOapg.Properties.Param: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["param2"]) -> MetaOapg.Properties.Param2: ... + def get_item_(self, name: typing_extensions.Literal["param2"]) -> MetaOapg.Properties.Param2: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["param"], @@ -82,7 +82,7 @@ class ApplicationXWwwFormUrlencoded( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_obj_in_query/get/parameter_0/schema.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_obj_in_query/get/parameter_0/schema.py index 3a306b7356e..80c54ce76a3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_obj_in_query/get/parameter_0/schema.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_obj_in_query/get/parameter_0/schema.py @@ -54,19 +54,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["keyword"]) -> typing.Union[MetaOapg.Properties.Keyword, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["keyword"]) -> typing.Union[MetaOapg.Properties.Keyword, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["keyword"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_obj_in_query/get/parameter_0/schema.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_obj_in_query/get/parameter_0/schema.pyi index 6dc34d8f08f..00e4fde61be 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_obj_in_query/get/parameter_0/schema.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_obj_in_query/get/parameter_0/schema.pyi @@ -53,19 +53,19 @@ class Schema( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["keyword"]) -> typing.Union[MetaOapg.Properties.Keyword, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["keyword"]) -> typing.Union[MetaOapg.Properties.Keyword, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["keyword"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/request_body/multipart_form_data.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/request_body/multipart_form_data.py index 840ae3d999b..e9e7b76dc27 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/request_body/multipart_form_data.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/request_body/multipart_form_data.py @@ -65,15 +65,15 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["requiredFile"]) -> MetaOapg.Properties.RequiredFile: ... + def get_item_(self, name: typing_extensions.Literal["requiredFile"]) -> MetaOapg.Properties.RequiredFile: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["additionalMetadata"]) -> typing.Union[MetaOapg.Properties.AdditionalMetadata, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["additionalMetadata"]) -> typing.Union[MetaOapg.Properties.AdditionalMetadata, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["requiredFile"], @@ -81,7 +81,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/request_body/multipart_form_data.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/request_body/multipart_form_data.pyi index 584b5ab459b..3197f7932d5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/request_body/multipart_form_data.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/request_body/multipart_form_data.pyi @@ -64,15 +64,15 @@ class MultipartFormData( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["requiredFile"]) -> MetaOapg.Properties.RequiredFile: ... + def get_item_(self, name: typing_extensions.Literal["requiredFile"]) -> MetaOapg.Properties.RequiredFile: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["additionalMetadata"]) -> typing.Union[MetaOapg.Properties.AdditionalMetadata, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["additionalMetadata"]) -> typing.Union[MetaOapg.Properties.AdditionalMetadata, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["requiredFile"], @@ -80,7 +80,7 @@ class MultipartFormData( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_file/post/request_body/multipart_form_data.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_file/post/request_body/multipart_form_data.py index 2789cd5b86c..318d713ccea 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_file/post/request_body/multipart_form_data.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_file/post/request_body/multipart_form_data.py @@ -65,15 +65,15 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["file"]) -> MetaOapg.Properties.File: ... + def get_item_(self, name: typing_extensions.Literal["file"]) -> MetaOapg.Properties.File: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["additionalMetadata"]) -> typing.Union[MetaOapg.Properties.AdditionalMetadata, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["additionalMetadata"]) -> typing.Union[MetaOapg.Properties.AdditionalMetadata, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["file"], @@ -81,7 +81,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_file/post/request_body/multipart_form_data.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_file/post/request_body/multipart_form_data.pyi index 26d812e9b27..7201c143dc2 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_file/post/request_body/multipart_form_data.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_file/post/request_body/multipart_form_data.pyi @@ -64,15 +64,15 @@ class MultipartFormData( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["file"]) -> MetaOapg.Properties.File: ... + def get_item_(self, name: typing_extensions.Literal["file"]) -> MetaOapg.Properties.File: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["additionalMetadata"]) -> typing.Union[MetaOapg.Properties.AdditionalMetadata, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["additionalMetadata"]) -> typing.Union[MetaOapg.Properties.AdditionalMetadata, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["file"], @@ -80,7 +80,7 @@ class MultipartFormData( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_files/post/request_body/multipart_form_data.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_files/post/request_body/multipart_form_data.py index b971b9d605e..3014bcd4e9c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_files/post/request_body/multipart_form_data.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_files/post/request_body/multipart_form_data.py @@ -77,19 +77,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["files"]) -> typing.Union[MetaOapg.Properties.Files, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["files"]) -> typing.Union[MetaOapg.Properties.Files, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["files"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_files/post/request_body/multipart_form_data.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_files/post/request_body/multipart_form_data.pyi index 50bf6a1c157..77c6f8d553f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_files/post/request_body/multipart_form_data.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_files/post/request_body/multipart_form_data.pyi @@ -76,19 +76,19 @@ class MultipartFormData( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["files"]) -> typing.Union[MetaOapg.Properties.Files, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["files"]) -> typing.Union[MetaOapg.Properties.Files, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["files"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/foo/get/response_for_default/application_json.py b/samples/openapi3/client/petstore/python/petstore_api/paths/foo/get/response_for_default/application_json.py index fcc3409adbf..ab0ad0c79d3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/foo/get/response_for_default/application_json.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/foo/get/response_for_default/application_json.py @@ -57,19 +57,19 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["string"]) -> typing.Union['foo.Foo', schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["string"]) -> typing.Union['foo.Foo', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["string"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/foo/get/response_for_default/application_json.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/foo/get/response_for_default/application_json.pyi index 58daffac96f..a5edb3dec3d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/foo/get/response_for_default/application_json.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/foo/get/response_for_default/application_json.pyi @@ -56,19 +56,19 @@ class ApplicationJson( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["string"]) -> typing.Union['foo.Foo', schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["string"]) -> typing.Union['foo.Foo', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["string"], str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/post/request_body/application_x_www_form_urlencoded.py b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/post/request_body/application_x_www_form_urlencoded.py index 3c2930f3f79..096a9bb35d0 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/post/request_body/application_x_www_form_urlencoded.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/post/request_body/application_x_www_form_urlencoded.py @@ -60,15 +60,15 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.Properties.Name, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.Properties.Name, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["status"]) -> typing.Union[MetaOapg.Properties.Status, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["status"]) -> typing.Union[MetaOapg.Properties.Status, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["name"], @@ -76,7 +76,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/post/request_body/application_x_www_form_urlencoded.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/post/request_body/application_x_www_form_urlencoded.pyi index 309fff1e2a0..43c34a60e87 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/post/request_body/application_x_www_form_urlencoded.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/post/request_body/application_x_www_form_urlencoded.pyi @@ -59,15 +59,15 @@ class ApplicationXWwwFormUrlencoded( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.Properties.Name, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.Properties.Name, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["status"]) -> typing.Union[MetaOapg.Properties.Status, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["status"]) -> typing.Union[MetaOapg.Properties.Status, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["name"], @@ -75,7 +75,7 @@ class ApplicationXWwwFormUrlencoded( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id_upload_image/post/request_body/multipart_form_data.py b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id_upload_image/post/request_body/multipart_form_data.py index 9e84fbdcde1..024b53f8ac6 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id_upload_image/post/request_body/multipart_form_data.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id_upload_image/post/request_body/multipart_form_data.py @@ -60,15 +60,15 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["additionalMetadata"]) -> typing.Union[MetaOapg.Properties.AdditionalMetadata, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["additionalMetadata"]) -> typing.Union[MetaOapg.Properties.AdditionalMetadata, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["file"]) -> typing.Union[MetaOapg.Properties.File, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["file"]) -> typing.Union[MetaOapg.Properties.File, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["additionalMetadata"], @@ -76,7 +76,7 @@ def get_item_oapg( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id_upload_image/post/request_body/multipart_form_data.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id_upload_image/post/request_body/multipart_form_data.pyi index 4a6cc2878ee..5ae3a5d00ed 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id_upload_image/post/request_body/multipart_form_data.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id_upload_image/post/request_body/multipart_form_data.pyi @@ -59,15 +59,15 @@ class MultipartFormData( return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["additionalMetadata"]) -> typing.Union[MetaOapg.Properties.AdditionalMetadata, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["additionalMetadata"]) -> typing.Union[MetaOapg.Properties.AdditionalMetadata, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["file"]) -> typing.Union[MetaOapg.Properties.File, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["file"]) -> typing.Union[MetaOapg.Properties.File, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg( + def get_item_( self, name: typing.Union[ typing_extensions.Literal["additionalMetadata"], @@ -75,7 +75,7 @@ class MultipartFormData( str ] ): - return super().get_item_oapg(name) + return super().get_item_(name) def __new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/schemas.py b/samples/openapi3/client/petstore/python/petstore_api/schemas.py index a3516938601..0ee723b8e8c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/schemas.py +++ b/samples/openapi3/client/petstore/python/petstore_api/schemas.py @@ -1928,7 +1928,7 @@ def __getattr__(self, name: str): except KeyError as ex: raise AttributeError(str(ex)) - def get_item_oapg(self, name: str) -> typing.Union['AnyTypeSchema', Unset]: + def get_item_(self, name: str) -> typing.Union['AnyTypeSchema', Unset]: # dict_instance[name] accessor if not isinstance(self, frozendict.frozendict): raise NotImplementedError() diff --git a/samples/openapi3/client/petstore/python/tests_manual/test_additional_properties_class.py b/samples/openapi3/client/petstore/python/tests_manual/test_additional_properties_class.py index a27941748d4..c5a223587e6 100644 --- a/samples/openapi3/client/petstore/python/tests_manual/test_additional_properties_class.py +++ b/samples/openapi3/client/petstore/python/tests_manual/test_additional_properties_class.py @@ -22,7 +22,7 @@ def test_additional_properties_class(self): inst = AdditionalPropertiesClass({}) with self.assertRaises(KeyError): inst["map_property"] - assert inst.get_item_oapg("map_property") is schemas.unset + assert inst.get_item_("map_property") is schemas.unset with self.assertRaises(AttributeError): inst.map_property diff --git a/samples/openapi3/client/petstore/python/tests_manual/test_fruit.py b/samples/openapi3/client/petstore/python/tests_manual/test_fruit.py index 94a765bc229..aa1108efdf1 100644 --- a/samples/openapi3/client/petstore/python/tests_manual/test_fruit.py +++ b/samples/openapi3/client/petstore/python/tests_manual/test_fruit.py @@ -51,7 +51,7 @@ def testFruit(self): # with a key with self.assertRaises(KeyError): assert fruit['cultivar'] - assert fruit.get_item_oapg('cultivar') is schemas.unset + assert fruit.get_item_('cultivar') is schemas.unset """ including extra parameters does not raise an exception diff --git a/samples/openapi3/client/petstore/python/tests_manual/test_fruit_req.py b/samples/openapi3/client/petstore/python/tests_manual/test_fruit_req.py index 72c5fb67b45..fe3f060e726 100644 --- a/samples/openapi3/client/petstore/python/tests_manual/test_fruit_req.py +++ b/samples/openapi3/client/petstore/python/tests_manual/test_fruit_req.py @@ -60,7 +60,7 @@ def testFruitReq(self): fruit['cultivar'] with self.assertRaises(AttributeError): fruit.cultivar - assert fruit.get_item_oapg('cultivar') is schemas.unset + assert fruit.get_item_('cultivar') is schemas.unset # with getattr self.assertEqual(getattr(fruit, 'cultivar', 'some value'), 'some value') diff --git a/samples/openapi3/client/petstore/python/tests_manual/test_gm_fruit.py b/samples/openapi3/client/petstore/python/tests_manual/test_gm_fruit.py index 68cb1834d2f..1f350521c7f 100644 --- a/samples/openapi3/client/petstore/python/tests_manual/test_gm_fruit.py +++ b/samples/openapi3/client/petstore/python/tests_manual/test_gm_fruit.py @@ -60,11 +60,11 @@ def testGmFruit(self): fruit["origin"] with self.assertRaises(AttributeError): fruit.origin - assert fruit.get_item_oapg("origin") is schemas.unset + assert fruit.get_item_("origin") is schemas.unset with self.assertRaises(KeyError): fruit['unknown_variable'] - assert fruit.get_item_oapg("unknown_variable") is schemas.unset + assert fruit.get_item_("unknown_variable") is schemas.unset # with getattr self.assertTrue(getattr(fruit, 'origin', 'some value'), 'some value') diff --git a/samples/openapi3/client/petstore/python/tests_manual/test_no_additional_properties.py b/samples/openapi3/client/petstore/python/tests_manual/test_no_additional_properties.py index 66110938ebc..ad83a8e6dbe 100644 --- a/samples/openapi3/client/petstore/python/tests_manual/test_no_additional_properties.py +++ b/samples/openapi3/client/petstore/python/tests_manual/test_no_additional_properties.py @@ -39,7 +39,7 @@ def testNoAdditionalProperties(self): inst.petId with self.assertRaises(KeyError): inst["petId"] - assert inst.get_item_oapg("petId") is schemas.unset + assert inst.get_item_("petId") is schemas.unset # works with required + optional inst = NoAdditionalProperties(id=1, petId=2) From f3fe447df70c866f51a27116c0ccc99e6cce6029 Mon Sep 17 00:00:00 2001 From: Justin Black Date: Fri, 30 Dec 2022 00:23:45 -0800 Subject: [PATCH 17/29] _validate_oapg -> _validate --- .../main/resources/python/schemas.handlebars | 36 ++++----- .../python/unit_test_api/schemas.py | 36 ++++----- .../python/this_package/schemas.py | 36 ++++----- .../petstore/python/petstore_api/schemas.py | 36 ++++----- .../python/tests_manual/test_validate.py | 74 +++++++++---------- 5 files changed, 109 insertions(+), 109 deletions(-) diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars index 571ac8c5a39..ed0ddd523f9 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars @@ -831,7 +831,7 @@ def validate_items( if item_validation_metadata.validation_ran_earlier(item_cls): add_deeper_validated_schemas(item_validation_metadata, path_to_schemas) continue - other_path_to_schemas = item_cls._validate_oapg( + other_path_to_schemas = item_cls._validate( value, validation_metadata=item_validation_metadata) update(path_to_schemas, other_path_to_schemas) return path_to_schemas @@ -862,7 +862,7 @@ def validate_properties( if arg_validation_metadata.validation_ran_earlier(schema): add_deeper_validated_schemas(arg_validation_metadata, path_to_schemas) continue - other_path_to_schemas = schema._validate_oapg(value, validation_metadata=arg_validation_metadata) + other_path_to_schemas = schema._validate(value, validation_metadata=arg_validation_metadata) update(path_to_schemas, other_path_to_schemas) return path_to_schemas @@ -892,7 +892,7 @@ def validate_additional_properties( if arg_validation_metadata.validation_ran_earlier(schema): add_deeper_validated_schemas(arg_validation_metadata, path_to_schemas) continue - other_path_to_schemas = schema._validate_oapg(value, validation_metadata=arg_validation_metadata) + other_path_to_schemas = schema._validate(value, validation_metadata=arg_validation_metadata) update(path_to_schemas, other_path_to_schemas) return path_to_schemas @@ -917,7 +917,7 @@ def validate_one_of( if schema is cls: """ optimistically assume that cls schema will pass validation - do not invoke _validate_oapg on it because that is recursive + do not invoke _validate on it because that is recursive """ oneof_classes.append(schema) continue @@ -926,7 +926,7 @@ def validate_one_of( add_deeper_validated_schemas(validation_metadata, path_to_schemas) continue try: - path_to_schemas = schema._validate_oapg(arg, validation_metadata=validation_metadata) + path_to_schemas = schema._validate(arg, validation_metadata=validation_metadata) except (exceptions.ApiValueError, exceptions.ApiTypeError) as ex: # silence exceptions because the code needs to accumulate oneof_classes continue @@ -978,7 +978,7 @@ def validate_any_of( if schema is cls: """ optimistically assume that cls schema will pass validation - do not invoke _validate_oapg on it because that is recursive + do not invoke _validate on it because that is recursive """ anyof_classes.append(schema) continue @@ -988,7 +988,7 @@ def validate_any_of( continue try: - other_path_to_schemas = schema._validate_oapg(arg, validation_metadata=validation_metadata) + other_path_to_schemas = schema._validate(arg, validation_metadata=validation_metadata) except (exceptions.ApiValueError, exceptions.ApiTypeError) as ex: # silence exceptions because the code needs to accumulate anyof_classes continue @@ -1025,13 +1025,13 @@ def validate_all_of( if schema is cls: """ optimistically assume that cls schema will pass validation - do not invoke _validate_oapg on it because that is recursive + do not invoke _validate on it because that is recursive """ continue if validation_metadata.validation_ran_earlier(schema): add_deeper_validated_schemas(validation_metadata, path_to_schemas) continue - other_path_to_schemas = schema._validate_oapg(arg, validation_metadata=validation_metadata) + other_path_to_schemas = schema._validate(arg, validation_metadata=validation_metadata) update(path_to_schemas, other_path_to_schemas) return path_to_schemas @@ -1058,7 +1058,7 @@ def validate_not( raise not_exception try: - other_path_to_schemas = not_schema._validate_oapg(arg, validation_metadata=validation_metadata) + other_path_to_schemas = not_schema._validate(arg, validation_metadata=validation_metadata) except (exceptions.ApiValueError, exceptions.ApiTypeError): pass if other_path_to_schemas: @@ -1179,7 +1179,7 @@ def validate_discriminator( if discriminated_cls is cls: """ Optimistically assume that cls will pass validation - If the code invoked _validate_oapg on cls it would infinitely recurse + If the code invoked _validate on cls it would infinitely recurse """ return None if validation_metadata.validation_ran_earlier(discriminated_cls): @@ -1192,7 +1192,7 @@ def validate_discriminator( seen_classes=validation_metadata.seen_classes | frozenset({cls}), validated_path_to_schemas=validation_metadata.validated_path_to_schemas ) - return discriminated_cls._validate_oapg(arg, validation_metadata=updated_vm) + return discriminated_cls._validate(arg, validation_metadata=updated_vm) json_schema_keyword_to_validator = { @@ -1242,7 +1242,7 @@ class Schema: } @classmethod - def _validate_oapg( + def _validate( cls, arg, validation_metadata: ValidationMetadata, @@ -1345,13 +1345,13 @@ class Schema: Dict property + List Item Assignment Use cases: 1. value is NOT an instance of the required schema class - the value is validated by _validate_oapg - _validate_oapg returns a key value pair + the value is validated by _validate + _validate returns a key value pair where the key is the path to the item, and the value will be the required manufactured class made out of the matching schemas 2. value is an instance of the correct schema type - the value is NOT validated by _validate_oapg, _validate_oapg only checks that the instance is of the correct schema type - for this value, _validate_oapg does NOT return an entry for it in _path_to_schemas + the value is NOT validated by _validate, _validate only checks that the instance is of the correct schema type + for this value, _validate does NOT return an entry for it in _path_to_schemas and in list/dict _get_items_oapg,_get_properties_oapg the value will be directly assigned because value is of the correct type, and validation was run earlier when the instance was created """ @@ -1359,7 +1359,7 @@ class Schema: if validation_metadata.validation_ran_earlier(cls): add_deeper_validated_schemas(validation_metadata, _path_to_schemas) else: - other_path_to_schemas = cls._validate_oapg(arg, validation_metadata=validation_metadata) + other_path_to_schemas = cls._validate(arg, validation_metadata=validation_metadata) update(_path_to_schemas, other_path_to_schemas) # loop through it make a new class for each entry # do not modify the returned result because it is cached and we would be modifying the cached value diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py index c86f9f7b11d..79b5f128050 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py @@ -784,7 +784,7 @@ def validate_items( if item_validation_metadata.validation_ran_earlier(item_cls): add_deeper_validated_schemas(item_validation_metadata, path_to_schemas) continue - other_path_to_schemas = item_cls._validate_oapg( + other_path_to_schemas = item_cls._validate( value, validation_metadata=item_validation_metadata) update(path_to_schemas, other_path_to_schemas) return path_to_schemas @@ -812,7 +812,7 @@ def validate_properties( if arg_validation_metadata.validation_ran_earlier(schema): add_deeper_validated_schemas(arg_validation_metadata, path_to_schemas) continue - other_path_to_schemas = schema._validate_oapg(value, validation_metadata=arg_validation_metadata) + other_path_to_schemas = schema._validate(value, validation_metadata=arg_validation_metadata) update(path_to_schemas, other_path_to_schemas) return path_to_schemas @@ -839,7 +839,7 @@ def validate_additional_properties( if arg_validation_metadata.validation_ran_earlier(schema): add_deeper_validated_schemas(arg_validation_metadata, path_to_schemas) continue - other_path_to_schemas = schema._validate_oapg(value, validation_metadata=arg_validation_metadata) + other_path_to_schemas = schema._validate(value, validation_metadata=arg_validation_metadata) update(path_to_schemas, other_path_to_schemas) return path_to_schemas @@ -860,7 +860,7 @@ def validate_one_of( if schema is cls: """ optimistically assume that cls schema will pass validation - do not invoke _validate_oapg on it because that is recursive + do not invoke _validate on it because that is recursive """ oneof_classes.append(schema) continue @@ -869,7 +869,7 @@ def validate_one_of( add_deeper_validated_schemas(validation_metadata, path_to_schemas) continue try: - path_to_schemas = schema._validate_oapg(arg, validation_metadata=validation_metadata) + path_to_schemas = schema._validate(arg, validation_metadata=validation_metadata) except (exceptions.ApiValueError, exceptions.ApiTypeError) as ex: # silence exceptions because the code needs to accumulate oneof_classes continue @@ -901,7 +901,7 @@ def validate_any_of( if schema is cls: """ optimistically assume that cls schema will pass validation - do not invoke _validate_oapg on it because that is recursive + do not invoke _validate on it because that is recursive """ anyof_classes.append(schema) continue @@ -911,7 +911,7 @@ def validate_any_of( continue try: - other_path_to_schemas = schema._validate_oapg(arg, validation_metadata=validation_metadata) + other_path_to_schemas = schema._validate(arg, validation_metadata=validation_metadata) except (exceptions.ApiValueError, exceptions.ApiTypeError) as ex: # silence exceptions because the code needs to accumulate anyof_classes continue @@ -937,13 +937,13 @@ def validate_all_of( if schema is cls: """ optimistically assume that cls schema will pass validation - do not invoke _validate_oapg on it because that is recursive + do not invoke _validate on it because that is recursive """ continue if validation_metadata.validation_ran_earlier(schema): add_deeper_validated_schemas(validation_metadata, path_to_schemas) continue - other_path_to_schemas = schema._validate_oapg(arg, validation_metadata=validation_metadata) + other_path_to_schemas = schema._validate(arg, validation_metadata=validation_metadata) update(path_to_schemas, other_path_to_schemas) return path_to_schemas @@ -967,7 +967,7 @@ def validate_not( raise not_exception try: - other_path_to_schemas = not_schema._validate_oapg(arg, validation_metadata=validation_metadata) + other_path_to_schemas = not_schema._validate(arg, validation_metadata=validation_metadata) except (exceptions.ApiValueError, exceptions.ApiTypeError): pass if other_path_to_schemas: @@ -1057,7 +1057,7 @@ def validate_discriminator( if discriminated_cls is cls: """ Optimistically assume that cls will pass validation - If the code invoked _validate_oapg on cls it would infinitely recurse + If the code invoked _validate on cls it would infinitely recurse """ return None if validation_metadata.validation_ran_earlier(discriminated_cls): @@ -1070,7 +1070,7 @@ def validate_discriminator( seen_classes=validation_metadata.seen_classes | frozenset({cls}), validated_path_to_schemas=validation_metadata.validated_path_to_schemas ) - return discriminated_cls._validate_oapg(arg, validation_metadata=updated_vm) + return discriminated_cls._validate(arg, validation_metadata=updated_vm) json_schema_keyword_to_validator = { @@ -1120,7 +1120,7 @@ class Schema: } @classmethod - def _validate_oapg( + def _validate( cls, arg, validation_metadata: ValidationMetadata, @@ -1207,13 +1207,13 @@ def __get_new_cls( Dict property + List Item Assignment Use cases: 1. value is NOT an instance of the required schema class - the value is validated by _validate_oapg - _validate_oapg returns a key value pair + the value is validated by _validate + _validate returns a key value pair where the key is the path to the item, and the value will be the required manufactured class made out of the matching schemas 2. value is an instance of the correct schema type - the value is NOT validated by _validate_oapg, _validate_oapg only checks that the instance is of the correct schema type - for this value, _validate_oapg does NOT return an entry for it in _path_to_schemas + the value is NOT validated by _validate, _validate only checks that the instance is of the correct schema type + for this value, _validate does NOT return an entry for it in _path_to_schemas and in list/dict _get_items_oapg,_get_properties_oapg the value will be directly assigned because value is of the correct type, and validation was run earlier when the instance was created """ @@ -1221,7 +1221,7 @@ def __get_new_cls( if validation_metadata.validation_ran_earlier(cls): add_deeper_validated_schemas(validation_metadata, _path_to_schemas) else: - other_path_to_schemas = cls._validate_oapg(arg, validation_metadata=validation_metadata) + other_path_to_schemas = cls._validate(arg, validation_metadata=validation_metadata) update(_path_to_schemas, other_path_to_schemas) # loop through it make a new class for each entry # do not modify the returned result because it is cached and we would be modifying the cached value diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py index 35fb7383116..3e6342e23c8 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py @@ -802,7 +802,7 @@ def validate_items( if item_validation_metadata.validation_ran_earlier(item_cls): add_deeper_validated_schemas(item_validation_metadata, path_to_schemas) continue - other_path_to_schemas = item_cls._validate_oapg( + other_path_to_schemas = item_cls._validate( value, validation_metadata=item_validation_metadata) update(path_to_schemas, other_path_to_schemas) return path_to_schemas @@ -831,7 +831,7 @@ def validate_properties( if arg_validation_metadata.validation_ran_earlier(schema): add_deeper_validated_schemas(arg_validation_metadata, path_to_schemas) continue - other_path_to_schemas = schema._validate_oapg(value, validation_metadata=arg_validation_metadata) + other_path_to_schemas = schema._validate(value, validation_metadata=arg_validation_metadata) update(path_to_schemas, other_path_to_schemas) return path_to_schemas @@ -859,7 +859,7 @@ def validate_additional_properties( if arg_validation_metadata.validation_ran_earlier(schema): add_deeper_validated_schemas(arg_validation_metadata, path_to_schemas) continue - other_path_to_schemas = schema._validate_oapg(value, validation_metadata=arg_validation_metadata) + other_path_to_schemas = schema._validate(value, validation_metadata=arg_validation_metadata) update(path_to_schemas, other_path_to_schemas) return path_to_schemas @@ -882,7 +882,7 @@ def validate_one_of( if schema is cls: """ optimistically assume that cls schema will pass validation - do not invoke _validate_oapg on it because that is recursive + do not invoke _validate on it because that is recursive """ oneof_classes.append(schema) continue @@ -891,7 +891,7 @@ def validate_one_of( add_deeper_validated_schemas(validation_metadata, path_to_schemas) continue try: - path_to_schemas = schema._validate_oapg(arg, validation_metadata=validation_metadata) + path_to_schemas = schema._validate(arg, validation_metadata=validation_metadata) except (exceptions.ApiValueError, exceptions.ApiTypeError) as ex: # silence exceptions because the code needs to accumulate oneof_classes continue @@ -937,7 +937,7 @@ def validate_any_of( if schema is cls: """ optimistically assume that cls schema will pass validation - do not invoke _validate_oapg on it because that is recursive + do not invoke _validate on it because that is recursive """ anyof_classes.append(schema) continue @@ -947,7 +947,7 @@ def validate_any_of( continue try: - other_path_to_schemas = schema._validate_oapg(arg, validation_metadata=validation_metadata) + other_path_to_schemas = schema._validate(arg, validation_metadata=validation_metadata) except (exceptions.ApiValueError, exceptions.ApiTypeError) as ex: # silence exceptions because the code needs to accumulate anyof_classes continue @@ -980,13 +980,13 @@ def validate_all_of( if schema is cls: """ optimistically assume that cls schema will pass validation - do not invoke _validate_oapg on it because that is recursive + do not invoke _validate on it because that is recursive """ continue if validation_metadata.validation_ran_earlier(schema): add_deeper_validated_schemas(validation_metadata, path_to_schemas) continue - other_path_to_schemas = schema._validate_oapg(arg, validation_metadata=validation_metadata) + other_path_to_schemas = schema._validate(arg, validation_metadata=validation_metadata) update(path_to_schemas, other_path_to_schemas) return path_to_schemas @@ -1011,7 +1011,7 @@ def validate_not( raise not_exception try: - other_path_to_schemas = not_schema._validate_oapg(arg, validation_metadata=validation_metadata) + other_path_to_schemas = not_schema._validate(arg, validation_metadata=validation_metadata) except (exceptions.ApiValueError, exceptions.ApiTypeError): pass if other_path_to_schemas: @@ -1121,7 +1121,7 @@ def validate_discriminator( if discriminated_cls is cls: """ Optimistically assume that cls will pass validation - If the code invoked _validate_oapg on cls it would infinitely recurse + If the code invoked _validate on cls it would infinitely recurse """ return None if validation_metadata.validation_ran_earlier(discriminated_cls): @@ -1134,7 +1134,7 @@ def validate_discriminator( seen_classes=validation_metadata.seen_classes | frozenset({cls}), validated_path_to_schemas=validation_metadata.validated_path_to_schemas ) - return discriminated_cls._validate_oapg(arg, validation_metadata=updated_vm) + return discriminated_cls._validate(arg, validation_metadata=updated_vm) json_schema_keyword_to_validator = { @@ -1184,7 +1184,7 @@ class Schema: } @classmethod - def _validate_oapg( + def _validate( cls, arg, validation_metadata: ValidationMetadata, @@ -1283,13 +1283,13 @@ def __get_new_cls( Dict property + List Item Assignment Use cases: 1. value is NOT an instance of the required schema class - the value is validated by _validate_oapg - _validate_oapg returns a key value pair + the value is validated by _validate + _validate returns a key value pair where the key is the path to the item, and the value will be the required manufactured class made out of the matching schemas 2. value is an instance of the correct schema type - the value is NOT validated by _validate_oapg, _validate_oapg only checks that the instance is of the correct schema type - for this value, _validate_oapg does NOT return an entry for it in _path_to_schemas + the value is NOT validated by _validate, _validate only checks that the instance is of the correct schema type + for this value, _validate does NOT return an entry for it in _path_to_schemas and in list/dict _get_items_oapg,_get_properties_oapg the value will be directly assigned because value is of the correct type, and validation was run earlier when the instance was created """ @@ -1297,7 +1297,7 @@ def __get_new_cls( if validation_metadata.validation_ran_earlier(cls): add_deeper_validated_schemas(validation_metadata, _path_to_schemas) else: - other_path_to_schemas = cls._validate_oapg(arg, validation_metadata=validation_metadata) + other_path_to_schemas = cls._validate(arg, validation_metadata=validation_metadata) update(_path_to_schemas, other_path_to_schemas) # loop through it make a new class for each entry # do not modify the returned result because it is cached and we would be modifying the cached value diff --git a/samples/openapi3/client/petstore/python/petstore_api/schemas.py b/samples/openapi3/client/petstore/python/petstore_api/schemas.py index 0ee723b8e8c..bc14d8ee6fb 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/schemas.py +++ b/samples/openapi3/client/petstore/python/petstore_api/schemas.py @@ -784,7 +784,7 @@ def validate_items( if item_validation_metadata.validation_ran_earlier(item_cls): add_deeper_validated_schemas(item_validation_metadata, path_to_schemas) continue - other_path_to_schemas = item_cls._validate_oapg( + other_path_to_schemas = item_cls._validate( value, validation_metadata=item_validation_metadata) update(path_to_schemas, other_path_to_schemas) return path_to_schemas @@ -812,7 +812,7 @@ def validate_properties( if arg_validation_metadata.validation_ran_earlier(schema): add_deeper_validated_schemas(arg_validation_metadata, path_to_schemas) continue - other_path_to_schemas = schema._validate_oapg(value, validation_metadata=arg_validation_metadata) + other_path_to_schemas = schema._validate(value, validation_metadata=arg_validation_metadata) update(path_to_schemas, other_path_to_schemas) return path_to_schemas @@ -839,7 +839,7 @@ def validate_additional_properties( if arg_validation_metadata.validation_ran_earlier(schema): add_deeper_validated_schemas(arg_validation_metadata, path_to_schemas) continue - other_path_to_schemas = schema._validate_oapg(value, validation_metadata=arg_validation_metadata) + other_path_to_schemas = schema._validate(value, validation_metadata=arg_validation_metadata) update(path_to_schemas, other_path_to_schemas) return path_to_schemas @@ -860,7 +860,7 @@ def validate_one_of( if schema is cls: """ optimistically assume that cls schema will pass validation - do not invoke _validate_oapg on it because that is recursive + do not invoke _validate on it because that is recursive """ oneof_classes.append(schema) continue @@ -869,7 +869,7 @@ def validate_one_of( add_deeper_validated_schemas(validation_metadata, path_to_schemas) continue try: - path_to_schemas = schema._validate_oapg(arg, validation_metadata=validation_metadata) + path_to_schemas = schema._validate(arg, validation_metadata=validation_metadata) except (exceptions.ApiValueError, exceptions.ApiTypeError) as ex: # silence exceptions because the code needs to accumulate oneof_classes continue @@ -901,7 +901,7 @@ def validate_any_of( if schema is cls: """ optimistically assume that cls schema will pass validation - do not invoke _validate_oapg on it because that is recursive + do not invoke _validate on it because that is recursive """ anyof_classes.append(schema) continue @@ -911,7 +911,7 @@ def validate_any_of( continue try: - other_path_to_schemas = schema._validate_oapg(arg, validation_metadata=validation_metadata) + other_path_to_schemas = schema._validate(arg, validation_metadata=validation_metadata) except (exceptions.ApiValueError, exceptions.ApiTypeError) as ex: # silence exceptions because the code needs to accumulate anyof_classes continue @@ -937,13 +937,13 @@ def validate_all_of( if schema is cls: """ optimistically assume that cls schema will pass validation - do not invoke _validate_oapg on it because that is recursive + do not invoke _validate on it because that is recursive """ continue if validation_metadata.validation_ran_earlier(schema): add_deeper_validated_schemas(validation_metadata, path_to_schemas) continue - other_path_to_schemas = schema._validate_oapg(arg, validation_metadata=validation_metadata) + other_path_to_schemas = schema._validate(arg, validation_metadata=validation_metadata) update(path_to_schemas, other_path_to_schemas) return path_to_schemas @@ -967,7 +967,7 @@ def validate_not( raise not_exception try: - other_path_to_schemas = not_schema._validate_oapg(arg, validation_metadata=validation_metadata) + other_path_to_schemas = not_schema._validate(arg, validation_metadata=validation_metadata) except (exceptions.ApiValueError, exceptions.ApiTypeError): pass if other_path_to_schemas: @@ -1057,7 +1057,7 @@ def validate_discriminator( if discriminated_cls is cls: """ Optimistically assume that cls will pass validation - If the code invoked _validate_oapg on cls it would infinitely recurse + If the code invoked _validate on cls it would infinitely recurse """ return None if validation_metadata.validation_ran_earlier(discriminated_cls): @@ -1070,7 +1070,7 @@ def validate_discriminator( seen_classes=validation_metadata.seen_classes | frozenset({cls}), validated_path_to_schemas=validation_metadata.validated_path_to_schemas ) - return discriminated_cls._validate_oapg(arg, validation_metadata=updated_vm) + return discriminated_cls._validate(arg, validation_metadata=updated_vm) json_schema_keyword_to_validator = { @@ -1120,7 +1120,7 @@ class Schema: } @classmethod - def _validate_oapg( + def _validate( cls, arg, validation_metadata: ValidationMetadata, @@ -1207,13 +1207,13 @@ def __get_new_cls( Dict property + List Item Assignment Use cases: 1. value is NOT an instance of the required schema class - the value is validated by _validate_oapg - _validate_oapg returns a key value pair + the value is validated by _validate + _validate returns a key value pair where the key is the path to the item, and the value will be the required manufactured class made out of the matching schemas 2. value is an instance of the correct schema type - the value is NOT validated by _validate_oapg, _validate_oapg only checks that the instance is of the correct schema type - for this value, _validate_oapg does NOT return an entry for it in _path_to_schemas + the value is NOT validated by _validate, _validate only checks that the instance is of the correct schema type + for this value, _validate does NOT return an entry for it in _path_to_schemas and in list/dict _get_items_oapg,_get_properties_oapg the value will be directly assigned because value is of the correct type, and validation was run earlier when the instance was created """ @@ -1221,7 +1221,7 @@ def __get_new_cls( if validation_metadata.validation_ran_earlier(cls): add_deeper_validated_schemas(validation_metadata, _path_to_schemas) else: - other_path_to_schemas = cls._validate_oapg(arg, validation_metadata=validation_metadata) + other_path_to_schemas = cls._validate(arg, validation_metadata=validation_metadata) update(_path_to_schemas, other_path_to_schemas) # loop through it make a new class for each entry # do not modify the returned result because it is cached and we would be modifying the cached value diff --git a/samples/openapi3/client/petstore/python/tests_manual/test_validate.py b/samples/openapi3/client/petstore/python/tests_manual/test_validate.py index eb556010e3f..be4e8e4919a 100644 --- a/samples/openapi3/client/petstore/python/tests_manual/test_validate.py +++ b/samples/openapi3/client/petstore/python/tests_manual/test_validate.py @@ -39,36 +39,36 @@ class TestValidateResults(unittest.TestCase): def test_str_validate(self): vm = ValidationMetadata(path_to_item=("args[0]",), configuration=configuration.Configuration()) - path_to_schemas = StringWithValidation._validate_oapg( + path_to_schemas = StringWithValidation._validate( "abcdefg", validation_metadata=vm ) assert path_to_schemas == {("args[0]",): {StringWithValidation, str}} def test_number_validate(self): vm = ValidationMetadata(path_to_item=("args[0]",), configuration=configuration.Configuration()) - path_to_schemas = NumberWithValidations._validate_oapg( + path_to_schemas = NumberWithValidations._validate( Decimal(11), validation_metadata=vm ) assert path_to_schemas == {("args[0]",): {NumberWithValidations, Decimal}} def test_str_enum_validate(self): vm = ValidationMetadata(path_to_item=("args[0]",), configuration=configuration.Configuration()) - path_to_schemas = StringEnum._validate_oapg("placed", validation_metadata=vm) + path_to_schemas = StringEnum._validate("placed", validation_metadata=vm) assert path_to_schemas == {("args[0]",): {str, StringEnum}} def test_nullable_enum_validate(self): vm = ValidationMetadata(path_to_item=("args[0]",), configuration=configuration.Configuration()) - path_to_schemas = StringEnum._validate_oapg(NoneClass.NONE, validation_metadata=vm) + path_to_schemas = StringEnum._validate(NoneClass.NONE, validation_metadata=vm) assert path_to_schemas == {("args[0]",): {NoneClass, StringEnum}} def test_empty_list_validate(self): vm = ValidationMetadata(path_to_item=("args[0]",), configuration=configuration.Configuration()) - path_to_schemas = ArrayHoldingAnyType._validate_oapg((), validation_metadata=vm) + path_to_schemas = ArrayHoldingAnyType._validate((), validation_metadata=vm) assert path_to_schemas == {("args[0]",): {ArrayHoldingAnyType, tuple}} def test_list_validate(self): vm = ValidationMetadata(path_to_item=("args[0]",), configuration=configuration.Configuration()) - path_to_schemas = ArrayHoldingAnyType._validate_oapg( + path_to_schemas = ArrayHoldingAnyType._validate( (Decimal(1), "a"), validation_metadata=vm ) assert path_to_schemas == { @@ -79,12 +79,12 @@ def test_list_validate(self): def test_empty_dict_validate(self): vm = ValidationMetadata(path_to_item=("args[0]",), configuration=configuration.Configuration()) - path_to_schemas = Foo._validate_oapg(frozendict.frozendict({}), validation_metadata=vm) + path_to_schemas = Foo._validate(frozendict.frozendict({}), validation_metadata=vm) assert path_to_schemas == {("args[0]",): {Foo, frozendict.frozendict}} def test_dict_validate(self): vm = ValidationMetadata(path_to_item=("args[0]",), configuration=configuration.Configuration()) - path_to_schemas = Foo._validate_oapg( + path_to_schemas = Foo._validate( frozendict.frozendict({"bar": "a", "additional": Decimal(0)}), validation_metadata=vm, ) @@ -95,7 +95,7 @@ def test_dict_validate(self): def test_discriminated_dict_validate(self): vm = ValidationMetadata(path_to_item=("args[0]",), configuration=configuration.Configuration()) - path_to_schemas = Animal._validate_oapg( + path_to_schemas = Animal._validate( frozendict.frozendict(className="Dog", color="black"), validation_metadata=vm ) for schema_classes in path_to_schemas.values(): @@ -108,12 +108,12 @@ def test_discriminated_dict_validate(self): def test_bool_enum_validate(self): vm = ValidationMetadata(path_to_item=("args[0]",), configuration=configuration.Configuration()) - path_to_schemas = BooleanEnum._validate_oapg(BoolClass.TRUE, validation_metadata=vm) + path_to_schemas = BooleanEnum._validate(BoolClass.TRUE, validation_metadata=vm) assert path_to_schemas == {("args[0]",): {BoolClass, BooleanEnum}} def test_oneof_composition_pig_validate(self): vm = ValidationMetadata(path_to_item=("args[0]",), configuration=configuration.Configuration()) - path_to_schemas = Pig._validate_oapg( + path_to_schemas = Pig._validate( frozendict.frozendict(className="DanishPig"), validation_metadata=vm ) for schema_classes in path_to_schemas.values(): @@ -125,7 +125,7 @@ def test_oneof_composition_pig_validate(self): def test_anyof_composition_gm_fruit_validate(self): vm = ValidationMetadata(path_to_item=("args[0]",), configuration=configuration.Configuration()) - path_to_schemas = GmFruit._validate_oapg( + path_to_schemas = GmFruit._validate( frozendict.frozendict(cultivar="GoldenDelicious", lengthCm=Decimal(10)), validation_metadata=vm, ) @@ -142,13 +142,13 @@ class TestValidateCalls(unittest.TestCase): def test_empty_list_validate(self): return_value = {("args[0]",): {ArrayHoldingAnyType, tuple}} with patch.object( - Schema, "_validate_oapg", return_value=return_value + Schema, "_validate", return_value=return_value ) as mock_validate: ArrayHoldingAnyType([]) assert mock_validate.call_count == 1 with patch.object( - Schema, "_validate_oapg", return_value=return_value + Schema, "_validate", return_value=return_value ) as mock_validate: ArrayHoldingAnyType.from_openapi_data_([]) assert mock_validate.call_count == 1 @@ -156,13 +156,13 @@ def test_empty_list_validate(self): def test_empty_dict_validate(self): return_value = {("args[0]",): {Foo, frozendict.frozendict}} with patch.object( - Schema, "_validate_oapg", return_value=return_value + Schema, "_validate", return_value=return_value ) as mock_validate: Foo({}) assert mock_validate.call_count == 1 with patch.object( - Schema, "_validate_oapg", return_value=return_value + Schema, "_validate", return_value=return_value ) as mock_validate: Foo.from_openapi_data_({}) assert mock_validate.call_count == 1 @@ -170,13 +170,13 @@ def test_empty_dict_validate(self): def test_list_validate_direct_instantiation(self): with patch.object( ArrayWithValidationsInItems, - "_validate_oapg", - side_effect=ArrayWithValidationsInItems._validate_oapg, + "_validate", + side_effect=ArrayWithValidationsInItems._validate, ) as mock_outer_validate: with patch.object( ArrayWithValidationsInItems.MetaOapg.Items, - "_validate_oapg", - side_effect=ArrayWithValidationsInItems.MetaOapg.Items._validate_oapg, + "_validate", + side_effect=ArrayWithValidationsInItems.MetaOapg.Items._validate, ) as mock_inner_validate: used_configuration = configuration.Configuration() ArrayWithValidationsInItems([7], _configuration=used_configuration) @@ -194,13 +194,13 @@ def test_list_validate_direct_instantiation_cast_item(self): item = ArrayWithValidationsInItems.MetaOapg.Items(7) with patch.object( ArrayWithValidationsInItems, - "_validate_oapg", - side_effect=ArrayWithValidationsInItems._validate_oapg, + "_validate", + side_effect=ArrayWithValidationsInItems._validate, ) as mock_outer_validate: with patch.object( ArrayWithValidationsInItems.MetaOapg.Items, - "_validate_oapg", - side_effect=ArrayWithValidationsInItems.MetaOapg.Items._validate_oapg, + "_validate", + side_effect=ArrayWithValidationsInItems.MetaOapg.Items._validate, ) as mock_inner_validate: used_configuration = configuration.Configuration() ArrayWithValidationsInItems([item], _configuration=used_configuration) @@ -217,13 +217,13 @@ def test_list_validate_direct_instantiation_cast_item(self): def test_list_validate_from_openai_data_instantiation(self): with patch.object( ArrayWithValidationsInItems, - "_validate_oapg", - side_effect=ArrayWithValidationsInItems._validate_oapg, + "_validate", + side_effect=ArrayWithValidationsInItems._validate, ) as mock_outer_validate: with patch.object( ArrayWithValidationsInItems.MetaOapg.Items, - "_validate_oapg", - side_effect=ArrayWithValidationsInItems.MetaOapg.Items._validate_oapg, + "_validate", + side_effect=ArrayWithValidationsInItems.MetaOapg.Items._validate, ) as mock_inner_validate: used_configuration = configuration.Configuration() ArrayWithValidationsInItems.from_openapi_data_([7], _configuration=used_configuration) @@ -237,11 +237,11 @@ def test_list_validate_from_openai_data_instantiation(self): ) def test_dict_validate_direct_instantiation(self): - with patch.object(Foo, "_validate_oapg", side_effect=Foo._validate_oapg) as mock_outer_validate: + with patch.object(Foo, "_validate", side_effect=Foo._validate) as mock_outer_validate: with patch.object( Bar, - "_validate_oapg", - side_effect=Bar._validate_oapg, + "_validate", + side_effect=Bar._validate, ) as mock_inner_validate: used_configuration = configuration.Configuration() Foo(bar="a", _configuration=used_configuration) @@ -263,11 +263,11 @@ def test_dict_validate_direct_instantiation(self): def test_dict_validate_direct_instantiation_cast_item(self): bar = StrSchema("a") # only the Foo dict is validated because the bar property value was already validated - with patch.object(Foo, "_validate_oapg", side_effect=Foo._validate_oapg) as mock_outer_validate: + with patch.object(Foo, "_validate", side_effect=Foo._validate) as mock_outer_validate: with patch.object( Bar, - "_validate_oapg", - side_effect=Bar._validate_oapg, + "_validate", + side_effect=Bar._validate, ) as mock_inner_validate: used_configuration = configuration.Configuration() Foo(bar=bar, _configuration=used_configuration) @@ -282,11 +282,11 @@ def test_dict_validate_direct_instantiation_cast_item(self): mock_inner_validate.assert_not_called() def test_dict_validate_from_openapi_data_instantiation(self): - with patch.object(Foo, "_validate_oapg", side_effect=Foo._validate_oapg) as mock_outer_validate: + with patch.object(Foo, "_validate", side_effect=Foo._validate) as mock_outer_validate: with patch.object( Bar, - "_validate_oapg", - side_effect=Bar._validate_oapg, + "_validate", + side_effect=Bar._validate, ) as mock_inner_validate: used_configuration = configuration.Configuration() Foo.from_openapi_data_({"bar": "a"}, _configuration=used_configuration) From 411e55dd1c7a101c38ea039cb014e9fa7fc541e4 Mon Sep 17 00:00:00 2001 From: Justin Black Date: Fri, 30 Dec 2022 00:24:51 -0800 Subject: [PATCH 18/29] _process_schema_classes_oapg -> _process_schema_classes --- .../src/main/resources/python/schemas.handlebars | 4 ++-- .../client/3_0_3_unit_test/python/unit_test_api/schemas.py | 4 ++-- .../python/this_package/schemas.py | 4 ++-- .../openapi3/client/petstore/python/petstore_api/schemas.py | 4 ++-- .../client/petstore/python/tests_manual/test_validate.py | 6 +++--- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars index ed0ddd523f9..fff0bfd4670 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars @@ -1296,7 +1296,7 @@ class Schema: return path_to_schemas @staticmethod - def _process_schema_classes_oapg( + def _process_schema_classes( schema_classes: typing.Set[typing.Union['Schema', str, decimal.Decimal, BoolClass, NoneClass, frozendict.frozendict, tuple]] ): """ @@ -1373,7 +1373,7 @@ class Schema: Singleton already added 3. N number of schema classes, classes in path_to_schemas: BoolClass/NoneClass/tuple/frozendict.frozendict/str/Decimal/bytes/FileIo """ - cls._process_schema_classes_oapg(schema_classes) + cls._process_schema_classes(schema_classes) enum_schema = any( issubclass(this_cls, Schema) and hasattr(this_cls.MetaOapg, "enum_value_to_name") for this_cls in schema_classes diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py index 79b5f128050..58698f4f66d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py @@ -1158,7 +1158,7 @@ def _validate( return path_to_schemas @staticmethod - def _process_schema_classes_oapg( + def _process_schema_classes( schema_classes: typing.Set[typing.Union['Schema', str, decimal.Decimal, BoolClass, NoneClass, frozendict.frozendict, tuple]] ): """ @@ -1235,7 +1235,7 @@ def __get_new_cls( Singleton already added 3. N number of schema classes, classes in path_to_schemas: BoolClass/NoneClass/tuple/frozendict.frozendict/str/Decimal/bytes/FileIo """ - cls._process_schema_classes_oapg(schema_classes) + cls._process_schema_classes(schema_classes) enum_schema = any( issubclass(this_cls, Schema) and hasattr(this_cls.MetaOapg, "enum_value_to_name") for this_cls in schema_classes diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py index 3e6342e23c8..fbec58e57e0 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py @@ -1234,7 +1234,7 @@ def _validate( return path_to_schemas @staticmethod - def _process_schema_classes_oapg( + def _process_schema_classes( schema_classes: typing.Set[typing.Union['Schema', str, decimal.Decimal, BoolClass, NoneClass, frozendict.frozendict, tuple]] ): """ @@ -1311,7 +1311,7 @@ def __get_new_cls( Singleton already added 3. N number of schema classes, classes in path_to_schemas: BoolClass/NoneClass/tuple/frozendict.frozendict/str/Decimal/bytes/FileIo """ - cls._process_schema_classes_oapg(schema_classes) + cls._process_schema_classes(schema_classes) enum_schema = any( issubclass(this_cls, Schema) and hasattr(this_cls.MetaOapg, "enum_value_to_name") for this_cls in schema_classes diff --git a/samples/openapi3/client/petstore/python/petstore_api/schemas.py b/samples/openapi3/client/petstore/python/petstore_api/schemas.py index bc14d8ee6fb..7d1c011b9c1 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/schemas.py +++ b/samples/openapi3/client/petstore/python/petstore_api/schemas.py @@ -1158,7 +1158,7 @@ def _validate( return path_to_schemas @staticmethod - def _process_schema_classes_oapg( + def _process_schema_classes( schema_classes: typing.Set[typing.Union['Schema', str, decimal.Decimal, BoolClass, NoneClass, frozendict.frozendict, tuple]] ): """ @@ -1235,7 +1235,7 @@ def __get_new_cls( Singleton already added 3. N number of schema classes, classes in path_to_schemas: BoolClass/NoneClass/tuple/frozendict.frozendict/str/Decimal/bytes/FileIo """ - cls._process_schema_classes_oapg(schema_classes) + cls._process_schema_classes(schema_classes) enum_schema = any( issubclass(this_cls, Schema) and hasattr(this_cls.MetaOapg, "enum_value_to_name") for this_cls in schema_classes diff --git a/samples/openapi3/client/petstore/python/tests_manual/test_validate.py b/samples/openapi3/client/petstore/python/tests_manual/test_validate.py index be4e8e4919a..8f322931988 100644 --- a/samples/openapi3/client/petstore/python/tests_manual/test_validate.py +++ b/samples/openapi3/client/petstore/python/tests_manual/test_validate.py @@ -99,7 +99,7 @@ def test_discriminated_dict_validate(self): frozendict.frozendict(className="Dog", color="black"), validation_metadata=vm ) for schema_classes in path_to_schemas.values(): - Animal._process_schema_classes_oapg(schema_classes) + Animal._process_schema_classes(schema_classes) assert path_to_schemas == { ("args[0]",): {Animal, Dog, Dog.MetaOapg.AllOf.classes[1], frozendict.frozendict}, ("args[0]", "className"): {StrSchema, str}, @@ -117,7 +117,7 @@ def test_oneof_composition_pig_validate(self): frozendict.frozendict(className="DanishPig"), validation_metadata=vm ) for schema_classes in path_to_schemas.values(): - Pig._process_schema_classes_oapg(schema_classes) + Pig._process_schema_classes(schema_classes) assert path_to_schemas == { ("args[0]",): {Pig, DanishPig, frozendict.frozendict}, ("args[0]", "className"): {DanishPig.MetaOapg.Properties.ClassName, str}, @@ -130,7 +130,7 @@ def test_anyof_composition_gm_fruit_validate(self): validation_metadata=vm, ) for schema_classes in path_to_schemas.values(): - GmFruit._process_schema_classes_oapg(schema_classes) + GmFruit._process_schema_classes(schema_classes) assert path_to_schemas == { ("args[0]",): {GmFruit, Apple, Banana, frozendict.frozendict}, ("args[0]", "cultivar"): {Apple.MetaOapg.Properties.Cultivar, str}, From ddacb814a03baa51fd45e4ff52be046d5d3aed4e Mon Sep 17 00:00:00 2001 From: Justin Black Date: Fri, 30 Dec 2022 00:26:13 -0800 Subject: [PATCH 19/29] _get_new_instance_without_conversion_oapg -> _get_new_instance_without_conversion --- .../src/main/resources/python/schemas.handlebars | 10 +++++----- .../3_0_3_unit_test/python/unit_test_api/schemas.py | 10 +++++----- .../python/this_package/schemas.py | 10 +++++----- .../client/petstore/python/petstore_api/schemas.py | 10 +++++----- 4 files changed, 20 insertions(+), 20 deletions(-) diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars index fff0bfd4670..27c752cd0e6 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars @@ -1403,7 +1403,7 @@ class Schema: return path_to_schemas @classmethod - def _get_new_instance_without_conversion_oapg( + def _get_new_instance_without_conversion( cls, arg: typing.Any, path_to_item: typing.Tuple[typing.Union[str, int], ...], @@ -1455,7 +1455,7 @@ class Schema: ) path_to_schemas = cls.__get_new_cls(arg, validation_metadata, path_to_type) new_cls = path_to_schemas[validation_metadata.path_to_item] - new_inst = new_cls._get_new_instance_without_conversion_oapg( + new_inst = new_cls._get_new_instance_without_conversion( arg, validation_metadata.path_to_item, path_to_schemas @@ -1519,7 +1519,7 @@ class Schema: ) __path_to_schemas = cls.__get_new_cls(__arg, __validation_metadata, __path_to_type) __new_cls = __path_to_schemas[__validation_metadata.path_to_item] - return __new_cls._get_new_instance_without_conversion_oapg( + return __new_cls._get_new_instance_without_conversion( __arg, __validation_metadata.path_to_item, __path_to_schemas @@ -1980,7 +1980,7 @@ class ListBase: for i, value in enumerate(arg): item_path_to_item = path_to_item + (i,) item_cls = path_to_schemas[item_path_to_item] - new_value = item_cls._get_new_instance_without_conversion_oapg( + new_value = item_cls._get_new_instance_without_conversion( value, item_path_to_item, path_to_schemas @@ -2007,7 +2007,7 @@ class DictBase: for property_name_js, value in arg.items(): property_path_to_item = path_to_item + (property_name_js,) property_cls = path_to_schemas[property_path_to_item] - new_value = property_cls._get_new_instance_without_conversion_oapg( + new_value = property_cls._get_new_instance_without_conversion( value, property_path_to_item, path_to_schemas diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py index 58698f4f66d..5a129f44be3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py @@ -1265,7 +1265,7 @@ def __get_new_cls( return path_to_schemas @classmethod - def _get_new_instance_without_conversion_oapg( + def _get_new_instance_without_conversion( cls, arg: typing.Any, path_to_item: typing.Tuple[typing.Union[str, int], ...], @@ -1317,7 +1317,7 @@ def from_openapi_data_( ) path_to_schemas = cls.__get_new_cls(arg, validation_metadata, path_to_type) new_cls = path_to_schemas[validation_metadata.path_to_item] - new_inst = new_cls._get_new_instance_without_conversion_oapg( + new_inst = new_cls._get_new_instance_without_conversion( arg, validation_metadata.path_to_item, path_to_schemas @@ -1411,7 +1411,7 @@ def __new__( ) __path_to_schemas = cls.__get_new_cls(__arg, __validation_metadata, __path_to_type) __new_cls = __path_to_schemas[__validation_metadata.path_to_item] - return __new_cls._get_new_instance_without_conversion_oapg( + return __new_cls._get_new_instance_without_conversion( __arg, __validation_metadata.path_to_item, __path_to_schemas @@ -1872,7 +1872,7 @@ def _get_items_oapg( for i, value in enumerate(arg): item_path_to_item = path_to_item + (i,) item_cls = path_to_schemas[item_path_to_item] - new_value = item_cls._get_new_instance_without_conversion_oapg( + new_value = item_cls._get_new_instance_without_conversion( value, item_path_to_item, path_to_schemas @@ -1899,7 +1899,7 @@ def _get_properties_oapg( for property_name_js, value in arg.items(): property_path_to_item = path_to_item + (property_name_js,) property_cls = path_to_schemas[property_path_to_item] - new_value = property_cls._get_new_instance_without_conversion_oapg( + new_value = property_cls._get_new_instance_without_conversion( value, property_path_to_item, path_to_schemas diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py index fbec58e57e0..7b593941a7e 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py @@ -1341,7 +1341,7 @@ def __get_new_cls( return path_to_schemas @classmethod - def _get_new_instance_without_conversion_oapg( + def _get_new_instance_without_conversion( cls, arg: typing.Any, path_to_item: typing.Tuple[typing.Union[str, int], ...], @@ -1393,7 +1393,7 @@ def from_openapi_data_( ) path_to_schemas = cls.__get_new_cls(arg, validation_metadata, path_to_type) new_cls = path_to_schemas[validation_metadata.path_to_item] - new_inst = new_cls._get_new_instance_without_conversion_oapg( + new_inst = new_cls._get_new_instance_without_conversion( arg, validation_metadata.path_to_item, path_to_schemas @@ -1487,7 +1487,7 @@ def __new__( ) __path_to_schemas = cls.__get_new_cls(__arg, __validation_metadata, __path_to_type) __new_cls = __path_to_schemas[__validation_metadata.path_to_item] - return __new_cls._get_new_instance_without_conversion_oapg( + return __new_cls._get_new_instance_without_conversion( __arg, __validation_metadata.path_to_item, __path_to_schemas @@ -1948,7 +1948,7 @@ def _get_items_oapg( for i, value in enumerate(arg): item_path_to_item = path_to_item + (i,) item_cls = path_to_schemas[item_path_to_item] - new_value = item_cls._get_new_instance_without_conversion_oapg( + new_value = item_cls._get_new_instance_without_conversion( value, item_path_to_item, path_to_schemas @@ -1975,7 +1975,7 @@ def _get_properties_oapg( for property_name_js, value in arg.items(): property_path_to_item = path_to_item + (property_name_js,) property_cls = path_to_schemas[property_path_to_item] - new_value = property_cls._get_new_instance_without_conversion_oapg( + new_value = property_cls._get_new_instance_without_conversion( value, property_path_to_item, path_to_schemas diff --git a/samples/openapi3/client/petstore/python/petstore_api/schemas.py b/samples/openapi3/client/petstore/python/petstore_api/schemas.py index 7d1c011b9c1..72fb54cf10e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/schemas.py +++ b/samples/openapi3/client/petstore/python/petstore_api/schemas.py @@ -1265,7 +1265,7 @@ def __get_new_cls( return path_to_schemas @classmethod - def _get_new_instance_without_conversion_oapg( + def _get_new_instance_without_conversion( cls, arg: typing.Any, path_to_item: typing.Tuple[typing.Union[str, int], ...], @@ -1317,7 +1317,7 @@ def from_openapi_data_( ) path_to_schemas = cls.__get_new_cls(arg, validation_metadata, path_to_type) new_cls = path_to_schemas[validation_metadata.path_to_item] - new_inst = new_cls._get_new_instance_without_conversion_oapg( + new_inst = new_cls._get_new_instance_without_conversion( arg, validation_metadata.path_to_item, path_to_schemas @@ -1411,7 +1411,7 @@ def __new__( ) __path_to_schemas = cls.__get_new_cls(__arg, __validation_metadata, __path_to_type) __new_cls = __path_to_schemas[__validation_metadata.path_to_item] - return __new_cls._get_new_instance_without_conversion_oapg( + return __new_cls._get_new_instance_without_conversion( __arg, __validation_metadata.path_to_item, __path_to_schemas @@ -1872,7 +1872,7 @@ def _get_items_oapg( for i, value in enumerate(arg): item_path_to_item = path_to_item + (i,) item_cls = path_to_schemas[item_path_to_item] - new_value = item_cls._get_new_instance_without_conversion_oapg( + new_value = item_cls._get_new_instance_without_conversion( value, item_path_to_item, path_to_schemas @@ -1899,7 +1899,7 @@ def _get_properties_oapg( for property_name_js, value in arg.items(): property_path_to_item = path_to_item + (property_name_js,) property_cls = path_to_schemas[property_path_to_item] - new_value = property_cls._get_new_instance_without_conversion_oapg( + new_value = property_cls._get_new_instance_without_conversion( value, property_path_to_item, path_to_schemas From 85b1981a6367c29937282ff82159ebd6e29f9974 Mon Sep 17 00:00:00 2001 From: Justin Black Date: Fri, 30 Dec 2022 00:27:30 -0800 Subject: [PATCH 20/29] as_str_oapg -> as_str_ --- .../src/main/resources/python/schemas.handlebars | 2 +- .../client/3_0_3_unit_test/python/unit_test_api/schemas.py | 2 +- .../python/this_package/schemas.py | 2 +- samples/openapi3/client/petstore/python/petstore_api/schemas.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars index 27c752cd0e6..1ec36e693b8 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars @@ -1874,7 +1874,7 @@ class StrBase: MetaOapg: MetaOapgTyped @property - def as_str_oapg(self) -> str: + def as_str_(self) -> str: return self @property diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py index 5a129f44be3..ae445f9815d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py @@ -1766,7 +1766,7 @@ class StrBase: MetaOapg: MetaOapgTyped @property - def as_str_oapg(self) -> str: + def as_str_(self) -> str: return self @property diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py index 7b593941a7e..3f49ae878f5 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py @@ -1842,7 +1842,7 @@ class StrBase: MetaOapg: MetaOapgTyped @property - def as_str_oapg(self) -> str: + def as_str_(self) -> str: return self @property diff --git a/samples/openapi3/client/petstore/python/petstore_api/schemas.py b/samples/openapi3/client/petstore/python/petstore_api/schemas.py index 72fb54cf10e..6151f451fdd 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/schemas.py +++ b/samples/openapi3/client/petstore/python/petstore_api/schemas.py @@ -1766,7 +1766,7 @@ class StrBase: MetaOapg: MetaOapgTyped @property - def as_str_oapg(self) -> str: + def as_str_(self) -> str: return self @property From 1015cc81dea56680b761791b56158b230b62b4d0 Mon Sep 17 00:00:00 2001 From: Justin Black Date: Fri, 30 Dec 2022 00:29:13 -0800 Subject: [PATCH 21/29] _get_items_oapg -> _get_items --- .../src/main/resources/python/schemas.handlebars | 8 ++++---- .../3_0_3_unit_test/python/unit_test_api/schemas.py | 8 ++++---- .../python/this_package/schemas.py | 8 ++++---- .../client/petstore/python/petstore_api/schemas.py | 8 ++++---- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars index 1ec36e693b8..8844100cb8d 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars @@ -1352,7 +1352,7 @@ class Schema: 2. value is an instance of the correct schema type the value is NOT validated by _validate, _validate only checks that the instance is of the correct schema type for this value, _validate does NOT return an entry for it in _path_to_schemas - and in list/dict _get_items_oapg,_get_properties_oapg the value will be directly assigned + and in list/dict _get_items,_get_properties_oapg the value will be directly assigned because value is of the correct type, and validation was run earlier when the instance was created """ _path_to_schemas = {} @@ -1414,7 +1414,7 @@ class Schema: properties = cls._get_properties_oapg(arg, path_to_item, path_to_schemas) return super(Schema, cls).__new__(cls, properties) elif issubclass(cls, tuple) and issubclass(cls, ListBase): - items = cls._get_items_oapg(arg, path_to_item, path_to_schemas) + items = cls._get_items(arg, path_to_item, path_to_schemas) return super(Schema, cls).__new__(cls, items) """ str = openapi str, datetime.date, and datetime.datetime @@ -1966,14 +1966,14 @@ class ListBase: MetaOapg: MetaOapgTyped @classmethod - def _get_items_oapg( + def _get_items( cls: 'Schema', arg: typing.List[typing.Any], path_to_item: typing.Tuple[typing.Union[str, int], ...], path_to_schemas: typing.Dict[typing.Tuple[typing.Union[str, int], ...], typing.Type['Schema']] ): ''' - ListBase _get_items_oapg + ListBase _get_items ''' cast_items = [] diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py index ae445f9815d..bff24774736 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py @@ -1214,7 +1214,7 @@ def __get_new_cls( 2. value is an instance of the correct schema type the value is NOT validated by _validate, _validate only checks that the instance is of the correct schema type for this value, _validate does NOT return an entry for it in _path_to_schemas - and in list/dict _get_items_oapg,_get_properties_oapg the value will be directly assigned + and in list/dict _get_items,_get_properties_oapg the value will be directly assigned because value is of the correct type, and validation was run earlier when the instance was created """ _path_to_schemas = {} @@ -1276,7 +1276,7 @@ def _get_new_instance_without_conversion( properties = cls._get_properties_oapg(arg, path_to_item, path_to_schemas) return super(Schema, cls).__new__(cls, properties) elif issubclass(cls, tuple) and issubclass(cls, ListBase): - items = cls._get_items_oapg(arg, path_to_item, path_to_schemas) + items = cls._get_items(arg, path_to_item, path_to_schemas) return super(Schema, cls).__new__(cls, items) """ str = openapi str, datetime.date, and datetime.datetime @@ -1858,14 +1858,14 @@ class ListBase: MetaOapg: MetaOapgTyped @classmethod - def _get_items_oapg( + def _get_items( cls: 'Schema', arg: typing.List[typing.Any], path_to_item: typing.Tuple[typing.Union[str, int], ...], path_to_schemas: typing.Dict[typing.Tuple[typing.Union[str, int], ...], typing.Type['Schema']] ): ''' - ListBase _get_items_oapg + ListBase _get_items ''' cast_items = [] diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py index 3f49ae878f5..fa5fef865b0 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py @@ -1290,7 +1290,7 @@ def __get_new_cls( 2. value is an instance of the correct schema type the value is NOT validated by _validate, _validate only checks that the instance is of the correct schema type for this value, _validate does NOT return an entry for it in _path_to_schemas - and in list/dict _get_items_oapg,_get_properties_oapg the value will be directly assigned + and in list/dict _get_items,_get_properties_oapg the value will be directly assigned because value is of the correct type, and validation was run earlier when the instance was created """ _path_to_schemas = {} @@ -1352,7 +1352,7 @@ def _get_new_instance_without_conversion( properties = cls._get_properties_oapg(arg, path_to_item, path_to_schemas) return super(Schema, cls).__new__(cls, properties) elif issubclass(cls, tuple) and issubclass(cls, ListBase): - items = cls._get_items_oapg(arg, path_to_item, path_to_schemas) + items = cls._get_items(arg, path_to_item, path_to_schemas) return super(Schema, cls).__new__(cls, items) """ str = openapi str, datetime.date, and datetime.datetime @@ -1934,14 +1934,14 @@ class ListBase: MetaOapg: MetaOapgTyped @classmethod - def _get_items_oapg( + def _get_items( cls: 'Schema', arg: typing.List[typing.Any], path_to_item: typing.Tuple[typing.Union[str, int], ...], path_to_schemas: typing.Dict[typing.Tuple[typing.Union[str, int], ...], typing.Type['Schema']] ): ''' - ListBase _get_items_oapg + ListBase _get_items ''' cast_items = [] diff --git a/samples/openapi3/client/petstore/python/petstore_api/schemas.py b/samples/openapi3/client/petstore/python/petstore_api/schemas.py index 6151f451fdd..e02110be0ce 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/schemas.py +++ b/samples/openapi3/client/petstore/python/petstore_api/schemas.py @@ -1214,7 +1214,7 @@ def __get_new_cls( 2. value is an instance of the correct schema type the value is NOT validated by _validate, _validate only checks that the instance is of the correct schema type for this value, _validate does NOT return an entry for it in _path_to_schemas - and in list/dict _get_items_oapg,_get_properties_oapg the value will be directly assigned + and in list/dict _get_items,_get_properties_oapg the value will be directly assigned because value is of the correct type, and validation was run earlier when the instance was created """ _path_to_schemas = {} @@ -1276,7 +1276,7 @@ def _get_new_instance_without_conversion( properties = cls._get_properties_oapg(arg, path_to_item, path_to_schemas) return super(Schema, cls).__new__(cls, properties) elif issubclass(cls, tuple) and issubclass(cls, ListBase): - items = cls._get_items_oapg(arg, path_to_item, path_to_schemas) + items = cls._get_items(arg, path_to_item, path_to_schemas) return super(Schema, cls).__new__(cls, items) """ str = openapi str, datetime.date, and datetime.datetime @@ -1858,14 +1858,14 @@ class ListBase: MetaOapg: MetaOapgTyped @classmethod - def _get_items_oapg( + def _get_items( cls: 'Schema', arg: typing.List[typing.Any], path_to_item: typing.Tuple[typing.Union[str, int], ...], path_to_schemas: typing.Dict[typing.Tuple[typing.Union[str, int], ...], typing.Type['Schema']] ): ''' - ListBase _get_items_oapg + ListBase _get_items ''' cast_items = [] From 4a3411257a30016ae8ef2c02ee87f1382328c879 Mon Sep 17 00:00:00 2001 From: Justin Black Date: Fri, 30 Dec 2022 00:29:58 -0800 Subject: [PATCH 22/29] _get_properties_oapg -> _get_properties --- .../src/main/resources/python/schemas.handlebars | 8 ++++---- .../3_0_3_unit_test/python/unit_test_api/schemas.py | 8 ++++---- .../python/this_package/schemas.py | 8 ++++---- .../client/petstore/python/petstore_api/schemas.py | 8 ++++---- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars index 8844100cb8d..5b389b33408 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars @@ -1352,7 +1352,7 @@ class Schema: 2. value is an instance of the correct schema type the value is NOT validated by _validate, _validate only checks that the instance is of the correct schema type for this value, _validate does NOT return an entry for it in _path_to_schemas - and in list/dict _get_items,_get_properties_oapg the value will be directly assigned + and in list/dict _get_items,_get_properties the value will be directly assigned because value is of the correct type, and validation was run earlier when the instance was created """ _path_to_schemas = {} @@ -1411,7 +1411,7 @@ class Schema: ): # We have a Dynamic class and we are making an instance of it if issubclass(cls, frozendict.frozendict) and issubclass(cls, DictBase): - properties = cls._get_properties_oapg(arg, path_to_item, path_to_schemas) + properties = cls._get_properties(arg, path_to_item, path_to_schemas) return super(Schema, cls).__new__(cls, properties) elif issubclass(cls, tuple) and issubclass(cls, ListBase): items = cls._get_items(arg, path_to_item, path_to_schemas) @@ -1992,14 +1992,14 @@ class ListBase: class DictBase: @classmethod - def _get_properties_oapg( + def _get_properties( cls, arg: typing.Dict[str, typing.Any], path_to_item: typing.Tuple[typing.Union[str, int], ...], path_to_schemas: typing.Dict[typing.Tuple[typing.Union[str, int], ...], typing.Type['Schema']] ): """ - DictBase _get_properties_oapg, this is how properties are set + DictBase _get_properties, this is how properties are set These values already passed validation """ dict_items = {} diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py index bff24774736..c2374b52eb8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py @@ -1214,7 +1214,7 @@ def __get_new_cls( 2. value is an instance of the correct schema type the value is NOT validated by _validate, _validate only checks that the instance is of the correct schema type for this value, _validate does NOT return an entry for it in _path_to_schemas - and in list/dict _get_items,_get_properties_oapg the value will be directly assigned + and in list/dict _get_items,_get_properties the value will be directly assigned because value is of the correct type, and validation was run earlier when the instance was created """ _path_to_schemas = {} @@ -1273,7 +1273,7 @@ def _get_new_instance_without_conversion( ): # We have a Dynamic class and we are making an instance of it if issubclass(cls, frozendict.frozendict) and issubclass(cls, DictBase): - properties = cls._get_properties_oapg(arg, path_to_item, path_to_schemas) + properties = cls._get_properties(arg, path_to_item, path_to_schemas) return super(Schema, cls).__new__(cls, properties) elif issubclass(cls, tuple) and issubclass(cls, ListBase): items = cls._get_items(arg, path_to_item, path_to_schemas) @@ -1884,14 +1884,14 @@ def _get_items( class DictBase: @classmethod - def _get_properties_oapg( + def _get_properties( cls, arg: typing.Dict[str, typing.Any], path_to_item: typing.Tuple[typing.Union[str, int], ...], path_to_schemas: typing.Dict[typing.Tuple[typing.Union[str, int], ...], typing.Type['Schema']] ): """ - DictBase _get_properties_oapg, this is how properties are set + DictBase _get_properties, this is how properties are set These values already passed validation """ dict_items = {} diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py index fa5fef865b0..97d599f3bc8 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py @@ -1290,7 +1290,7 @@ def __get_new_cls( 2. value is an instance of the correct schema type the value is NOT validated by _validate, _validate only checks that the instance is of the correct schema type for this value, _validate does NOT return an entry for it in _path_to_schemas - and in list/dict _get_items,_get_properties_oapg the value will be directly assigned + and in list/dict _get_items,_get_properties the value will be directly assigned because value is of the correct type, and validation was run earlier when the instance was created """ _path_to_schemas = {} @@ -1349,7 +1349,7 @@ def _get_new_instance_without_conversion( ): # We have a Dynamic class and we are making an instance of it if issubclass(cls, frozendict.frozendict) and issubclass(cls, DictBase): - properties = cls._get_properties_oapg(arg, path_to_item, path_to_schemas) + properties = cls._get_properties(arg, path_to_item, path_to_schemas) return super(Schema, cls).__new__(cls, properties) elif issubclass(cls, tuple) and issubclass(cls, ListBase): items = cls._get_items(arg, path_to_item, path_to_schemas) @@ -1960,14 +1960,14 @@ def _get_items( class DictBase: @classmethod - def _get_properties_oapg( + def _get_properties( cls, arg: typing.Dict[str, typing.Any], path_to_item: typing.Tuple[typing.Union[str, int], ...], path_to_schemas: typing.Dict[typing.Tuple[typing.Union[str, int], ...], typing.Type['Schema']] ): """ - DictBase _get_properties_oapg, this is how properties are set + DictBase _get_properties, this is how properties are set These values already passed validation """ dict_items = {} diff --git a/samples/openapi3/client/petstore/python/petstore_api/schemas.py b/samples/openapi3/client/petstore/python/petstore_api/schemas.py index e02110be0ce..1d6d77e3300 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/schemas.py +++ b/samples/openapi3/client/petstore/python/petstore_api/schemas.py @@ -1214,7 +1214,7 @@ def __get_new_cls( 2. value is an instance of the correct schema type the value is NOT validated by _validate, _validate only checks that the instance is of the correct schema type for this value, _validate does NOT return an entry for it in _path_to_schemas - and in list/dict _get_items,_get_properties_oapg the value will be directly assigned + and in list/dict _get_items,_get_properties the value will be directly assigned because value is of the correct type, and validation was run earlier when the instance was created """ _path_to_schemas = {} @@ -1273,7 +1273,7 @@ def _get_new_instance_without_conversion( ): # We have a Dynamic class and we are making an instance of it if issubclass(cls, frozendict.frozendict) and issubclass(cls, DictBase): - properties = cls._get_properties_oapg(arg, path_to_item, path_to_schemas) + properties = cls._get_properties(arg, path_to_item, path_to_schemas) return super(Schema, cls).__new__(cls, properties) elif issubclass(cls, tuple) and issubclass(cls, ListBase): items = cls._get_items(arg, path_to_item, path_to_schemas) @@ -1884,14 +1884,14 @@ def _get_items( class DictBase: @classmethod - def _get_properties_oapg( + def _get_properties( cls, arg: typing.Dict[str, typing.Any], path_to_item: typing.Tuple[typing.Union[str, int], ...], path_to_schemas: typing.Dict[typing.Tuple[typing.Union[str, int], ...], typing.Type['Schema']] ): """ - DictBase _get_properties_oapg, this is how properties are set + DictBase _get_properties, this is how properties are set These values already passed validation """ dict_items = {} From 05322ef577ae9923bf62827974e2fec8e4586d58 Mon Sep 17 00:00:00 2001 From: Justin Black Date: Fri, 30 Dec 2022 00:40:17 -0800 Subject: [PATCH 23/29] Samples regenerated --- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../post/__init__.py | 12 ++++++------ .../post/__init__.pyi | 12 ++++++------ .../paths/operators/post/__init__.py | 14 +++++++------- .../paths/operators/post/__init__.pyi | 14 +++++++------- .../paths/another_fake_dummy/patch/__init__.py | 14 +++++++------- .../paths/another_fake_dummy/patch/__init__.pyi | 14 +++++++------- .../petstore_api/paths/fake/delete/__init__.py | 12 ++++++------ .../petstore_api/paths/fake/delete/__init__.pyi | 12 ++++++------ .../petstore_api/paths/fake/get/__init__.py | 14 +++++++------- .../petstore_api/paths/fake/get/__init__.pyi | 14 +++++++------- .../petstore_api/paths/fake/patch/__init__.py | 14 +++++++------- .../petstore_api/paths/fake/patch/__init__.pyi | 14 +++++++------- .../petstore_api/paths/fake/post/__init__.py | 14 +++++++------- .../petstore_api/paths/fake/post/__init__.pyi | 14 +++++++------- .../get/__init__.py | 14 +++++++------- .../get/__init__.pyi | 14 +++++++------- .../fake_body_with_file_schema/put/__init__.py | 14 +++++++------- .../fake_body_with_file_schema/put/__init__.pyi | 14 +++++++------- .../fake_body_with_query_params/put/__init__.py | 14 +++++++------- .../fake_body_with_query_params/put/__init__.pyi | 14 +++++++------- .../fake_case_sensitive_params/put/__init__.py | 12 ++++++------ .../fake_case_sensitive_params/put/__init__.pyi | 12 ++++++------ .../paths/fake_classname_test/patch/__init__.py | 14 +++++++------- .../paths/fake_classname_test/patch/__init__.pyi | 14 +++++++------- .../fake_delete_coffee_id/delete/__init__.py | 12 ++++++------ .../fake_delete_coffee_id/delete/__init__.pyi | 12 ++++++------ .../paths/fake_health/get/__init__.py | 12 ++++++------ .../paths/fake_health/get/__init__.pyi | 12 ++++++------ .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../fake_inline_composition/post/__init__.py | 16 ++++++++-------- .../fake_inline_composition/post/__init__.pyi | 16 ++++++++-------- .../paths/fake_json_form_data/get/__init__.py | 14 +++++++------- .../paths/fake_json_form_data/get/__init__.pyi | 14 +++++++------- .../paths/fake_json_patch/patch/__init__.py | 14 +++++++------- .../paths/fake_json_patch/patch/__init__.pyi | 14 +++++++------- .../fake_json_with_charset/post/__init__.py | 14 +++++++------- .../fake_json_with_charset/post/__init__.pyi | 14 +++++++------- .../paths/fake_obj_in_query/get/__init__.py | 12 ++++++------ .../paths/fake_obj_in_query/get/__init__.pyi | 12 ++++++------ .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../get/__init__.py | 12 ++++++------ .../get/__init__.pyi | 12 ++++++------ .../paths/fake_ref_obj_in_query/get/__init__.py | 12 ++++++------ .../paths/fake_ref_obj_in_query/get/__init__.pyi | 12 ++++++------ .../fake_refs_array_of_enums/post/__init__.py | 14 +++++++------- .../fake_refs_array_of_enums/post/__init__.pyi | 14 +++++++------- .../paths/fake_refs_arraymodel/post/__init__.py | 14 +++++++------- .../paths/fake_refs_arraymodel/post/__init__.pyi | 14 +++++++------- .../paths/fake_refs_boolean/post/__init__.py | 14 +++++++------- .../paths/fake_refs_boolean/post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../paths/fake_refs_enum/post/__init__.py | 14 +++++++------- .../paths/fake_refs_enum/post/__init__.pyi | 14 +++++++------- .../paths/fake_refs_mammal/post/__init__.py | 14 +++++++------- .../paths/fake_refs_mammal/post/__init__.pyi | 14 +++++++------- .../paths/fake_refs_number/post/__init__.py | 14 +++++++------- .../paths/fake_refs_number/post/__init__.pyi | 14 +++++++------- .../post/__init__.py | 14 +++++++------- .../post/__init__.pyi | 14 +++++++------- .../paths/fake_refs_string/post/__init__.py | 14 +++++++------- .../paths/fake_refs_string/post/__init__.pyi | 14 +++++++------- .../fake_response_without_schema/get/__init__.py | 12 ++++++------ .../get/__init__.pyi | 12 ++++++------ .../fake_test_query_paramters/put/__init__.py | 12 ++++++------ .../fake_test_query_paramters/put/__init__.pyi | 12 ++++++------ .../fake_upload_download_file/post/__init__.py | 14 +++++++------- .../fake_upload_download_file/post/__init__.pyi | 14 +++++++------- .../paths/fake_upload_file/post/__init__.py | 14 +++++++------- .../paths/fake_upload_file/post/__init__.pyi | 14 +++++++------- .../paths/fake_upload_files/post/__init__.py | 14 +++++++------- .../paths/fake_upload_files/post/__init__.pyi | 14 +++++++------- .../petstore_api/paths/foo/get/__init__.py | 12 ++++++------ .../petstore_api/paths/foo/get/__init__.pyi | 12 ++++++------ .../petstore_api/paths/pet/post/__init__.py | 16 ++++++++-------- .../petstore_api/paths/pet/post/__init__.pyi | 16 ++++++++-------- .../petstore_api/paths/pet/put/__init__.py | 16 ++++++++-------- .../petstore_api/paths/pet/put/__init__.pyi | 16 ++++++++-------- .../paths/pet_find_by_status/get/__init__.py | 12 ++++++------ .../paths/pet_find_by_status/get/__init__.pyi | 12 ++++++------ .../paths/pet_find_by_tags/get/__init__.py | 12 ++++++------ .../paths/pet_find_by_tags/get/__init__.pyi | 12 ++++++------ .../paths/pet_pet_id/delete/__init__.py | 12 ++++++------ .../paths/pet_pet_id/delete/__init__.pyi | 12 ++++++------ .../paths/pet_pet_id/get/__init__.py | 12 ++++++------ .../paths/pet_pet_id/get/__init__.pyi | 12 ++++++------ .../paths/pet_pet_id/post/__init__.py | 14 +++++++------- .../paths/pet_pet_id/post/__init__.pyi | 14 +++++++------- .../pet_pet_id_upload_image/post/__init__.py | 14 +++++++------- .../pet_pet_id_upload_image/post/__init__.pyi | 14 +++++++------- .../paths/store_inventory/get/__init__.py | 12 ++++++------ .../paths/store_inventory/get/__init__.pyi | 12 ++++++------ .../paths/store_order/post/__init__.py | 14 +++++++------- .../paths/store_order/post/__init__.pyi | 14 +++++++------- .../store_order_order_id/delete/__init__.py | 12 ++++++------ .../store_order_order_id/delete/__init__.pyi | 12 ++++++------ .../paths/store_order_order_id/get/__init__.py | 12 ++++++------ .../paths/store_order_order_id/get/__init__.pyi | 12 ++++++------ .../petstore_api/paths/user/post/__init__.py | 14 +++++++------- .../petstore_api/paths/user/post/__init__.pyi | 14 +++++++------- .../user_create_with_array/post/__init__.py | 14 +++++++------- .../user_create_with_array/post/__init__.pyi | 14 +++++++------- .../paths/user_create_with_list/post/__init__.py | 14 +++++++------- .../user_create_with_list/post/__init__.pyi | 14 +++++++------- .../paths/user_login/get/__init__.py | 12 ++++++------ .../paths/user_login/get/__init__.pyi | 12 ++++++------ .../paths/user_logout/get/__init__.py | 12 ++++++------ .../paths/user_logout/get/__init__.pyi | 12 ++++++------ .../paths/user_username/delete/__init__.py | 12 ++++++------ .../paths/user_username/delete/__init__.pyi | 12 ++++++------ .../paths/user_username/get/__init__.py | 12 ++++++------ .../paths/user_username/get/__init__.pyi | 12 ++++++------ .../paths/user_username/put/__init__.py | 14 +++++++------- .../paths/user_username/put/__init__.pyi | 14 +++++++------- 464 files changed, 3038 insertions(+), 3038 deletions(-) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/post/__init__.py index 730e3bd41ce..a202e80d83f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_additionalproperties_allows_a_schema_which_should_validate_request_body_oapg( + def _post_additionalproperties_allows_a_schema_which_should_validate_request_body( self, body: typing.Union[request_body.additionalproperties_allows_a_schema_which_should_validate.AdditionalpropertiesAllowsASchemaWhichShouldValidate,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_additionalproperties_allows_a_schema_which_should_validate_request_bod ]: ... @typing.overload - def _post_additionalproperties_allows_a_schema_which_should_validate_request_body_oapg( + def _post_additionalproperties_allows_a_schema_which_should_validate_request_body( self, body: typing.Union[request_body.additionalproperties_allows_a_schema_which_should_validate.AdditionalpropertiesAllowsASchemaWhichShouldValidate,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_additionalproperties_allows_a_schema_which_should_validate_request_bod @typing.overload - def _post_additionalproperties_allows_a_schema_which_should_validate_request_body_oapg( + def _post_additionalproperties_allows_a_schema_which_should_validate_request_body( self, body: typing.Union[request_body.additionalproperties_allows_a_schema_which_should_validate.AdditionalpropertiesAllowsASchemaWhichShouldValidate,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_additionalproperties_allows_a_schema_which_should_validate_request_bod ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_additionalproperties_allows_a_schema_which_should_validate_request_body_oapg( + def _post_additionalproperties_allows_a_schema_which_should_validate_request_body( self, body: typing.Union[request_body.additionalproperties_allows_a_schema_which_should_validate.AdditionalpropertiesAllowsASchemaWhichShouldValidate,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_additionalproperties_allows_a_schema_which_should_validate_request_bod api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_additionalproperties_allows_a_schema_which_should_validate_request_body_oapg( + def _post_additionalproperties_allows_a_schema_which_should_validate_request_body( self, body: typing.Union[request_body.additionalproperties_allows_a_schema_which_should_validate.AdditionalpropertiesAllowsASchemaWhichShouldValidate,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_additionalproperties_allows_a_schema_which_should_validate_request_body timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_additionalproperties_allows_a_schema_which_should_validate_request_body_oapg( + return self._post_additionalproperties_allows_a_schema_which_should_validate_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_additionalproperties_allows_a_schema_which_should_validate_request_body_oapg( + return self._post_additionalproperties_allows_a_schema_which_should_validate_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/post/__init__.pyi index 02062fd182d..486e211e1f4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_additionalproperties_allows_a_schema_which_should_validate_request_body_oapg( + def _post_additionalproperties_allows_a_schema_which_should_validate_request_body( self, body: typing.Union[request_body.additionalproperties_allows_a_schema_which_should_validate.AdditionalpropertiesAllowsASchemaWhichShouldValidate,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_additionalproperties_allows_a_schema_which_should_validate_request_body_oapg( + def _post_additionalproperties_allows_a_schema_which_should_validate_request_body( self, body: typing.Union[request_body.additionalproperties_allows_a_schema_which_should_validate.AdditionalpropertiesAllowsASchemaWhichShouldValidate,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_additionalproperties_allows_a_schema_which_should_validate_request_body_oapg( + def _post_additionalproperties_allows_a_schema_which_should_validate_request_body( self, body: typing.Union[request_body.additionalproperties_allows_a_schema_which_should_validate.AdditionalpropertiesAllowsASchemaWhichShouldValidate,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_additionalproperties_allows_a_schema_which_should_validate_request_body_oapg( + def _post_additionalproperties_allows_a_schema_which_should_validate_request_body( self, body: typing.Union[request_body.additionalproperties_allows_a_schema_which_should_validate.AdditionalpropertiesAllowsASchemaWhichShouldValidate,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_additionalproperties_allows_a_schema_which_should_validate_request_body_oapg( + def _post_additionalproperties_allows_a_schema_which_should_validate_request_body( self, body: typing.Union[request_body.additionalproperties_allows_a_schema_which_should_validate.AdditionalpropertiesAllowsASchemaWhichShouldValidate,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostAdditionalpropertiesAllowsASchemaWhichShouldValidateRequestBody(BaseAp timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_additionalproperties_allows_a_schema_which_should_validate_request_body_oapg( + return self._post_additionalproperties_allows_a_schema_which_should_validate_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_additionalproperties_allows_a_schema_which_should_validate_request_body_oapg( + return self._post_additionalproperties_allows_a_schema_which_should_validate_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/__init__.py index 82f82cd5c14..c4e9af61445 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_additionalproperties_are_allowed_by_default_request_body_oapg( + def _post_additionalproperties_are_allowed_by_default_request_body( self, body: typing.Union[request_body.additionalproperties_are_allowed_by_default.AdditionalpropertiesAreAllowedByDefault,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_additionalproperties_are_allowed_by_default_request_body_oapg( ]: ... @typing.overload - def _post_additionalproperties_are_allowed_by_default_request_body_oapg( + def _post_additionalproperties_are_allowed_by_default_request_body( self, body: typing.Union[request_body.additionalproperties_are_allowed_by_default.AdditionalpropertiesAreAllowedByDefault,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_additionalproperties_are_allowed_by_default_request_body_oapg( @typing.overload - def _post_additionalproperties_are_allowed_by_default_request_body_oapg( + def _post_additionalproperties_are_allowed_by_default_request_body( self, body: typing.Union[request_body.additionalproperties_are_allowed_by_default.AdditionalpropertiesAreAllowedByDefault,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_additionalproperties_are_allowed_by_default_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_additionalproperties_are_allowed_by_default_request_body_oapg( + def _post_additionalproperties_are_allowed_by_default_request_body( self, body: typing.Union[request_body.additionalproperties_are_allowed_by_default.AdditionalpropertiesAreAllowedByDefault,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_additionalproperties_are_allowed_by_default_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_additionalproperties_are_allowed_by_default_request_body_oapg( + def _post_additionalproperties_are_allowed_by_default_request_body( self, body: typing.Union[request_body.additionalproperties_are_allowed_by_default.AdditionalpropertiesAreAllowedByDefault,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_additionalproperties_are_allowed_by_default_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_additionalproperties_are_allowed_by_default_request_body_oapg( + return self._post_additionalproperties_are_allowed_by_default_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_additionalproperties_are_allowed_by_default_request_body_oapg( + return self._post_additionalproperties_are_allowed_by_default_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/__init__.pyi index 93ea7151432..f5a5ea7f7c4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_additionalproperties_are_allowed_by_default_request_body_oapg( + def _post_additionalproperties_are_allowed_by_default_request_body( self, body: typing.Union[request_body.additionalproperties_are_allowed_by_default.AdditionalpropertiesAreAllowedByDefault,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_additionalproperties_are_allowed_by_default_request_body_oapg( + def _post_additionalproperties_are_allowed_by_default_request_body( self, body: typing.Union[request_body.additionalproperties_are_allowed_by_default.AdditionalpropertiesAreAllowedByDefault,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_additionalproperties_are_allowed_by_default_request_body_oapg( + def _post_additionalproperties_are_allowed_by_default_request_body( self, body: typing.Union[request_body.additionalproperties_are_allowed_by_default.AdditionalpropertiesAreAllowedByDefault,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_additionalproperties_are_allowed_by_default_request_body_oapg( + def _post_additionalproperties_are_allowed_by_default_request_body( self, body: typing.Union[request_body.additionalproperties_are_allowed_by_default.AdditionalpropertiesAreAllowedByDefault,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_additionalproperties_are_allowed_by_default_request_body_oapg( + def _post_additionalproperties_are_allowed_by_default_request_body( self, body: typing.Union[request_body.additionalproperties_are_allowed_by_default.AdditionalpropertiesAreAllowedByDefault,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostAdditionalpropertiesAreAllowedByDefaultRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_additionalproperties_are_allowed_by_default_request_body_oapg( + return self._post_additionalproperties_are_allowed_by_default_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_additionalproperties_are_allowed_by_default_request_body_oapg( + return self._post_additionalproperties_are_allowed_by_default_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/__init__.py index 6e6962e035f..d491764f6a8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_additionalproperties_can_exist_by_itself_request_body_oapg( + def _post_additionalproperties_can_exist_by_itself_request_body( self, body: typing.Union[request_body.additionalproperties_can_exist_by_itself.AdditionalpropertiesCanExistByItself,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_additionalproperties_can_exist_by_itself_request_body_oapg( ]: ... @typing.overload - def _post_additionalproperties_can_exist_by_itself_request_body_oapg( + def _post_additionalproperties_can_exist_by_itself_request_body( self, body: typing.Union[request_body.additionalproperties_can_exist_by_itself.AdditionalpropertiesCanExistByItself,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_additionalproperties_can_exist_by_itself_request_body_oapg( @typing.overload - def _post_additionalproperties_can_exist_by_itself_request_body_oapg( + def _post_additionalproperties_can_exist_by_itself_request_body( self, body: typing.Union[request_body.additionalproperties_can_exist_by_itself.AdditionalpropertiesCanExistByItself,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_additionalproperties_can_exist_by_itself_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_additionalproperties_can_exist_by_itself_request_body_oapg( + def _post_additionalproperties_can_exist_by_itself_request_body( self, body: typing.Union[request_body.additionalproperties_can_exist_by_itself.AdditionalpropertiesCanExistByItself,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_additionalproperties_can_exist_by_itself_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_additionalproperties_can_exist_by_itself_request_body_oapg( + def _post_additionalproperties_can_exist_by_itself_request_body( self, body: typing.Union[request_body.additionalproperties_can_exist_by_itself.AdditionalpropertiesCanExistByItself,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_additionalproperties_can_exist_by_itself_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_additionalproperties_can_exist_by_itself_request_body_oapg( + return self._post_additionalproperties_can_exist_by_itself_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_additionalproperties_can_exist_by_itself_request_body_oapg( + return self._post_additionalproperties_can_exist_by_itself_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/__init__.pyi index e971435d136..f86e1024158 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_additionalproperties_can_exist_by_itself_request_body_oapg( + def _post_additionalproperties_can_exist_by_itself_request_body( self, body: typing.Union[request_body.additionalproperties_can_exist_by_itself.AdditionalpropertiesCanExistByItself,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_additionalproperties_can_exist_by_itself_request_body_oapg( + def _post_additionalproperties_can_exist_by_itself_request_body( self, body: typing.Union[request_body.additionalproperties_can_exist_by_itself.AdditionalpropertiesCanExistByItself,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_additionalproperties_can_exist_by_itself_request_body_oapg( + def _post_additionalproperties_can_exist_by_itself_request_body( self, body: typing.Union[request_body.additionalproperties_can_exist_by_itself.AdditionalpropertiesCanExistByItself,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_additionalproperties_can_exist_by_itself_request_body_oapg( + def _post_additionalproperties_can_exist_by_itself_request_body( self, body: typing.Union[request_body.additionalproperties_can_exist_by_itself.AdditionalpropertiesCanExistByItself,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_additionalproperties_can_exist_by_itself_request_body_oapg( + def _post_additionalproperties_can_exist_by_itself_request_body( self, body: typing.Union[request_body.additionalproperties_can_exist_by_itself.AdditionalpropertiesCanExistByItself,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostAdditionalpropertiesCanExistByItselfRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_additionalproperties_can_exist_by_itself_request_body_oapg( + return self._post_additionalproperties_can_exist_by_itself_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_additionalproperties_can_exist_by_itself_request_body_oapg( + return self._post_additionalproperties_can_exist_by_itself_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_should_not_look_in_applicators_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_should_not_look_in_applicators_request_body/post/__init__.py index aa817b42ca7..3300dc8c304 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_should_not_look_in_applicators_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_should_not_look_in_applicators_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_additionalproperties_should_not_look_in_applicators_request_body_oapg( + def _post_additionalproperties_should_not_look_in_applicators_request_body( self, body: typing.Union[request_body.additionalproperties_should_not_look_in_applicators.AdditionalpropertiesShouldNotLookInApplicators,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_additionalproperties_should_not_look_in_applicators_request_body_oapg( ]: ... @typing.overload - def _post_additionalproperties_should_not_look_in_applicators_request_body_oapg( + def _post_additionalproperties_should_not_look_in_applicators_request_body( self, body: typing.Union[request_body.additionalproperties_should_not_look_in_applicators.AdditionalpropertiesShouldNotLookInApplicators,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_additionalproperties_should_not_look_in_applicators_request_body_oapg( @typing.overload - def _post_additionalproperties_should_not_look_in_applicators_request_body_oapg( + def _post_additionalproperties_should_not_look_in_applicators_request_body( self, body: typing.Union[request_body.additionalproperties_should_not_look_in_applicators.AdditionalpropertiesShouldNotLookInApplicators,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_additionalproperties_should_not_look_in_applicators_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_additionalproperties_should_not_look_in_applicators_request_body_oapg( + def _post_additionalproperties_should_not_look_in_applicators_request_body( self, body: typing.Union[request_body.additionalproperties_should_not_look_in_applicators.AdditionalpropertiesShouldNotLookInApplicators,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_additionalproperties_should_not_look_in_applicators_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_additionalproperties_should_not_look_in_applicators_request_body_oapg( + def _post_additionalproperties_should_not_look_in_applicators_request_body( self, body: typing.Union[request_body.additionalproperties_should_not_look_in_applicators.AdditionalpropertiesShouldNotLookInApplicators,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_additionalproperties_should_not_look_in_applicators_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_additionalproperties_should_not_look_in_applicators_request_body_oapg( + return self._post_additionalproperties_should_not_look_in_applicators_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_additionalproperties_should_not_look_in_applicators_request_body_oapg( + return self._post_additionalproperties_should_not_look_in_applicators_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_should_not_look_in_applicators_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_should_not_look_in_applicators_request_body/post/__init__.pyi index 46820b2a55f..45adc7bb621 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_should_not_look_in_applicators_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_should_not_look_in_applicators_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_additionalproperties_should_not_look_in_applicators_request_body_oapg( + def _post_additionalproperties_should_not_look_in_applicators_request_body( self, body: typing.Union[request_body.additionalproperties_should_not_look_in_applicators.AdditionalpropertiesShouldNotLookInApplicators,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_additionalproperties_should_not_look_in_applicators_request_body_oapg( + def _post_additionalproperties_should_not_look_in_applicators_request_body( self, body: typing.Union[request_body.additionalproperties_should_not_look_in_applicators.AdditionalpropertiesShouldNotLookInApplicators,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_additionalproperties_should_not_look_in_applicators_request_body_oapg( + def _post_additionalproperties_should_not_look_in_applicators_request_body( self, body: typing.Union[request_body.additionalproperties_should_not_look_in_applicators.AdditionalpropertiesShouldNotLookInApplicators,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_additionalproperties_should_not_look_in_applicators_request_body_oapg( + def _post_additionalproperties_should_not_look_in_applicators_request_body( self, body: typing.Union[request_body.additionalproperties_should_not_look_in_applicators.AdditionalpropertiesShouldNotLookInApplicators,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_additionalproperties_should_not_look_in_applicators_request_body_oapg( + def _post_additionalproperties_should_not_look_in_applicators_request_body( self, body: typing.Union[request_body.additionalproperties_should_not_look_in_applicators.AdditionalpropertiesShouldNotLookInApplicators,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostAdditionalpropertiesShouldNotLookInApplicatorsRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_additionalproperties_should_not_look_in_applicators_request_body_oapg( + return self._post_additionalproperties_should_not_look_in_applicators_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_additionalproperties_should_not_look_in_applicators_request_body_oapg( + return self._post_additionalproperties_should_not_look_in_applicators_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/__init__.py index ebc0341fc8d..88117676a89 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_allof_combined_with_anyof_oneof_request_body_oapg( + def _post_allof_combined_with_anyof_oneof_request_body( self, body: typing.Union[request_body.allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_allof_combined_with_anyof_oneof_request_body_oapg( ]: ... @typing.overload - def _post_allof_combined_with_anyof_oneof_request_body_oapg( + def _post_allof_combined_with_anyof_oneof_request_body( self, body: typing.Union[request_body.allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_allof_combined_with_anyof_oneof_request_body_oapg( @typing.overload - def _post_allof_combined_with_anyof_oneof_request_body_oapg( + def _post_allof_combined_with_anyof_oneof_request_body( self, body: typing.Union[request_body.allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_allof_combined_with_anyof_oneof_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_allof_combined_with_anyof_oneof_request_body_oapg( + def _post_allof_combined_with_anyof_oneof_request_body( self, body: typing.Union[request_body.allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_allof_combined_with_anyof_oneof_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_allof_combined_with_anyof_oneof_request_body_oapg( + def _post_allof_combined_with_anyof_oneof_request_body( self, body: typing.Union[request_body.allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_allof_combined_with_anyof_oneof_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_combined_with_anyof_oneof_request_body_oapg( + return self._post_allof_combined_with_anyof_oneof_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_combined_with_anyof_oneof_request_body_oapg( + return self._post_allof_combined_with_anyof_oneof_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/__init__.pyi index 8f6631f5bd7..8f73dcd299b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_allof_combined_with_anyof_oneof_request_body_oapg( + def _post_allof_combined_with_anyof_oneof_request_body( self, body: typing.Union[request_body.allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_allof_combined_with_anyof_oneof_request_body_oapg( + def _post_allof_combined_with_anyof_oneof_request_body( self, body: typing.Union[request_body.allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_allof_combined_with_anyof_oneof_request_body_oapg( + def _post_allof_combined_with_anyof_oneof_request_body( self, body: typing.Union[request_body.allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_allof_combined_with_anyof_oneof_request_body_oapg( + def _post_allof_combined_with_anyof_oneof_request_body( self, body: typing.Union[request_body.allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_allof_combined_with_anyof_oneof_request_body_oapg( + def _post_allof_combined_with_anyof_oneof_request_body( self, body: typing.Union[request_body.allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostAllofCombinedWithAnyofOneofRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_combined_with_anyof_oneof_request_body_oapg( + return self._post_allof_combined_with_anyof_oneof_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_combined_with_anyof_oneof_request_body_oapg( + return self._post_allof_combined_with_anyof_oneof_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_request_body/post/__init__.py index b5a7a0033c1..f940564df86 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_allof_request_body_oapg( + def _post_allof_request_body( self, body: typing.Union[request_body.allof.Allof,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_allof_request_body_oapg( ]: ... @typing.overload - def _post_allof_request_body_oapg( + def _post_allof_request_body( self, body: typing.Union[request_body.allof.Allof,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_allof_request_body_oapg( @typing.overload - def _post_allof_request_body_oapg( + def _post_allof_request_body( self, body: typing.Union[request_body.allof.Allof,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_allof_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_allof_request_body_oapg( + def _post_allof_request_body( self, body: typing.Union[request_body.allof.Allof,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_allof_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_allof_request_body_oapg( + def _post_allof_request_body( self, body: typing.Union[request_body.allof.Allof,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_allof_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_request_body_oapg( + return self._post_allof_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_request_body_oapg( + return self._post_allof_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_request_body/post/__init__.pyi index 1213eeca113..7fcbc34627a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_allof_request_body_oapg( + def _post_allof_request_body( self, body: typing.Union[request_body.allof.Allof,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_allof_request_body_oapg( + def _post_allof_request_body( self, body: typing.Union[request_body.allof.Allof,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_allof_request_body_oapg( + def _post_allof_request_body( self, body: typing.Union[request_body.allof.Allof,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_allof_request_body_oapg( + def _post_allof_request_body( self, body: typing.Union[request_body.allof.Allof,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_allof_request_body_oapg( + def _post_allof_request_body( self, body: typing.Union[request_body.allof.Allof,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostAllofRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_request_body_oapg( + return self._post_allof_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_request_body_oapg( + return self._post_allof_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/__init__.py index 818cd3d9304..596dc0c9491 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_allof_simple_types_request_body_oapg( + def _post_allof_simple_types_request_body( self, body: typing.Union[request_body.allof_simple_types.AllofSimpleTypes,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_allof_simple_types_request_body_oapg( ]: ... @typing.overload - def _post_allof_simple_types_request_body_oapg( + def _post_allof_simple_types_request_body( self, body: typing.Union[request_body.allof_simple_types.AllofSimpleTypes,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_allof_simple_types_request_body_oapg( @typing.overload - def _post_allof_simple_types_request_body_oapg( + def _post_allof_simple_types_request_body( self, body: typing.Union[request_body.allof_simple_types.AllofSimpleTypes,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_allof_simple_types_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_allof_simple_types_request_body_oapg( + def _post_allof_simple_types_request_body( self, body: typing.Union[request_body.allof_simple_types.AllofSimpleTypes,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_allof_simple_types_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_allof_simple_types_request_body_oapg( + def _post_allof_simple_types_request_body( self, body: typing.Union[request_body.allof_simple_types.AllofSimpleTypes,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_allof_simple_types_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_simple_types_request_body_oapg( + return self._post_allof_simple_types_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_simple_types_request_body_oapg( + return self._post_allof_simple_types_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/__init__.pyi index c8d1153f1f0..b33e4e72ad8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_allof_simple_types_request_body_oapg( + def _post_allof_simple_types_request_body( self, body: typing.Union[request_body.allof_simple_types.AllofSimpleTypes,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_allof_simple_types_request_body_oapg( + def _post_allof_simple_types_request_body( self, body: typing.Union[request_body.allof_simple_types.AllofSimpleTypes,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_allof_simple_types_request_body_oapg( + def _post_allof_simple_types_request_body( self, body: typing.Union[request_body.allof_simple_types.AllofSimpleTypes,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_allof_simple_types_request_body_oapg( + def _post_allof_simple_types_request_body( self, body: typing.Union[request_body.allof_simple_types.AllofSimpleTypes,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_allof_simple_types_request_body_oapg( + def _post_allof_simple_types_request_body( self, body: typing.Union[request_body.allof_simple_types.AllofSimpleTypes,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostAllofSimpleTypesRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_simple_types_request_body_oapg( + return self._post_allof_simple_types_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_simple_types_request_body_oapg( + return self._post_allof_simple_types_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/__init__.py index fe9006fff21..6df376ef8bb 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_allof_with_base_schema_request_body_oapg( + def _post_allof_with_base_schema_request_body( self, body: typing.Union[request_body.allof_with_base_schema.AllofWithBaseSchema,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_allof_with_base_schema_request_body_oapg( ]: ... @typing.overload - def _post_allof_with_base_schema_request_body_oapg( + def _post_allof_with_base_schema_request_body( self, body: typing.Union[request_body.allof_with_base_schema.AllofWithBaseSchema,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_allof_with_base_schema_request_body_oapg( @typing.overload - def _post_allof_with_base_schema_request_body_oapg( + def _post_allof_with_base_schema_request_body( self, body: typing.Union[request_body.allof_with_base_schema.AllofWithBaseSchema,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_allof_with_base_schema_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_allof_with_base_schema_request_body_oapg( + def _post_allof_with_base_schema_request_body( self, body: typing.Union[request_body.allof_with_base_schema.AllofWithBaseSchema,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_allof_with_base_schema_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_allof_with_base_schema_request_body_oapg( + def _post_allof_with_base_schema_request_body( self, body: typing.Union[request_body.allof_with_base_schema.AllofWithBaseSchema,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_allof_with_base_schema_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_with_base_schema_request_body_oapg( + return self._post_allof_with_base_schema_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_with_base_schema_request_body_oapg( + return self._post_allof_with_base_schema_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/__init__.pyi index 8f5f032bf35..7f50fa51770 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_allof_with_base_schema_request_body_oapg( + def _post_allof_with_base_schema_request_body( self, body: typing.Union[request_body.allof_with_base_schema.AllofWithBaseSchema,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_allof_with_base_schema_request_body_oapg( + def _post_allof_with_base_schema_request_body( self, body: typing.Union[request_body.allof_with_base_schema.AllofWithBaseSchema,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_allof_with_base_schema_request_body_oapg( + def _post_allof_with_base_schema_request_body( self, body: typing.Union[request_body.allof_with_base_schema.AllofWithBaseSchema,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_allof_with_base_schema_request_body_oapg( + def _post_allof_with_base_schema_request_body( self, body: typing.Union[request_body.allof_with_base_schema.AllofWithBaseSchema,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_allof_with_base_schema_request_body_oapg( + def _post_allof_with_base_schema_request_body( self, body: typing.Union[request_body.allof_with_base_schema.AllofWithBaseSchema,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostAllofWithBaseSchemaRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_with_base_schema_request_body_oapg( + return self._post_allof_with_base_schema_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_with_base_schema_request_body_oapg( + return self._post_allof_with_base_schema_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/__init__.py index 5fef1e42d33..71e87246a73 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_allof_with_one_empty_schema_request_body_oapg( + def _post_allof_with_one_empty_schema_request_body( self, body: typing.Union[request_body.allof_with_one_empty_schema.AllofWithOneEmptySchema,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_allof_with_one_empty_schema_request_body_oapg( ]: ... @typing.overload - def _post_allof_with_one_empty_schema_request_body_oapg( + def _post_allof_with_one_empty_schema_request_body( self, body: typing.Union[request_body.allof_with_one_empty_schema.AllofWithOneEmptySchema,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_allof_with_one_empty_schema_request_body_oapg( @typing.overload - def _post_allof_with_one_empty_schema_request_body_oapg( + def _post_allof_with_one_empty_schema_request_body( self, body: typing.Union[request_body.allof_with_one_empty_schema.AllofWithOneEmptySchema,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_allof_with_one_empty_schema_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_allof_with_one_empty_schema_request_body_oapg( + def _post_allof_with_one_empty_schema_request_body( self, body: typing.Union[request_body.allof_with_one_empty_schema.AllofWithOneEmptySchema,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_allof_with_one_empty_schema_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_allof_with_one_empty_schema_request_body_oapg( + def _post_allof_with_one_empty_schema_request_body( self, body: typing.Union[request_body.allof_with_one_empty_schema.AllofWithOneEmptySchema,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_allof_with_one_empty_schema_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_with_one_empty_schema_request_body_oapg( + return self._post_allof_with_one_empty_schema_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_with_one_empty_schema_request_body_oapg( + return self._post_allof_with_one_empty_schema_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/__init__.pyi index 82f33fd3fc6..135c8d6a4d3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_allof_with_one_empty_schema_request_body_oapg( + def _post_allof_with_one_empty_schema_request_body( self, body: typing.Union[request_body.allof_with_one_empty_schema.AllofWithOneEmptySchema,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_allof_with_one_empty_schema_request_body_oapg( + def _post_allof_with_one_empty_schema_request_body( self, body: typing.Union[request_body.allof_with_one_empty_schema.AllofWithOneEmptySchema,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_allof_with_one_empty_schema_request_body_oapg( + def _post_allof_with_one_empty_schema_request_body( self, body: typing.Union[request_body.allof_with_one_empty_schema.AllofWithOneEmptySchema,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_allof_with_one_empty_schema_request_body_oapg( + def _post_allof_with_one_empty_schema_request_body( self, body: typing.Union[request_body.allof_with_one_empty_schema.AllofWithOneEmptySchema,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_allof_with_one_empty_schema_request_body_oapg( + def _post_allof_with_one_empty_schema_request_body( self, body: typing.Union[request_body.allof_with_one_empty_schema.AllofWithOneEmptySchema,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostAllofWithOneEmptySchemaRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_with_one_empty_schema_request_body_oapg( + return self._post_allof_with_one_empty_schema_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_with_one_empty_schema_request_body_oapg( + return self._post_allof_with_one_empty_schema_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/__init__.py index f7f9029360f..a3dac311a6b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_allof_with_the_first_empty_schema_request_body_oapg( + def _post_allof_with_the_first_empty_schema_request_body( self, body: typing.Union[request_body.allof_with_the_first_empty_schema.AllofWithTheFirstEmptySchema,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_allof_with_the_first_empty_schema_request_body_oapg( ]: ... @typing.overload - def _post_allof_with_the_first_empty_schema_request_body_oapg( + def _post_allof_with_the_first_empty_schema_request_body( self, body: typing.Union[request_body.allof_with_the_first_empty_schema.AllofWithTheFirstEmptySchema,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_allof_with_the_first_empty_schema_request_body_oapg( @typing.overload - def _post_allof_with_the_first_empty_schema_request_body_oapg( + def _post_allof_with_the_first_empty_schema_request_body( self, body: typing.Union[request_body.allof_with_the_first_empty_schema.AllofWithTheFirstEmptySchema,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_allof_with_the_first_empty_schema_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_allof_with_the_first_empty_schema_request_body_oapg( + def _post_allof_with_the_first_empty_schema_request_body( self, body: typing.Union[request_body.allof_with_the_first_empty_schema.AllofWithTheFirstEmptySchema,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_allof_with_the_first_empty_schema_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_allof_with_the_first_empty_schema_request_body_oapg( + def _post_allof_with_the_first_empty_schema_request_body( self, body: typing.Union[request_body.allof_with_the_first_empty_schema.AllofWithTheFirstEmptySchema,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_allof_with_the_first_empty_schema_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_with_the_first_empty_schema_request_body_oapg( + return self._post_allof_with_the_first_empty_schema_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_with_the_first_empty_schema_request_body_oapg( + return self._post_allof_with_the_first_empty_schema_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/__init__.pyi index 08acdd75d93..de77cdb111f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_allof_with_the_first_empty_schema_request_body_oapg( + def _post_allof_with_the_first_empty_schema_request_body( self, body: typing.Union[request_body.allof_with_the_first_empty_schema.AllofWithTheFirstEmptySchema,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_allof_with_the_first_empty_schema_request_body_oapg( + def _post_allof_with_the_first_empty_schema_request_body( self, body: typing.Union[request_body.allof_with_the_first_empty_schema.AllofWithTheFirstEmptySchema,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_allof_with_the_first_empty_schema_request_body_oapg( + def _post_allof_with_the_first_empty_schema_request_body( self, body: typing.Union[request_body.allof_with_the_first_empty_schema.AllofWithTheFirstEmptySchema,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_allof_with_the_first_empty_schema_request_body_oapg( + def _post_allof_with_the_first_empty_schema_request_body( self, body: typing.Union[request_body.allof_with_the_first_empty_schema.AllofWithTheFirstEmptySchema,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_allof_with_the_first_empty_schema_request_body_oapg( + def _post_allof_with_the_first_empty_schema_request_body( self, body: typing.Union[request_body.allof_with_the_first_empty_schema.AllofWithTheFirstEmptySchema,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostAllofWithTheFirstEmptySchemaRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_with_the_first_empty_schema_request_body_oapg( + return self._post_allof_with_the_first_empty_schema_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_with_the_first_empty_schema_request_body_oapg( + return self._post_allof_with_the_first_empty_schema_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/__init__.py index 165e320cac7..6c4c260fcaf 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_allof_with_the_last_empty_schema_request_body_oapg( + def _post_allof_with_the_last_empty_schema_request_body( self, body: typing.Union[request_body.allof_with_the_last_empty_schema.AllofWithTheLastEmptySchema,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_allof_with_the_last_empty_schema_request_body_oapg( ]: ... @typing.overload - def _post_allof_with_the_last_empty_schema_request_body_oapg( + def _post_allof_with_the_last_empty_schema_request_body( self, body: typing.Union[request_body.allof_with_the_last_empty_schema.AllofWithTheLastEmptySchema,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_allof_with_the_last_empty_schema_request_body_oapg( @typing.overload - def _post_allof_with_the_last_empty_schema_request_body_oapg( + def _post_allof_with_the_last_empty_schema_request_body( self, body: typing.Union[request_body.allof_with_the_last_empty_schema.AllofWithTheLastEmptySchema,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_allof_with_the_last_empty_schema_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_allof_with_the_last_empty_schema_request_body_oapg( + def _post_allof_with_the_last_empty_schema_request_body( self, body: typing.Union[request_body.allof_with_the_last_empty_schema.AllofWithTheLastEmptySchema,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_allof_with_the_last_empty_schema_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_allof_with_the_last_empty_schema_request_body_oapg( + def _post_allof_with_the_last_empty_schema_request_body( self, body: typing.Union[request_body.allof_with_the_last_empty_schema.AllofWithTheLastEmptySchema,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_allof_with_the_last_empty_schema_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_with_the_last_empty_schema_request_body_oapg( + return self._post_allof_with_the_last_empty_schema_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_with_the_last_empty_schema_request_body_oapg( + return self._post_allof_with_the_last_empty_schema_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/__init__.pyi index 19a2cf7069d..dee8cdd4fda 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_allof_with_the_last_empty_schema_request_body_oapg( + def _post_allof_with_the_last_empty_schema_request_body( self, body: typing.Union[request_body.allof_with_the_last_empty_schema.AllofWithTheLastEmptySchema,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_allof_with_the_last_empty_schema_request_body_oapg( + def _post_allof_with_the_last_empty_schema_request_body( self, body: typing.Union[request_body.allof_with_the_last_empty_schema.AllofWithTheLastEmptySchema,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_allof_with_the_last_empty_schema_request_body_oapg( + def _post_allof_with_the_last_empty_schema_request_body( self, body: typing.Union[request_body.allof_with_the_last_empty_schema.AllofWithTheLastEmptySchema,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_allof_with_the_last_empty_schema_request_body_oapg( + def _post_allof_with_the_last_empty_schema_request_body( self, body: typing.Union[request_body.allof_with_the_last_empty_schema.AllofWithTheLastEmptySchema,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_allof_with_the_last_empty_schema_request_body_oapg( + def _post_allof_with_the_last_empty_schema_request_body( self, body: typing.Union[request_body.allof_with_the_last_empty_schema.AllofWithTheLastEmptySchema,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostAllofWithTheLastEmptySchemaRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_with_the_last_empty_schema_request_body_oapg( + return self._post_allof_with_the_last_empty_schema_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_with_the_last_empty_schema_request_body_oapg( + return self._post_allof_with_the_last_empty_schema_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/__init__.py index aa82d774ef9..a5ffda27028 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_allof_with_two_empty_schemas_request_body_oapg( + def _post_allof_with_two_empty_schemas_request_body( self, body: typing.Union[request_body.allof_with_two_empty_schemas.AllofWithTwoEmptySchemas,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_allof_with_two_empty_schemas_request_body_oapg( ]: ... @typing.overload - def _post_allof_with_two_empty_schemas_request_body_oapg( + def _post_allof_with_two_empty_schemas_request_body( self, body: typing.Union[request_body.allof_with_two_empty_schemas.AllofWithTwoEmptySchemas,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_allof_with_two_empty_schemas_request_body_oapg( @typing.overload - def _post_allof_with_two_empty_schemas_request_body_oapg( + def _post_allof_with_two_empty_schemas_request_body( self, body: typing.Union[request_body.allof_with_two_empty_schemas.AllofWithTwoEmptySchemas,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_allof_with_two_empty_schemas_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_allof_with_two_empty_schemas_request_body_oapg( + def _post_allof_with_two_empty_schemas_request_body( self, body: typing.Union[request_body.allof_with_two_empty_schemas.AllofWithTwoEmptySchemas,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_allof_with_two_empty_schemas_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_allof_with_two_empty_schemas_request_body_oapg( + def _post_allof_with_two_empty_schemas_request_body( self, body: typing.Union[request_body.allof_with_two_empty_schemas.AllofWithTwoEmptySchemas,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_allof_with_two_empty_schemas_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_with_two_empty_schemas_request_body_oapg( + return self._post_allof_with_two_empty_schemas_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_with_two_empty_schemas_request_body_oapg( + return self._post_allof_with_two_empty_schemas_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/__init__.pyi index 0e72a4d60ca..ace55a10109 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_allof_with_two_empty_schemas_request_body_oapg( + def _post_allof_with_two_empty_schemas_request_body( self, body: typing.Union[request_body.allof_with_two_empty_schemas.AllofWithTwoEmptySchemas,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_allof_with_two_empty_schemas_request_body_oapg( + def _post_allof_with_two_empty_schemas_request_body( self, body: typing.Union[request_body.allof_with_two_empty_schemas.AllofWithTwoEmptySchemas,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_allof_with_two_empty_schemas_request_body_oapg( + def _post_allof_with_two_empty_schemas_request_body( self, body: typing.Union[request_body.allof_with_two_empty_schemas.AllofWithTwoEmptySchemas,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_allof_with_two_empty_schemas_request_body_oapg( + def _post_allof_with_two_empty_schemas_request_body( self, body: typing.Union[request_body.allof_with_two_empty_schemas.AllofWithTwoEmptySchemas,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_allof_with_two_empty_schemas_request_body_oapg( + def _post_allof_with_two_empty_schemas_request_body( self, body: typing.Union[request_body.allof_with_two_empty_schemas.AllofWithTwoEmptySchemas,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostAllofWithTwoEmptySchemasRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_with_two_empty_schemas_request_body_oapg( + return self._post_allof_with_two_empty_schemas_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_with_two_empty_schemas_request_body_oapg( + return self._post_allof_with_two_empty_schemas_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/__init__.py index 89b5b458578..78b9a8d0e96 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_anyof_complex_types_request_body_oapg( + def _post_anyof_complex_types_request_body( self, body: typing.Union[request_body.anyof_complex_types.AnyofComplexTypes,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_anyof_complex_types_request_body_oapg( ]: ... @typing.overload - def _post_anyof_complex_types_request_body_oapg( + def _post_anyof_complex_types_request_body( self, body: typing.Union[request_body.anyof_complex_types.AnyofComplexTypes,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_anyof_complex_types_request_body_oapg( @typing.overload - def _post_anyof_complex_types_request_body_oapg( + def _post_anyof_complex_types_request_body( self, body: typing.Union[request_body.anyof_complex_types.AnyofComplexTypes,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_anyof_complex_types_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_anyof_complex_types_request_body_oapg( + def _post_anyof_complex_types_request_body( self, body: typing.Union[request_body.anyof_complex_types.AnyofComplexTypes,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_anyof_complex_types_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_anyof_complex_types_request_body_oapg( + def _post_anyof_complex_types_request_body( self, body: typing.Union[request_body.anyof_complex_types.AnyofComplexTypes,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_anyof_complex_types_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_anyof_complex_types_request_body_oapg( + return self._post_anyof_complex_types_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_anyof_complex_types_request_body_oapg( + return self._post_anyof_complex_types_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/__init__.pyi index e5a684a4ee8..888b14f5110 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_anyof_complex_types_request_body_oapg( + def _post_anyof_complex_types_request_body( self, body: typing.Union[request_body.anyof_complex_types.AnyofComplexTypes,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_anyof_complex_types_request_body_oapg( + def _post_anyof_complex_types_request_body( self, body: typing.Union[request_body.anyof_complex_types.AnyofComplexTypes,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_anyof_complex_types_request_body_oapg( + def _post_anyof_complex_types_request_body( self, body: typing.Union[request_body.anyof_complex_types.AnyofComplexTypes,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_anyof_complex_types_request_body_oapg( + def _post_anyof_complex_types_request_body( self, body: typing.Union[request_body.anyof_complex_types.AnyofComplexTypes,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_anyof_complex_types_request_body_oapg( + def _post_anyof_complex_types_request_body( self, body: typing.Union[request_body.anyof_complex_types.AnyofComplexTypes,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostAnyofComplexTypesRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_anyof_complex_types_request_body_oapg( + return self._post_anyof_complex_types_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_anyof_complex_types_request_body_oapg( + return self._post_anyof_complex_types_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_request_body/post/__init__.py index b1397a1c96f..f24f6105f25 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_anyof_request_body_oapg( + def _post_anyof_request_body( self, body: typing.Union[request_body.anyof.Anyof,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_anyof_request_body_oapg( ]: ... @typing.overload - def _post_anyof_request_body_oapg( + def _post_anyof_request_body( self, body: typing.Union[request_body.anyof.Anyof,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_anyof_request_body_oapg( @typing.overload - def _post_anyof_request_body_oapg( + def _post_anyof_request_body( self, body: typing.Union[request_body.anyof.Anyof,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_anyof_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_anyof_request_body_oapg( + def _post_anyof_request_body( self, body: typing.Union[request_body.anyof.Anyof,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_anyof_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_anyof_request_body_oapg( + def _post_anyof_request_body( self, body: typing.Union[request_body.anyof.Anyof,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_anyof_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_anyof_request_body_oapg( + return self._post_anyof_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_anyof_request_body_oapg( + return self._post_anyof_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_request_body/post/__init__.pyi index 0b033ca2259..e78f5265131 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_anyof_request_body_oapg( + def _post_anyof_request_body( self, body: typing.Union[request_body.anyof.Anyof,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_anyof_request_body_oapg( + def _post_anyof_request_body( self, body: typing.Union[request_body.anyof.Anyof,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_anyof_request_body_oapg( + def _post_anyof_request_body( self, body: typing.Union[request_body.anyof.Anyof,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_anyof_request_body_oapg( + def _post_anyof_request_body( self, body: typing.Union[request_body.anyof.Anyof,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_anyof_request_body_oapg( + def _post_anyof_request_body( self, body: typing.Union[request_body.anyof.Anyof,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostAnyofRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_anyof_request_body_oapg( + return self._post_anyof_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_anyof_request_body_oapg( + return self._post_anyof_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/__init__.py index fce00ca549e..02a0495a6c6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_anyof_with_base_schema_request_body_oapg( + def _post_anyof_with_base_schema_request_body( self, body: typing.Union[request_body.anyof_with_base_schema.AnyofWithBaseSchema,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_anyof_with_base_schema_request_body_oapg( ]: ... @typing.overload - def _post_anyof_with_base_schema_request_body_oapg( + def _post_anyof_with_base_schema_request_body( self, body: typing.Union[request_body.anyof_with_base_schema.AnyofWithBaseSchema,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_anyof_with_base_schema_request_body_oapg( @typing.overload - def _post_anyof_with_base_schema_request_body_oapg( + def _post_anyof_with_base_schema_request_body( self, body: typing.Union[request_body.anyof_with_base_schema.AnyofWithBaseSchema,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_anyof_with_base_schema_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_anyof_with_base_schema_request_body_oapg( + def _post_anyof_with_base_schema_request_body( self, body: typing.Union[request_body.anyof_with_base_schema.AnyofWithBaseSchema,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_anyof_with_base_schema_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_anyof_with_base_schema_request_body_oapg( + def _post_anyof_with_base_schema_request_body( self, body: typing.Union[request_body.anyof_with_base_schema.AnyofWithBaseSchema,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_anyof_with_base_schema_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_anyof_with_base_schema_request_body_oapg( + return self._post_anyof_with_base_schema_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_anyof_with_base_schema_request_body_oapg( + return self._post_anyof_with_base_schema_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/__init__.pyi index cb83cc394bc..a748bd76f0e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_anyof_with_base_schema_request_body_oapg( + def _post_anyof_with_base_schema_request_body( self, body: typing.Union[request_body.anyof_with_base_schema.AnyofWithBaseSchema,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_anyof_with_base_schema_request_body_oapg( + def _post_anyof_with_base_schema_request_body( self, body: typing.Union[request_body.anyof_with_base_schema.AnyofWithBaseSchema,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_anyof_with_base_schema_request_body_oapg( + def _post_anyof_with_base_schema_request_body( self, body: typing.Union[request_body.anyof_with_base_schema.AnyofWithBaseSchema,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_anyof_with_base_schema_request_body_oapg( + def _post_anyof_with_base_schema_request_body( self, body: typing.Union[request_body.anyof_with_base_schema.AnyofWithBaseSchema,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_anyof_with_base_schema_request_body_oapg( + def _post_anyof_with_base_schema_request_body( self, body: typing.Union[request_body.anyof_with_base_schema.AnyofWithBaseSchema,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostAnyofWithBaseSchemaRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_anyof_with_base_schema_request_body_oapg( + return self._post_anyof_with_base_schema_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_anyof_with_base_schema_request_body_oapg( + return self._post_anyof_with_base_schema_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/__init__.py index 42964b186b7..4707b1a3e1a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_anyof_with_one_empty_schema_request_body_oapg( + def _post_anyof_with_one_empty_schema_request_body( self, body: typing.Union[request_body.anyof_with_one_empty_schema.AnyofWithOneEmptySchema,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_anyof_with_one_empty_schema_request_body_oapg( ]: ... @typing.overload - def _post_anyof_with_one_empty_schema_request_body_oapg( + def _post_anyof_with_one_empty_schema_request_body( self, body: typing.Union[request_body.anyof_with_one_empty_schema.AnyofWithOneEmptySchema,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_anyof_with_one_empty_schema_request_body_oapg( @typing.overload - def _post_anyof_with_one_empty_schema_request_body_oapg( + def _post_anyof_with_one_empty_schema_request_body( self, body: typing.Union[request_body.anyof_with_one_empty_schema.AnyofWithOneEmptySchema,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_anyof_with_one_empty_schema_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_anyof_with_one_empty_schema_request_body_oapg( + def _post_anyof_with_one_empty_schema_request_body( self, body: typing.Union[request_body.anyof_with_one_empty_schema.AnyofWithOneEmptySchema,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_anyof_with_one_empty_schema_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_anyof_with_one_empty_schema_request_body_oapg( + def _post_anyof_with_one_empty_schema_request_body( self, body: typing.Union[request_body.anyof_with_one_empty_schema.AnyofWithOneEmptySchema,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_anyof_with_one_empty_schema_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_anyof_with_one_empty_schema_request_body_oapg( + return self._post_anyof_with_one_empty_schema_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_anyof_with_one_empty_schema_request_body_oapg( + return self._post_anyof_with_one_empty_schema_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/__init__.pyi index 0741df2a5d1..c3e745f3f74 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_anyof_with_one_empty_schema_request_body_oapg( + def _post_anyof_with_one_empty_schema_request_body( self, body: typing.Union[request_body.anyof_with_one_empty_schema.AnyofWithOneEmptySchema,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_anyof_with_one_empty_schema_request_body_oapg( + def _post_anyof_with_one_empty_schema_request_body( self, body: typing.Union[request_body.anyof_with_one_empty_schema.AnyofWithOneEmptySchema,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_anyof_with_one_empty_schema_request_body_oapg( + def _post_anyof_with_one_empty_schema_request_body( self, body: typing.Union[request_body.anyof_with_one_empty_schema.AnyofWithOneEmptySchema,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_anyof_with_one_empty_schema_request_body_oapg( + def _post_anyof_with_one_empty_schema_request_body( self, body: typing.Union[request_body.anyof_with_one_empty_schema.AnyofWithOneEmptySchema,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_anyof_with_one_empty_schema_request_body_oapg( + def _post_anyof_with_one_empty_schema_request_body( self, body: typing.Union[request_body.anyof_with_one_empty_schema.AnyofWithOneEmptySchema,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostAnyofWithOneEmptySchemaRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_anyof_with_one_empty_schema_request_body_oapg( + return self._post_anyof_with_one_empty_schema_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_anyof_with_one_empty_schema_request_body_oapg( + return self._post_anyof_with_one_empty_schema_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/__init__.py index 61c2822b767..d87b302248c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_array_type_matches_arrays_request_body_oapg( + def _post_array_type_matches_arrays_request_body( self, body: typing.Union[request_body.array_type_matches_arrays.ArrayTypeMatchesArrays,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_array_type_matches_arrays_request_body_oapg( ]: ... @typing.overload - def _post_array_type_matches_arrays_request_body_oapg( + def _post_array_type_matches_arrays_request_body( self, body: typing.Union[request_body.array_type_matches_arrays.ArrayTypeMatchesArrays,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_array_type_matches_arrays_request_body_oapg( @typing.overload - def _post_array_type_matches_arrays_request_body_oapg( + def _post_array_type_matches_arrays_request_body( self, body: typing.Union[request_body.array_type_matches_arrays.ArrayTypeMatchesArrays,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_array_type_matches_arrays_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_array_type_matches_arrays_request_body_oapg( + def _post_array_type_matches_arrays_request_body( self, body: typing.Union[request_body.array_type_matches_arrays.ArrayTypeMatchesArrays,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_array_type_matches_arrays_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_array_type_matches_arrays_request_body_oapg( + def _post_array_type_matches_arrays_request_body( self, body: typing.Union[request_body.array_type_matches_arrays.ArrayTypeMatchesArrays,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_array_type_matches_arrays_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_array_type_matches_arrays_request_body_oapg( + return self._post_array_type_matches_arrays_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_array_type_matches_arrays_request_body_oapg( + return self._post_array_type_matches_arrays_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/__init__.pyi index db79cfab6a5..1d59f67dd19 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_array_type_matches_arrays_request_body_oapg( + def _post_array_type_matches_arrays_request_body( self, body: typing.Union[request_body.array_type_matches_arrays.ArrayTypeMatchesArrays,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_array_type_matches_arrays_request_body_oapg( + def _post_array_type_matches_arrays_request_body( self, body: typing.Union[request_body.array_type_matches_arrays.ArrayTypeMatchesArrays,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_array_type_matches_arrays_request_body_oapg( + def _post_array_type_matches_arrays_request_body( self, body: typing.Union[request_body.array_type_matches_arrays.ArrayTypeMatchesArrays,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_array_type_matches_arrays_request_body_oapg( + def _post_array_type_matches_arrays_request_body( self, body: typing.Union[request_body.array_type_matches_arrays.ArrayTypeMatchesArrays,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_array_type_matches_arrays_request_body_oapg( + def _post_array_type_matches_arrays_request_body( self, body: typing.Union[request_body.array_type_matches_arrays.ArrayTypeMatchesArrays,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostArrayTypeMatchesArraysRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_array_type_matches_arrays_request_body_oapg( + return self._post_array_type_matches_arrays_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_array_type_matches_arrays_request_body_oapg( + return self._post_array_type_matches_arrays_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/__init__.py index c25e29eb92b..143911f7d11 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_boolean_type_matches_booleans_request_body_oapg( + def _post_boolean_type_matches_booleans_request_body( self, body: typing.Union[request_body.boolean_type_matches_booleans.BooleanTypeMatchesBooleans,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_boolean_type_matches_booleans_request_body_oapg( ]: ... @typing.overload - def _post_boolean_type_matches_booleans_request_body_oapg( + def _post_boolean_type_matches_booleans_request_body( self, body: typing.Union[request_body.boolean_type_matches_booleans.BooleanTypeMatchesBooleans,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_boolean_type_matches_booleans_request_body_oapg( @typing.overload - def _post_boolean_type_matches_booleans_request_body_oapg( + def _post_boolean_type_matches_booleans_request_body( self, body: typing.Union[request_body.boolean_type_matches_booleans.BooleanTypeMatchesBooleans,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_boolean_type_matches_booleans_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_boolean_type_matches_booleans_request_body_oapg( + def _post_boolean_type_matches_booleans_request_body( self, body: typing.Union[request_body.boolean_type_matches_booleans.BooleanTypeMatchesBooleans,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_boolean_type_matches_booleans_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_boolean_type_matches_booleans_request_body_oapg( + def _post_boolean_type_matches_booleans_request_body( self, body: typing.Union[request_body.boolean_type_matches_booleans.BooleanTypeMatchesBooleans,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_boolean_type_matches_booleans_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_boolean_type_matches_booleans_request_body_oapg( + return self._post_boolean_type_matches_booleans_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_boolean_type_matches_booleans_request_body_oapg( + return self._post_boolean_type_matches_booleans_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/__init__.pyi index c048eb5de6d..d1f7412ad7f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_boolean_type_matches_booleans_request_body_oapg( + def _post_boolean_type_matches_booleans_request_body( self, body: typing.Union[request_body.boolean_type_matches_booleans.BooleanTypeMatchesBooleans,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_boolean_type_matches_booleans_request_body_oapg( + def _post_boolean_type_matches_booleans_request_body( self, body: typing.Union[request_body.boolean_type_matches_booleans.BooleanTypeMatchesBooleans,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_boolean_type_matches_booleans_request_body_oapg( + def _post_boolean_type_matches_booleans_request_body( self, body: typing.Union[request_body.boolean_type_matches_booleans.BooleanTypeMatchesBooleans,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_boolean_type_matches_booleans_request_body_oapg( + def _post_boolean_type_matches_booleans_request_body( self, body: typing.Union[request_body.boolean_type_matches_booleans.BooleanTypeMatchesBooleans,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_boolean_type_matches_booleans_request_body_oapg( + def _post_boolean_type_matches_booleans_request_body( self, body: typing.Union[request_body.boolean_type_matches_booleans.BooleanTypeMatchesBooleans,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostBooleanTypeMatchesBooleansRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_boolean_type_matches_booleans_request_body_oapg( + return self._post_boolean_type_matches_booleans_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_boolean_type_matches_booleans_request_body_oapg( + return self._post_boolean_type_matches_booleans_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_int_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_int_request_body/post/__init__.py index f8eaf52a1d1..19852ac488e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_int_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_int_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_by_int_request_body_oapg( + def _post_by_int_request_body( self, body: typing.Union[request_body.by_int.ByInt,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_by_int_request_body_oapg( ]: ... @typing.overload - def _post_by_int_request_body_oapg( + def _post_by_int_request_body( self, body: typing.Union[request_body.by_int.ByInt,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_by_int_request_body_oapg( @typing.overload - def _post_by_int_request_body_oapg( + def _post_by_int_request_body( self, body: typing.Union[request_body.by_int.ByInt,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_by_int_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_by_int_request_body_oapg( + def _post_by_int_request_body( self, body: typing.Union[request_body.by_int.ByInt,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_by_int_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_by_int_request_body_oapg( + def _post_by_int_request_body( self, body: typing.Union[request_body.by_int.ByInt,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_by_int_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_by_int_request_body_oapg( + return self._post_by_int_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_by_int_request_body_oapg( + return self._post_by_int_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_int_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_int_request_body/post/__init__.pyi index 7fb2956b589..209359a0454 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_int_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_int_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_by_int_request_body_oapg( + def _post_by_int_request_body( self, body: typing.Union[request_body.by_int.ByInt,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_by_int_request_body_oapg( + def _post_by_int_request_body( self, body: typing.Union[request_body.by_int.ByInt,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_by_int_request_body_oapg( + def _post_by_int_request_body( self, body: typing.Union[request_body.by_int.ByInt,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_by_int_request_body_oapg( + def _post_by_int_request_body( self, body: typing.Union[request_body.by_int.ByInt,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_by_int_request_body_oapg( + def _post_by_int_request_body( self, body: typing.Union[request_body.by_int.ByInt,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostByIntRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_by_int_request_body_oapg( + return self._post_by_int_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_by_int_request_body_oapg( + return self._post_by_int_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_number_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_number_request_body/post/__init__.py index 63fd89240ae..c93ca797d3c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_number_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_number_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_by_number_request_body_oapg( + def _post_by_number_request_body( self, body: typing.Union[request_body.by_number.ByNumber,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_by_number_request_body_oapg( ]: ... @typing.overload - def _post_by_number_request_body_oapg( + def _post_by_number_request_body( self, body: typing.Union[request_body.by_number.ByNumber,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_by_number_request_body_oapg( @typing.overload - def _post_by_number_request_body_oapg( + def _post_by_number_request_body( self, body: typing.Union[request_body.by_number.ByNumber,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_by_number_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_by_number_request_body_oapg( + def _post_by_number_request_body( self, body: typing.Union[request_body.by_number.ByNumber,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_by_number_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_by_number_request_body_oapg( + def _post_by_number_request_body( self, body: typing.Union[request_body.by_number.ByNumber,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_by_number_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_by_number_request_body_oapg( + return self._post_by_number_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_by_number_request_body_oapg( + return self._post_by_number_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_number_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_number_request_body/post/__init__.pyi index 312dad9bfef..079269547a7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_number_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_number_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_by_number_request_body_oapg( + def _post_by_number_request_body( self, body: typing.Union[request_body.by_number.ByNumber,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_by_number_request_body_oapg( + def _post_by_number_request_body( self, body: typing.Union[request_body.by_number.ByNumber,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_by_number_request_body_oapg( + def _post_by_number_request_body( self, body: typing.Union[request_body.by_number.ByNumber,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_by_number_request_body_oapg( + def _post_by_number_request_body( self, body: typing.Union[request_body.by_number.ByNumber,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_by_number_request_body_oapg( + def _post_by_number_request_body( self, body: typing.Union[request_body.by_number.ByNumber,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostByNumberRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_by_number_request_body_oapg( + return self._post_by_number_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_by_number_request_body_oapg( + return self._post_by_number_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_small_number_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_small_number_request_body/post/__init__.py index 735eb698c9d..ba8320997fb 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_small_number_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_small_number_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_by_small_number_request_body_oapg( + def _post_by_small_number_request_body( self, body: typing.Union[request_body.by_small_number.BySmallNumber,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_by_small_number_request_body_oapg( ]: ... @typing.overload - def _post_by_small_number_request_body_oapg( + def _post_by_small_number_request_body( self, body: typing.Union[request_body.by_small_number.BySmallNumber,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_by_small_number_request_body_oapg( @typing.overload - def _post_by_small_number_request_body_oapg( + def _post_by_small_number_request_body( self, body: typing.Union[request_body.by_small_number.BySmallNumber,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_by_small_number_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_by_small_number_request_body_oapg( + def _post_by_small_number_request_body( self, body: typing.Union[request_body.by_small_number.BySmallNumber,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_by_small_number_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_by_small_number_request_body_oapg( + def _post_by_small_number_request_body( self, body: typing.Union[request_body.by_small_number.BySmallNumber,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_by_small_number_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_by_small_number_request_body_oapg( + return self._post_by_small_number_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_by_small_number_request_body_oapg( + return self._post_by_small_number_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_small_number_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_small_number_request_body/post/__init__.pyi index 3a28581d855..8c2ff704dba 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_small_number_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_small_number_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_by_small_number_request_body_oapg( + def _post_by_small_number_request_body( self, body: typing.Union[request_body.by_small_number.BySmallNumber,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_by_small_number_request_body_oapg( + def _post_by_small_number_request_body( self, body: typing.Union[request_body.by_small_number.BySmallNumber,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_by_small_number_request_body_oapg( + def _post_by_small_number_request_body( self, body: typing.Union[request_body.by_small_number.BySmallNumber,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_by_small_number_request_body_oapg( + def _post_by_small_number_request_body( self, body: typing.Union[request_body.by_small_number.BySmallNumber,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_by_small_number_request_body_oapg( + def _post_by_small_number_request_body( self, body: typing.Union[request_body.by_small_number.BySmallNumber,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostBySmallNumberRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_by_small_number_request_body_oapg( + return self._post_by_small_number_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_by_small_number_request_body_oapg( + return self._post_by_small_number_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_date_time_format_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_date_time_format_request_body/post/__init__.py index 822ce2ad8da..76589881b71 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_date_time_format_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_date_time_format_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_date_time_format_request_body_oapg( + def _post_date_time_format_request_body( self, body: typing.Union[request_body.date_time_format.DateTimeFormat,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_date_time_format_request_body_oapg( ]: ... @typing.overload - def _post_date_time_format_request_body_oapg( + def _post_date_time_format_request_body( self, body: typing.Union[request_body.date_time_format.DateTimeFormat,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_date_time_format_request_body_oapg( @typing.overload - def _post_date_time_format_request_body_oapg( + def _post_date_time_format_request_body( self, body: typing.Union[request_body.date_time_format.DateTimeFormat,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_date_time_format_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_date_time_format_request_body_oapg( + def _post_date_time_format_request_body( self, body: typing.Union[request_body.date_time_format.DateTimeFormat,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_date_time_format_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_date_time_format_request_body_oapg( + def _post_date_time_format_request_body( self, body: typing.Union[request_body.date_time_format.DateTimeFormat,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_date_time_format_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_date_time_format_request_body_oapg( + return self._post_date_time_format_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_date_time_format_request_body_oapg( + return self._post_date_time_format_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_date_time_format_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_date_time_format_request_body/post/__init__.pyi index 1565e6c33ad..87054be265f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_date_time_format_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_date_time_format_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_date_time_format_request_body_oapg( + def _post_date_time_format_request_body( self, body: typing.Union[request_body.date_time_format.DateTimeFormat,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_date_time_format_request_body_oapg( + def _post_date_time_format_request_body( self, body: typing.Union[request_body.date_time_format.DateTimeFormat,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_date_time_format_request_body_oapg( + def _post_date_time_format_request_body( self, body: typing.Union[request_body.date_time_format.DateTimeFormat,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_date_time_format_request_body_oapg( + def _post_date_time_format_request_body( self, body: typing.Union[request_body.date_time_format.DateTimeFormat,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_date_time_format_request_body_oapg( + def _post_date_time_format_request_body( self, body: typing.Union[request_body.date_time_format.DateTimeFormat,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostDateTimeFormatRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_date_time_format_request_body_oapg( + return self._post_date_time_format_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_date_time_format_request_body_oapg( + return self._post_date_time_format_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_email_format_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_email_format_request_body/post/__init__.py index 503b78f5d7b..1eebd2385be 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_email_format_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_email_format_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_email_format_request_body_oapg( + def _post_email_format_request_body( self, body: typing.Union[request_body.email_format.EmailFormat,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_email_format_request_body_oapg( ]: ... @typing.overload - def _post_email_format_request_body_oapg( + def _post_email_format_request_body( self, body: typing.Union[request_body.email_format.EmailFormat,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_email_format_request_body_oapg( @typing.overload - def _post_email_format_request_body_oapg( + def _post_email_format_request_body( self, body: typing.Union[request_body.email_format.EmailFormat,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_email_format_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_email_format_request_body_oapg( + def _post_email_format_request_body( self, body: typing.Union[request_body.email_format.EmailFormat,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_email_format_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_email_format_request_body_oapg( + def _post_email_format_request_body( self, body: typing.Union[request_body.email_format.EmailFormat,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_email_format_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_email_format_request_body_oapg( + return self._post_email_format_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_email_format_request_body_oapg( + return self._post_email_format_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_email_format_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_email_format_request_body/post/__init__.pyi index d0a9a5c0339..6fcd35a014b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_email_format_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_email_format_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_email_format_request_body_oapg( + def _post_email_format_request_body( self, body: typing.Union[request_body.email_format.EmailFormat,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_email_format_request_body_oapg( + def _post_email_format_request_body( self, body: typing.Union[request_body.email_format.EmailFormat,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_email_format_request_body_oapg( + def _post_email_format_request_body( self, body: typing.Union[request_body.email_format.EmailFormat,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_email_format_request_body_oapg( + def _post_email_format_request_body( self, body: typing.Union[request_body.email_format.EmailFormat,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_email_format_request_body_oapg( + def _post_email_format_request_body( self, body: typing.Union[request_body.email_format.EmailFormat,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostEmailFormatRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_email_format_request_body_oapg( + return self._post_email_format_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_email_format_request_body_oapg( + return self._post_email_format_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/__init__.py index 9cc1fd4f550..1761334b019 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_enum_with0_does_not_match_false_request_body_oapg( + def _post_enum_with0_does_not_match_false_request_body( self, body: typing.Union[request_body.enum_with0_does_not_match_false.EnumWith0DoesNotMatchFalse,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_enum_with0_does_not_match_false_request_body_oapg( ]: ... @typing.overload - def _post_enum_with0_does_not_match_false_request_body_oapg( + def _post_enum_with0_does_not_match_false_request_body( self, body: typing.Union[request_body.enum_with0_does_not_match_false.EnumWith0DoesNotMatchFalse,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_enum_with0_does_not_match_false_request_body_oapg( @typing.overload - def _post_enum_with0_does_not_match_false_request_body_oapg( + def _post_enum_with0_does_not_match_false_request_body( self, body: typing.Union[request_body.enum_with0_does_not_match_false.EnumWith0DoesNotMatchFalse,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_enum_with0_does_not_match_false_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_enum_with0_does_not_match_false_request_body_oapg( + def _post_enum_with0_does_not_match_false_request_body( self, body: typing.Union[request_body.enum_with0_does_not_match_false.EnumWith0DoesNotMatchFalse,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_enum_with0_does_not_match_false_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_enum_with0_does_not_match_false_request_body_oapg( + def _post_enum_with0_does_not_match_false_request_body( self, body: typing.Union[request_body.enum_with0_does_not_match_false.EnumWith0DoesNotMatchFalse,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_enum_with0_does_not_match_false_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_enum_with0_does_not_match_false_request_body_oapg( + return self._post_enum_with0_does_not_match_false_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_enum_with0_does_not_match_false_request_body_oapg( + return self._post_enum_with0_does_not_match_false_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/__init__.pyi index a6079fd86f9..7f76409b7b5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_enum_with0_does_not_match_false_request_body_oapg( + def _post_enum_with0_does_not_match_false_request_body( self, body: typing.Union[request_body.enum_with0_does_not_match_false.EnumWith0DoesNotMatchFalse,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_enum_with0_does_not_match_false_request_body_oapg( + def _post_enum_with0_does_not_match_false_request_body( self, body: typing.Union[request_body.enum_with0_does_not_match_false.EnumWith0DoesNotMatchFalse,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_enum_with0_does_not_match_false_request_body_oapg( + def _post_enum_with0_does_not_match_false_request_body( self, body: typing.Union[request_body.enum_with0_does_not_match_false.EnumWith0DoesNotMatchFalse,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_enum_with0_does_not_match_false_request_body_oapg( + def _post_enum_with0_does_not_match_false_request_body( self, body: typing.Union[request_body.enum_with0_does_not_match_false.EnumWith0DoesNotMatchFalse,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_enum_with0_does_not_match_false_request_body_oapg( + def _post_enum_with0_does_not_match_false_request_body( self, body: typing.Union[request_body.enum_with0_does_not_match_false.EnumWith0DoesNotMatchFalse,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostEnumWith0DoesNotMatchFalseRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_enum_with0_does_not_match_false_request_body_oapg( + return self._post_enum_with0_does_not_match_false_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_enum_with0_does_not_match_false_request_body_oapg( + return self._post_enum_with0_does_not_match_false_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/__init__.py index 498f8257696..12a4f406468 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_enum_with1_does_not_match_true_request_body_oapg( + def _post_enum_with1_does_not_match_true_request_body( self, body: typing.Union[request_body.enum_with1_does_not_match_true.EnumWith1DoesNotMatchTrue,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_enum_with1_does_not_match_true_request_body_oapg( ]: ... @typing.overload - def _post_enum_with1_does_not_match_true_request_body_oapg( + def _post_enum_with1_does_not_match_true_request_body( self, body: typing.Union[request_body.enum_with1_does_not_match_true.EnumWith1DoesNotMatchTrue,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_enum_with1_does_not_match_true_request_body_oapg( @typing.overload - def _post_enum_with1_does_not_match_true_request_body_oapg( + def _post_enum_with1_does_not_match_true_request_body( self, body: typing.Union[request_body.enum_with1_does_not_match_true.EnumWith1DoesNotMatchTrue,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_enum_with1_does_not_match_true_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_enum_with1_does_not_match_true_request_body_oapg( + def _post_enum_with1_does_not_match_true_request_body( self, body: typing.Union[request_body.enum_with1_does_not_match_true.EnumWith1DoesNotMatchTrue,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_enum_with1_does_not_match_true_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_enum_with1_does_not_match_true_request_body_oapg( + def _post_enum_with1_does_not_match_true_request_body( self, body: typing.Union[request_body.enum_with1_does_not_match_true.EnumWith1DoesNotMatchTrue,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_enum_with1_does_not_match_true_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_enum_with1_does_not_match_true_request_body_oapg( + return self._post_enum_with1_does_not_match_true_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_enum_with1_does_not_match_true_request_body_oapg( + return self._post_enum_with1_does_not_match_true_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/__init__.pyi index 4cc5e8b40af..fe4297dcee0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_enum_with1_does_not_match_true_request_body_oapg( + def _post_enum_with1_does_not_match_true_request_body( self, body: typing.Union[request_body.enum_with1_does_not_match_true.EnumWith1DoesNotMatchTrue,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_enum_with1_does_not_match_true_request_body_oapg( + def _post_enum_with1_does_not_match_true_request_body( self, body: typing.Union[request_body.enum_with1_does_not_match_true.EnumWith1DoesNotMatchTrue,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_enum_with1_does_not_match_true_request_body_oapg( + def _post_enum_with1_does_not_match_true_request_body( self, body: typing.Union[request_body.enum_with1_does_not_match_true.EnumWith1DoesNotMatchTrue,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_enum_with1_does_not_match_true_request_body_oapg( + def _post_enum_with1_does_not_match_true_request_body( self, body: typing.Union[request_body.enum_with1_does_not_match_true.EnumWith1DoesNotMatchTrue,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_enum_with1_does_not_match_true_request_body_oapg( + def _post_enum_with1_does_not_match_true_request_body( self, body: typing.Union[request_body.enum_with1_does_not_match_true.EnumWith1DoesNotMatchTrue,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostEnumWith1DoesNotMatchTrueRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_enum_with1_does_not_match_true_request_body_oapg( + return self._post_enum_with1_does_not_match_true_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_enum_with1_does_not_match_true_request_body_oapg( + return self._post_enum_with1_does_not_match_true_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/__init__.py index 3eab60e014e..5e72069a369 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_enum_with_escaped_characters_request_body_oapg( + def _post_enum_with_escaped_characters_request_body( self, body: typing.Union[request_body.enum_with_escaped_characters.EnumWithEscapedCharacters,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_enum_with_escaped_characters_request_body_oapg( ]: ... @typing.overload - def _post_enum_with_escaped_characters_request_body_oapg( + def _post_enum_with_escaped_characters_request_body( self, body: typing.Union[request_body.enum_with_escaped_characters.EnumWithEscapedCharacters,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_enum_with_escaped_characters_request_body_oapg( @typing.overload - def _post_enum_with_escaped_characters_request_body_oapg( + def _post_enum_with_escaped_characters_request_body( self, body: typing.Union[request_body.enum_with_escaped_characters.EnumWithEscapedCharacters,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_enum_with_escaped_characters_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_enum_with_escaped_characters_request_body_oapg( + def _post_enum_with_escaped_characters_request_body( self, body: typing.Union[request_body.enum_with_escaped_characters.EnumWithEscapedCharacters,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_enum_with_escaped_characters_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_enum_with_escaped_characters_request_body_oapg( + def _post_enum_with_escaped_characters_request_body( self, body: typing.Union[request_body.enum_with_escaped_characters.EnumWithEscapedCharacters,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_enum_with_escaped_characters_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_enum_with_escaped_characters_request_body_oapg( + return self._post_enum_with_escaped_characters_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_enum_with_escaped_characters_request_body_oapg( + return self._post_enum_with_escaped_characters_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/__init__.pyi index 269f804d003..9f101d81e76 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_enum_with_escaped_characters_request_body_oapg( + def _post_enum_with_escaped_characters_request_body( self, body: typing.Union[request_body.enum_with_escaped_characters.EnumWithEscapedCharacters,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_enum_with_escaped_characters_request_body_oapg( + def _post_enum_with_escaped_characters_request_body( self, body: typing.Union[request_body.enum_with_escaped_characters.EnumWithEscapedCharacters,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_enum_with_escaped_characters_request_body_oapg( + def _post_enum_with_escaped_characters_request_body( self, body: typing.Union[request_body.enum_with_escaped_characters.EnumWithEscapedCharacters,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_enum_with_escaped_characters_request_body_oapg( + def _post_enum_with_escaped_characters_request_body( self, body: typing.Union[request_body.enum_with_escaped_characters.EnumWithEscapedCharacters,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_enum_with_escaped_characters_request_body_oapg( + def _post_enum_with_escaped_characters_request_body( self, body: typing.Union[request_body.enum_with_escaped_characters.EnumWithEscapedCharacters,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostEnumWithEscapedCharactersRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_enum_with_escaped_characters_request_body_oapg( + return self._post_enum_with_escaped_characters_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_enum_with_escaped_characters_request_body_oapg( + return self._post_enum_with_escaped_characters_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/__init__.py index 59dc71775a3..93f06d94946 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_enum_with_false_does_not_match0_request_body_oapg( + def _post_enum_with_false_does_not_match0_request_body( self, body: typing.Union[request_body.enum_with_false_does_not_match0.EnumWithFalseDoesNotMatch0,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_enum_with_false_does_not_match0_request_body_oapg( ]: ... @typing.overload - def _post_enum_with_false_does_not_match0_request_body_oapg( + def _post_enum_with_false_does_not_match0_request_body( self, body: typing.Union[request_body.enum_with_false_does_not_match0.EnumWithFalseDoesNotMatch0,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_enum_with_false_does_not_match0_request_body_oapg( @typing.overload - def _post_enum_with_false_does_not_match0_request_body_oapg( + def _post_enum_with_false_does_not_match0_request_body( self, body: typing.Union[request_body.enum_with_false_does_not_match0.EnumWithFalseDoesNotMatch0,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_enum_with_false_does_not_match0_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_enum_with_false_does_not_match0_request_body_oapg( + def _post_enum_with_false_does_not_match0_request_body( self, body: typing.Union[request_body.enum_with_false_does_not_match0.EnumWithFalseDoesNotMatch0,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_enum_with_false_does_not_match0_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_enum_with_false_does_not_match0_request_body_oapg( + def _post_enum_with_false_does_not_match0_request_body( self, body: typing.Union[request_body.enum_with_false_does_not_match0.EnumWithFalseDoesNotMatch0,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_enum_with_false_does_not_match0_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_enum_with_false_does_not_match0_request_body_oapg( + return self._post_enum_with_false_does_not_match0_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_enum_with_false_does_not_match0_request_body_oapg( + return self._post_enum_with_false_does_not_match0_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/__init__.pyi index 4c3c7856098..1cf1f4a0c96 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_enum_with_false_does_not_match0_request_body_oapg( + def _post_enum_with_false_does_not_match0_request_body( self, body: typing.Union[request_body.enum_with_false_does_not_match0.EnumWithFalseDoesNotMatch0,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_enum_with_false_does_not_match0_request_body_oapg( + def _post_enum_with_false_does_not_match0_request_body( self, body: typing.Union[request_body.enum_with_false_does_not_match0.EnumWithFalseDoesNotMatch0,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_enum_with_false_does_not_match0_request_body_oapg( + def _post_enum_with_false_does_not_match0_request_body( self, body: typing.Union[request_body.enum_with_false_does_not_match0.EnumWithFalseDoesNotMatch0,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_enum_with_false_does_not_match0_request_body_oapg( + def _post_enum_with_false_does_not_match0_request_body( self, body: typing.Union[request_body.enum_with_false_does_not_match0.EnumWithFalseDoesNotMatch0,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_enum_with_false_does_not_match0_request_body_oapg( + def _post_enum_with_false_does_not_match0_request_body( self, body: typing.Union[request_body.enum_with_false_does_not_match0.EnumWithFalseDoesNotMatch0,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostEnumWithFalseDoesNotMatch0RequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_enum_with_false_does_not_match0_request_body_oapg( + return self._post_enum_with_false_does_not_match0_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_enum_with_false_does_not_match0_request_body_oapg( + return self._post_enum_with_false_does_not_match0_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/__init__.py index f0fcac24eb2..5353b241bef 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_enum_with_true_does_not_match1_request_body_oapg( + def _post_enum_with_true_does_not_match1_request_body( self, body: typing.Union[request_body.enum_with_true_does_not_match1.EnumWithTrueDoesNotMatch1,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_enum_with_true_does_not_match1_request_body_oapg( ]: ... @typing.overload - def _post_enum_with_true_does_not_match1_request_body_oapg( + def _post_enum_with_true_does_not_match1_request_body( self, body: typing.Union[request_body.enum_with_true_does_not_match1.EnumWithTrueDoesNotMatch1,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_enum_with_true_does_not_match1_request_body_oapg( @typing.overload - def _post_enum_with_true_does_not_match1_request_body_oapg( + def _post_enum_with_true_does_not_match1_request_body( self, body: typing.Union[request_body.enum_with_true_does_not_match1.EnumWithTrueDoesNotMatch1,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_enum_with_true_does_not_match1_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_enum_with_true_does_not_match1_request_body_oapg( + def _post_enum_with_true_does_not_match1_request_body( self, body: typing.Union[request_body.enum_with_true_does_not_match1.EnumWithTrueDoesNotMatch1,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_enum_with_true_does_not_match1_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_enum_with_true_does_not_match1_request_body_oapg( + def _post_enum_with_true_does_not_match1_request_body( self, body: typing.Union[request_body.enum_with_true_does_not_match1.EnumWithTrueDoesNotMatch1,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_enum_with_true_does_not_match1_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_enum_with_true_does_not_match1_request_body_oapg( + return self._post_enum_with_true_does_not_match1_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_enum_with_true_does_not_match1_request_body_oapg( + return self._post_enum_with_true_does_not_match1_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/__init__.pyi index 00754beaaf8..e247ea5985b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_enum_with_true_does_not_match1_request_body_oapg( + def _post_enum_with_true_does_not_match1_request_body( self, body: typing.Union[request_body.enum_with_true_does_not_match1.EnumWithTrueDoesNotMatch1,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_enum_with_true_does_not_match1_request_body_oapg( + def _post_enum_with_true_does_not_match1_request_body( self, body: typing.Union[request_body.enum_with_true_does_not_match1.EnumWithTrueDoesNotMatch1,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_enum_with_true_does_not_match1_request_body_oapg( + def _post_enum_with_true_does_not_match1_request_body( self, body: typing.Union[request_body.enum_with_true_does_not_match1.EnumWithTrueDoesNotMatch1,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_enum_with_true_does_not_match1_request_body_oapg( + def _post_enum_with_true_does_not_match1_request_body( self, body: typing.Union[request_body.enum_with_true_does_not_match1.EnumWithTrueDoesNotMatch1,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_enum_with_true_does_not_match1_request_body_oapg( + def _post_enum_with_true_does_not_match1_request_body( self, body: typing.Union[request_body.enum_with_true_does_not_match1.EnumWithTrueDoesNotMatch1,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostEnumWithTrueDoesNotMatch1RequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_enum_with_true_does_not_match1_request_body_oapg( + return self._post_enum_with_true_does_not_match1_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_enum_with_true_does_not_match1_request_body_oapg( + return self._post_enum_with_true_does_not_match1_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/__init__.py index 4626e274b9d..c2b7418d825 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_enums_in_properties_request_body_oapg( + def _post_enums_in_properties_request_body( self, body: typing.Union[request_body.enums_in_properties.EnumsInProperties,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_enums_in_properties_request_body_oapg( ]: ... @typing.overload - def _post_enums_in_properties_request_body_oapg( + def _post_enums_in_properties_request_body( self, body: typing.Union[request_body.enums_in_properties.EnumsInProperties,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_enums_in_properties_request_body_oapg( @typing.overload - def _post_enums_in_properties_request_body_oapg( + def _post_enums_in_properties_request_body( self, body: typing.Union[request_body.enums_in_properties.EnumsInProperties,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_enums_in_properties_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_enums_in_properties_request_body_oapg( + def _post_enums_in_properties_request_body( self, body: typing.Union[request_body.enums_in_properties.EnumsInProperties,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_enums_in_properties_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_enums_in_properties_request_body_oapg( + def _post_enums_in_properties_request_body( self, body: typing.Union[request_body.enums_in_properties.EnumsInProperties,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_enums_in_properties_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_enums_in_properties_request_body_oapg( + return self._post_enums_in_properties_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_enums_in_properties_request_body_oapg( + return self._post_enums_in_properties_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/__init__.pyi index db1bbc51384..84b8de550cf 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_enums_in_properties_request_body_oapg( + def _post_enums_in_properties_request_body( self, body: typing.Union[request_body.enums_in_properties.EnumsInProperties,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_enums_in_properties_request_body_oapg( + def _post_enums_in_properties_request_body( self, body: typing.Union[request_body.enums_in_properties.EnumsInProperties,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_enums_in_properties_request_body_oapg( + def _post_enums_in_properties_request_body( self, body: typing.Union[request_body.enums_in_properties.EnumsInProperties,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_enums_in_properties_request_body_oapg( + def _post_enums_in_properties_request_body( self, body: typing.Union[request_body.enums_in_properties.EnumsInProperties,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_enums_in_properties_request_body_oapg( + def _post_enums_in_properties_request_body( self, body: typing.Union[request_body.enums_in_properties.EnumsInProperties,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostEnumsInPropertiesRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_enums_in_properties_request_body_oapg( + return self._post_enums_in_properties_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_enums_in_properties_request_body_oapg( + return self._post_enums_in_properties_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/__init__.py index 6ecd7491757..3287ab3dae9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_forbidden_property_request_body_oapg( + def _post_forbidden_property_request_body( self, body: typing.Union[request_body.forbidden_property.ForbiddenProperty,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_forbidden_property_request_body_oapg( ]: ... @typing.overload - def _post_forbidden_property_request_body_oapg( + def _post_forbidden_property_request_body( self, body: typing.Union[request_body.forbidden_property.ForbiddenProperty,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_forbidden_property_request_body_oapg( @typing.overload - def _post_forbidden_property_request_body_oapg( + def _post_forbidden_property_request_body( self, body: typing.Union[request_body.forbidden_property.ForbiddenProperty,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_forbidden_property_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_forbidden_property_request_body_oapg( + def _post_forbidden_property_request_body( self, body: typing.Union[request_body.forbidden_property.ForbiddenProperty,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_forbidden_property_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_forbidden_property_request_body_oapg( + def _post_forbidden_property_request_body( self, body: typing.Union[request_body.forbidden_property.ForbiddenProperty,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_forbidden_property_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_forbidden_property_request_body_oapg( + return self._post_forbidden_property_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_forbidden_property_request_body_oapg( + return self._post_forbidden_property_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/__init__.pyi index 51c6cb8b65d..3072defa0d3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_forbidden_property_request_body_oapg( + def _post_forbidden_property_request_body( self, body: typing.Union[request_body.forbidden_property.ForbiddenProperty,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_forbidden_property_request_body_oapg( + def _post_forbidden_property_request_body( self, body: typing.Union[request_body.forbidden_property.ForbiddenProperty,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_forbidden_property_request_body_oapg( + def _post_forbidden_property_request_body( self, body: typing.Union[request_body.forbidden_property.ForbiddenProperty,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_forbidden_property_request_body_oapg( + def _post_forbidden_property_request_body( self, body: typing.Union[request_body.forbidden_property.ForbiddenProperty,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_forbidden_property_request_body_oapg( + def _post_forbidden_property_request_body( self, body: typing.Union[request_body.forbidden_property.ForbiddenProperty,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostForbiddenPropertyRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_forbidden_property_request_body_oapg( + return self._post_forbidden_property_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_forbidden_property_request_body_oapg( + return self._post_forbidden_property_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_hostname_format_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_hostname_format_request_body/post/__init__.py index 6d32a33e859..05fc8a5936c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_hostname_format_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_hostname_format_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_hostname_format_request_body_oapg( + def _post_hostname_format_request_body( self, body: typing.Union[request_body.hostname_format.HostnameFormat,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_hostname_format_request_body_oapg( ]: ... @typing.overload - def _post_hostname_format_request_body_oapg( + def _post_hostname_format_request_body( self, body: typing.Union[request_body.hostname_format.HostnameFormat,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_hostname_format_request_body_oapg( @typing.overload - def _post_hostname_format_request_body_oapg( + def _post_hostname_format_request_body( self, body: typing.Union[request_body.hostname_format.HostnameFormat,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_hostname_format_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_hostname_format_request_body_oapg( + def _post_hostname_format_request_body( self, body: typing.Union[request_body.hostname_format.HostnameFormat,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_hostname_format_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_hostname_format_request_body_oapg( + def _post_hostname_format_request_body( self, body: typing.Union[request_body.hostname_format.HostnameFormat,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_hostname_format_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_hostname_format_request_body_oapg( + return self._post_hostname_format_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_hostname_format_request_body_oapg( + return self._post_hostname_format_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_hostname_format_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_hostname_format_request_body/post/__init__.pyi index 389be2db6f6..ed8500b282f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_hostname_format_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_hostname_format_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_hostname_format_request_body_oapg( + def _post_hostname_format_request_body( self, body: typing.Union[request_body.hostname_format.HostnameFormat,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_hostname_format_request_body_oapg( + def _post_hostname_format_request_body( self, body: typing.Union[request_body.hostname_format.HostnameFormat,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_hostname_format_request_body_oapg( + def _post_hostname_format_request_body( self, body: typing.Union[request_body.hostname_format.HostnameFormat,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_hostname_format_request_body_oapg( + def _post_hostname_format_request_body( self, body: typing.Union[request_body.hostname_format.HostnameFormat,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_hostname_format_request_body_oapg( + def _post_hostname_format_request_body( self, body: typing.Union[request_body.hostname_format.HostnameFormat,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostHostnameFormatRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_hostname_format_request_body_oapg( + return self._post_hostname_format_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_hostname_format_request_body_oapg( + return self._post_hostname_format_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/__init__.py index 682f2a525e8..e5250b57d6b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_integer_type_matches_integers_request_body_oapg( + def _post_integer_type_matches_integers_request_body( self, body: typing.Union[request_body.integer_type_matches_integers.IntegerTypeMatchesIntegers,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_integer_type_matches_integers_request_body_oapg( ]: ... @typing.overload - def _post_integer_type_matches_integers_request_body_oapg( + def _post_integer_type_matches_integers_request_body( self, body: typing.Union[request_body.integer_type_matches_integers.IntegerTypeMatchesIntegers,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_integer_type_matches_integers_request_body_oapg( @typing.overload - def _post_integer_type_matches_integers_request_body_oapg( + def _post_integer_type_matches_integers_request_body( self, body: typing.Union[request_body.integer_type_matches_integers.IntegerTypeMatchesIntegers,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_integer_type_matches_integers_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_integer_type_matches_integers_request_body_oapg( + def _post_integer_type_matches_integers_request_body( self, body: typing.Union[request_body.integer_type_matches_integers.IntegerTypeMatchesIntegers,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_integer_type_matches_integers_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_integer_type_matches_integers_request_body_oapg( + def _post_integer_type_matches_integers_request_body( self, body: typing.Union[request_body.integer_type_matches_integers.IntegerTypeMatchesIntegers,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_integer_type_matches_integers_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_integer_type_matches_integers_request_body_oapg( + return self._post_integer_type_matches_integers_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_integer_type_matches_integers_request_body_oapg( + return self._post_integer_type_matches_integers_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/__init__.pyi index 054043fb2e8..8f942e85477 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_integer_type_matches_integers_request_body_oapg( + def _post_integer_type_matches_integers_request_body( self, body: typing.Union[request_body.integer_type_matches_integers.IntegerTypeMatchesIntegers,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_integer_type_matches_integers_request_body_oapg( + def _post_integer_type_matches_integers_request_body( self, body: typing.Union[request_body.integer_type_matches_integers.IntegerTypeMatchesIntegers,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_integer_type_matches_integers_request_body_oapg( + def _post_integer_type_matches_integers_request_body( self, body: typing.Union[request_body.integer_type_matches_integers.IntegerTypeMatchesIntegers,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_integer_type_matches_integers_request_body_oapg( + def _post_integer_type_matches_integers_request_body( self, body: typing.Union[request_body.integer_type_matches_integers.IntegerTypeMatchesIntegers,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_integer_type_matches_integers_request_body_oapg( + def _post_integer_type_matches_integers_request_body( self, body: typing.Union[request_body.integer_type_matches_integers.IntegerTypeMatchesIntegers,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostIntegerTypeMatchesIntegersRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_integer_type_matches_integers_request_body_oapg( + return self._post_integer_type_matches_integers_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_integer_type_matches_integers_request_body_oapg( + return self._post_integer_type_matches_integers_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/post/__init__.py index 516fbe6e5b6..e9088bb5712 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body_oapg( + def _post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body( self, body: typing.Union[request_body.invalid_instance_should_not_raise_error_when_float_division_inf.InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_invalid_instance_should_not_raise_error_when_float_division_inf_reques ]: ... @typing.overload - def _post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body_oapg( + def _post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body( self, body: typing.Union[request_body.invalid_instance_should_not_raise_error_when_float_division_inf.InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_invalid_instance_should_not_raise_error_when_float_division_inf_reques @typing.overload - def _post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body_oapg( + def _post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body( self, body: typing.Union[request_body.invalid_instance_should_not_raise_error_when_float_division_inf.InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_invalid_instance_should_not_raise_error_when_float_division_inf_reques ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body_oapg( + def _post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body( self, body: typing.Union[request_body.invalid_instance_should_not_raise_error_when_float_division_inf.InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_invalid_instance_should_not_raise_error_when_float_division_inf_reques api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body_oapg( + def _post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body( self, body: typing.Union[request_body.invalid_instance_should_not_raise_error_when_float_division_inf.InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_invalid_instance_should_not_raise_error_when_float_division_inf_request timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body_oapg( + return self._post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body_oapg( + return self._post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/post/__init__.pyi index 6ade7aff187..fdca8acb10a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body_oapg( + def _post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body( self, body: typing.Union[request_body.invalid_instance_should_not_raise_error_when_float_division_inf.InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body_oapg( + def _post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body( self, body: typing.Union[request_body.invalid_instance_should_not_raise_error_when_float_division_inf.InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body_oapg( + def _post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body( self, body: typing.Union[request_body.invalid_instance_should_not_raise_error_when_float_division_inf.InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body_oapg( + def _post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body( self, body: typing.Union[request_body.invalid_instance_should_not_raise_error_when_float_division_inf.InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body_oapg( + def _post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body( self, body: typing.Union[request_body.invalid_instance_should_not_raise_error_when_float_division_inf.InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostInvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInfRequestBody(Base timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body_oapg( + return self._post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body_oapg( + return self._post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_invalid_string_value_for_default_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_invalid_string_value_for_default_request_body/post/__init__.py index 3ff2a76da47..e7f211d35f8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_invalid_string_value_for_default_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_invalid_string_value_for_default_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_invalid_string_value_for_default_request_body_oapg( + def _post_invalid_string_value_for_default_request_body( self, body: typing.Union[request_body.invalid_string_value_for_default.InvalidStringValueForDefault,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_invalid_string_value_for_default_request_body_oapg( ]: ... @typing.overload - def _post_invalid_string_value_for_default_request_body_oapg( + def _post_invalid_string_value_for_default_request_body( self, body: typing.Union[request_body.invalid_string_value_for_default.InvalidStringValueForDefault,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_invalid_string_value_for_default_request_body_oapg( @typing.overload - def _post_invalid_string_value_for_default_request_body_oapg( + def _post_invalid_string_value_for_default_request_body( self, body: typing.Union[request_body.invalid_string_value_for_default.InvalidStringValueForDefault,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_invalid_string_value_for_default_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_invalid_string_value_for_default_request_body_oapg( + def _post_invalid_string_value_for_default_request_body( self, body: typing.Union[request_body.invalid_string_value_for_default.InvalidStringValueForDefault,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_invalid_string_value_for_default_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_invalid_string_value_for_default_request_body_oapg( + def _post_invalid_string_value_for_default_request_body( self, body: typing.Union[request_body.invalid_string_value_for_default.InvalidStringValueForDefault,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_invalid_string_value_for_default_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_invalid_string_value_for_default_request_body_oapg( + return self._post_invalid_string_value_for_default_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_invalid_string_value_for_default_request_body_oapg( + return self._post_invalid_string_value_for_default_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_invalid_string_value_for_default_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_invalid_string_value_for_default_request_body/post/__init__.pyi index ef9be0f2232..b4ced0ee09d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_invalid_string_value_for_default_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_invalid_string_value_for_default_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_invalid_string_value_for_default_request_body_oapg( + def _post_invalid_string_value_for_default_request_body( self, body: typing.Union[request_body.invalid_string_value_for_default.InvalidStringValueForDefault,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_invalid_string_value_for_default_request_body_oapg( + def _post_invalid_string_value_for_default_request_body( self, body: typing.Union[request_body.invalid_string_value_for_default.InvalidStringValueForDefault,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_invalid_string_value_for_default_request_body_oapg( + def _post_invalid_string_value_for_default_request_body( self, body: typing.Union[request_body.invalid_string_value_for_default.InvalidStringValueForDefault,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_invalid_string_value_for_default_request_body_oapg( + def _post_invalid_string_value_for_default_request_body( self, body: typing.Union[request_body.invalid_string_value_for_default.InvalidStringValueForDefault,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_invalid_string_value_for_default_request_body_oapg( + def _post_invalid_string_value_for_default_request_body( self, body: typing.Union[request_body.invalid_string_value_for_default.InvalidStringValueForDefault,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostInvalidStringValueForDefaultRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_invalid_string_value_for_default_request_body_oapg( + return self._post_invalid_string_value_for_default_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_invalid_string_value_for_default_request_body_oapg( + return self._post_invalid_string_value_for_default_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/__init__.py index ae5fa3d4ba1..05c2ad8dcce 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_ipv4_format_request_body_oapg( + def _post_ipv4_format_request_body( self, body: typing.Union[request_body.ipv4_format.Ipv4Format,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_ipv4_format_request_body_oapg( ]: ... @typing.overload - def _post_ipv4_format_request_body_oapg( + def _post_ipv4_format_request_body( self, body: typing.Union[request_body.ipv4_format.Ipv4Format,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_ipv4_format_request_body_oapg( @typing.overload - def _post_ipv4_format_request_body_oapg( + def _post_ipv4_format_request_body( self, body: typing.Union[request_body.ipv4_format.Ipv4Format,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_ipv4_format_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_ipv4_format_request_body_oapg( + def _post_ipv4_format_request_body( self, body: typing.Union[request_body.ipv4_format.Ipv4Format,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_ipv4_format_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_ipv4_format_request_body_oapg( + def _post_ipv4_format_request_body( self, body: typing.Union[request_body.ipv4_format.Ipv4Format,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_ipv4_format_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ipv4_format_request_body_oapg( + return self._post_ipv4_format_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ipv4_format_request_body_oapg( + return self._post_ipv4_format_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/__init__.pyi index bd46c32db4a..7e999a5edb4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_ipv4_format_request_body_oapg( + def _post_ipv4_format_request_body( self, body: typing.Union[request_body.ipv4_format.Ipv4Format,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_ipv4_format_request_body_oapg( + def _post_ipv4_format_request_body( self, body: typing.Union[request_body.ipv4_format.Ipv4Format,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_ipv4_format_request_body_oapg( + def _post_ipv4_format_request_body( self, body: typing.Union[request_body.ipv4_format.Ipv4Format,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_ipv4_format_request_body_oapg( + def _post_ipv4_format_request_body( self, body: typing.Union[request_body.ipv4_format.Ipv4Format,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_ipv4_format_request_body_oapg( + def _post_ipv4_format_request_body( self, body: typing.Union[request_body.ipv4_format.Ipv4Format,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostIpv4FormatRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ipv4_format_request_body_oapg( + return self._post_ipv4_format_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ipv4_format_request_body_oapg( + return self._post_ipv4_format_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/__init__.py index e4521beadc7..05e6a2792bd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_ipv6_format_request_body_oapg( + def _post_ipv6_format_request_body( self, body: typing.Union[request_body.ipv6_format.Ipv6Format,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_ipv6_format_request_body_oapg( ]: ... @typing.overload - def _post_ipv6_format_request_body_oapg( + def _post_ipv6_format_request_body( self, body: typing.Union[request_body.ipv6_format.Ipv6Format,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_ipv6_format_request_body_oapg( @typing.overload - def _post_ipv6_format_request_body_oapg( + def _post_ipv6_format_request_body( self, body: typing.Union[request_body.ipv6_format.Ipv6Format,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_ipv6_format_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_ipv6_format_request_body_oapg( + def _post_ipv6_format_request_body( self, body: typing.Union[request_body.ipv6_format.Ipv6Format,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_ipv6_format_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_ipv6_format_request_body_oapg( + def _post_ipv6_format_request_body( self, body: typing.Union[request_body.ipv6_format.Ipv6Format,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_ipv6_format_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ipv6_format_request_body_oapg( + return self._post_ipv6_format_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ipv6_format_request_body_oapg( + return self._post_ipv6_format_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/__init__.pyi index 22e2e162d16..d0fc6f32dd8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_ipv6_format_request_body_oapg( + def _post_ipv6_format_request_body( self, body: typing.Union[request_body.ipv6_format.Ipv6Format,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_ipv6_format_request_body_oapg( + def _post_ipv6_format_request_body( self, body: typing.Union[request_body.ipv6_format.Ipv6Format,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_ipv6_format_request_body_oapg( + def _post_ipv6_format_request_body( self, body: typing.Union[request_body.ipv6_format.Ipv6Format,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_ipv6_format_request_body_oapg( + def _post_ipv6_format_request_body( self, body: typing.Union[request_body.ipv6_format.Ipv6Format,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_ipv6_format_request_body_oapg( + def _post_ipv6_format_request_body( self, body: typing.Union[request_body.ipv6_format.Ipv6Format,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostIpv6FormatRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ipv6_format_request_body_oapg( + return self._post_ipv6_format_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ipv6_format_request_body_oapg( + return self._post_ipv6_format_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/__init__.py index b8b5e9daae4..38d43a8f6ac 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_json_pointer_format_request_body_oapg( + def _post_json_pointer_format_request_body( self, body: typing.Union[request_body.json_pointer_format.JsonPointerFormat,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_json_pointer_format_request_body_oapg( ]: ... @typing.overload - def _post_json_pointer_format_request_body_oapg( + def _post_json_pointer_format_request_body( self, body: typing.Union[request_body.json_pointer_format.JsonPointerFormat,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_json_pointer_format_request_body_oapg( @typing.overload - def _post_json_pointer_format_request_body_oapg( + def _post_json_pointer_format_request_body( self, body: typing.Union[request_body.json_pointer_format.JsonPointerFormat,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_json_pointer_format_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_json_pointer_format_request_body_oapg( + def _post_json_pointer_format_request_body( self, body: typing.Union[request_body.json_pointer_format.JsonPointerFormat,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_json_pointer_format_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_json_pointer_format_request_body_oapg( + def _post_json_pointer_format_request_body( self, body: typing.Union[request_body.json_pointer_format.JsonPointerFormat,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_json_pointer_format_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_json_pointer_format_request_body_oapg( + return self._post_json_pointer_format_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_json_pointer_format_request_body_oapg( + return self._post_json_pointer_format_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/__init__.pyi index c593bdcd8ae..73e669ba2f7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_json_pointer_format_request_body_oapg( + def _post_json_pointer_format_request_body( self, body: typing.Union[request_body.json_pointer_format.JsonPointerFormat,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_json_pointer_format_request_body_oapg( + def _post_json_pointer_format_request_body( self, body: typing.Union[request_body.json_pointer_format.JsonPointerFormat,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_json_pointer_format_request_body_oapg( + def _post_json_pointer_format_request_body( self, body: typing.Union[request_body.json_pointer_format.JsonPointerFormat,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_json_pointer_format_request_body_oapg( + def _post_json_pointer_format_request_body( self, body: typing.Union[request_body.json_pointer_format.JsonPointerFormat,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_json_pointer_format_request_body_oapg( + def _post_json_pointer_format_request_body( self, body: typing.Union[request_body.json_pointer_format.JsonPointerFormat,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostJsonPointerFormatRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_json_pointer_format_request_body_oapg( + return self._post_json_pointer_format_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_json_pointer_format_request_body_oapg( + return self._post_json_pointer_format_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/__init__.py index 07190ee8abd..a368fa74710 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_maximum_validation_request_body_oapg( + def _post_maximum_validation_request_body( self, body: typing.Union[request_body.maximum_validation.MaximumValidation,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_maximum_validation_request_body_oapg( ]: ... @typing.overload - def _post_maximum_validation_request_body_oapg( + def _post_maximum_validation_request_body( self, body: typing.Union[request_body.maximum_validation.MaximumValidation,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_maximum_validation_request_body_oapg( @typing.overload - def _post_maximum_validation_request_body_oapg( + def _post_maximum_validation_request_body( self, body: typing.Union[request_body.maximum_validation.MaximumValidation,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_maximum_validation_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_maximum_validation_request_body_oapg( + def _post_maximum_validation_request_body( self, body: typing.Union[request_body.maximum_validation.MaximumValidation,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_maximum_validation_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_maximum_validation_request_body_oapg( + def _post_maximum_validation_request_body( self, body: typing.Union[request_body.maximum_validation.MaximumValidation,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_maximum_validation_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_maximum_validation_request_body_oapg( + return self._post_maximum_validation_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_maximum_validation_request_body_oapg( + return self._post_maximum_validation_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/__init__.pyi index 8e386931852..127c2e4abeb 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_maximum_validation_request_body_oapg( + def _post_maximum_validation_request_body( self, body: typing.Union[request_body.maximum_validation.MaximumValidation,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_maximum_validation_request_body_oapg( + def _post_maximum_validation_request_body( self, body: typing.Union[request_body.maximum_validation.MaximumValidation,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_maximum_validation_request_body_oapg( + def _post_maximum_validation_request_body( self, body: typing.Union[request_body.maximum_validation.MaximumValidation,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_maximum_validation_request_body_oapg( + def _post_maximum_validation_request_body( self, body: typing.Union[request_body.maximum_validation.MaximumValidation,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_maximum_validation_request_body_oapg( + def _post_maximum_validation_request_body( self, body: typing.Union[request_body.maximum_validation.MaximumValidation,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostMaximumValidationRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_maximum_validation_request_body_oapg( + return self._post_maximum_validation_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_maximum_validation_request_body_oapg( + return self._post_maximum_validation_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/__init__.py index 1fcc35b0f0c..2128d533090 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_maximum_validation_with_unsigned_integer_request_body_oapg( + def _post_maximum_validation_with_unsigned_integer_request_body( self, body: typing.Union[request_body.maximum_validation_with_unsigned_integer.MaximumValidationWithUnsignedInteger,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_maximum_validation_with_unsigned_integer_request_body_oapg( ]: ... @typing.overload - def _post_maximum_validation_with_unsigned_integer_request_body_oapg( + def _post_maximum_validation_with_unsigned_integer_request_body( self, body: typing.Union[request_body.maximum_validation_with_unsigned_integer.MaximumValidationWithUnsignedInteger,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_maximum_validation_with_unsigned_integer_request_body_oapg( @typing.overload - def _post_maximum_validation_with_unsigned_integer_request_body_oapg( + def _post_maximum_validation_with_unsigned_integer_request_body( self, body: typing.Union[request_body.maximum_validation_with_unsigned_integer.MaximumValidationWithUnsignedInteger,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_maximum_validation_with_unsigned_integer_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_maximum_validation_with_unsigned_integer_request_body_oapg( + def _post_maximum_validation_with_unsigned_integer_request_body( self, body: typing.Union[request_body.maximum_validation_with_unsigned_integer.MaximumValidationWithUnsignedInteger,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_maximum_validation_with_unsigned_integer_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_maximum_validation_with_unsigned_integer_request_body_oapg( + def _post_maximum_validation_with_unsigned_integer_request_body( self, body: typing.Union[request_body.maximum_validation_with_unsigned_integer.MaximumValidationWithUnsignedInteger,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_maximum_validation_with_unsigned_integer_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_maximum_validation_with_unsigned_integer_request_body_oapg( + return self._post_maximum_validation_with_unsigned_integer_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_maximum_validation_with_unsigned_integer_request_body_oapg( + return self._post_maximum_validation_with_unsigned_integer_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/__init__.pyi index 869c53adef2..bf64cf9406f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_maximum_validation_with_unsigned_integer_request_body_oapg( + def _post_maximum_validation_with_unsigned_integer_request_body( self, body: typing.Union[request_body.maximum_validation_with_unsigned_integer.MaximumValidationWithUnsignedInteger,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_maximum_validation_with_unsigned_integer_request_body_oapg( + def _post_maximum_validation_with_unsigned_integer_request_body( self, body: typing.Union[request_body.maximum_validation_with_unsigned_integer.MaximumValidationWithUnsignedInteger,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_maximum_validation_with_unsigned_integer_request_body_oapg( + def _post_maximum_validation_with_unsigned_integer_request_body( self, body: typing.Union[request_body.maximum_validation_with_unsigned_integer.MaximumValidationWithUnsignedInteger,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_maximum_validation_with_unsigned_integer_request_body_oapg( + def _post_maximum_validation_with_unsigned_integer_request_body( self, body: typing.Union[request_body.maximum_validation_with_unsigned_integer.MaximumValidationWithUnsignedInteger,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_maximum_validation_with_unsigned_integer_request_body_oapg( + def _post_maximum_validation_with_unsigned_integer_request_body( self, body: typing.Union[request_body.maximum_validation_with_unsigned_integer.MaximumValidationWithUnsignedInteger,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostMaximumValidationWithUnsignedIntegerRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_maximum_validation_with_unsigned_integer_request_body_oapg( + return self._post_maximum_validation_with_unsigned_integer_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_maximum_validation_with_unsigned_integer_request_body_oapg( + return self._post_maximum_validation_with_unsigned_integer_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/__init__.py index acc75662d8e..6a789548154 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_maxitems_validation_request_body_oapg( + def _post_maxitems_validation_request_body( self, body: typing.Union[request_body.maxitems_validation.MaxitemsValidation,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_maxitems_validation_request_body_oapg( ]: ... @typing.overload - def _post_maxitems_validation_request_body_oapg( + def _post_maxitems_validation_request_body( self, body: typing.Union[request_body.maxitems_validation.MaxitemsValidation,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_maxitems_validation_request_body_oapg( @typing.overload - def _post_maxitems_validation_request_body_oapg( + def _post_maxitems_validation_request_body( self, body: typing.Union[request_body.maxitems_validation.MaxitemsValidation,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_maxitems_validation_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_maxitems_validation_request_body_oapg( + def _post_maxitems_validation_request_body( self, body: typing.Union[request_body.maxitems_validation.MaxitemsValidation,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_maxitems_validation_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_maxitems_validation_request_body_oapg( + def _post_maxitems_validation_request_body( self, body: typing.Union[request_body.maxitems_validation.MaxitemsValidation,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_maxitems_validation_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_maxitems_validation_request_body_oapg( + return self._post_maxitems_validation_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_maxitems_validation_request_body_oapg( + return self._post_maxitems_validation_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/__init__.pyi index 090989ca581..1e736182506 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_maxitems_validation_request_body_oapg( + def _post_maxitems_validation_request_body( self, body: typing.Union[request_body.maxitems_validation.MaxitemsValidation,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_maxitems_validation_request_body_oapg( + def _post_maxitems_validation_request_body( self, body: typing.Union[request_body.maxitems_validation.MaxitemsValidation,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_maxitems_validation_request_body_oapg( + def _post_maxitems_validation_request_body( self, body: typing.Union[request_body.maxitems_validation.MaxitemsValidation,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_maxitems_validation_request_body_oapg( + def _post_maxitems_validation_request_body( self, body: typing.Union[request_body.maxitems_validation.MaxitemsValidation,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_maxitems_validation_request_body_oapg( + def _post_maxitems_validation_request_body( self, body: typing.Union[request_body.maxitems_validation.MaxitemsValidation,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostMaxitemsValidationRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_maxitems_validation_request_body_oapg( + return self._post_maxitems_validation_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_maxitems_validation_request_body_oapg( + return self._post_maxitems_validation_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/__init__.py index 89f53cb9809..42272a68fd9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_maxlength_validation_request_body_oapg( + def _post_maxlength_validation_request_body( self, body: typing.Union[request_body.maxlength_validation.MaxlengthValidation,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_maxlength_validation_request_body_oapg( ]: ... @typing.overload - def _post_maxlength_validation_request_body_oapg( + def _post_maxlength_validation_request_body( self, body: typing.Union[request_body.maxlength_validation.MaxlengthValidation,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_maxlength_validation_request_body_oapg( @typing.overload - def _post_maxlength_validation_request_body_oapg( + def _post_maxlength_validation_request_body( self, body: typing.Union[request_body.maxlength_validation.MaxlengthValidation,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_maxlength_validation_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_maxlength_validation_request_body_oapg( + def _post_maxlength_validation_request_body( self, body: typing.Union[request_body.maxlength_validation.MaxlengthValidation,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_maxlength_validation_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_maxlength_validation_request_body_oapg( + def _post_maxlength_validation_request_body( self, body: typing.Union[request_body.maxlength_validation.MaxlengthValidation,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_maxlength_validation_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_maxlength_validation_request_body_oapg( + return self._post_maxlength_validation_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_maxlength_validation_request_body_oapg( + return self._post_maxlength_validation_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/__init__.pyi index fb361733737..f75644b8c80 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_maxlength_validation_request_body_oapg( + def _post_maxlength_validation_request_body( self, body: typing.Union[request_body.maxlength_validation.MaxlengthValidation,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_maxlength_validation_request_body_oapg( + def _post_maxlength_validation_request_body( self, body: typing.Union[request_body.maxlength_validation.MaxlengthValidation,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_maxlength_validation_request_body_oapg( + def _post_maxlength_validation_request_body( self, body: typing.Union[request_body.maxlength_validation.MaxlengthValidation,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_maxlength_validation_request_body_oapg( + def _post_maxlength_validation_request_body( self, body: typing.Union[request_body.maxlength_validation.MaxlengthValidation,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_maxlength_validation_request_body_oapg( + def _post_maxlength_validation_request_body( self, body: typing.Union[request_body.maxlength_validation.MaxlengthValidation,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostMaxlengthValidationRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_maxlength_validation_request_body_oapg( + return self._post_maxlength_validation_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_maxlength_validation_request_body_oapg( + return self._post_maxlength_validation_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/__init__.py index c230052e39c..82185784611 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_maxproperties0_means_the_object_is_empty_request_body_oapg( + def _post_maxproperties0_means_the_object_is_empty_request_body( self, body: typing.Union[request_body.maxproperties0_means_the_object_is_empty.Maxproperties0MeansTheObjectIsEmpty,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_maxproperties0_means_the_object_is_empty_request_body_oapg( ]: ... @typing.overload - def _post_maxproperties0_means_the_object_is_empty_request_body_oapg( + def _post_maxproperties0_means_the_object_is_empty_request_body( self, body: typing.Union[request_body.maxproperties0_means_the_object_is_empty.Maxproperties0MeansTheObjectIsEmpty,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_maxproperties0_means_the_object_is_empty_request_body_oapg( @typing.overload - def _post_maxproperties0_means_the_object_is_empty_request_body_oapg( + def _post_maxproperties0_means_the_object_is_empty_request_body( self, body: typing.Union[request_body.maxproperties0_means_the_object_is_empty.Maxproperties0MeansTheObjectIsEmpty,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_maxproperties0_means_the_object_is_empty_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_maxproperties0_means_the_object_is_empty_request_body_oapg( + def _post_maxproperties0_means_the_object_is_empty_request_body( self, body: typing.Union[request_body.maxproperties0_means_the_object_is_empty.Maxproperties0MeansTheObjectIsEmpty,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_maxproperties0_means_the_object_is_empty_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_maxproperties0_means_the_object_is_empty_request_body_oapg( + def _post_maxproperties0_means_the_object_is_empty_request_body( self, body: typing.Union[request_body.maxproperties0_means_the_object_is_empty.Maxproperties0MeansTheObjectIsEmpty,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_maxproperties0_means_the_object_is_empty_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_maxproperties0_means_the_object_is_empty_request_body_oapg( + return self._post_maxproperties0_means_the_object_is_empty_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_maxproperties0_means_the_object_is_empty_request_body_oapg( + return self._post_maxproperties0_means_the_object_is_empty_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/__init__.pyi index 96a682d1f07..1585bb46f25 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_maxproperties0_means_the_object_is_empty_request_body_oapg( + def _post_maxproperties0_means_the_object_is_empty_request_body( self, body: typing.Union[request_body.maxproperties0_means_the_object_is_empty.Maxproperties0MeansTheObjectIsEmpty,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_maxproperties0_means_the_object_is_empty_request_body_oapg( + def _post_maxproperties0_means_the_object_is_empty_request_body( self, body: typing.Union[request_body.maxproperties0_means_the_object_is_empty.Maxproperties0MeansTheObjectIsEmpty,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_maxproperties0_means_the_object_is_empty_request_body_oapg( + def _post_maxproperties0_means_the_object_is_empty_request_body( self, body: typing.Union[request_body.maxproperties0_means_the_object_is_empty.Maxproperties0MeansTheObjectIsEmpty,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_maxproperties0_means_the_object_is_empty_request_body_oapg( + def _post_maxproperties0_means_the_object_is_empty_request_body( self, body: typing.Union[request_body.maxproperties0_means_the_object_is_empty.Maxproperties0MeansTheObjectIsEmpty,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_maxproperties0_means_the_object_is_empty_request_body_oapg( + def _post_maxproperties0_means_the_object_is_empty_request_body( self, body: typing.Union[request_body.maxproperties0_means_the_object_is_empty.Maxproperties0MeansTheObjectIsEmpty,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostMaxproperties0MeansTheObjectIsEmptyRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_maxproperties0_means_the_object_is_empty_request_body_oapg( + return self._post_maxproperties0_means_the_object_is_empty_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_maxproperties0_means_the_object_is_empty_request_body_oapg( + return self._post_maxproperties0_means_the_object_is_empty_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/__init__.py index 974a516968b..7041d9e1e3f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_maxproperties_validation_request_body_oapg( + def _post_maxproperties_validation_request_body( self, body: typing.Union[request_body.maxproperties_validation.MaxpropertiesValidation,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_maxproperties_validation_request_body_oapg( ]: ... @typing.overload - def _post_maxproperties_validation_request_body_oapg( + def _post_maxproperties_validation_request_body( self, body: typing.Union[request_body.maxproperties_validation.MaxpropertiesValidation,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_maxproperties_validation_request_body_oapg( @typing.overload - def _post_maxproperties_validation_request_body_oapg( + def _post_maxproperties_validation_request_body( self, body: typing.Union[request_body.maxproperties_validation.MaxpropertiesValidation,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_maxproperties_validation_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_maxproperties_validation_request_body_oapg( + def _post_maxproperties_validation_request_body( self, body: typing.Union[request_body.maxproperties_validation.MaxpropertiesValidation,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_maxproperties_validation_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_maxproperties_validation_request_body_oapg( + def _post_maxproperties_validation_request_body( self, body: typing.Union[request_body.maxproperties_validation.MaxpropertiesValidation,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_maxproperties_validation_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_maxproperties_validation_request_body_oapg( + return self._post_maxproperties_validation_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_maxproperties_validation_request_body_oapg( + return self._post_maxproperties_validation_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/__init__.pyi index b2159c2106b..a874fc32623 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_maxproperties_validation_request_body_oapg( + def _post_maxproperties_validation_request_body( self, body: typing.Union[request_body.maxproperties_validation.MaxpropertiesValidation,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_maxproperties_validation_request_body_oapg( + def _post_maxproperties_validation_request_body( self, body: typing.Union[request_body.maxproperties_validation.MaxpropertiesValidation,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_maxproperties_validation_request_body_oapg( + def _post_maxproperties_validation_request_body( self, body: typing.Union[request_body.maxproperties_validation.MaxpropertiesValidation,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_maxproperties_validation_request_body_oapg( + def _post_maxproperties_validation_request_body( self, body: typing.Union[request_body.maxproperties_validation.MaxpropertiesValidation,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_maxproperties_validation_request_body_oapg( + def _post_maxproperties_validation_request_body( self, body: typing.Union[request_body.maxproperties_validation.MaxpropertiesValidation,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostMaxpropertiesValidationRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_maxproperties_validation_request_body_oapg( + return self._post_maxproperties_validation_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_maxproperties_validation_request_body_oapg( + return self._post_maxproperties_validation_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/__init__.py index b946b8f3856..99dc44986b5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_minimum_validation_request_body_oapg( + def _post_minimum_validation_request_body( self, body: typing.Union[request_body.minimum_validation.MinimumValidation,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_minimum_validation_request_body_oapg( ]: ... @typing.overload - def _post_minimum_validation_request_body_oapg( + def _post_minimum_validation_request_body( self, body: typing.Union[request_body.minimum_validation.MinimumValidation,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_minimum_validation_request_body_oapg( @typing.overload - def _post_minimum_validation_request_body_oapg( + def _post_minimum_validation_request_body( self, body: typing.Union[request_body.minimum_validation.MinimumValidation,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_minimum_validation_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_minimum_validation_request_body_oapg( + def _post_minimum_validation_request_body( self, body: typing.Union[request_body.minimum_validation.MinimumValidation,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_minimum_validation_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_minimum_validation_request_body_oapg( + def _post_minimum_validation_request_body( self, body: typing.Union[request_body.minimum_validation.MinimumValidation,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_minimum_validation_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_minimum_validation_request_body_oapg( + return self._post_minimum_validation_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_minimum_validation_request_body_oapg( + return self._post_minimum_validation_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/__init__.pyi index a272ec6bc30..149428acc99 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_minimum_validation_request_body_oapg( + def _post_minimum_validation_request_body( self, body: typing.Union[request_body.minimum_validation.MinimumValidation,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_minimum_validation_request_body_oapg( + def _post_minimum_validation_request_body( self, body: typing.Union[request_body.minimum_validation.MinimumValidation,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_minimum_validation_request_body_oapg( + def _post_minimum_validation_request_body( self, body: typing.Union[request_body.minimum_validation.MinimumValidation,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_minimum_validation_request_body_oapg( + def _post_minimum_validation_request_body( self, body: typing.Union[request_body.minimum_validation.MinimumValidation,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_minimum_validation_request_body_oapg( + def _post_minimum_validation_request_body( self, body: typing.Union[request_body.minimum_validation.MinimumValidation,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostMinimumValidationRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_minimum_validation_request_body_oapg( + return self._post_minimum_validation_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_minimum_validation_request_body_oapg( + return self._post_minimum_validation_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/__init__.py index 7bd34dc5c3c..822fb7bc040 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_minimum_validation_with_signed_integer_request_body_oapg( + def _post_minimum_validation_with_signed_integer_request_body( self, body: typing.Union[request_body.minimum_validation_with_signed_integer.MinimumValidationWithSignedInteger,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_minimum_validation_with_signed_integer_request_body_oapg( ]: ... @typing.overload - def _post_minimum_validation_with_signed_integer_request_body_oapg( + def _post_minimum_validation_with_signed_integer_request_body( self, body: typing.Union[request_body.minimum_validation_with_signed_integer.MinimumValidationWithSignedInteger,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_minimum_validation_with_signed_integer_request_body_oapg( @typing.overload - def _post_minimum_validation_with_signed_integer_request_body_oapg( + def _post_minimum_validation_with_signed_integer_request_body( self, body: typing.Union[request_body.minimum_validation_with_signed_integer.MinimumValidationWithSignedInteger,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_minimum_validation_with_signed_integer_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_minimum_validation_with_signed_integer_request_body_oapg( + def _post_minimum_validation_with_signed_integer_request_body( self, body: typing.Union[request_body.minimum_validation_with_signed_integer.MinimumValidationWithSignedInteger,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_minimum_validation_with_signed_integer_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_minimum_validation_with_signed_integer_request_body_oapg( + def _post_minimum_validation_with_signed_integer_request_body( self, body: typing.Union[request_body.minimum_validation_with_signed_integer.MinimumValidationWithSignedInteger,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_minimum_validation_with_signed_integer_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_minimum_validation_with_signed_integer_request_body_oapg( + return self._post_minimum_validation_with_signed_integer_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_minimum_validation_with_signed_integer_request_body_oapg( + return self._post_minimum_validation_with_signed_integer_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/__init__.pyi index d87c10ff21b..5d37e9528aa 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_minimum_validation_with_signed_integer_request_body_oapg( + def _post_minimum_validation_with_signed_integer_request_body( self, body: typing.Union[request_body.minimum_validation_with_signed_integer.MinimumValidationWithSignedInteger,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_minimum_validation_with_signed_integer_request_body_oapg( + def _post_minimum_validation_with_signed_integer_request_body( self, body: typing.Union[request_body.minimum_validation_with_signed_integer.MinimumValidationWithSignedInteger,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_minimum_validation_with_signed_integer_request_body_oapg( + def _post_minimum_validation_with_signed_integer_request_body( self, body: typing.Union[request_body.minimum_validation_with_signed_integer.MinimumValidationWithSignedInteger,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_minimum_validation_with_signed_integer_request_body_oapg( + def _post_minimum_validation_with_signed_integer_request_body( self, body: typing.Union[request_body.minimum_validation_with_signed_integer.MinimumValidationWithSignedInteger,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_minimum_validation_with_signed_integer_request_body_oapg( + def _post_minimum_validation_with_signed_integer_request_body( self, body: typing.Union[request_body.minimum_validation_with_signed_integer.MinimumValidationWithSignedInteger,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostMinimumValidationWithSignedIntegerRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_minimum_validation_with_signed_integer_request_body_oapg( + return self._post_minimum_validation_with_signed_integer_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_minimum_validation_with_signed_integer_request_body_oapg( + return self._post_minimum_validation_with_signed_integer_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/__init__.py index 4bbf5a9e332..c70dad0e73c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_minitems_validation_request_body_oapg( + def _post_minitems_validation_request_body( self, body: typing.Union[request_body.minitems_validation.MinitemsValidation,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_minitems_validation_request_body_oapg( ]: ... @typing.overload - def _post_minitems_validation_request_body_oapg( + def _post_minitems_validation_request_body( self, body: typing.Union[request_body.minitems_validation.MinitemsValidation,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_minitems_validation_request_body_oapg( @typing.overload - def _post_minitems_validation_request_body_oapg( + def _post_minitems_validation_request_body( self, body: typing.Union[request_body.minitems_validation.MinitemsValidation,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_minitems_validation_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_minitems_validation_request_body_oapg( + def _post_minitems_validation_request_body( self, body: typing.Union[request_body.minitems_validation.MinitemsValidation,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_minitems_validation_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_minitems_validation_request_body_oapg( + def _post_minitems_validation_request_body( self, body: typing.Union[request_body.minitems_validation.MinitemsValidation,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_minitems_validation_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_minitems_validation_request_body_oapg( + return self._post_minitems_validation_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_minitems_validation_request_body_oapg( + return self._post_minitems_validation_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/__init__.pyi index 0e1f136459e..0c5fa099112 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_minitems_validation_request_body_oapg( + def _post_minitems_validation_request_body( self, body: typing.Union[request_body.minitems_validation.MinitemsValidation,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_minitems_validation_request_body_oapg( + def _post_minitems_validation_request_body( self, body: typing.Union[request_body.minitems_validation.MinitemsValidation,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_minitems_validation_request_body_oapg( + def _post_minitems_validation_request_body( self, body: typing.Union[request_body.minitems_validation.MinitemsValidation,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_minitems_validation_request_body_oapg( + def _post_minitems_validation_request_body( self, body: typing.Union[request_body.minitems_validation.MinitemsValidation,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_minitems_validation_request_body_oapg( + def _post_minitems_validation_request_body( self, body: typing.Union[request_body.minitems_validation.MinitemsValidation,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostMinitemsValidationRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_minitems_validation_request_body_oapg( + return self._post_minitems_validation_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_minitems_validation_request_body_oapg( + return self._post_minitems_validation_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/__init__.py index 8e13536eecc..928eb5a8513 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_minlength_validation_request_body_oapg( + def _post_minlength_validation_request_body( self, body: typing.Union[request_body.minlength_validation.MinlengthValidation,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_minlength_validation_request_body_oapg( ]: ... @typing.overload - def _post_minlength_validation_request_body_oapg( + def _post_minlength_validation_request_body( self, body: typing.Union[request_body.minlength_validation.MinlengthValidation,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_minlength_validation_request_body_oapg( @typing.overload - def _post_minlength_validation_request_body_oapg( + def _post_minlength_validation_request_body( self, body: typing.Union[request_body.minlength_validation.MinlengthValidation,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_minlength_validation_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_minlength_validation_request_body_oapg( + def _post_minlength_validation_request_body( self, body: typing.Union[request_body.minlength_validation.MinlengthValidation,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_minlength_validation_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_minlength_validation_request_body_oapg( + def _post_minlength_validation_request_body( self, body: typing.Union[request_body.minlength_validation.MinlengthValidation,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_minlength_validation_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_minlength_validation_request_body_oapg( + return self._post_minlength_validation_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_minlength_validation_request_body_oapg( + return self._post_minlength_validation_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/__init__.pyi index cbf77ef71dc..647f8a8ec5c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_minlength_validation_request_body_oapg( + def _post_minlength_validation_request_body( self, body: typing.Union[request_body.minlength_validation.MinlengthValidation,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_minlength_validation_request_body_oapg( + def _post_minlength_validation_request_body( self, body: typing.Union[request_body.minlength_validation.MinlengthValidation,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_minlength_validation_request_body_oapg( + def _post_minlength_validation_request_body( self, body: typing.Union[request_body.minlength_validation.MinlengthValidation,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_minlength_validation_request_body_oapg( + def _post_minlength_validation_request_body( self, body: typing.Union[request_body.minlength_validation.MinlengthValidation,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_minlength_validation_request_body_oapg( + def _post_minlength_validation_request_body( self, body: typing.Union[request_body.minlength_validation.MinlengthValidation,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostMinlengthValidationRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_minlength_validation_request_body_oapg( + return self._post_minlength_validation_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_minlength_validation_request_body_oapg( + return self._post_minlength_validation_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/__init__.py index 722037db9d4..48d7f5a1182 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_minproperties_validation_request_body_oapg( + def _post_minproperties_validation_request_body( self, body: typing.Union[request_body.minproperties_validation.MinpropertiesValidation,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_minproperties_validation_request_body_oapg( ]: ... @typing.overload - def _post_minproperties_validation_request_body_oapg( + def _post_minproperties_validation_request_body( self, body: typing.Union[request_body.minproperties_validation.MinpropertiesValidation,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_minproperties_validation_request_body_oapg( @typing.overload - def _post_minproperties_validation_request_body_oapg( + def _post_minproperties_validation_request_body( self, body: typing.Union[request_body.minproperties_validation.MinpropertiesValidation,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_minproperties_validation_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_minproperties_validation_request_body_oapg( + def _post_minproperties_validation_request_body( self, body: typing.Union[request_body.minproperties_validation.MinpropertiesValidation,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_minproperties_validation_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_minproperties_validation_request_body_oapg( + def _post_minproperties_validation_request_body( self, body: typing.Union[request_body.minproperties_validation.MinpropertiesValidation,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_minproperties_validation_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_minproperties_validation_request_body_oapg( + return self._post_minproperties_validation_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_minproperties_validation_request_body_oapg( + return self._post_minproperties_validation_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/__init__.pyi index 64946536c26..6f37b8c6137 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_minproperties_validation_request_body_oapg( + def _post_minproperties_validation_request_body( self, body: typing.Union[request_body.minproperties_validation.MinpropertiesValidation,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_minproperties_validation_request_body_oapg( + def _post_minproperties_validation_request_body( self, body: typing.Union[request_body.minproperties_validation.MinpropertiesValidation,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_minproperties_validation_request_body_oapg( + def _post_minproperties_validation_request_body( self, body: typing.Union[request_body.minproperties_validation.MinpropertiesValidation,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_minproperties_validation_request_body_oapg( + def _post_minproperties_validation_request_body( self, body: typing.Union[request_body.minproperties_validation.MinpropertiesValidation,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_minproperties_validation_request_body_oapg( + def _post_minproperties_validation_request_body( self, body: typing.Union[request_body.minproperties_validation.MinpropertiesValidation,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostMinpropertiesValidationRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_minproperties_validation_request_body_oapg( + return self._post_minproperties_validation_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_minproperties_validation_request_body_oapg( + return self._post_minproperties_validation_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/__init__.py index f27f7825cf9..5bbb734d484 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_nested_allof_to_check_validation_semantics_request_body_oapg( + def _post_nested_allof_to_check_validation_semantics_request_body( self, body: typing.Union[request_body.nested_allof_to_check_validation_semantics.NestedAllofToCheckValidationSemantics,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_nested_allof_to_check_validation_semantics_request_body_oapg( ]: ... @typing.overload - def _post_nested_allof_to_check_validation_semantics_request_body_oapg( + def _post_nested_allof_to_check_validation_semantics_request_body( self, body: typing.Union[request_body.nested_allof_to_check_validation_semantics.NestedAllofToCheckValidationSemantics,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_nested_allof_to_check_validation_semantics_request_body_oapg( @typing.overload - def _post_nested_allof_to_check_validation_semantics_request_body_oapg( + def _post_nested_allof_to_check_validation_semantics_request_body( self, body: typing.Union[request_body.nested_allof_to_check_validation_semantics.NestedAllofToCheckValidationSemantics,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_nested_allof_to_check_validation_semantics_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_nested_allof_to_check_validation_semantics_request_body_oapg( + def _post_nested_allof_to_check_validation_semantics_request_body( self, body: typing.Union[request_body.nested_allof_to_check_validation_semantics.NestedAllofToCheckValidationSemantics,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_nested_allof_to_check_validation_semantics_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_nested_allof_to_check_validation_semantics_request_body_oapg( + def _post_nested_allof_to_check_validation_semantics_request_body( self, body: typing.Union[request_body.nested_allof_to_check_validation_semantics.NestedAllofToCheckValidationSemantics,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_nested_allof_to_check_validation_semantics_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_nested_allof_to_check_validation_semantics_request_body_oapg( + return self._post_nested_allof_to_check_validation_semantics_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_nested_allof_to_check_validation_semantics_request_body_oapg( + return self._post_nested_allof_to_check_validation_semantics_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/__init__.pyi index 50991b8ac59..e4f50d9d919 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_nested_allof_to_check_validation_semantics_request_body_oapg( + def _post_nested_allof_to_check_validation_semantics_request_body( self, body: typing.Union[request_body.nested_allof_to_check_validation_semantics.NestedAllofToCheckValidationSemantics,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_nested_allof_to_check_validation_semantics_request_body_oapg( + def _post_nested_allof_to_check_validation_semantics_request_body( self, body: typing.Union[request_body.nested_allof_to_check_validation_semantics.NestedAllofToCheckValidationSemantics,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_nested_allof_to_check_validation_semantics_request_body_oapg( + def _post_nested_allof_to_check_validation_semantics_request_body( self, body: typing.Union[request_body.nested_allof_to_check_validation_semantics.NestedAllofToCheckValidationSemantics,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_nested_allof_to_check_validation_semantics_request_body_oapg( + def _post_nested_allof_to_check_validation_semantics_request_body( self, body: typing.Union[request_body.nested_allof_to_check_validation_semantics.NestedAllofToCheckValidationSemantics,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_nested_allof_to_check_validation_semantics_request_body_oapg( + def _post_nested_allof_to_check_validation_semantics_request_body( self, body: typing.Union[request_body.nested_allof_to_check_validation_semantics.NestedAllofToCheckValidationSemantics,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostNestedAllofToCheckValidationSemanticsRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_nested_allof_to_check_validation_semantics_request_body_oapg( + return self._post_nested_allof_to_check_validation_semantics_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_nested_allof_to_check_validation_semantics_request_body_oapg( + return self._post_nested_allof_to_check_validation_semantics_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/__init__.py index 7ef1d3b9873..1e160e84eed 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_nested_anyof_to_check_validation_semantics_request_body_oapg( + def _post_nested_anyof_to_check_validation_semantics_request_body( self, body: typing.Union[request_body.nested_anyof_to_check_validation_semantics.NestedAnyofToCheckValidationSemantics,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_nested_anyof_to_check_validation_semantics_request_body_oapg( ]: ... @typing.overload - def _post_nested_anyof_to_check_validation_semantics_request_body_oapg( + def _post_nested_anyof_to_check_validation_semantics_request_body( self, body: typing.Union[request_body.nested_anyof_to_check_validation_semantics.NestedAnyofToCheckValidationSemantics,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_nested_anyof_to_check_validation_semantics_request_body_oapg( @typing.overload - def _post_nested_anyof_to_check_validation_semantics_request_body_oapg( + def _post_nested_anyof_to_check_validation_semantics_request_body( self, body: typing.Union[request_body.nested_anyof_to_check_validation_semantics.NestedAnyofToCheckValidationSemantics,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_nested_anyof_to_check_validation_semantics_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_nested_anyof_to_check_validation_semantics_request_body_oapg( + def _post_nested_anyof_to_check_validation_semantics_request_body( self, body: typing.Union[request_body.nested_anyof_to_check_validation_semantics.NestedAnyofToCheckValidationSemantics,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_nested_anyof_to_check_validation_semantics_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_nested_anyof_to_check_validation_semantics_request_body_oapg( + def _post_nested_anyof_to_check_validation_semantics_request_body( self, body: typing.Union[request_body.nested_anyof_to_check_validation_semantics.NestedAnyofToCheckValidationSemantics,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_nested_anyof_to_check_validation_semantics_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_nested_anyof_to_check_validation_semantics_request_body_oapg( + return self._post_nested_anyof_to_check_validation_semantics_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_nested_anyof_to_check_validation_semantics_request_body_oapg( + return self._post_nested_anyof_to_check_validation_semantics_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/__init__.pyi index a3545285f8d..0a6d3c80b90 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_nested_anyof_to_check_validation_semantics_request_body_oapg( + def _post_nested_anyof_to_check_validation_semantics_request_body( self, body: typing.Union[request_body.nested_anyof_to_check_validation_semantics.NestedAnyofToCheckValidationSemantics,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_nested_anyof_to_check_validation_semantics_request_body_oapg( + def _post_nested_anyof_to_check_validation_semantics_request_body( self, body: typing.Union[request_body.nested_anyof_to_check_validation_semantics.NestedAnyofToCheckValidationSemantics,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_nested_anyof_to_check_validation_semantics_request_body_oapg( + def _post_nested_anyof_to_check_validation_semantics_request_body( self, body: typing.Union[request_body.nested_anyof_to_check_validation_semantics.NestedAnyofToCheckValidationSemantics,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_nested_anyof_to_check_validation_semantics_request_body_oapg( + def _post_nested_anyof_to_check_validation_semantics_request_body( self, body: typing.Union[request_body.nested_anyof_to_check_validation_semantics.NestedAnyofToCheckValidationSemantics,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_nested_anyof_to_check_validation_semantics_request_body_oapg( + def _post_nested_anyof_to_check_validation_semantics_request_body( self, body: typing.Union[request_body.nested_anyof_to_check_validation_semantics.NestedAnyofToCheckValidationSemantics,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostNestedAnyofToCheckValidationSemanticsRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_nested_anyof_to_check_validation_semantics_request_body_oapg( + return self._post_nested_anyof_to_check_validation_semantics_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_nested_anyof_to_check_validation_semantics_request_body_oapg( + return self._post_nested_anyof_to_check_validation_semantics_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_items_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_items_request_body/post/__init__.py index 8e5d2252489..4314c684dde 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_items_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_items_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_nested_items_request_body_oapg( + def _post_nested_items_request_body( self, body: typing.Union[request_body.nested_items.NestedItems,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_nested_items_request_body_oapg( ]: ... @typing.overload - def _post_nested_items_request_body_oapg( + def _post_nested_items_request_body( self, body: typing.Union[request_body.nested_items.NestedItems,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_nested_items_request_body_oapg( @typing.overload - def _post_nested_items_request_body_oapg( + def _post_nested_items_request_body( self, body: typing.Union[request_body.nested_items.NestedItems,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_nested_items_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_nested_items_request_body_oapg( + def _post_nested_items_request_body( self, body: typing.Union[request_body.nested_items.NestedItems,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_nested_items_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_nested_items_request_body_oapg( + def _post_nested_items_request_body( self, body: typing.Union[request_body.nested_items.NestedItems,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_nested_items_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_nested_items_request_body_oapg( + return self._post_nested_items_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_nested_items_request_body_oapg( + return self._post_nested_items_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_items_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_items_request_body/post/__init__.pyi index afd76098d6d..3689aad909e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_items_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_items_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_nested_items_request_body_oapg( + def _post_nested_items_request_body( self, body: typing.Union[request_body.nested_items.NestedItems,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_nested_items_request_body_oapg( + def _post_nested_items_request_body( self, body: typing.Union[request_body.nested_items.NestedItems,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_nested_items_request_body_oapg( + def _post_nested_items_request_body( self, body: typing.Union[request_body.nested_items.NestedItems,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_nested_items_request_body_oapg( + def _post_nested_items_request_body( self, body: typing.Union[request_body.nested_items.NestedItems,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_nested_items_request_body_oapg( + def _post_nested_items_request_body( self, body: typing.Union[request_body.nested_items.NestedItems,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostNestedItemsRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_nested_items_request_body_oapg( + return self._post_nested_items_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_nested_items_request_body_oapg( + return self._post_nested_items_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/__init__.py index 224d55f9b78..a53427b198e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_nested_oneof_to_check_validation_semantics_request_body_oapg( + def _post_nested_oneof_to_check_validation_semantics_request_body( self, body: typing.Union[request_body.nested_oneof_to_check_validation_semantics.NestedOneofToCheckValidationSemantics,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_nested_oneof_to_check_validation_semantics_request_body_oapg( ]: ... @typing.overload - def _post_nested_oneof_to_check_validation_semantics_request_body_oapg( + def _post_nested_oneof_to_check_validation_semantics_request_body( self, body: typing.Union[request_body.nested_oneof_to_check_validation_semantics.NestedOneofToCheckValidationSemantics,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_nested_oneof_to_check_validation_semantics_request_body_oapg( @typing.overload - def _post_nested_oneof_to_check_validation_semantics_request_body_oapg( + def _post_nested_oneof_to_check_validation_semantics_request_body( self, body: typing.Union[request_body.nested_oneof_to_check_validation_semantics.NestedOneofToCheckValidationSemantics,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_nested_oneof_to_check_validation_semantics_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_nested_oneof_to_check_validation_semantics_request_body_oapg( + def _post_nested_oneof_to_check_validation_semantics_request_body( self, body: typing.Union[request_body.nested_oneof_to_check_validation_semantics.NestedOneofToCheckValidationSemantics,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_nested_oneof_to_check_validation_semantics_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_nested_oneof_to_check_validation_semantics_request_body_oapg( + def _post_nested_oneof_to_check_validation_semantics_request_body( self, body: typing.Union[request_body.nested_oneof_to_check_validation_semantics.NestedOneofToCheckValidationSemantics,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_nested_oneof_to_check_validation_semantics_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_nested_oneof_to_check_validation_semantics_request_body_oapg( + return self._post_nested_oneof_to_check_validation_semantics_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_nested_oneof_to_check_validation_semantics_request_body_oapg( + return self._post_nested_oneof_to_check_validation_semantics_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/__init__.pyi index c81399a485a..a20ede8b9ec 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_nested_oneof_to_check_validation_semantics_request_body_oapg( + def _post_nested_oneof_to_check_validation_semantics_request_body( self, body: typing.Union[request_body.nested_oneof_to_check_validation_semantics.NestedOneofToCheckValidationSemantics,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_nested_oneof_to_check_validation_semantics_request_body_oapg( + def _post_nested_oneof_to_check_validation_semantics_request_body( self, body: typing.Union[request_body.nested_oneof_to_check_validation_semantics.NestedOneofToCheckValidationSemantics,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_nested_oneof_to_check_validation_semantics_request_body_oapg( + def _post_nested_oneof_to_check_validation_semantics_request_body( self, body: typing.Union[request_body.nested_oneof_to_check_validation_semantics.NestedOneofToCheckValidationSemantics,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_nested_oneof_to_check_validation_semantics_request_body_oapg( + def _post_nested_oneof_to_check_validation_semantics_request_body( self, body: typing.Union[request_body.nested_oneof_to_check_validation_semantics.NestedOneofToCheckValidationSemantics,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_nested_oneof_to_check_validation_semantics_request_body_oapg( + def _post_nested_oneof_to_check_validation_semantics_request_body( self, body: typing.Union[request_body.nested_oneof_to_check_validation_semantics.NestedOneofToCheckValidationSemantics,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostNestedOneofToCheckValidationSemanticsRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_nested_oneof_to_check_validation_semantics_request_body_oapg( + return self._post_nested_oneof_to_check_validation_semantics_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_nested_oneof_to_check_validation_semantics_request_body_oapg( + return self._post_nested_oneof_to_check_validation_semantics_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/__init__.py index c6cde38aa4e..54701e3c3e6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_not_more_complex_schema_request_body_oapg( + def _post_not_more_complex_schema_request_body( self, body: typing.Union[request_body.not_more_complex_schema.NotMoreComplexSchema,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_not_more_complex_schema_request_body_oapg( ]: ... @typing.overload - def _post_not_more_complex_schema_request_body_oapg( + def _post_not_more_complex_schema_request_body( self, body: typing.Union[request_body.not_more_complex_schema.NotMoreComplexSchema,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_not_more_complex_schema_request_body_oapg( @typing.overload - def _post_not_more_complex_schema_request_body_oapg( + def _post_not_more_complex_schema_request_body( self, body: typing.Union[request_body.not_more_complex_schema.NotMoreComplexSchema,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_not_more_complex_schema_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_not_more_complex_schema_request_body_oapg( + def _post_not_more_complex_schema_request_body( self, body: typing.Union[request_body.not_more_complex_schema.NotMoreComplexSchema,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_not_more_complex_schema_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_not_more_complex_schema_request_body_oapg( + def _post_not_more_complex_schema_request_body( self, body: typing.Union[request_body.not_more_complex_schema.NotMoreComplexSchema,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_not_more_complex_schema_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_not_more_complex_schema_request_body_oapg( + return self._post_not_more_complex_schema_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_not_more_complex_schema_request_body_oapg( + return self._post_not_more_complex_schema_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/__init__.pyi index a8d8586b154..524f456adc7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_not_more_complex_schema_request_body_oapg( + def _post_not_more_complex_schema_request_body( self, body: typing.Union[request_body.not_more_complex_schema.NotMoreComplexSchema,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_not_more_complex_schema_request_body_oapg( + def _post_not_more_complex_schema_request_body( self, body: typing.Union[request_body.not_more_complex_schema.NotMoreComplexSchema,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_not_more_complex_schema_request_body_oapg( + def _post_not_more_complex_schema_request_body( self, body: typing.Union[request_body.not_more_complex_schema.NotMoreComplexSchema,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_not_more_complex_schema_request_body_oapg( + def _post_not_more_complex_schema_request_body( self, body: typing.Union[request_body.not_more_complex_schema.NotMoreComplexSchema,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_not_more_complex_schema_request_body_oapg( + def _post_not_more_complex_schema_request_body( self, body: typing.Union[request_body.not_more_complex_schema.NotMoreComplexSchema,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostNotMoreComplexSchemaRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_not_more_complex_schema_request_body_oapg( + return self._post_not_more_complex_schema_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_not_more_complex_schema_request_body_oapg( + return self._post_not_more_complex_schema_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_not_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_not_request_body/post/__init__.py index b5b14331e9b..de8675ab9a2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_not_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_not_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_not_request_body_oapg( + def _post_not_request_body( self, body: typing.Union[request_body._not._Not,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_not_request_body_oapg( ]: ... @typing.overload - def _post_not_request_body_oapg( + def _post_not_request_body( self, body: typing.Union[request_body._not._Not,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_not_request_body_oapg( @typing.overload - def _post_not_request_body_oapg( + def _post_not_request_body( self, body: typing.Union[request_body._not._Not,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_not_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_not_request_body_oapg( + def _post_not_request_body( self, body: typing.Union[request_body._not._Not,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_not_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_not_request_body_oapg( + def _post_not_request_body( self, body: typing.Union[request_body._not._Not,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_not_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_not_request_body_oapg( + return self._post_not_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_not_request_body_oapg( + return self._post_not_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_not_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_not_request_body/post/__init__.pyi index 92bce18105c..1f87ca83c2a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_not_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_not_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_not_request_body_oapg( + def _post_not_request_body( self, body: typing.Union[request_body._not._Not,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_not_request_body_oapg( + def _post_not_request_body( self, body: typing.Union[request_body._not._Not,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_not_request_body_oapg( + def _post_not_request_body( self, body: typing.Union[request_body._not._Not,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_not_request_body_oapg( + def _post_not_request_body( self, body: typing.Union[request_body._not._Not,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_not_request_body_oapg( + def _post_not_request_body( self, body: typing.Union[request_body._not._Not,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostNotRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_not_request_body_oapg( + return self._post_not_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_not_request_body_oapg( + return self._post_not_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/__init__.py index 18ca1211505..01fe87ed58c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_nul_characters_in_strings_request_body_oapg( + def _post_nul_characters_in_strings_request_body( self, body: typing.Union[request_body.nul_characters_in_strings.NulCharactersInStrings,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_nul_characters_in_strings_request_body_oapg( ]: ... @typing.overload - def _post_nul_characters_in_strings_request_body_oapg( + def _post_nul_characters_in_strings_request_body( self, body: typing.Union[request_body.nul_characters_in_strings.NulCharactersInStrings,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_nul_characters_in_strings_request_body_oapg( @typing.overload - def _post_nul_characters_in_strings_request_body_oapg( + def _post_nul_characters_in_strings_request_body( self, body: typing.Union[request_body.nul_characters_in_strings.NulCharactersInStrings,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_nul_characters_in_strings_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_nul_characters_in_strings_request_body_oapg( + def _post_nul_characters_in_strings_request_body( self, body: typing.Union[request_body.nul_characters_in_strings.NulCharactersInStrings,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_nul_characters_in_strings_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_nul_characters_in_strings_request_body_oapg( + def _post_nul_characters_in_strings_request_body( self, body: typing.Union[request_body.nul_characters_in_strings.NulCharactersInStrings,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_nul_characters_in_strings_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_nul_characters_in_strings_request_body_oapg( + return self._post_nul_characters_in_strings_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_nul_characters_in_strings_request_body_oapg( + return self._post_nul_characters_in_strings_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/__init__.pyi index ee4a61164df..8cdae7218c9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_nul_characters_in_strings_request_body_oapg( + def _post_nul_characters_in_strings_request_body( self, body: typing.Union[request_body.nul_characters_in_strings.NulCharactersInStrings,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_nul_characters_in_strings_request_body_oapg( + def _post_nul_characters_in_strings_request_body( self, body: typing.Union[request_body.nul_characters_in_strings.NulCharactersInStrings,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_nul_characters_in_strings_request_body_oapg( + def _post_nul_characters_in_strings_request_body( self, body: typing.Union[request_body.nul_characters_in_strings.NulCharactersInStrings,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_nul_characters_in_strings_request_body_oapg( + def _post_nul_characters_in_strings_request_body( self, body: typing.Union[request_body.nul_characters_in_strings.NulCharactersInStrings,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_nul_characters_in_strings_request_body_oapg( + def _post_nul_characters_in_strings_request_body( self, body: typing.Union[request_body.nul_characters_in_strings.NulCharactersInStrings,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostNulCharactersInStringsRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_nul_characters_in_strings_request_body_oapg( + return self._post_nul_characters_in_strings_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_nul_characters_in_strings_request_body_oapg( + return self._post_nul_characters_in_strings_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/__init__.py index e0bee2a744d..6326df34571 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_null_type_matches_only_the_null_object_request_body_oapg( + def _post_null_type_matches_only_the_null_object_request_body( self, body: typing.Union[request_body.null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_null_type_matches_only_the_null_object_request_body_oapg( ]: ... @typing.overload - def _post_null_type_matches_only_the_null_object_request_body_oapg( + def _post_null_type_matches_only_the_null_object_request_body( self, body: typing.Union[request_body.null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_null_type_matches_only_the_null_object_request_body_oapg( @typing.overload - def _post_null_type_matches_only_the_null_object_request_body_oapg( + def _post_null_type_matches_only_the_null_object_request_body( self, body: typing.Union[request_body.null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_null_type_matches_only_the_null_object_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_null_type_matches_only_the_null_object_request_body_oapg( + def _post_null_type_matches_only_the_null_object_request_body( self, body: typing.Union[request_body.null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_null_type_matches_only_the_null_object_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_null_type_matches_only_the_null_object_request_body_oapg( + def _post_null_type_matches_only_the_null_object_request_body( self, body: typing.Union[request_body.null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_null_type_matches_only_the_null_object_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_null_type_matches_only_the_null_object_request_body_oapg( + return self._post_null_type_matches_only_the_null_object_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_null_type_matches_only_the_null_object_request_body_oapg( + return self._post_null_type_matches_only_the_null_object_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/__init__.pyi index f7194a6bbb0..d7b34487171 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_null_type_matches_only_the_null_object_request_body_oapg( + def _post_null_type_matches_only_the_null_object_request_body( self, body: typing.Union[request_body.null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_null_type_matches_only_the_null_object_request_body_oapg( + def _post_null_type_matches_only_the_null_object_request_body( self, body: typing.Union[request_body.null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_null_type_matches_only_the_null_object_request_body_oapg( + def _post_null_type_matches_only_the_null_object_request_body( self, body: typing.Union[request_body.null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_null_type_matches_only_the_null_object_request_body_oapg( + def _post_null_type_matches_only_the_null_object_request_body( self, body: typing.Union[request_body.null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_null_type_matches_only_the_null_object_request_body_oapg( + def _post_null_type_matches_only_the_null_object_request_body( self, body: typing.Union[request_body.null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostNullTypeMatchesOnlyTheNullObjectRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_null_type_matches_only_the_null_object_request_body_oapg( + return self._post_null_type_matches_only_the_null_object_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_null_type_matches_only_the_null_object_request_body_oapg( + return self._post_null_type_matches_only_the_null_object_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/__init__.py index ab5334122ea..5587bb3dbf4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_number_type_matches_numbers_request_body_oapg( + def _post_number_type_matches_numbers_request_body( self, body: typing.Union[request_body.number_type_matches_numbers.NumberTypeMatchesNumbers,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_number_type_matches_numbers_request_body_oapg( ]: ... @typing.overload - def _post_number_type_matches_numbers_request_body_oapg( + def _post_number_type_matches_numbers_request_body( self, body: typing.Union[request_body.number_type_matches_numbers.NumberTypeMatchesNumbers,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_number_type_matches_numbers_request_body_oapg( @typing.overload - def _post_number_type_matches_numbers_request_body_oapg( + def _post_number_type_matches_numbers_request_body( self, body: typing.Union[request_body.number_type_matches_numbers.NumberTypeMatchesNumbers,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_number_type_matches_numbers_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_number_type_matches_numbers_request_body_oapg( + def _post_number_type_matches_numbers_request_body( self, body: typing.Union[request_body.number_type_matches_numbers.NumberTypeMatchesNumbers,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_number_type_matches_numbers_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_number_type_matches_numbers_request_body_oapg( + def _post_number_type_matches_numbers_request_body( self, body: typing.Union[request_body.number_type_matches_numbers.NumberTypeMatchesNumbers,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_number_type_matches_numbers_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_number_type_matches_numbers_request_body_oapg( + return self._post_number_type_matches_numbers_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_number_type_matches_numbers_request_body_oapg( + return self._post_number_type_matches_numbers_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/__init__.pyi index 8e4c08580ab..94815e96519 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_number_type_matches_numbers_request_body_oapg( + def _post_number_type_matches_numbers_request_body( self, body: typing.Union[request_body.number_type_matches_numbers.NumberTypeMatchesNumbers,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_number_type_matches_numbers_request_body_oapg( + def _post_number_type_matches_numbers_request_body( self, body: typing.Union[request_body.number_type_matches_numbers.NumberTypeMatchesNumbers,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_number_type_matches_numbers_request_body_oapg( + def _post_number_type_matches_numbers_request_body( self, body: typing.Union[request_body.number_type_matches_numbers.NumberTypeMatchesNumbers,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_number_type_matches_numbers_request_body_oapg( + def _post_number_type_matches_numbers_request_body( self, body: typing.Union[request_body.number_type_matches_numbers.NumberTypeMatchesNumbers,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_number_type_matches_numbers_request_body_oapg( + def _post_number_type_matches_numbers_request_body( self, body: typing.Union[request_body.number_type_matches_numbers.NumberTypeMatchesNumbers,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostNumberTypeMatchesNumbersRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_number_type_matches_numbers_request_body_oapg( + return self._post_number_type_matches_numbers_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_number_type_matches_numbers_request_body_oapg( + return self._post_number_type_matches_numbers_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/__init__.py index 625714b814f..2e4675158fd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_object_properties_validation_request_body_oapg( + def _post_object_properties_validation_request_body( self, body: typing.Union[request_body.object_properties_validation.ObjectPropertiesValidation,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_object_properties_validation_request_body_oapg( ]: ... @typing.overload - def _post_object_properties_validation_request_body_oapg( + def _post_object_properties_validation_request_body( self, body: typing.Union[request_body.object_properties_validation.ObjectPropertiesValidation,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_object_properties_validation_request_body_oapg( @typing.overload - def _post_object_properties_validation_request_body_oapg( + def _post_object_properties_validation_request_body( self, body: typing.Union[request_body.object_properties_validation.ObjectPropertiesValidation,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_object_properties_validation_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_object_properties_validation_request_body_oapg( + def _post_object_properties_validation_request_body( self, body: typing.Union[request_body.object_properties_validation.ObjectPropertiesValidation,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_object_properties_validation_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_object_properties_validation_request_body_oapg( + def _post_object_properties_validation_request_body( self, body: typing.Union[request_body.object_properties_validation.ObjectPropertiesValidation,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_object_properties_validation_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_object_properties_validation_request_body_oapg( + return self._post_object_properties_validation_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_object_properties_validation_request_body_oapg( + return self._post_object_properties_validation_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/__init__.pyi index 833d8ee016f..c043d6fddef 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_object_properties_validation_request_body_oapg( + def _post_object_properties_validation_request_body( self, body: typing.Union[request_body.object_properties_validation.ObjectPropertiesValidation,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_object_properties_validation_request_body_oapg( + def _post_object_properties_validation_request_body( self, body: typing.Union[request_body.object_properties_validation.ObjectPropertiesValidation,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_object_properties_validation_request_body_oapg( + def _post_object_properties_validation_request_body( self, body: typing.Union[request_body.object_properties_validation.ObjectPropertiesValidation,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_object_properties_validation_request_body_oapg( + def _post_object_properties_validation_request_body( self, body: typing.Union[request_body.object_properties_validation.ObjectPropertiesValidation,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_object_properties_validation_request_body_oapg( + def _post_object_properties_validation_request_body( self, body: typing.Union[request_body.object_properties_validation.ObjectPropertiesValidation,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostObjectPropertiesValidationRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_object_properties_validation_request_body_oapg( + return self._post_object_properties_validation_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_object_properties_validation_request_body_oapg( + return self._post_object_properties_validation_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/__init__.py index 0ed330615e4..59eccf542ef 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_object_type_matches_objects_request_body_oapg( + def _post_object_type_matches_objects_request_body( self, body: typing.Union[request_body.object_type_matches_objects.ObjectTypeMatchesObjects,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_object_type_matches_objects_request_body_oapg( ]: ... @typing.overload - def _post_object_type_matches_objects_request_body_oapg( + def _post_object_type_matches_objects_request_body( self, body: typing.Union[request_body.object_type_matches_objects.ObjectTypeMatchesObjects,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_object_type_matches_objects_request_body_oapg( @typing.overload - def _post_object_type_matches_objects_request_body_oapg( + def _post_object_type_matches_objects_request_body( self, body: typing.Union[request_body.object_type_matches_objects.ObjectTypeMatchesObjects,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_object_type_matches_objects_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_object_type_matches_objects_request_body_oapg( + def _post_object_type_matches_objects_request_body( self, body: typing.Union[request_body.object_type_matches_objects.ObjectTypeMatchesObjects,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_object_type_matches_objects_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_object_type_matches_objects_request_body_oapg( + def _post_object_type_matches_objects_request_body( self, body: typing.Union[request_body.object_type_matches_objects.ObjectTypeMatchesObjects,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_object_type_matches_objects_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_object_type_matches_objects_request_body_oapg( + return self._post_object_type_matches_objects_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_object_type_matches_objects_request_body_oapg( + return self._post_object_type_matches_objects_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/__init__.pyi index cb6dd783d7d..db6588ed624 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_object_type_matches_objects_request_body_oapg( + def _post_object_type_matches_objects_request_body( self, body: typing.Union[request_body.object_type_matches_objects.ObjectTypeMatchesObjects,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_object_type_matches_objects_request_body_oapg( + def _post_object_type_matches_objects_request_body( self, body: typing.Union[request_body.object_type_matches_objects.ObjectTypeMatchesObjects,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_object_type_matches_objects_request_body_oapg( + def _post_object_type_matches_objects_request_body( self, body: typing.Union[request_body.object_type_matches_objects.ObjectTypeMatchesObjects,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_object_type_matches_objects_request_body_oapg( + def _post_object_type_matches_objects_request_body( self, body: typing.Union[request_body.object_type_matches_objects.ObjectTypeMatchesObjects,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_object_type_matches_objects_request_body_oapg( + def _post_object_type_matches_objects_request_body( self, body: typing.Union[request_body.object_type_matches_objects.ObjectTypeMatchesObjects,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostObjectTypeMatchesObjectsRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_object_type_matches_objects_request_body_oapg( + return self._post_object_type_matches_objects_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_object_type_matches_objects_request_body_oapg( + return self._post_object_type_matches_objects_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/__init__.py index 62aab5582d8..e45bf350c4c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_oneof_complex_types_request_body_oapg( + def _post_oneof_complex_types_request_body( self, body: typing.Union[request_body.oneof_complex_types.OneofComplexTypes,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_oneof_complex_types_request_body_oapg( ]: ... @typing.overload - def _post_oneof_complex_types_request_body_oapg( + def _post_oneof_complex_types_request_body( self, body: typing.Union[request_body.oneof_complex_types.OneofComplexTypes,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_oneof_complex_types_request_body_oapg( @typing.overload - def _post_oneof_complex_types_request_body_oapg( + def _post_oneof_complex_types_request_body( self, body: typing.Union[request_body.oneof_complex_types.OneofComplexTypes,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_oneof_complex_types_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_oneof_complex_types_request_body_oapg( + def _post_oneof_complex_types_request_body( self, body: typing.Union[request_body.oneof_complex_types.OneofComplexTypes,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_oneof_complex_types_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_oneof_complex_types_request_body_oapg( + def _post_oneof_complex_types_request_body( self, body: typing.Union[request_body.oneof_complex_types.OneofComplexTypes,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_oneof_complex_types_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_oneof_complex_types_request_body_oapg( + return self._post_oneof_complex_types_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_oneof_complex_types_request_body_oapg( + return self._post_oneof_complex_types_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/__init__.pyi index 323edf6f8d4..717a7d774a7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_oneof_complex_types_request_body_oapg( + def _post_oneof_complex_types_request_body( self, body: typing.Union[request_body.oneof_complex_types.OneofComplexTypes,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_oneof_complex_types_request_body_oapg( + def _post_oneof_complex_types_request_body( self, body: typing.Union[request_body.oneof_complex_types.OneofComplexTypes,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_oneof_complex_types_request_body_oapg( + def _post_oneof_complex_types_request_body( self, body: typing.Union[request_body.oneof_complex_types.OneofComplexTypes,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_oneof_complex_types_request_body_oapg( + def _post_oneof_complex_types_request_body( self, body: typing.Union[request_body.oneof_complex_types.OneofComplexTypes,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_oneof_complex_types_request_body_oapg( + def _post_oneof_complex_types_request_body( self, body: typing.Union[request_body.oneof_complex_types.OneofComplexTypes,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostOneofComplexTypesRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_oneof_complex_types_request_body_oapg( + return self._post_oneof_complex_types_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_oneof_complex_types_request_body_oapg( + return self._post_oneof_complex_types_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_request_body/post/__init__.py index 29f5cc110dd..0b5f0f9f500 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_oneof_request_body_oapg( + def _post_oneof_request_body( self, body: typing.Union[request_body.oneof.Oneof,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_oneof_request_body_oapg( ]: ... @typing.overload - def _post_oneof_request_body_oapg( + def _post_oneof_request_body( self, body: typing.Union[request_body.oneof.Oneof,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_oneof_request_body_oapg( @typing.overload - def _post_oneof_request_body_oapg( + def _post_oneof_request_body( self, body: typing.Union[request_body.oneof.Oneof,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_oneof_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_oneof_request_body_oapg( + def _post_oneof_request_body( self, body: typing.Union[request_body.oneof.Oneof,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_oneof_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_oneof_request_body_oapg( + def _post_oneof_request_body( self, body: typing.Union[request_body.oneof.Oneof,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_oneof_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_oneof_request_body_oapg( + return self._post_oneof_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_oneof_request_body_oapg( + return self._post_oneof_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_request_body/post/__init__.pyi index f05ebd6d582..0d009b7aaad 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_oneof_request_body_oapg( + def _post_oneof_request_body( self, body: typing.Union[request_body.oneof.Oneof,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_oneof_request_body_oapg( + def _post_oneof_request_body( self, body: typing.Union[request_body.oneof.Oneof,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_oneof_request_body_oapg( + def _post_oneof_request_body( self, body: typing.Union[request_body.oneof.Oneof,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_oneof_request_body_oapg( + def _post_oneof_request_body( self, body: typing.Union[request_body.oneof.Oneof,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_oneof_request_body_oapg( + def _post_oneof_request_body( self, body: typing.Union[request_body.oneof.Oneof,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostOneofRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_oneof_request_body_oapg( + return self._post_oneof_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_oneof_request_body_oapg( + return self._post_oneof_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/__init__.py index 65df812f256..fcb00bd710a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_oneof_with_base_schema_request_body_oapg( + def _post_oneof_with_base_schema_request_body( self, body: typing.Union[request_body.oneof_with_base_schema.OneofWithBaseSchema,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_oneof_with_base_schema_request_body_oapg( ]: ... @typing.overload - def _post_oneof_with_base_schema_request_body_oapg( + def _post_oneof_with_base_schema_request_body( self, body: typing.Union[request_body.oneof_with_base_schema.OneofWithBaseSchema,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_oneof_with_base_schema_request_body_oapg( @typing.overload - def _post_oneof_with_base_schema_request_body_oapg( + def _post_oneof_with_base_schema_request_body( self, body: typing.Union[request_body.oneof_with_base_schema.OneofWithBaseSchema,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_oneof_with_base_schema_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_oneof_with_base_schema_request_body_oapg( + def _post_oneof_with_base_schema_request_body( self, body: typing.Union[request_body.oneof_with_base_schema.OneofWithBaseSchema,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_oneof_with_base_schema_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_oneof_with_base_schema_request_body_oapg( + def _post_oneof_with_base_schema_request_body( self, body: typing.Union[request_body.oneof_with_base_schema.OneofWithBaseSchema,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_oneof_with_base_schema_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_oneof_with_base_schema_request_body_oapg( + return self._post_oneof_with_base_schema_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_oneof_with_base_schema_request_body_oapg( + return self._post_oneof_with_base_schema_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/__init__.pyi index a41133de2e9..ae2f05e26db 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_oneof_with_base_schema_request_body_oapg( + def _post_oneof_with_base_schema_request_body( self, body: typing.Union[request_body.oneof_with_base_schema.OneofWithBaseSchema,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_oneof_with_base_schema_request_body_oapg( + def _post_oneof_with_base_schema_request_body( self, body: typing.Union[request_body.oneof_with_base_schema.OneofWithBaseSchema,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_oneof_with_base_schema_request_body_oapg( + def _post_oneof_with_base_schema_request_body( self, body: typing.Union[request_body.oneof_with_base_schema.OneofWithBaseSchema,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_oneof_with_base_schema_request_body_oapg( + def _post_oneof_with_base_schema_request_body( self, body: typing.Union[request_body.oneof_with_base_schema.OneofWithBaseSchema,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_oneof_with_base_schema_request_body_oapg( + def _post_oneof_with_base_schema_request_body( self, body: typing.Union[request_body.oneof_with_base_schema.OneofWithBaseSchema,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostOneofWithBaseSchemaRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_oneof_with_base_schema_request_body_oapg( + return self._post_oneof_with_base_schema_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_oneof_with_base_schema_request_body_oapg( + return self._post_oneof_with_base_schema_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/__init__.py index 536c9ececa9..ae11be9bab5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_oneof_with_empty_schema_request_body_oapg( + def _post_oneof_with_empty_schema_request_body( self, body: typing.Union[request_body.oneof_with_empty_schema.OneofWithEmptySchema,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_oneof_with_empty_schema_request_body_oapg( ]: ... @typing.overload - def _post_oneof_with_empty_schema_request_body_oapg( + def _post_oneof_with_empty_schema_request_body( self, body: typing.Union[request_body.oneof_with_empty_schema.OneofWithEmptySchema,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_oneof_with_empty_schema_request_body_oapg( @typing.overload - def _post_oneof_with_empty_schema_request_body_oapg( + def _post_oneof_with_empty_schema_request_body( self, body: typing.Union[request_body.oneof_with_empty_schema.OneofWithEmptySchema,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_oneof_with_empty_schema_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_oneof_with_empty_schema_request_body_oapg( + def _post_oneof_with_empty_schema_request_body( self, body: typing.Union[request_body.oneof_with_empty_schema.OneofWithEmptySchema,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_oneof_with_empty_schema_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_oneof_with_empty_schema_request_body_oapg( + def _post_oneof_with_empty_schema_request_body( self, body: typing.Union[request_body.oneof_with_empty_schema.OneofWithEmptySchema,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_oneof_with_empty_schema_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_oneof_with_empty_schema_request_body_oapg( + return self._post_oneof_with_empty_schema_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_oneof_with_empty_schema_request_body_oapg( + return self._post_oneof_with_empty_schema_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/__init__.pyi index ca959430c41..da8e229d796 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_oneof_with_empty_schema_request_body_oapg( + def _post_oneof_with_empty_schema_request_body( self, body: typing.Union[request_body.oneof_with_empty_schema.OneofWithEmptySchema,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_oneof_with_empty_schema_request_body_oapg( + def _post_oneof_with_empty_schema_request_body( self, body: typing.Union[request_body.oneof_with_empty_schema.OneofWithEmptySchema,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_oneof_with_empty_schema_request_body_oapg( + def _post_oneof_with_empty_schema_request_body( self, body: typing.Union[request_body.oneof_with_empty_schema.OneofWithEmptySchema,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_oneof_with_empty_schema_request_body_oapg( + def _post_oneof_with_empty_schema_request_body( self, body: typing.Union[request_body.oneof_with_empty_schema.OneofWithEmptySchema,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_oneof_with_empty_schema_request_body_oapg( + def _post_oneof_with_empty_schema_request_body( self, body: typing.Union[request_body.oneof_with_empty_schema.OneofWithEmptySchema,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostOneofWithEmptySchemaRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_oneof_with_empty_schema_request_body_oapg( + return self._post_oneof_with_empty_schema_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_oneof_with_empty_schema_request_body_oapg( + return self._post_oneof_with_empty_schema_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/__init__.py index 450f3d7a5b9..40bced69938 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_oneof_with_required_request_body_oapg( + def _post_oneof_with_required_request_body( self, body: typing.Union[request_body.oneof_with_required.OneofWithRequired,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_oneof_with_required_request_body_oapg( ]: ... @typing.overload - def _post_oneof_with_required_request_body_oapg( + def _post_oneof_with_required_request_body( self, body: typing.Union[request_body.oneof_with_required.OneofWithRequired,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_oneof_with_required_request_body_oapg( @typing.overload - def _post_oneof_with_required_request_body_oapg( + def _post_oneof_with_required_request_body( self, body: typing.Union[request_body.oneof_with_required.OneofWithRequired,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_oneof_with_required_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_oneof_with_required_request_body_oapg( + def _post_oneof_with_required_request_body( self, body: typing.Union[request_body.oneof_with_required.OneofWithRequired,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_oneof_with_required_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_oneof_with_required_request_body_oapg( + def _post_oneof_with_required_request_body( self, body: typing.Union[request_body.oneof_with_required.OneofWithRequired,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_oneof_with_required_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_oneof_with_required_request_body_oapg( + return self._post_oneof_with_required_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_oneof_with_required_request_body_oapg( + return self._post_oneof_with_required_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/__init__.pyi index e0b11a90551..ec8b918f29d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_oneof_with_required_request_body_oapg( + def _post_oneof_with_required_request_body( self, body: typing.Union[request_body.oneof_with_required.OneofWithRequired,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_oneof_with_required_request_body_oapg( + def _post_oneof_with_required_request_body( self, body: typing.Union[request_body.oneof_with_required.OneofWithRequired,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_oneof_with_required_request_body_oapg( + def _post_oneof_with_required_request_body( self, body: typing.Union[request_body.oneof_with_required.OneofWithRequired,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_oneof_with_required_request_body_oapg( + def _post_oneof_with_required_request_body( self, body: typing.Union[request_body.oneof_with_required.OneofWithRequired,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_oneof_with_required_request_body_oapg( + def _post_oneof_with_required_request_body( self, body: typing.Union[request_body.oneof_with_required.OneofWithRequired,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostOneofWithRequiredRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_oneof_with_required_request_body_oapg( + return self._post_oneof_with_required_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_oneof_with_required_request_body_oapg( + return self._post_oneof_with_required_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/__init__.py index 8425322cb40..be35eba0a6b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_pattern_is_not_anchored_request_body_oapg( + def _post_pattern_is_not_anchored_request_body( self, body: typing.Union[request_body.pattern_is_not_anchored.PatternIsNotAnchored,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_pattern_is_not_anchored_request_body_oapg( ]: ... @typing.overload - def _post_pattern_is_not_anchored_request_body_oapg( + def _post_pattern_is_not_anchored_request_body( self, body: typing.Union[request_body.pattern_is_not_anchored.PatternIsNotAnchored,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_pattern_is_not_anchored_request_body_oapg( @typing.overload - def _post_pattern_is_not_anchored_request_body_oapg( + def _post_pattern_is_not_anchored_request_body( self, body: typing.Union[request_body.pattern_is_not_anchored.PatternIsNotAnchored,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_pattern_is_not_anchored_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_pattern_is_not_anchored_request_body_oapg( + def _post_pattern_is_not_anchored_request_body( self, body: typing.Union[request_body.pattern_is_not_anchored.PatternIsNotAnchored,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_pattern_is_not_anchored_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_pattern_is_not_anchored_request_body_oapg( + def _post_pattern_is_not_anchored_request_body( self, body: typing.Union[request_body.pattern_is_not_anchored.PatternIsNotAnchored,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_pattern_is_not_anchored_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_pattern_is_not_anchored_request_body_oapg( + return self._post_pattern_is_not_anchored_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_pattern_is_not_anchored_request_body_oapg( + return self._post_pattern_is_not_anchored_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/__init__.pyi index 8b7e0d10d45..af9291d7011 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_pattern_is_not_anchored_request_body_oapg( + def _post_pattern_is_not_anchored_request_body( self, body: typing.Union[request_body.pattern_is_not_anchored.PatternIsNotAnchored,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_pattern_is_not_anchored_request_body_oapg( + def _post_pattern_is_not_anchored_request_body( self, body: typing.Union[request_body.pattern_is_not_anchored.PatternIsNotAnchored,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_pattern_is_not_anchored_request_body_oapg( + def _post_pattern_is_not_anchored_request_body( self, body: typing.Union[request_body.pattern_is_not_anchored.PatternIsNotAnchored,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_pattern_is_not_anchored_request_body_oapg( + def _post_pattern_is_not_anchored_request_body( self, body: typing.Union[request_body.pattern_is_not_anchored.PatternIsNotAnchored,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_pattern_is_not_anchored_request_body_oapg( + def _post_pattern_is_not_anchored_request_body( self, body: typing.Union[request_body.pattern_is_not_anchored.PatternIsNotAnchored,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostPatternIsNotAnchoredRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_pattern_is_not_anchored_request_body_oapg( + return self._post_pattern_is_not_anchored_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_pattern_is_not_anchored_request_body_oapg( + return self._post_pattern_is_not_anchored_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/__init__.py index 27a467456ae..a1b757f9407 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_pattern_validation_request_body_oapg( + def _post_pattern_validation_request_body( self, body: typing.Union[request_body.pattern_validation.PatternValidation,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_pattern_validation_request_body_oapg( ]: ... @typing.overload - def _post_pattern_validation_request_body_oapg( + def _post_pattern_validation_request_body( self, body: typing.Union[request_body.pattern_validation.PatternValidation,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_pattern_validation_request_body_oapg( @typing.overload - def _post_pattern_validation_request_body_oapg( + def _post_pattern_validation_request_body( self, body: typing.Union[request_body.pattern_validation.PatternValidation,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_pattern_validation_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_pattern_validation_request_body_oapg( + def _post_pattern_validation_request_body( self, body: typing.Union[request_body.pattern_validation.PatternValidation,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_pattern_validation_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_pattern_validation_request_body_oapg( + def _post_pattern_validation_request_body( self, body: typing.Union[request_body.pattern_validation.PatternValidation,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_pattern_validation_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_pattern_validation_request_body_oapg( + return self._post_pattern_validation_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_pattern_validation_request_body_oapg( + return self._post_pattern_validation_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/__init__.pyi index 7c604f7d161..33540585fea 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_pattern_validation_request_body_oapg( + def _post_pattern_validation_request_body( self, body: typing.Union[request_body.pattern_validation.PatternValidation,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_pattern_validation_request_body_oapg( + def _post_pattern_validation_request_body( self, body: typing.Union[request_body.pattern_validation.PatternValidation,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_pattern_validation_request_body_oapg( + def _post_pattern_validation_request_body( self, body: typing.Union[request_body.pattern_validation.PatternValidation,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_pattern_validation_request_body_oapg( + def _post_pattern_validation_request_body( self, body: typing.Union[request_body.pattern_validation.PatternValidation,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_pattern_validation_request_body_oapg( + def _post_pattern_validation_request_body( self, body: typing.Union[request_body.pattern_validation.PatternValidation,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostPatternValidationRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_pattern_validation_request_body_oapg( + return self._post_pattern_validation_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_pattern_validation_request_body_oapg( + return self._post_pattern_validation_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/__init__.py index a52296b778d..ba50f81b649 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_properties_with_escaped_characters_request_body_oapg( + def _post_properties_with_escaped_characters_request_body( self, body: typing.Union[request_body.properties_with_escaped_characters.PropertiesWithEscapedCharacters,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_properties_with_escaped_characters_request_body_oapg( ]: ... @typing.overload - def _post_properties_with_escaped_characters_request_body_oapg( + def _post_properties_with_escaped_characters_request_body( self, body: typing.Union[request_body.properties_with_escaped_characters.PropertiesWithEscapedCharacters,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_properties_with_escaped_characters_request_body_oapg( @typing.overload - def _post_properties_with_escaped_characters_request_body_oapg( + def _post_properties_with_escaped_characters_request_body( self, body: typing.Union[request_body.properties_with_escaped_characters.PropertiesWithEscapedCharacters,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_properties_with_escaped_characters_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_properties_with_escaped_characters_request_body_oapg( + def _post_properties_with_escaped_characters_request_body( self, body: typing.Union[request_body.properties_with_escaped_characters.PropertiesWithEscapedCharacters,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_properties_with_escaped_characters_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_properties_with_escaped_characters_request_body_oapg( + def _post_properties_with_escaped_characters_request_body( self, body: typing.Union[request_body.properties_with_escaped_characters.PropertiesWithEscapedCharacters,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_properties_with_escaped_characters_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_properties_with_escaped_characters_request_body_oapg( + return self._post_properties_with_escaped_characters_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_properties_with_escaped_characters_request_body_oapg( + return self._post_properties_with_escaped_characters_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/__init__.pyi index 21838f3a2e0..414b10376c8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_properties_with_escaped_characters_request_body_oapg( + def _post_properties_with_escaped_characters_request_body( self, body: typing.Union[request_body.properties_with_escaped_characters.PropertiesWithEscapedCharacters,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_properties_with_escaped_characters_request_body_oapg( + def _post_properties_with_escaped_characters_request_body( self, body: typing.Union[request_body.properties_with_escaped_characters.PropertiesWithEscapedCharacters,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_properties_with_escaped_characters_request_body_oapg( + def _post_properties_with_escaped_characters_request_body( self, body: typing.Union[request_body.properties_with_escaped_characters.PropertiesWithEscapedCharacters,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_properties_with_escaped_characters_request_body_oapg( + def _post_properties_with_escaped_characters_request_body( self, body: typing.Union[request_body.properties_with_escaped_characters.PropertiesWithEscapedCharacters,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_properties_with_escaped_characters_request_body_oapg( + def _post_properties_with_escaped_characters_request_body( self, body: typing.Union[request_body.properties_with_escaped_characters.PropertiesWithEscapedCharacters,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostPropertiesWithEscapedCharactersRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_properties_with_escaped_characters_request_body_oapg( + return self._post_properties_with_escaped_characters_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_properties_with_escaped_characters_request_body_oapg( + return self._post_properties_with_escaped_characters_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/__init__.py index ce8cae6c1fd..37084022a41 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_property_named_ref_that_is_not_a_reference_request_body_oapg( + def _post_property_named_ref_that_is_not_a_reference_request_body( self, body: typing.Union[request_body.property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_property_named_ref_that_is_not_a_reference_request_body_oapg( ]: ... @typing.overload - def _post_property_named_ref_that_is_not_a_reference_request_body_oapg( + def _post_property_named_ref_that_is_not_a_reference_request_body( self, body: typing.Union[request_body.property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_property_named_ref_that_is_not_a_reference_request_body_oapg( @typing.overload - def _post_property_named_ref_that_is_not_a_reference_request_body_oapg( + def _post_property_named_ref_that_is_not_a_reference_request_body( self, body: typing.Union[request_body.property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_property_named_ref_that_is_not_a_reference_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_property_named_ref_that_is_not_a_reference_request_body_oapg( + def _post_property_named_ref_that_is_not_a_reference_request_body( self, body: typing.Union[request_body.property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_property_named_ref_that_is_not_a_reference_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_property_named_ref_that_is_not_a_reference_request_body_oapg( + def _post_property_named_ref_that_is_not_a_reference_request_body( self, body: typing.Union[request_body.property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_property_named_ref_that_is_not_a_reference_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_property_named_ref_that_is_not_a_reference_request_body_oapg( + return self._post_property_named_ref_that_is_not_a_reference_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_property_named_ref_that_is_not_a_reference_request_body_oapg( + return self._post_property_named_ref_that_is_not_a_reference_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/__init__.pyi index b06859c8541..7fb62f97b68 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_property_named_ref_that_is_not_a_reference_request_body_oapg( + def _post_property_named_ref_that_is_not_a_reference_request_body( self, body: typing.Union[request_body.property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_property_named_ref_that_is_not_a_reference_request_body_oapg( + def _post_property_named_ref_that_is_not_a_reference_request_body( self, body: typing.Union[request_body.property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_property_named_ref_that_is_not_a_reference_request_body_oapg( + def _post_property_named_ref_that_is_not_a_reference_request_body( self, body: typing.Union[request_body.property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_property_named_ref_that_is_not_a_reference_request_body_oapg( + def _post_property_named_ref_that_is_not_a_reference_request_body( self, body: typing.Union[request_body.property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_property_named_ref_that_is_not_a_reference_request_body_oapg( + def _post_property_named_ref_that_is_not_a_reference_request_body( self, body: typing.Union[request_body.property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostPropertyNamedRefThatIsNotAReferenceRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_property_named_ref_that_is_not_a_reference_request_body_oapg( + return self._post_property_named_ref_that_is_not_a_reference_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_property_named_ref_that_is_not_a_reference_request_body_oapg( + return self._post_property_named_ref_that_is_not_a_reference_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_additionalproperties_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_additionalproperties_request_body/post/__init__.py index 8c1d5d41262..fddc7845ef1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_additionalproperties_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_additionalproperties_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_ref_in_additionalproperties_request_body_oapg( + def _post_ref_in_additionalproperties_request_body( self, body: typing.Union[request_body.ref_in_additionalproperties.RefInAdditionalproperties,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_ref_in_additionalproperties_request_body_oapg( ]: ... @typing.overload - def _post_ref_in_additionalproperties_request_body_oapg( + def _post_ref_in_additionalproperties_request_body( self, body: typing.Union[request_body.ref_in_additionalproperties.RefInAdditionalproperties,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_ref_in_additionalproperties_request_body_oapg( @typing.overload - def _post_ref_in_additionalproperties_request_body_oapg( + def _post_ref_in_additionalproperties_request_body( self, body: typing.Union[request_body.ref_in_additionalproperties.RefInAdditionalproperties,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_ref_in_additionalproperties_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_ref_in_additionalproperties_request_body_oapg( + def _post_ref_in_additionalproperties_request_body( self, body: typing.Union[request_body.ref_in_additionalproperties.RefInAdditionalproperties,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_ref_in_additionalproperties_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_ref_in_additionalproperties_request_body_oapg( + def _post_ref_in_additionalproperties_request_body( self, body: typing.Union[request_body.ref_in_additionalproperties.RefInAdditionalproperties,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_ref_in_additionalproperties_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_additionalproperties_request_body_oapg( + return self._post_ref_in_additionalproperties_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_additionalproperties_request_body_oapg( + return self._post_ref_in_additionalproperties_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_additionalproperties_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_additionalproperties_request_body/post/__init__.pyi index fcde4ebaa7f..140d178cf7d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_additionalproperties_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_additionalproperties_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_ref_in_additionalproperties_request_body_oapg( + def _post_ref_in_additionalproperties_request_body( self, body: typing.Union[request_body.ref_in_additionalproperties.RefInAdditionalproperties,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_ref_in_additionalproperties_request_body_oapg( + def _post_ref_in_additionalproperties_request_body( self, body: typing.Union[request_body.ref_in_additionalproperties.RefInAdditionalproperties,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_ref_in_additionalproperties_request_body_oapg( + def _post_ref_in_additionalproperties_request_body( self, body: typing.Union[request_body.ref_in_additionalproperties.RefInAdditionalproperties,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_ref_in_additionalproperties_request_body_oapg( + def _post_ref_in_additionalproperties_request_body( self, body: typing.Union[request_body.ref_in_additionalproperties.RefInAdditionalproperties,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_ref_in_additionalproperties_request_body_oapg( + def _post_ref_in_additionalproperties_request_body( self, body: typing.Union[request_body.ref_in_additionalproperties.RefInAdditionalproperties,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostRefInAdditionalpropertiesRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_additionalproperties_request_body_oapg( + return self._post_ref_in_additionalproperties_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_additionalproperties_request_body_oapg( + return self._post_ref_in_additionalproperties_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_allof_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_allof_request_body/post/__init__.py index ca4a28f0d78..982057e621c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_allof_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_allof_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_ref_in_allof_request_body_oapg( + def _post_ref_in_allof_request_body( self, body: typing.Union[request_body.ref_in_allof.RefInAllof,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_ref_in_allof_request_body_oapg( ]: ... @typing.overload - def _post_ref_in_allof_request_body_oapg( + def _post_ref_in_allof_request_body( self, body: typing.Union[request_body.ref_in_allof.RefInAllof,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_ref_in_allof_request_body_oapg( @typing.overload - def _post_ref_in_allof_request_body_oapg( + def _post_ref_in_allof_request_body( self, body: typing.Union[request_body.ref_in_allof.RefInAllof,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_ref_in_allof_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_ref_in_allof_request_body_oapg( + def _post_ref_in_allof_request_body( self, body: typing.Union[request_body.ref_in_allof.RefInAllof,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_ref_in_allof_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_ref_in_allof_request_body_oapg( + def _post_ref_in_allof_request_body( self, body: typing.Union[request_body.ref_in_allof.RefInAllof,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_ref_in_allof_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_allof_request_body_oapg( + return self._post_ref_in_allof_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_allof_request_body_oapg( + return self._post_ref_in_allof_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_allof_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_allof_request_body/post/__init__.pyi index 3dc0c73cac5..7b49cc9cc04 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_allof_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_allof_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_ref_in_allof_request_body_oapg( + def _post_ref_in_allof_request_body( self, body: typing.Union[request_body.ref_in_allof.RefInAllof,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_ref_in_allof_request_body_oapg( + def _post_ref_in_allof_request_body( self, body: typing.Union[request_body.ref_in_allof.RefInAllof,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_ref_in_allof_request_body_oapg( + def _post_ref_in_allof_request_body( self, body: typing.Union[request_body.ref_in_allof.RefInAllof,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_ref_in_allof_request_body_oapg( + def _post_ref_in_allof_request_body( self, body: typing.Union[request_body.ref_in_allof.RefInAllof,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_ref_in_allof_request_body_oapg( + def _post_ref_in_allof_request_body( self, body: typing.Union[request_body.ref_in_allof.RefInAllof,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostRefInAllofRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_allof_request_body_oapg( + return self._post_ref_in_allof_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_allof_request_body_oapg( + return self._post_ref_in_allof_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_anyof_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_anyof_request_body/post/__init__.py index 33cc2928267..5ac3f666a09 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_anyof_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_anyof_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_ref_in_anyof_request_body_oapg( + def _post_ref_in_anyof_request_body( self, body: typing.Union[request_body.ref_in_anyof.RefInAnyof,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_ref_in_anyof_request_body_oapg( ]: ... @typing.overload - def _post_ref_in_anyof_request_body_oapg( + def _post_ref_in_anyof_request_body( self, body: typing.Union[request_body.ref_in_anyof.RefInAnyof,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_ref_in_anyof_request_body_oapg( @typing.overload - def _post_ref_in_anyof_request_body_oapg( + def _post_ref_in_anyof_request_body( self, body: typing.Union[request_body.ref_in_anyof.RefInAnyof,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_ref_in_anyof_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_ref_in_anyof_request_body_oapg( + def _post_ref_in_anyof_request_body( self, body: typing.Union[request_body.ref_in_anyof.RefInAnyof,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_ref_in_anyof_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_ref_in_anyof_request_body_oapg( + def _post_ref_in_anyof_request_body( self, body: typing.Union[request_body.ref_in_anyof.RefInAnyof,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_ref_in_anyof_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_anyof_request_body_oapg( + return self._post_ref_in_anyof_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_anyof_request_body_oapg( + return self._post_ref_in_anyof_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_anyof_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_anyof_request_body/post/__init__.pyi index 7d82f4ebff1..63bc52a58d9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_anyof_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_anyof_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_ref_in_anyof_request_body_oapg( + def _post_ref_in_anyof_request_body( self, body: typing.Union[request_body.ref_in_anyof.RefInAnyof,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_ref_in_anyof_request_body_oapg( + def _post_ref_in_anyof_request_body( self, body: typing.Union[request_body.ref_in_anyof.RefInAnyof,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_ref_in_anyof_request_body_oapg( + def _post_ref_in_anyof_request_body( self, body: typing.Union[request_body.ref_in_anyof.RefInAnyof,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_ref_in_anyof_request_body_oapg( + def _post_ref_in_anyof_request_body( self, body: typing.Union[request_body.ref_in_anyof.RefInAnyof,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_ref_in_anyof_request_body_oapg( + def _post_ref_in_anyof_request_body( self, body: typing.Union[request_body.ref_in_anyof.RefInAnyof,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostRefInAnyofRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_anyof_request_body_oapg( + return self._post_ref_in_anyof_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_anyof_request_body_oapg( + return self._post_ref_in_anyof_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_items_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_items_request_body/post/__init__.py index 2b07c57bf68..b9c2bfbf615 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_items_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_items_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_ref_in_items_request_body_oapg( + def _post_ref_in_items_request_body( self, body: typing.Union[request_body.ref_in_items.RefInItems,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_ref_in_items_request_body_oapg( ]: ... @typing.overload - def _post_ref_in_items_request_body_oapg( + def _post_ref_in_items_request_body( self, body: typing.Union[request_body.ref_in_items.RefInItems,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_ref_in_items_request_body_oapg( @typing.overload - def _post_ref_in_items_request_body_oapg( + def _post_ref_in_items_request_body( self, body: typing.Union[request_body.ref_in_items.RefInItems,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_ref_in_items_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_ref_in_items_request_body_oapg( + def _post_ref_in_items_request_body( self, body: typing.Union[request_body.ref_in_items.RefInItems,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_ref_in_items_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_ref_in_items_request_body_oapg( + def _post_ref_in_items_request_body( self, body: typing.Union[request_body.ref_in_items.RefInItems,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_ref_in_items_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_items_request_body_oapg( + return self._post_ref_in_items_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_items_request_body_oapg( + return self._post_ref_in_items_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_items_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_items_request_body/post/__init__.pyi index 24afedbd656..76149eefca8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_items_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_items_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_ref_in_items_request_body_oapg( + def _post_ref_in_items_request_body( self, body: typing.Union[request_body.ref_in_items.RefInItems,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_ref_in_items_request_body_oapg( + def _post_ref_in_items_request_body( self, body: typing.Union[request_body.ref_in_items.RefInItems,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_ref_in_items_request_body_oapg( + def _post_ref_in_items_request_body( self, body: typing.Union[request_body.ref_in_items.RefInItems,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_ref_in_items_request_body_oapg( + def _post_ref_in_items_request_body( self, body: typing.Union[request_body.ref_in_items.RefInItems,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_ref_in_items_request_body_oapg( + def _post_ref_in_items_request_body( self, body: typing.Union[request_body.ref_in_items.RefInItems,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostRefInItemsRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_items_request_body_oapg( + return self._post_ref_in_items_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_items_request_body_oapg( + return self._post_ref_in_items_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_not_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_not_request_body/post/__init__.py index af49f6fdb02..20766880b15 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_not_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_not_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_ref_in_not_request_body_oapg( + def _post_ref_in_not_request_body( self, body: typing.Union[request_body.ref_in_not.RefInNot,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_ref_in_not_request_body_oapg( ]: ... @typing.overload - def _post_ref_in_not_request_body_oapg( + def _post_ref_in_not_request_body( self, body: typing.Union[request_body.ref_in_not.RefInNot,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_ref_in_not_request_body_oapg( @typing.overload - def _post_ref_in_not_request_body_oapg( + def _post_ref_in_not_request_body( self, body: typing.Union[request_body.ref_in_not.RefInNot,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_ref_in_not_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_ref_in_not_request_body_oapg( + def _post_ref_in_not_request_body( self, body: typing.Union[request_body.ref_in_not.RefInNot,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_ref_in_not_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_ref_in_not_request_body_oapg( + def _post_ref_in_not_request_body( self, body: typing.Union[request_body.ref_in_not.RefInNot,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_ref_in_not_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_not_request_body_oapg( + return self._post_ref_in_not_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_not_request_body_oapg( + return self._post_ref_in_not_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_not_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_not_request_body/post/__init__.pyi index e6036457556..2ed8222c16f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_not_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_not_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_ref_in_not_request_body_oapg( + def _post_ref_in_not_request_body( self, body: typing.Union[request_body.ref_in_not.RefInNot,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_ref_in_not_request_body_oapg( + def _post_ref_in_not_request_body( self, body: typing.Union[request_body.ref_in_not.RefInNot,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_ref_in_not_request_body_oapg( + def _post_ref_in_not_request_body( self, body: typing.Union[request_body.ref_in_not.RefInNot,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_ref_in_not_request_body_oapg( + def _post_ref_in_not_request_body( self, body: typing.Union[request_body.ref_in_not.RefInNot,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_ref_in_not_request_body_oapg( + def _post_ref_in_not_request_body( self, body: typing.Union[request_body.ref_in_not.RefInNot,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostRefInNotRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_not_request_body_oapg( + return self._post_ref_in_not_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_not_request_body_oapg( + return self._post_ref_in_not_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_oneof_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_oneof_request_body/post/__init__.py index d4bb17164dc..82122ff6a95 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_oneof_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_oneof_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_ref_in_oneof_request_body_oapg( + def _post_ref_in_oneof_request_body( self, body: typing.Union[request_body.ref_in_oneof.RefInOneof,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_ref_in_oneof_request_body_oapg( ]: ... @typing.overload - def _post_ref_in_oneof_request_body_oapg( + def _post_ref_in_oneof_request_body( self, body: typing.Union[request_body.ref_in_oneof.RefInOneof,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_ref_in_oneof_request_body_oapg( @typing.overload - def _post_ref_in_oneof_request_body_oapg( + def _post_ref_in_oneof_request_body( self, body: typing.Union[request_body.ref_in_oneof.RefInOneof,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_ref_in_oneof_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_ref_in_oneof_request_body_oapg( + def _post_ref_in_oneof_request_body( self, body: typing.Union[request_body.ref_in_oneof.RefInOneof,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_ref_in_oneof_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_ref_in_oneof_request_body_oapg( + def _post_ref_in_oneof_request_body( self, body: typing.Union[request_body.ref_in_oneof.RefInOneof,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_ref_in_oneof_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_oneof_request_body_oapg( + return self._post_ref_in_oneof_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_oneof_request_body_oapg( + return self._post_ref_in_oneof_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_oneof_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_oneof_request_body/post/__init__.pyi index 2f7b3e9c4a2..37e1549a672 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_oneof_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_oneof_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_ref_in_oneof_request_body_oapg( + def _post_ref_in_oneof_request_body( self, body: typing.Union[request_body.ref_in_oneof.RefInOneof,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_ref_in_oneof_request_body_oapg( + def _post_ref_in_oneof_request_body( self, body: typing.Union[request_body.ref_in_oneof.RefInOneof,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_ref_in_oneof_request_body_oapg( + def _post_ref_in_oneof_request_body( self, body: typing.Union[request_body.ref_in_oneof.RefInOneof,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_ref_in_oneof_request_body_oapg( + def _post_ref_in_oneof_request_body( self, body: typing.Union[request_body.ref_in_oneof.RefInOneof,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_ref_in_oneof_request_body_oapg( + def _post_ref_in_oneof_request_body( self, body: typing.Union[request_body.ref_in_oneof.RefInOneof,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostRefInOneofRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_oneof_request_body_oapg( + return self._post_ref_in_oneof_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_oneof_request_body_oapg( + return self._post_ref_in_oneof_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_property_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_property_request_body/post/__init__.py index 4b02d400cf5..253d44b67ae 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_property_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_property_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_ref_in_property_request_body_oapg( + def _post_ref_in_property_request_body( self, body: typing.Union[request_body.ref_in_property.RefInProperty,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_ref_in_property_request_body_oapg( ]: ... @typing.overload - def _post_ref_in_property_request_body_oapg( + def _post_ref_in_property_request_body( self, body: typing.Union[request_body.ref_in_property.RefInProperty,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_ref_in_property_request_body_oapg( @typing.overload - def _post_ref_in_property_request_body_oapg( + def _post_ref_in_property_request_body( self, body: typing.Union[request_body.ref_in_property.RefInProperty,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_ref_in_property_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_ref_in_property_request_body_oapg( + def _post_ref_in_property_request_body( self, body: typing.Union[request_body.ref_in_property.RefInProperty,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_ref_in_property_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_ref_in_property_request_body_oapg( + def _post_ref_in_property_request_body( self, body: typing.Union[request_body.ref_in_property.RefInProperty,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_ref_in_property_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_property_request_body_oapg( + return self._post_ref_in_property_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_property_request_body_oapg( + return self._post_ref_in_property_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_property_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_property_request_body/post/__init__.pyi index 2da209948cc..44abae915c9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_property_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_property_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_ref_in_property_request_body_oapg( + def _post_ref_in_property_request_body( self, body: typing.Union[request_body.ref_in_property.RefInProperty,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_ref_in_property_request_body_oapg( + def _post_ref_in_property_request_body( self, body: typing.Union[request_body.ref_in_property.RefInProperty,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_ref_in_property_request_body_oapg( + def _post_ref_in_property_request_body( self, body: typing.Union[request_body.ref_in_property.RefInProperty,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_ref_in_property_request_body_oapg( + def _post_ref_in_property_request_body( self, body: typing.Union[request_body.ref_in_property.RefInProperty,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_ref_in_property_request_body_oapg( + def _post_ref_in_property_request_body( self, body: typing.Union[request_body.ref_in_property.RefInProperty,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostRefInPropertyRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_property_request_body_oapg( + return self._post_ref_in_property_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_property_request_body_oapg( + return self._post_ref_in_property_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/__init__.py index d548d5688aa..adb13c4bd5c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_required_default_validation_request_body_oapg( + def _post_required_default_validation_request_body( self, body: typing.Union[request_body.required_default_validation.RequiredDefaultValidation,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_required_default_validation_request_body_oapg( ]: ... @typing.overload - def _post_required_default_validation_request_body_oapg( + def _post_required_default_validation_request_body( self, body: typing.Union[request_body.required_default_validation.RequiredDefaultValidation,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_required_default_validation_request_body_oapg( @typing.overload - def _post_required_default_validation_request_body_oapg( + def _post_required_default_validation_request_body( self, body: typing.Union[request_body.required_default_validation.RequiredDefaultValidation,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_required_default_validation_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_required_default_validation_request_body_oapg( + def _post_required_default_validation_request_body( self, body: typing.Union[request_body.required_default_validation.RequiredDefaultValidation,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_required_default_validation_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_required_default_validation_request_body_oapg( + def _post_required_default_validation_request_body( self, body: typing.Union[request_body.required_default_validation.RequiredDefaultValidation,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_required_default_validation_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_required_default_validation_request_body_oapg( + return self._post_required_default_validation_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_required_default_validation_request_body_oapg( + return self._post_required_default_validation_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/__init__.pyi index 9f0d49c53a1..6c3bc53ee8a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_required_default_validation_request_body_oapg( + def _post_required_default_validation_request_body( self, body: typing.Union[request_body.required_default_validation.RequiredDefaultValidation,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_required_default_validation_request_body_oapg( + def _post_required_default_validation_request_body( self, body: typing.Union[request_body.required_default_validation.RequiredDefaultValidation,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_required_default_validation_request_body_oapg( + def _post_required_default_validation_request_body( self, body: typing.Union[request_body.required_default_validation.RequiredDefaultValidation,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_required_default_validation_request_body_oapg( + def _post_required_default_validation_request_body( self, body: typing.Union[request_body.required_default_validation.RequiredDefaultValidation,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_required_default_validation_request_body_oapg( + def _post_required_default_validation_request_body( self, body: typing.Union[request_body.required_default_validation.RequiredDefaultValidation,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostRequiredDefaultValidationRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_required_default_validation_request_body_oapg( + return self._post_required_default_validation_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_required_default_validation_request_body_oapg( + return self._post_required_default_validation_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_validation_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_validation_request_body/post/__init__.py index 76e140bb3f4..7174dca3d12 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_validation_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_validation_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_required_validation_request_body_oapg( + def _post_required_validation_request_body( self, body: typing.Union[request_body.required_validation.RequiredValidation,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_required_validation_request_body_oapg( ]: ... @typing.overload - def _post_required_validation_request_body_oapg( + def _post_required_validation_request_body( self, body: typing.Union[request_body.required_validation.RequiredValidation,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_required_validation_request_body_oapg( @typing.overload - def _post_required_validation_request_body_oapg( + def _post_required_validation_request_body( self, body: typing.Union[request_body.required_validation.RequiredValidation,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_required_validation_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_required_validation_request_body_oapg( + def _post_required_validation_request_body( self, body: typing.Union[request_body.required_validation.RequiredValidation,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_required_validation_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_required_validation_request_body_oapg( + def _post_required_validation_request_body( self, body: typing.Union[request_body.required_validation.RequiredValidation,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_required_validation_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_required_validation_request_body_oapg( + return self._post_required_validation_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_required_validation_request_body_oapg( + return self._post_required_validation_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_validation_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_validation_request_body/post/__init__.pyi index b1145dbd364..990b36c4ef6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_validation_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_validation_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_required_validation_request_body_oapg( + def _post_required_validation_request_body( self, body: typing.Union[request_body.required_validation.RequiredValidation,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_required_validation_request_body_oapg( + def _post_required_validation_request_body( self, body: typing.Union[request_body.required_validation.RequiredValidation,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_required_validation_request_body_oapg( + def _post_required_validation_request_body( self, body: typing.Union[request_body.required_validation.RequiredValidation,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_required_validation_request_body_oapg( + def _post_required_validation_request_body( self, body: typing.Union[request_body.required_validation.RequiredValidation,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_required_validation_request_body_oapg( + def _post_required_validation_request_body( self, body: typing.Union[request_body.required_validation.RequiredValidation,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostRequiredValidationRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_required_validation_request_body_oapg( + return self._post_required_validation_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_required_validation_request_body_oapg( + return self._post_required_validation_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/__init__.py index 3c9d732fe18..5ac50f9cad3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_required_with_empty_array_request_body_oapg( + def _post_required_with_empty_array_request_body( self, body: typing.Union[request_body.required_with_empty_array.RequiredWithEmptyArray,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_required_with_empty_array_request_body_oapg( ]: ... @typing.overload - def _post_required_with_empty_array_request_body_oapg( + def _post_required_with_empty_array_request_body( self, body: typing.Union[request_body.required_with_empty_array.RequiredWithEmptyArray,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_required_with_empty_array_request_body_oapg( @typing.overload - def _post_required_with_empty_array_request_body_oapg( + def _post_required_with_empty_array_request_body( self, body: typing.Union[request_body.required_with_empty_array.RequiredWithEmptyArray,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_required_with_empty_array_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_required_with_empty_array_request_body_oapg( + def _post_required_with_empty_array_request_body( self, body: typing.Union[request_body.required_with_empty_array.RequiredWithEmptyArray,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_required_with_empty_array_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_required_with_empty_array_request_body_oapg( + def _post_required_with_empty_array_request_body( self, body: typing.Union[request_body.required_with_empty_array.RequiredWithEmptyArray,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_required_with_empty_array_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_required_with_empty_array_request_body_oapg( + return self._post_required_with_empty_array_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_required_with_empty_array_request_body_oapg( + return self._post_required_with_empty_array_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/__init__.pyi index 30343acbfb2..2a7226978e4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_required_with_empty_array_request_body_oapg( + def _post_required_with_empty_array_request_body( self, body: typing.Union[request_body.required_with_empty_array.RequiredWithEmptyArray,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_required_with_empty_array_request_body_oapg( + def _post_required_with_empty_array_request_body( self, body: typing.Union[request_body.required_with_empty_array.RequiredWithEmptyArray,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_required_with_empty_array_request_body_oapg( + def _post_required_with_empty_array_request_body( self, body: typing.Union[request_body.required_with_empty_array.RequiredWithEmptyArray,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_required_with_empty_array_request_body_oapg( + def _post_required_with_empty_array_request_body( self, body: typing.Union[request_body.required_with_empty_array.RequiredWithEmptyArray,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_required_with_empty_array_request_body_oapg( + def _post_required_with_empty_array_request_body( self, body: typing.Union[request_body.required_with_empty_array.RequiredWithEmptyArray,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostRequiredWithEmptyArrayRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_required_with_empty_array_request_body_oapg( + return self._post_required_with_empty_array_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_required_with_empty_array_request_body_oapg( + return self._post_required_with_empty_array_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/__init__.py index 1313132e8b2..17609397839 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_required_with_escaped_characters_request_body_oapg( + def _post_required_with_escaped_characters_request_body( self, body: typing.Union[request_body.required_with_escaped_characters.RequiredWithEscapedCharacters,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_required_with_escaped_characters_request_body_oapg( ]: ... @typing.overload - def _post_required_with_escaped_characters_request_body_oapg( + def _post_required_with_escaped_characters_request_body( self, body: typing.Union[request_body.required_with_escaped_characters.RequiredWithEscapedCharacters,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_required_with_escaped_characters_request_body_oapg( @typing.overload - def _post_required_with_escaped_characters_request_body_oapg( + def _post_required_with_escaped_characters_request_body( self, body: typing.Union[request_body.required_with_escaped_characters.RequiredWithEscapedCharacters,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_required_with_escaped_characters_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_required_with_escaped_characters_request_body_oapg( + def _post_required_with_escaped_characters_request_body( self, body: typing.Union[request_body.required_with_escaped_characters.RequiredWithEscapedCharacters,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_required_with_escaped_characters_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_required_with_escaped_characters_request_body_oapg( + def _post_required_with_escaped_characters_request_body( self, body: typing.Union[request_body.required_with_escaped_characters.RequiredWithEscapedCharacters,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_required_with_escaped_characters_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_required_with_escaped_characters_request_body_oapg( + return self._post_required_with_escaped_characters_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_required_with_escaped_characters_request_body_oapg( + return self._post_required_with_escaped_characters_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/__init__.pyi index e623bc1e57f..f21f23e8cb8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_required_with_escaped_characters_request_body_oapg( + def _post_required_with_escaped_characters_request_body( self, body: typing.Union[request_body.required_with_escaped_characters.RequiredWithEscapedCharacters,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_required_with_escaped_characters_request_body_oapg( + def _post_required_with_escaped_characters_request_body( self, body: typing.Union[request_body.required_with_escaped_characters.RequiredWithEscapedCharacters,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_required_with_escaped_characters_request_body_oapg( + def _post_required_with_escaped_characters_request_body( self, body: typing.Union[request_body.required_with_escaped_characters.RequiredWithEscapedCharacters,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_required_with_escaped_characters_request_body_oapg( + def _post_required_with_escaped_characters_request_body( self, body: typing.Union[request_body.required_with_escaped_characters.RequiredWithEscapedCharacters,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_required_with_escaped_characters_request_body_oapg( + def _post_required_with_escaped_characters_request_body( self, body: typing.Union[request_body.required_with_escaped_characters.RequiredWithEscapedCharacters,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostRequiredWithEscapedCharactersRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_required_with_escaped_characters_request_body_oapg( + return self._post_required_with_escaped_characters_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_required_with_escaped_characters_request_body_oapg( + return self._post_required_with_escaped_characters_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/__init__.py index 6187b677c47..1f4b22a4044 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_simple_enum_validation_request_body_oapg( + def _post_simple_enum_validation_request_body( self, body: typing.Union[request_body.simple_enum_validation.SimpleEnumValidation,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_simple_enum_validation_request_body_oapg( ]: ... @typing.overload - def _post_simple_enum_validation_request_body_oapg( + def _post_simple_enum_validation_request_body( self, body: typing.Union[request_body.simple_enum_validation.SimpleEnumValidation,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_simple_enum_validation_request_body_oapg( @typing.overload - def _post_simple_enum_validation_request_body_oapg( + def _post_simple_enum_validation_request_body( self, body: typing.Union[request_body.simple_enum_validation.SimpleEnumValidation,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_simple_enum_validation_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_simple_enum_validation_request_body_oapg( + def _post_simple_enum_validation_request_body( self, body: typing.Union[request_body.simple_enum_validation.SimpleEnumValidation,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_simple_enum_validation_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_simple_enum_validation_request_body_oapg( + def _post_simple_enum_validation_request_body( self, body: typing.Union[request_body.simple_enum_validation.SimpleEnumValidation,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_simple_enum_validation_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_simple_enum_validation_request_body_oapg( + return self._post_simple_enum_validation_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_simple_enum_validation_request_body_oapg( + return self._post_simple_enum_validation_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/__init__.pyi index d6e33609960..78d5710f974 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_simple_enum_validation_request_body_oapg( + def _post_simple_enum_validation_request_body( self, body: typing.Union[request_body.simple_enum_validation.SimpleEnumValidation,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_simple_enum_validation_request_body_oapg( + def _post_simple_enum_validation_request_body( self, body: typing.Union[request_body.simple_enum_validation.SimpleEnumValidation,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_simple_enum_validation_request_body_oapg( + def _post_simple_enum_validation_request_body( self, body: typing.Union[request_body.simple_enum_validation.SimpleEnumValidation,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_simple_enum_validation_request_body_oapg( + def _post_simple_enum_validation_request_body( self, body: typing.Union[request_body.simple_enum_validation.SimpleEnumValidation,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_simple_enum_validation_request_body_oapg( + def _post_simple_enum_validation_request_body( self, body: typing.Union[request_body.simple_enum_validation.SimpleEnumValidation,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostSimpleEnumValidationRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_simple_enum_validation_request_body_oapg( + return self._post_simple_enum_validation_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_simple_enum_validation_request_body_oapg( + return self._post_simple_enum_validation_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/__init__.py index 7aef4d2a96b..f2165b59b30 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_string_type_matches_strings_request_body_oapg( + def _post_string_type_matches_strings_request_body( self, body: typing.Union[request_body.string_type_matches_strings.StringTypeMatchesStrings,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_string_type_matches_strings_request_body_oapg( ]: ... @typing.overload - def _post_string_type_matches_strings_request_body_oapg( + def _post_string_type_matches_strings_request_body( self, body: typing.Union[request_body.string_type_matches_strings.StringTypeMatchesStrings,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_string_type_matches_strings_request_body_oapg( @typing.overload - def _post_string_type_matches_strings_request_body_oapg( + def _post_string_type_matches_strings_request_body( self, body: typing.Union[request_body.string_type_matches_strings.StringTypeMatchesStrings,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_string_type_matches_strings_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_string_type_matches_strings_request_body_oapg( + def _post_string_type_matches_strings_request_body( self, body: typing.Union[request_body.string_type_matches_strings.StringTypeMatchesStrings,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_string_type_matches_strings_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_string_type_matches_strings_request_body_oapg( + def _post_string_type_matches_strings_request_body( self, body: typing.Union[request_body.string_type_matches_strings.StringTypeMatchesStrings,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_string_type_matches_strings_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_string_type_matches_strings_request_body_oapg( + return self._post_string_type_matches_strings_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_string_type_matches_strings_request_body_oapg( + return self._post_string_type_matches_strings_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/__init__.pyi index 8345c0ec16c..4b318686dbb 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_string_type_matches_strings_request_body_oapg( + def _post_string_type_matches_strings_request_body( self, body: typing.Union[request_body.string_type_matches_strings.StringTypeMatchesStrings,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_string_type_matches_strings_request_body_oapg( + def _post_string_type_matches_strings_request_body( self, body: typing.Union[request_body.string_type_matches_strings.StringTypeMatchesStrings,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_string_type_matches_strings_request_body_oapg( + def _post_string_type_matches_strings_request_body( self, body: typing.Union[request_body.string_type_matches_strings.StringTypeMatchesStrings,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_string_type_matches_strings_request_body_oapg( + def _post_string_type_matches_strings_request_body( self, body: typing.Union[request_body.string_type_matches_strings.StringTypeMatchesStrings,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_string_type_matches_strings_request_body_oapg( + def _post_string_type_matches_strings_request_body( self, body: typing.Union[request_body.string_type_matches_strings.StringTypeMatchesStrings,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostStringTypeMatchesStringsRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_string_type_matches_strings_request_body_oapg( + return self._post_string_type_matches_strings_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_string_type_matches_strings_request_body_oapg( + return self._post_string_type_matches_strings_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/post/__init__.py index fc3a696c509..f35cc018f7a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body_oapg( + def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body( self, body: typing.Union[request_body.the_default_keyword_does_not_do_anything_if_the_property_is_missing.TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_re ]: ... @typing.overload - def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body_oapg( + def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body( self, body: typing.Union[request_body.the_default_keyword_does_not_do_anything_if_the_property_is_missing.TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_re @typing.overload - def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body_oapg( + def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body( self, body: typing.Union[request_body.the_default_keyword_does_not_do_anything_if_the_property_is_missing.TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_re ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body_oapg( + def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body( self, body: typing.Union[request_body.the_default_keyword_does_not_do_anything_if_the_property_is_missing.TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_re api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body_oapg( + def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body( self, body: typing.Union[request_body.the_default_keyword_does_not_do_anything_if_the_property_is_missing.TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_req timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body_oapg( + return self._post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body_oapg( + return self._post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/post/__init__.pyi index 50516e4a4a6..6ba220a51cf 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body_oapg( + def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body( self, body: typing.Union[request_body.the_default_keyword_does_not_do_anything_if_the_property_is_missing.TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body_oapg( + def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body( self, body: typing.Union[request_body.the_default_keyword_does_not_do_anything_if_the_property_is_missing.TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body_oapg( + def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body( self, body: typing.Union[request_body.the_default_keyword_does_not_do_anything_if_the_property_is_missing.TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body_oapg( + def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body( self, body: typing.Union[request_body.the_default_keyword_does_not_do_anything_if_the_property_is_missing.TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body_oapg( + def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body( self, body: typing.Union[request_body.the_default_keyword_does_not_do_anything_if_the_property_is_missing.TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostTheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissingRequestBody(Ba timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body_oapg( + return self._post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body_oapg( + return self._post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/__init__.py index baf8c56e406..24efddabfc8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_uniqueitems_false_validation_request_body_oapg( + def _post_uniqueitems_false_validation_request_body( self, body: typing.Union[request_body.uniqueitems_false_validation.UniqueitemsFalseValidation,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_uniqueitems_false_validation_request_body_oapg( ]: ... @typing.overload - def _post_uniqueitems_false_validation_request_body_oapg( + def _post_uniqueitems_false_validation_request_body( self, body: typing.Union[request_body.uniqueitems_false_validation.UniqueitemsFalseValidation,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_uniqueitems_false_validation_request_body_oapg( @typing.overload - def _post_uniqueitems_false_validation_request_body_oapg( + def _post_uniqueitems_false_validation_request_body( self, body: typing.Union[request_body.uniqueitems_false_validation.UniqueitemsFalseValidation,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_uniqueitems_false_validation_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_uniqueitems_false_validation_request_body_oapg( + def _post_uniqueitems_false_validation_request_body( self, body: typing.Union[request_body.uniqueitems_false_validation.UniqueitemsFalseValidation,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_uniqueitems_false_validation_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_uniqueitems_false_validation_request_body_oapg( + def _post_uniqueitems_false_validation_request_body( self, body: typing.Union[request_body.uniqueitems_false_validation.UniqueitemsFalseValidation,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_uniqueitems_false_validation_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_uniqueitems_false_validation_request_body_oapg( + return self._post_uniqueitems_false_validation_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_uniqueitems_false_validation_request_body_oapg( + return self._post_uniqueitems_false_validation_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/__init__.pyi index a773f0c23dc..3c35f943284 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_uniqueitems_false_validation_request_body_oapg( + def _post_uniqueitems_false_validation_request_body( self, body: typing.Union[request_body.uniqueitems_false_validation.UniqueitemsFalseValidation,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_uniqueitems_false_validation_request_body_oapg( + def _post_uniqueitems_false_validation_request_body( self, body: typing.Union[request_body.uniqueitems_false_validation.UniqueitemsFalseValidation,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_uniqueitems_false_validation_request_body_oapg( + def _post_uniqueitems_false_validation_request_body( self, body: typing.Union[request_body.uniqueitems_false_validation.UniqueitemsFalseValidation,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_uniqueitems_false_validation_request_body_oapg( + def _post_uniqueitems_false_validation_request_body( self, body: typing.Union[request_body.uniqueitems_false_validation.UniqueitemsFalseValidation,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_uniqueitems_false_validation_request_body_oapg( + def _post_uniqueitems_false_validation_request_body( self, body: typing.Union[request_body.uniqueitems_false_validation.UniqueitemsFalseValidation,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostUniqueitemsFalseValidationRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_uniqueitems_false_validation_request_body_oapg( + return self._post_uniqueitems_false_validation_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_uniqueitems_false_validation_request_body_oapg( + return self._post_uniqueitems_false_validation_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/__init__.py index 645d380d8c0..118fc8ecde5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_uniqueitems_validation_request_body_oapg( + def _post_uniqueitems_validation_request_body( self, body: typing.Union[request_body.uniqueitems_validation.UniqueitemsValidation,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_uniqueitems_validation_request_body_oapg( ]: ... @typing.overload - def _post_uniqueitems_validation_request_body_oapg( + def _post_uniqueitems_validation_request_body( self, body: typing.Union[request_body.uniqueitems_validation.UniqueitemsValidation,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_uniqueitems_validation_request_body_oapg( @typing.overload - def _post_uniqueitems_validation_request_body_oapg( + def _post_uniqueitems_validation_request_body( self, body: typing.Union[request_body.uniqueitems_validation.UniqueitemsValidation,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_uniqueitems_validation_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_uniqueitems_validation_request_body_oapg( + def _post_uniqueitems_validation_request_body( self, body: typing.Union[request_body.uniqueitems_validation.UniqueitemsValidation,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_uniqueitems_validation_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_uniqueitems_validation_request_body_oapg( + def _post_uniqueitems_validation_request_body( self, body: typing.Union[request_body.uniqueitems_validation.UniqueitemsValidation,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_uniqueitems_validation_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_uniqueitems_validation_request_body_oapg( + return self._post_uniqueitems_validation_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_uniqueitems_validation_request_body_oapg( + return self._post_uniqueitems_validation_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/__init__.pyi index 3d17813af89..d231db66b08 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_uniqueitems_validation_request_body_oapg( + def _post_uniqueitems_validation_request_body( self, body: typing.Union[request_body.uniqueitems_validation.UniqueitemsValidation,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_uniqueitems_validation_request_body_oapg( + def _post_uniqueitems_validation_request_body( self, body: typing.Union[request_body.uniqueitems_validation.UniqueitemsValidation,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_uniqueitems_validation_request_body_oapg( + def _post_uniqueitems_validation_request_body( self, body: typing.Union[request_body.uniqueitems_validation.UniqueitemsValidation,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_uniqueitems_validation_request_body_oapg( + def _post_uniqueitems_validation_request_body( self, body: typing.Union[request_body.uniqueitems_validation.UniqueitemsValidation,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_uniqueitems_validation_request_body_oapg( + def _post_uniqueitems_validation_request_body( self, body: typing.Union[request_body.uniqueitems_validation.UniqueitemsValidation,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostUniqueitemsValidationRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_uniqueitems_validation_request_body_oapg( + return self._post_uniqueitems_validation_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_uniqueitems_validation_request_body_oapg( + return self._post_uniqueitems_validation_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_format_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_format_request_body/post/__init__.py index b1719699ff7..d8fec068433 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_format_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_format_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_uri_format_request_body_oapg( + def _post_uri_format_request_body( self, body: typing.Union[request_body.uri_format.UriFormat,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_uri_format_request_body_oapg( ]: ... @typing.overload - def _post_uri_format_request_body_oapg( + def _post_uri_format_request_body( self, body: typing.Union[request_body.uri_format.UriFormat,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_uri_format_request_body_oapg( @typing.overload - def _post_uri_format_request_body_oapg( + def _post_uri_format_request_body( self, body: typing.Union[request_body.uri_format.UriFormat,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_uri_format_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_uri_format_request_body_oapg( + def _post_uri_format_request_body( self, body: typing.Union[request_body.uri_format.UriFormat,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_uri_format_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_uri_format_request_body_oapg( + def _post_uri_format_request_body( self, body: typing.Union[request_body.uri_format.UriFormat,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_uri_format_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_uri_format_request_body_oapg( + return self._post_uri_format_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_uri_format_request_body_oapg( + return self._post_uri_format_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_format_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_format_request_body/post/__init__.pyi index ef6e3c97d51..ffc907dcc52 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_format_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_format_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_uri_format_request_body_oapg( + def _post_uri_format_request_body( self, body: typing.Union[request_body.uri_format.UriFormat,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_uri_format_request_body_oapg( + def _post_uri_format_request_body( self, body: typing.Union[request_body.uri_format.UriFormat,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_uri_format_request_body_oapg( + def _post_uri_format_request_body( self, body: typing.Union[request_body.uri_format.UriFormat,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_uri_format_request_body_oapg( + def _post_uri_format_request_body( self, body: typing.Union[request_body.uri_format.UriFormat,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_uri_format_request_body_oapg( + def _post_uri_format_request_body( self, body: typing.Union[request_body.uri_format.UriFormat,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostUriFormatRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_uri_format_request_body_oapg( + return self._post_uri_format_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_uri_format_request_body_oapg( + return self._post_uri_format_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/__init__.py index 09c7f563a41..282b373d404 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_uri_reference_format_request_body_oapg( + def _post_uri_reference_format_request_body( self, body: typing.Union[request_body.uri_reference_format.UriReferenceFormat,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_uri_reference_format_request_body_oapg( ]: ... @typing.overload - def _post_uri_reference_format_request_body_oapg( + def _post_uri_reference_format_request_body( self, body: typing.Union[request_body.uri_reference_format.UriReferenceFormat,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_uri_reference_format_request_body_oapg( @typing.overload - def _post_uri_reference_format_request_body_oapg( + def _post_uri_reference_format_request_body( self, body: typing.Union[request_body.uri_reference_format.UriReferenceFormat,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_uri_reference_format_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_uri_reference_format_request_body_oapg( + def _post_uri_reference_format_request_body( self, body: typing.Union[request_body.uri_reference_format.UriReferenceFormat,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_uri_reference_format_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_uri_reference_format_request_body_oapg( + def _post_uri_reference_format_request_body( self, body: typing.Union[request_body.uri_reference_format.UriReferenceFormat,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_uri_reference_format_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_uri_reference_format_request_body_oapg( + return self._post_uri_reference_format_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_uri_reference_format_request_body_oapg( + return self._post_uri_reference_format_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/__init__.pyi index 89270a486e5..36cc7a1ae35 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_uri_reference_format_request_body_oapg( + def _post_uri_reference_format_request_body( self, body: typing.Union[request_body.uri_reference_format.UriReferenceFormat,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_uri_reference_format_request_body_oapg( + def _post_uri_reference_format_request_body( self, body: typing.Union[request_body.uri_reference_format.UriReferenceFormat,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_uri_reference_format_request_body_oapg( + def _post_uri_reference_format_request_body( self, body: typing.Union[request_body.uri_reference_format.UriReferenceFormat,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_uri_reference_format_request_body_oapg( + def _post_uri_reference_format_request_body( self, body: typing.Union[request_body.uri_reference_format.UriReferenceFormat,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_uri_reference_format_request_body_oapg( + def _post_uri_reference_format_request_body( self, body: typing.Union[request_body.uri_reference_format.UriReferenceFormat,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostUriReferenceFormatRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_uri_reference_format_request_body_oapg( + return self._post_uri_reference_format_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_uri_reference_format_request_body_oapg( + return self._post_uri_reference_format_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/__init__.py index 2dea8c5b4dc..9523166d7ef 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_uri_template_format_request_body_oapg( + def _post_uri_template_format_request_body( self, body: typing.Union[request_body.uri_template_format.UriTemplateFormat,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _post_uri_template_format_request_body_oapg( ]: ... @typing.overload - def _post_uri_template_format_request_body_oapg( + def _post_uri_template_format_request_body( self, body: typing.Union[request_body.uri_template_format.UriTemplateFormat,], content_type: str = ..., @@ -69,7 +69,7 @@ def _post_uri_template_format_request_body_oapg( @typing.overload - def _post_uri_template_format_request_body_oapg( + def _post_uri_template_format_request_body( self, body: typing.Union[request_body.uri_template_format.UriTemplateFormat,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _post_uri_template_format_request_body_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_uri_template_format_request_body_oapg( + def _post_uri_template_format_request_body( self, body: typing.Union[request_body.uri_template_format.UriTemplateFormat,], content_type: str = ..., @@ -91,7 +91,7 @@ def _post_uri_template_format_request_body_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_uri_template_format_request_body_oapg( + def _post_uri_template_format_request_body( self, body: typing.Union[request_body.uri_template_format.UriTemplateFormat,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def post_uri_template_format_request_body( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_uri_template_format_request_body_oapg( + return self._post_uri_template_format_request_body( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_uri_template_format_request_body_oapg( + return self._post_uri_template_format_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/__init__.pyi index 1a9660b5cad..9281211fef7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_uri_template_format_request_body_oapg( + def _post_uri_template_format_request_body( self, body: typing.Union[request_body.uri_template_format.UriTemplateFormat,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_uri_template_format_request_body_oapg( + def _post_uri_template_format_request_body( self, body: typing.Union[request_body.uri_template_format.UriTemplateFormat,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_uri_template_format_request_body_oapg( + def _post_uri_template_format_request_body( self, body: typing.Union[request_body.uri_template_format.UriTemplateFormat,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_uri_template_format_request_body_oapg( + def _post_uri_template_format_request_body( self, body: typing.Union[request_body.uri_template_format.UriTemplateFormat,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_uri_template_format_request_body_oapg( + def _post_uri_template_format_request_body( self, body: typing.Union[request_body.uri_template_format.UriTemplateFormat,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class PostUriTemplateFormatRequestBody(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_uri_template_format_request_body_oapg( + return self._post_uri_template_format_request_body( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_uri_template_format_request_body_oapg( + return self._post_uri_template_format_request_body( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/post/__init__.py index ba9e9f788de..7d264fb17ce 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types_oapg( + def _post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_additionalproperties_allows_a_schema_which_should_validate_response_bo ]: ... @typing.overload - def _post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types_oapg( + def _post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_additionalproperties_allows_a_schema_which_should_validate_response_bo ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types_oapg( + def _post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_additionalproperties_allows_a_schema_which_should_validate_response_bo api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types_oapg( + def _post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_additionalproperties_allows_a_schema_which_should_validate_response_bod timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types_oapg( + return self._post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types_oapg( + return self._post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/post/__init__.pyi index 3bb578905bb..d53c8235bac 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types_oapg( + def _post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types_oapg( + def _post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types_oapg( + def _post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types_oapg( + def _post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostAdditionalpropertiesAllowsASchemaWhichShouldValidateResponseBodyForCon timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types_oapg( + return self._post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types_oapg( + return self._post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/__init__.py index 744050fbb74..8a390b5625f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_additionalproperties_are_allowed_by_default_response_body_for_content_types_oapg( + def _post_additionalproperties_are_allowed_by_default_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_additionalproperties_are_allowed_by_default_response_body_for_content_ ]: ... @typing.overload - def _post_additionalproperties_are_allowed_by_default_response_body_for_content_types_oapg( + def _post_additionalproperties_are_allowed_by_default_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_additionalproperties_are_allowed_by_default_response_body_for_content_ ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_additionalproperties_are_allowed_by_default_response_body_for_content_types_oapg( + def _post_additionalproperties_are_allowed_by_default_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_additionalproperties_are_allowed_by_default_response_body_for_content_ api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_additionalproperties_are_allowed_by_default_response_body_for_content_types_oapg( + def _post_additionalproperties_are_allowed_by_default_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_additionalproperties_are_allowed_by_default_response_body_for_content_t timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_additionalproperties_are_allowed_by_default_response_body_for_content_types_oapg( + return self._post_additionalproperties_are_allowed_by_default_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_additionalproperties_are_allowed_by_default_response_body_for_content_types_oapg( + return self._post_additionalproperties_are_allowed_by_default_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/__init__.pyi index 48cf078e4bd..06355870032 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_additionalproperties_are_allowed_by_default_response_body_for_content_types_oapg( + def _post_additionalproperties_are_allowed_by_default_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_additionalproperties_are_allowed_by_default_response_body_for_content_types_oapg( + def _post_additionalproperties_are_allowed_by_default_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_additionalproperties_are_allowed_by_default_response_body_for_content_types_oapg( + def _post_additionalproperties_are_allowed_by_default_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_additionalproperties_are_allowed_by_default_response_body_for_content_types_oapg( + def _post_additionalproperties_are_allowed_by_default_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostAdditionalpropertiesAreAllowedByDefaultResponseBodyForContentTypes(Bas timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_additionalproperties_are_allowed_by_default_response_body_for_content_types_oapg( + return self._post_additionalproperties_are_allowed_by_default_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_additionalproperties_are_allowed_by_default_response_body_for_content_types_oapg( + return self._post_additionalproperties_are_allowed_by_default_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/__init__.py index 98ec8f1bbd8..0e65013b8c6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_additionalproperties_can_exist_by_itself_response_body_for_content_types_oapg( + def _post_additionalproperties_can_exist_by_itself_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_additionalproperties_can_exist_by_itself_response_body_for_content_typ ]: ... @typing.overload - def _post_additionalproperties_can_exist_by_itself_response_body_for_content_types_oapg( + def _post_additionalproperties_can_exist_by_itself_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_additionalproperties_can_exist_by_itself_response_body_for_content_typ ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_additionalproperties_can_exist_by_itself_response_body_for_content_types_oapg( + def _post_additionalproperties_can_exist_by_itself_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_additionalproperties_can_exist_by_itself_response_body_for_content_typ api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_additionalproperties_can_exist_by_itself_response_body_for_content_types_oapg( + def _post_additionalproperties_can_exist_by_itself_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_additionalproperties_can_exist_by_itself_response_body_for_content_type timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_additionalproperties_can_exist_by_itself_response_body_for_content_types_oapg( + return self._post_additionalproperties_can_exist_by_itself_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_additionalproperties_can_exist_by_itself_response_body_for_content_types_oapg( + return self._post_additionalproperties_can_exist_by_itself_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/__init__.pyi index 641028fbba3..e093a1ebd6f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_additionalproperties_can_exist_by_itself_response_body_for_content_types_oapg( + def _post_additionalproperties_can_exist_by_itself_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_additionalproperties_can_exist_by_itself_response_body_for_content_types_oapg( + def _post_additionalproperties_can_exist_by_itself_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_additionalproperties_can_exist_by_itself_response_body_for_content_types_oapg( + def _post_additionalproperties_can_exist_by_itself_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_additionalproperties_can_exist_by_itself_response_body_for_content_types_oapg( + def _post_additionalproperties_can_exist_by_itself_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostAdditionalpropertiesCanExistByItselfResponseBodyForContentTypes(BaseAp timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_additionalproperties_can_exist_by_itself_response_body_for_content_types_oapg( + return self._post_additionalproperties_can_exist_by_itself_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_additionalproperties_can_exist_by_itself_response_body_for_content_types_oapg( + return self._post_additionalproperties_can_exist_by_itself_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/post/__init__.py index 4a217974244..e2dde140adb 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types_oapg( + def _post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_additionalproperties_should_not_look_in_applicators_response_body_for_ ]: ... @typing.overload - def _post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types_oapg( + def _post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_additionalproperties_should_not_look_in_applicators_response_body_for_ ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types_oapg( + def _post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_additionalproperties_should_not_look_in_applicators_response_body_for_ api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types_oapg( + def _post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_additionalproperties_should_not_look_in_applicators_response_body_for_c timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types_oapg( + return self._post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types_oapg( + return self._post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/post/__init__.pyi index d0d42da5ead..d38acdc3560 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types_oapg( + def _post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types_oapg( + def _post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types_oapg( + def _post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types_oapg( + def _post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostAdditionalpropertiesShouldNotLookInApplicatorsResponseBodyForContentTy timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types_oapg( + return self._post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types_oapg( + return self._post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/__init__.py index 8299a450c87..c61fa0f6fd6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_allof_combined_with_anyof_oneof_response_body_for_content_types_oapg( + def _post_allof_combined_with_anyof_oneof_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_allof_combined_with_anyof_oneof_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_allof_combined_with_anyof_oneof_response_body_for_content_types_oapg( + def _post_allof_combined_with_anyof_oneof_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_allof_combined_with_anyof_oneof_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_allof_combined_with_anyof_oneof_response_body_for_content_types_oapg( + def _post_allof_combined_with_anyof_oneof_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_allof_combined_with_anyof_oneof_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_allof_combined_with_anyof_oneof_response_body_for_content_types_oapg( + def _post_allof_combined_with_anyof_oneof_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_allof_combined_with_anyof_oneof_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_combined_with_anyof_oneof_response_body_for_content_types_oapg( + return self._post_allof_combined_with_anyof_oneof_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_combined_with_anyof_oneof_response_body_for_content_types_oapg( + return self._post_allof_combined_with_anyof_oneof_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/__init__.pyi index acd3d3d2106..6f5b52ff08f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_allof_combined_with_anyof_oneof_response_body_for_content_types_oapg( + def _post_allof_combined_with_anyof_oneof_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_allof_combined_with_anyof_oneof_response_body_for_content_types_oapg( + def _post_allof_combined_with_anyof_oneof_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_allof_combined_with_anyof_oneof_response_body_for_content_types_oapg( + def _post_allof_combined_with_anyof_oneof_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_allof_combined_with_anyof_oneof_response_body_for_content_types_oapg( + def _post_allof_combined_with_anyof_oneof_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostAllofCombinedWithAnyofOneofResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_combined_with_anyof_oneof_response_body_for_content_types_oapg( + return self._post_allof_combined_with_anyof_oneof_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_combined_with_anyof_oneof_response_body_for_content_types_oapg( + return self._post_allof_combined_with_anyof_oneof_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/__init__.py index 858ebd67755..fd8050a309b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_allof_response_body_for_content_types_oapg( + def _post_allof_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_allof_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_allof_response_body_for_content_types_oapg( + def _post_allof_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_allof_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_allof_response_body_for_content_types_oapg( + def _post_allof_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_allof_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_allof_response_body_for_content_types_oapg( + def _post_allof_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_allof_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_response_body_for_content_types_oapg( + return self._post_allof_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_response_body_for_content_types_oapg( + return self._post_allof_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/__init__.pyi index 29fb409b911..9a6ce8a9823 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_allof_response_body_for_content_types_oapg( + def _post_allof_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_allof_response_body_for_content_types_oapg( + def _post_allof_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_allof_response_body_for_content_types_oapg( + def _post_allof_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_allof_response_body_for_content_types_oapg( + def _post_allof_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostAllofResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_response_body_for_content_types_oapg( + return self._post_allof_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_response_body_for_content_types_oapg( + return self._post_allof_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/__init__.py index decc873d822..10149084bd0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_allof_simple_types_response_body_for_content_types_oapg( + def _post_allof_simple_types_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_allof_simple_types_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_allof_simple_types_response_body_for_content_types_oapg( + def _post_allof_simple_types_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_allof_simple_types_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_allof_simple_types_response_body_for_content_types_oapg( + def _post_allof_simple_types_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_allof_simple_types_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_allof_simple_types_response_body_for_content_types_oapg( + def _post_allof_simple_types_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_allof_simple_types_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_simple_types_response_body_for_content_types_oapg( + return self._post_allof_simple_types_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_simple_types_response_body_for_content_types_oapg( + return self._post_allof_simple_types_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/__init__.pyi index 5e77e5fbc2f..53c38147388 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_allof_simple_types_response_body_for_content_types_oapg( + def _post_allof_simple_types_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_allof_simple_types_response_body_for_content_types_oapg( + def _post_allof_simple_types_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_allof_simple_types_response_body_for_content_types_oapg( + def _post_allof_simple_types_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_allof_simple_types_response_body_for_content_types_oapg( + def _post_allof_simple_types_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostAllofSimpleTypesResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_simple_types_response_body_for_content_types_oapg( + return self._post_allof_simple_types_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_simple_types_response_body_for_content_types_oapg( + return self._post_allof_simple_types_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/__init__.py index 8781865ae43..26cce37d99c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_allof_with_base_schema_response_body_for_content_types_oapg( + def _post_allof_with_base_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_allof_with_base_schema_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_allof_with_base_schema_response_body_for_content_types_oapg( + def _post_allof_with_base_schema_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_allof_with_base_schema_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_allof_with_base_schema_response_body_for_content_types_oapg( + def _post_allof_with_base_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_allof_with_base_schema_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_allof_with_base_schema_response_body_for_content_types_oapg( + def _post_allof_with_base_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_allof_with_base_schema_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_with_base_schema_response_body_for_content_types_oapg( + return self._post_allof_with_base_schema_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_with_base_schema_response_body_for_content_types_oapg( + return self._post_allof_with_base_schema_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/__init__.pyi index 95064bf777a..5eae3be4c8e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_allof_with_base_schema_response_body_for_content_types_oapg( + def _post_allof_with_base_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_allof_with_base_schema_response_body_for_content_types_oapg( + def _post_allof_with_base_schema_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_allof_with_base_schema_response_body_for_content_types_oapg( + def _post_allof_with_base_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_allof_with_base_schema_response_body_for_content_types_oapg( + def _post_allof_with_base_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostAllofWithBaseSchemaResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_with_base_schema_response_body_for_content_types_oapg( + return self._post_allof_with_base_schema_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_with_base_schema_response_body_for_content_types_oapg( + return self._post_allof_with_base_schema_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/__init__.py index 1052f6b7d81..380e074e844 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_allof_with_one_empty_schema_response_body_for_content_types_oapg( + def _post_allof_with_one_empty_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_allof_with_one_empty_schema_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_allof_with_one_empty_schema_response_body_for_content_types_oapg( + def _post_allof_with_one_empty_schema_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_allof_with_one_empty_schema_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_allof_with_one_empty_schema_response_body_for_content_types_oapg( + def _post_allof_with_one_empty_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_allof_with_one_empty_schema_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_allof_with_one_empty_schema_response_body_for_content_types_oapg( + def _post_allof_with_one_empty_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_allof_with_one_empty_schema_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_with_one_empty_schema_response_body_for_content_types_oapg( + return self._post_allof_with_one_empty_schema_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_with_one_empty_schema_response_body_for_content_types_oapg( + return self._post_allof_with_one_empty_schema_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/__init__.pyi index 96e5243e00a..4aa93af8677 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_allof_with_one_empty_schema_response_body_for_content_types_oapg( + def _post_allof_with_one_empty_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_allof_with_one_empty_schema_response_body_for_content_types_oapg( + def _post_allof_with_one_empty_schema_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_allof_with_one_empty_schema_response_body_for_content_types_oapg( + def _post_allof_with_one_empty_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_allof_with_one_empty_schema_response_body_for_content_types_oapg( + def _post_allof_with_one_empty_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostAllofWithOneEmptySchemaResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_with_one_empty_schema_response_body_for_content_types_oapg( + return self._post_allof_with_one_empty_schema_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_with_one_empty_schema_response_body_for_content_types_oapg( + return self._post_allof_with_one_empty_schema_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/__init__.py index 7da950af702..3ee0dae32d1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_allof_with_the_first_empty_schema_response_body_for_content_types_oapg( + def _post_allof_with_the_first_empty_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_allof_with_the_first_empty_schema_response_body_for_content_types_oapg ]: ... @typing.overload - def _post_allof_with_the_first_empty_schema_response_body_for_content_types_oapg( + def _post_allof_with_the_first_empty_schema_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_allof_with_the_first_empty_schema_response_body_for_content_types_oapg ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_allof_with_the_first_empty_schema_response_body_for_content_types_oapg( + def _post_allof_with_the_first_empty_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_allof_with_the_first_empty_schema_response_body_for_content_types_oapg api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_allof_with_the_first_empty_schema_response_body_for_content_types_oapg( + def _post_allof_with_the_first_empty_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_allof_with_the_first_empty_schema_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_with_the_first_empty_schema_response_body_for_content_types_oapg( + return self._post_allof_with_the_first_empty_schema_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_with_the_first_empty_schema_response_body_for_content_types_oapg( + return self._post_allof_with_the_first_empty_schema_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/__init__.pyi index 1915314e606..9234f8b743a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_allof_with_the_first_empty_schema_response_body_for_content_types_oapg( + def _post_allof_with_the_first_empty_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_allof_with_the_first_empty_schema_response_body_for_content_types_oapg( + def _post_allof_with_the_first_empty_schema_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_allof_with_the_first_empty_schema_response_body_for_content_types_oapg( + def _post_allof_with_the_first_empty_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_allof_with_the_first_empty_schema_response_body_for_content_types_oapg( + def _post_allof_with_the_first_empty_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostAllofWithTheFirstEmptySchemaResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_with_the_first_empty_schema_response_body_for_content_types_oapg( + return self._post_allof_with_the_first_empty_schema_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_with_the_first_empty_schema_response_body_for_content_types_oapg( + return self._post_allof_with_the_first_empty_schema_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/__init__.py index 045f94bb7d4..5ed677770b6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_allof_with_the_last_empty_schema_response_body_for_content_types_oapg( + def _post_allof_with_the_last_empty_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_allof_with_the_last_empty_schema_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_allof_with_the_last_empty_schema_response_body_for_content_types_oapg( + def _post_allof_with_the_last_empty_schema_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_allof_with_the_last_empty_schema_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_allof_with_the_last_empty_schema_response_body_for_content_types_oapg( + def _post_allof_with_the_last_empty_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_allof_with_the_last_empty_schema_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_allof_with_the_last_empty_schema_response_body_for_content_types_oapg( + def _post_allof_with_the_last_empty_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_allof_with_the_last_empty_schema_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_with_the_last_empty_schema_response_body_for_content_types_oapg( + return self._post_allof_with_the_last_empty_schema_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_with_the_last_empty_schema_response_body_for_content_types_oapg( + return self._post_allof_with_the_last_empty_schema_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/__init__.pyi index ef507249969..5e8b16570a3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_allof_with_the_last_empty_schema_response_body_for_content_types_oapg( + def _post_allof_with_the_last_empty_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_allof_with_the_last_empty_schema_response_body_for_content_types_oapg( + def _post_allof_with_the_last_empty_schema_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_allof_with_the_last_empty_schema_response_body_for_content_types_oapg( + def _post_allof_with_the_last_empty_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_allof_with_the_last_empty_schema_response_body_for_content_types_oapg( + def _post_allof_with_the_last_empty_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostAllofWithTheLastEmptySchemaResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_with_the_last_empty_schema_response_body_for_content_types_oapg( + return self._post_allof_with_the_last_empty_schema_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_with_the_last_empty_schema_response_body_for_content_types_oapg( + return self._post_allof_with_the_last_empty_schema_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/__init__.py index 0f66345d7e0..fa924f0e719 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_allof_with_two_empty_schemas_response_body_for_content_types_oapg( + def _post_allof_with_two_empty_schemas_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_allof_with_two_empty_schemas_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_allof_with_two_empty_schemas_response_body_for_content_types_oapg( + def _post_allof_with_two_empty_schemas_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_allof_with_two_empty_schemas_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_allof_with_two_empty_schemas_response_body_for_content_types_oapg( + def _post_allof_with_two_empty_schemas_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_allof_with_two_empty_schemas_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_allof_with_two_empty_schemas_response_body_for_content_types_oapg( + def _post_allof_with_two_empty_schemas_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_allof_with_two_empty_schemas_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_with_two_empty_schemas_response_body_for_content_types_oapg( + return self._post_allof_with_two_empty_schemas_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_with_two_empty_schemas_response_body_for_content_types_oapg( + return self._post_allof_with_two_empty_schemas_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/__init__.pyi index b2f1c9980a4..5211891292a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_allof_with_two_empty_schemas_response_body_for_content_types_oapg( + def _post_allof_with_two_empty_schemas_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_allof_with_two_empty_schemas_response_body_for_content_types_oapg( + def _post_allof_with_two_empty_schemas_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_allof_with_two_empty_schemas_response_body_for_content_types_oapg( + def _post_allof_with_two_empty_schemas_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_allof_with_two_empty_schemas_response_body_for_content_types_oapg( + def _post_allof_with_two_empty_schemas_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostAllofWithTwoEmptySchemasResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_with_two_empty_schemas_response_body_for_content_types_oapg( + return self._post_allof_with_two_empty_schemas_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_allof_with_two_empty_schemas_response_body_for_content_types_oapg( + return self._post_allof_with_two_empty_schemas_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/__init__.py index c2b38ac3557..c5785bd7367 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_anyof_complex_types_response_body_for_content_types_oapg( + def _post_anyof_complex_types_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_anyof_complex_types_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_anyof_complex_types_response_body_for_content_types_oapg( + def _post_anyof_complex_types_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_anyof_complex_types_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_anyof_complex_types_response_body_for_content_types_oapg( + def _post_anyof_complex_types_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_anyof_complex_types_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_anyof_complex_types_response_body_for_content_types_oapg( + def _post_anyof_complex_types_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_anyof_complex_types_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_anyof_complex_types_response_body_for_content_types_oapg( + return self._post_anyof_complex_types_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_anyof_complex_types_response_body_for_content_types_oapg( + return self._post_anyof_complex_types_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/__init__.pyi index e3766291245..6e9487d0891 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_anyof_complex_types_response_body_for_content_types_oapg( + def _post_anyof_complex_types_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_anyof_complex_types_response_body_for_content_types_oapg( + def _post_anyof_complex_types_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_anyof_complex_types_response_body_for_content_types_oapg( + def _post_anyof_complex_types_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_anyof_complex_types_response_body_for_content_types_oapg( + def _post_anyof_complex_types_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostAnyofComplexTypesResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_anyof_complex_types_response_body_for_content_types_oapg( + return self._post_anyof_complex_types_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_anyof_complex_types_response_body_for_content_types_oapg( + return self._post_anyof_complex_types_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/__init__.py index a9d03264eed..f39fac65d71 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_anyof_response_body_for_content_types_oapg( + def _post_anyof_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_anyof_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_anyof_response_body_for_content_types_oapg( + def _post_anyof_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_anyof_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_anyof_response_body_for_content_types_oapg( + def _post_anyof_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_anyof_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_anyof_response_body_for_content_types_oapg( + def _post_anyof_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_anyof_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_anyof_response_body_for_content_types_oapg( + return self._post_anyof_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_anyof_response_body_for_content_types_oapg( + return self._post_anyof_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/__init__.pyi index ec0e85cfa28..1a44351c76d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_anyof_response_body_for_content_types_oapg( + def _post_anyof_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_anyof_response_body_for_content_types_oapg( + def _post_anyof_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_anyof_response_body_for_content_types_oapg( + def _post_anyof_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_anyof_response_body_for_content_types_oapg( + def _post_anyof_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostAnyofResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_anyof_response_body_for_content_types_oapg( + return self._post_anyof_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_anyof_response_body_for_content_types_oapg( + return self._post_anyof_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/__init__.py index de96c057c1d..514d18094a9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_anyof_with_base_schema_response_body_for_content_types_oapg( + def _post_anyof_with_base_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_anyof_with_base_schema_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_anyof_with_base_schema_response_body_for_content_types_oapg( + def _post_anyof_with_base_schema_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_anyof_with_base_schema_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_anyof_with_base_schema_response_body_for_content_types_oapg( + def _post_anyof_with_base_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_anyof_with_base_schema_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_anyof_with_base_schema_response_body_for_content_types_oapg( + def _post_anyof_with_base_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_anyof_with_base_schema_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_anyof_with_base_schema_response_body_for_content_types_oapg( + return self._post_anyof_with_base_schema_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_anyof_with_base_schema_response_body_for_content_types_oapg( + return self._post_anyof_with_base_schema_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/__init__.pyi index 9471bd62374..6fd3bc2c967 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_anyof_with_base_schema_response_body_for_content_types_oapg( + def _post_anyof_with_base_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_anyof_with_base_schema_response_body_for_content_types_oapg( + def _post_anyof_with_base_schema_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_anyof_with_base_schema_response_body_for_content_types_oapg( + def _post_anyof_with_base_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_anyof_with_base_schema_response_body_for_content_types_oapg( + def _post_anyof_with_base_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostAnyofWithBaseSchemaResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_anyof_with_base_schema_response_body_for_content_types_oapg( + return self._post_anyof_with_base_schema_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_anyof_with_base_schema_response_body_for_content_types_oapg( + return self._post_anyof_with_base_schema_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/__init__.py index 8c052903689..8419f7f1be4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_anyof_with_one_empty_schema_response_body_for_content_types_oapg( + def _post_anyof_with_one_empty_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_anyof_with_one_empty_schema_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_anyof_with_one_empty_schema_response_body_for_content_types_oapg( + def _post_anyof_with_one_empty_schema_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_anyof_with_one_empty_schema_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_anyof_with_one_empty_schema_response_body_for_content_types_oapg( + def _post_anyof_with_one_empty_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_anyof_with_one_empty_schema_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_anyof_with_one_empty_schema_response_body_for_content_types_oapg( + def _post_anyof_with_one_empty_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_anyof_with_one_empty_schema_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_anyof_with_one_empty_schema_response_body_for_content_types_oapg( + return self._post_anyof_with_one_empty_schema_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_anyof_with_one_empty_schema_response_body_for_content_types_oapg( + return self._post_anyof_with_one_empty_schema_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/__init__.pyi index 0bd460c55f8..a55215f4c1c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_anyof_with_one_empty_schema_response_body_for_content_types_oapg( + def _post_anyof_with_one_empty_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_anyof_with_one_empty_schema_response_body_for_content_types_oapg( + def _post_anyof_with_one_empty_schema_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_anyof_with_one_empty_schema_response_body_for_content_types_oapg( + def _post_anyof_with_one_empty_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_anyof_with_one_empty_schema_response_body_for_content_types_oapg( + def _post_anyof_with_one_empty_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostAnyofWithOneEmptySchemaResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_anyof_with_one_empty_schema_response_body_for_content_types_oapg( + return self._post_anyof_with_one_empty_schema_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_anyof_with_one_empty_schema_response_body_for_content_types_oapg( + return self._post_anyof_with_one_empty_schema_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/__init__.py index 66743dcc543..45ab893d07f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_array_type_matches_arrays_response_body_for_content_types_oapg( + def _post_array_type_matches_arrays_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_array_type_matches_arrays_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_array_type_matches_arrays_response_body_for_content_types_oapg( + def _post_array_type_matches_arrays_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_array_type_matches_arrays_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_array_type_matches_arrays_response_body_for_content_types_oapg( + def _post_array_type_matches_arrays_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_array_type_matches_arrays_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_array_type_matches_arrays_response_body_for_content_types_oapg( + def _post_array_type_matches_arrays_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_array_type_matches_arrays_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_array_type_matches_arrays_response_body_for_content_types_oapg( + return self._post_array_type_matches_arrays_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_array_type_matches_arrays_response_body_for_content_types_oapg( + return self._post_array_type_matches_arrays_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/__init__.pyi index ce751573c0a..7a18122ef08 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_array_type_matches_arrays_response_body_for_content_types_oapg( + def _post_array_type_matches_arrays_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_array_type_matches_arrays_response_body_for_content_types_oapg( + def _post_array_type_matches_arrays_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_array_type_matches_arrays_response_body_for_content_types_oapg( + def _post_array_type_matches_arrays_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_array_type_matches_arrays_response_body_for_content_types_oapg( + def _post_array_type_matches_arrays_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostArrayTypeMatchesArraysResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_array_type_matches_arrays_response_body_for_content_types_oapg( + return self._post_array_type_matches_arrays_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_array_type_matches_arrays_response_body_for_content_types_oapg( + return self._post_array_type_matches_arrays_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/__init__.py index 719cc1a53d1..53db86ef0f4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_boolean_type_matches_booleans_response_body_for_content_types_oapg( + def _post_boolean_type_matches_booleans_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_boolean_type_matches_booleans_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_boolean_type_matches_booleans_response_body_for_content_types_oapg( + def _post_boolean_type_matches_booleans_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_boolean_type_matches_booleans_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_boolean_type_matches_booleans_response_body_for_content_types_oapg( + def _post_boolean_type_matches_booleans_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_boolean_type_matches_booleans_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_boolean_type_matches_booleans_response_body_for_content_types_oapg( + def _post_boolean_type_matches_booleans_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_boolean_type_matches_booleans_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_boolean_type_matches_booleans_response_body_for_content_types_oapg( + return self._post_boolean_type_matches_booleans_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_boolean_type_matches_booleans_response_body_for_content_types_oapg( + return self._post_boolean_type_matches_booleans_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/__init__.pyi index ec6447985cd..f3b90429067 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_boolean_type_matches_booleans_response_body_for_content_types_oapg( + def _post_boolean_type_matches_booleans_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_boolean_type_matches_booleans_response_body_for_content_types_oapg( + def _post_boolean_type_matches_booleans_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_boolean_type_matches_booleans_response_body_for_content_types_oapg( + def _post_boolean_type_matches_booleans_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_boolean_type_matches_booleans_response_body_for_content_types_oapg( + def _post_boolean_type_matches_booleans_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostBooleanTypeMatchesBooleansResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_boolean_type_matches_booleans_response_body_for_content_types_oapg( + return self._post_boolean_type_matches_booleans_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_boolean_type_matches_booleans_response_body_for_content_types_oapg( + return self._post_boolean_type_matches_booleans_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/__init__.py index 4e4b81507ae..79923601878 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_by_int_response_body_for_content_types_oapg( + def _post_by_int_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_by_int_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_by_int_response_body_for_content_types_oapg( + def _post_by_int_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_by_int_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_by_int_response_body_for_content_types_oapg( + def _post_by_int_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_by_int_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_by_int_response_body_for_content_types_oapg( + def _post_by_int_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_by_int_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_by_int_response_body_for_content_types_oapg( + return self._post_by_int_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_by_int_response_body_for_content_types_oapg( + return self._post_by_int_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/__init__.pyi index 37ba71981f0..c36d2c8b368 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_by_int_response_body_for_content_types_oapg( + def _post_by_int_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_by_int_response_body_for_content_types_oapg( + def _post_by_int_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_by_int_response_body_for_content_types_oapg( + def _post_by_int_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_by_int_response_body_for_content_types_oapg( + def _post_by_int_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostByIntResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_by_int_response_body_for_content_types_oapg( + return self._post_by_int_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_by_int_response_body_for_content_types_oapg( + return self._post_by_int_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/__init__.py index 84e22709e41..80cc5311e0a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_by_number_response_body_for_content_types_oapg( + def _post_by_number_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_by_number_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_by_number_response_body_for_content_types_oapg( + def _post_by_number_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_by_number_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_by_number_response_body_for_content_types_oapg( + def _post_by_number_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_by_number_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_by_number_response_body_for_content_types_oapg( + def _post_by_number_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_by_number_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_by_number_response_body_for_content_types_oapg( + return self._post_by_number_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_by_number_response_body_for_content_types_oapg( + return self._post_by_number_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/__init__.pyi index 5fa80bbef25..dbccebe7ebb 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_by_number_response_body_for_content_types_oapg( + def _post_by_number_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_by_number_response_body_for_content_types_oapg( + def _post_by_number_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_by_number_response_body_for_content_types_oapg( + def _post_by_number_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_by_number_response_body_for_content_types_oapg( + def _post_by_number_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostByNumberResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_by_number_response_body_for_content_types_oapg( + return self._post_by_number_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_by_number_response_body_for_content_types_oapg( + return self._post_by_number_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/__init__.py index 801e0edf49d..17d931961fc 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_by_small_number_response_body_for_content_types_oapg( + def _post_by_small_number_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_by_small_number_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_by_small_number_response_body_for_content_types_oapg( + def _post_by_small_number_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_by_small_number_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_by_small_number_response_body_for_content_types_oapg( + def _post_by_small_number_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_by_small_number_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_by_small_number_response_body_for_content_types_oapg( + def _post_by_small_number_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_by_small_number_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_by_small_number_response_body_for_content_types_oapg( + return self._post_by_small_number_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_by_small_number_response_body_for_content_types_oapg( + return self._post_by_small_number_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/__init__.pyi index 9b19be058c1..b25c42eccf7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_by_small_number_response_body_for_content_types_oapg( + def _post_by_small_number_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_by_small_number_response_body_for_content_types_oapg( + def _post_by_small_number_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_by_small_number_response_body_for_content_types_oapg( + def _post_by_small_number_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_by_small_number_response_body_for_content_types_oapg( + def _post_by_small_number_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostBySmallNumberResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_by_small_number_response_body_for_content_types_oapg( + return self._post_by_small_number_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_by_small_number_response_body_for_content_types_oapg( + return self._post_by_small_number_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/__init__.py index 790c3b15d83..0d2a4014491 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_date_time_format_response_body_for_content_types_oapg( + def _post_date_time_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_date_time_format_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_date_time_format_response_body_for_content_types_oapg( + def _post_date_time_format_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_date_time_format_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_date_time_format_response_body_for_content_types_oapg( + def _post_date_time_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_date_time_format_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_date_time_format_response_body_for_content_types_oapg( + def _post_date_time_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_date_time_format_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_date_time_format_response_body_for_content_types_oapg( + return self._post_date_time_format_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_date_time_format_response_body_for_content_types_oapg( + return self._post_date_time_format_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/__init__.pyi index 5f6a6cddd75..23e8df8bc4d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_date_time_format_response_body_for_content_types_oapg( + def _post_date_time_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_date_time_format_response_body_for_content_types_oapg( + def _post_date_time_format_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_date_time_format_response_body_for_content_types_oapg( + def _post_date_time_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_date_time_format_response_body_for_content_types_oapg( + def _post_date_time_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostDateTimeFormatResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_date_time_format_response_body_for_content_types_oapg( + return self._post_date_time_format_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_date_time_format_response_body_for_content_types_oapg( + return self._post_date_time_format_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/__init__.py index 46f828a984b..f741ac2f164 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_email_format_response_body_for_content_types_oapg( + def _post_email_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_email_format_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_email_format_response_body_for_content_types_oapg( + def _post_email_format_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_email_format_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_email_format_response_body_for_content_types_oapg( + def _post_email_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_email_format_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_email_format_response_body_for_content_types_oapg( + def _post_email_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_email_format_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_email_format_response_body_for_content_types_oapg( + return self._post_email_format_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_email_format_response_body_for_content_types_oapg( + return self._post_email_format_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/__init__.pyi index 98fc26fdbd6..8c501771da4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_email_format_response_body_for_content_types_oapg( + def _post_email_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_email_format_response_body_for_content_types_oapg( + def _post_email_format_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_email_format_response_body_for_content_types_oapg( + def _post_email_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_email_format_response_body_for_content_types_oapg( + def _post_email_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostEmailFormatResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_email_format_response_body_for_content_types_oapg( + return self._post_email_format_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_email_format_response_body_for_content_types_oapg( + return self._post_email_format_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/__init__.py index 8a30fa55241..b6446efe4e9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_enum_with0_does_not_match_false_response_body_for_content_types_oapg( + def _post_enum_with0_does_not_match_false_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_enum_with0_does_not_match_false_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_enum_with0_does_not_match_false_response_body_for_content_types_oapg( + def _post_enum_with0_does_not_match_false_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_enum_with0_does_not_match_false_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_enum_with0_does_not_match_false_response_body_for_content_types_oapg( + def _post_enum_with0_does_not_match_false_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_enum_with0_does_not_match_false_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_enum_with0_does_not_match_false_response_body_for_content_types_oapg( + def _post_enum_with0_does_not_match_false_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_enum_with0_does_not_match_false_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_enum_with0_does_not_match_false_response_body_for_content_types_oapg( + return self._post_enum_with0_does_not_match_false_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_enum_with0_does_not_match_false_response_body_for_content_types_oapg( + return self._post_enum_with0_does_not_match_false_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/__init__.pyi index 1a3a1b04993..7f70315ff65 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_enum_with0_does_not_match_false_response_body_for_content_types_oapg( + def _post_enum_with0_does_not_match_false_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_enum_with0_does_not_match_false_response_body_for_content_types_oapg( + def _post_enum_with0_does_not_match_false_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_enum_with0_does_not_match_false_response_body_for_content_types_oapg( + def _post_enum_with0_does_not_match_false_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_enum_with0_does_not_match_false_response_body_for_content_types_oapg( + def _post_enum_with0_does_not_match_false_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostEnumWith0DoesNotMatchFalseResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_enum_with0_does_not_match_false_response_body_for_content_types_oapg( + return self._post_enum_with0_does_not_match_false_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_enum_with0_does_not_match_false_response_body_for_content_types_oapg( + return self._post_enum_with0_does_not_match_false_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/__init__.py index deedcfacab0..d2e67b0bc0e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_enum_with1_does_not_match_true_response_body_for_content_types_oapg( + def _post_enum_with1_does_not_match_true_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_enum_with1_does_not_match_true_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_enum_with1_does_not_match_true_response_body_for_content_types_oapg( + def _post_enum_with1_does_not_match_true_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_enum_with1_does_not_match_true_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_enum_with1_does_not_match_true_response_body_for_content_types_oapg( + def _post_enum_with1_does_not_match_true_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_enum_with1_does_not_match_true_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_enum_with1_does_not_match_true_response_body_for_content_types_oapg( + def _post_enum_with1_does_not_match_true_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_enum_with1_does_not_match_true_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_enum_with1_does_not_match_true_response_body_for_content_types_oapg( + return self._post_enum_with1_does_not_match_true_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_enum_with1_does_not_match_true_response_body_for_content_types_oapg( + return self._post_enum_with1_does_not_match_true_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/__init__.pyi index 4202de7d8f1..d0da9d59408 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_enum_with1_does_not_match_true_response_body_for_content_types_oapg( + def _post_enum_with1_does_not_match_true_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_enum_with1_does_not_match_true_response_body_for_content_types_oapg( + def _post_enum_with1_does_not_match_true_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_enum_with1_does_not_match_true_response_body_for_content_types_oapg( + def _post_enum_with1_does_not_match_true_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_enum_with1_does_not_match_true_response_body_for_content_types_oapg( + def _post_enum_with1_does_not_match_true_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostEnumWith1DoesNotMatchTrueResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_enum_with1_does_not_match_true_response_body_for_content_types_oapg( + return self._post_enum_with1_does_not_match_true_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_enum_with1_does_not_match_true_response_body_for_content_types_oapg( + return self._post_enum_with1_does_not_match_true_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/__init__.py index 22d784e834b..34423bd836a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_enum_with_escaped_characters_response_body_for_content_types_oapg( + def _post_enum_with_escaped_characters_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_enum_with_escaped_characters_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_enum_with_escaped_characters_response_body_for_content_types_oapg( + def _post_enum_with_escaped_characters_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_enum_with_escaped_characters_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_enum_with_escaped_characters_response_body_for_content_types_oapg( + def _post_enum_with_escaped_characters_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_enum_with_escaped_characters_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_enum_with_escaped_characters_response_body_for_content_types_oapg( + def _post_enum_with_escaped_characters_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_enum_with_escaped_characters_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_enum_with_escaped_characters_response_body_for_content_types_oapg( + return self._post_enum_with_escaped_characters_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_enum_with_escaped_characters_response_body_for_content_types_oapg( + return self._post_enum_with_escaped_characters_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/__init__.pyi index 38c29b4319e..8eaa1f1de12 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_enum_with_escaped_characters_response_body_for_content_types_oapg( + def _post_enum_with_escaped_characters_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_enum_with_escaped_characters_response_body_for_content_types_oapg( + def _post_enum_with_escaped_characters_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_enum_with_escaped_characters_response_body_for_content_types_oapg( + def _post_enum_with_escaped_characters_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_enum_with_escaped_characters_response_body_for_content_types_oapg( + def _post_enum_with_escaped_characters_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostEnumWithEscapedCharactersResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_enum_with_escaped_characters_response_body_for_content_types_oapg( + return self._post_enum_with_escaped_characters_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_enum_with_escaped_characters_response_body_for_content_types_oapg( + return self._post_enum_with_escaped_characters_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/__init__.py index 4b154e02ca8..5cbc377038c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_enum_with_false_does_not_match0_response_body_for_content_types_oapg( + def _post_enum_with_false_does_not_match0_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_enum_with_false_does_not_match0_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_enum_with_false_does_not_match0_response_body_for_content_types_oapg( + def _post_enum_with_false_does_not_match0_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_enum_with_false_does_not_match0_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_enum_with_false_does_not_match0_response_body_for_content_types_oapg( + def _post_enum_with_false_does_not_match0_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_enum_with_false_does_not_match0_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_enum_with_false_does_not_match0_response_body_for_content_types_oapg( + def _post_enum_with_false_does_not_match0_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_enum_with_false_does_not_match0_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_enum_with_false_does_not_match0_response_body_for_content_types_oapg( + return self._post_enum_with_false_does_not_match0_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_enum_with_false_does_not_match0_response_body_for_content_types_oapg( + return self._post_enum_with_false_does_not_match0_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/__init__.pyi index af68c36d618..966a4bf998e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_enum_with_false_does_not_match0_response_body_for_content_types_oapg( + def _post_enum_with_false_does_not_match0_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_enum_with_false_does_not_match0_response_body_for_content_types_oapg( + def _post_enum_with_false_does_not_match0_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_enum_with_false_does_not_match0_response_body_for_content_types_oapg( + def _post_enum_with_false_does_not_match0_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_enum_with_false_does_not_match0_response_body_for_content_types_oapg( + def _post_enum_with_false_does_not_match0_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostEnumWithFalseDoesNotMatch0ResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_enum_with_false_does_not_match0_response_body_for_content_types_oapg( + return self._post_enum_with_false_does_not_match0_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_enum_with_false_does_not_match0_response_body_for_content_types_oapg( + return self._post_enum_with_false_does_not_match0_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/__init__.py index a2441e8f5ae..f0db9a8443d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_enum_with_true_does_not_match1_response_body_for_content_types_oapg( + def _post_enum_with_true_does_not_match1_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_enum_with_true_does_not_match1_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_enum_with_true_does_not_match1_response_body_for_content_types_oapg( + def _post_enum_with_true_does_not_match1_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_enum_with_true_does_not_match1_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_enum_with_true_does_not_match1_response_body_for_content_types_oapg( + def _post_enum_with_true_does_not_match1_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_enum_with_true_does_not_match1_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_enum_with_true_does_not_match1_response_body_for_content_types_oapg( + def _post_enum_with_true_does_not_match1_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_enum_with_true_does_not_match1_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_enum_with_true_does_not_match1_response_body_for_content_types_oapg( + return self._post_enum_with_true_does_not_match1_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_enum_with_true_does_not_match1_response_body_for_content_types_oapg( + return self._post_enum_with_true_does_not_match1_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/__init__.pyi index b29d07ec6ca..da46db30858 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_enum_with_true_does_not_match1_response_body_for_content_types_oapg( + def _post_enum_with_true_does_not_match1_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_enum_with_true_does_not_match1_response_body_for_content_types_oapg( + def _post_enum_with_true_does_not_match1_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_enum_with_true_does_not_match1_response_body_for_content_types_oapg( + def _post_enum_with_true_does_not_match1_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_enum_with_true_does_not_match1_response_body_for_content_types_oapg( + def _post_enum_with_true_does_not_match1_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostEnumWithTrueDoesNotMatch1ResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_enum_with_true_does_not_match1_response_body_for_content_types_oapg( + return self._post_enum_with_true_does_not_match1_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_enum_with_true_does_not_match1_response_body_for_content_types_oapg( + return self._post_enum_with_true_does_not_match1_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/__init__.py index fec8b66e6b0..f0d3b16ad3d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_enums_in_properties_response_body_for_content_types_oapg( + def _post_enums_in_properties_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_enums_in_properties_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_enums_in_properties_response_body_for_content_types_oapg( + def _post_enums_in_properties_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_enums_in_properties_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_enums_in_properties_response_body_for_content_types_oapg( + def _post_enums_in_properties_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_enums_in_properties_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_enums_in_properties_response_body_for_content_types_oapg( + def _post_enums_in_properties_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_enums_in_properties_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_enums_in_properties_response_body_for_content_types_oapg( + return self._post_enums_in_properties_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_enums_in_properties_response_body_for_content_types_oapg( + return self._post_enums_in_properties_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/__init__.pyi index 9f75894f5db..78e17322ff2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_enums_in_properties_response_body_for_content_types_oapg( + def _post_enums_in_properties_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_enums_in_properties_response_body_for_content_types_oapg( + def _post_enums_in_properties_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_enums_in_properties_response_body_for_content_types_oapg( + def _post_enums_in_properties_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_enums_in_properties_response_body_for_content_types_oapg( + def _post_enums_in_properties_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostEnumsInPropertiesResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_enums_in_properties_response_body_for_content_types_oapg( + return self._post_enums_in_properties_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_enums_in_properties_response_body_for_content_types_oapg( + return self._post_enums_in_properties_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/__init__.py index 86e22e20f0d..baf2f6723a6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_forbidden_property_response_body_for_content_types_oapg( + def _post_forbidden_property_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_forbidden_property_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_forbidden_property_response_body_for_content_types_oapg( + def _post_forbidden_property_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_forbidden_property_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_forbidden_property_response_body_for_content_types_oapg( + def _post_forbidden_property_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_forbidden_property_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_forbidden_property_response_body_for_content_types_oapg( + def _post_forbidden_property_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_forbidden_property_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_forbidden_property_response_body_for_content_types_oapg( + return self._post_forbidden_property_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_forbidden_property_response_body_for_content_types_oapg( + return self._post_forbidden_property_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/__init__.pyi index 2a089289858..0e384495615 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_forbidden_property_response_body_for_content_types_oapg( + def _post_forbidden_property_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_forbidden_property_response_body_for_content_types_oapg( + def _post_forbidden_property_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_forbidden_property_response_body_for_content_types_oapg( + def _post_forbidden_property_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_forbidden_property_response_body_for_content_types_oapg( + def _post_forbidden_property_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostForbiddenPropertyResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_forbidden_property_response_body_for_content_types_oapg( + return self._post_forbidden_property_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_forbidden_property_response_body_for_content_types_oapg( + return self._post_forbidden_property_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/__init__.py index 9f1752c0e98..2052737646e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_hostname_format_response_body_for_content_types_oapg( + def _post_hostname_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_hostname_format_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_hostname_format_response_body_for_content_types_oapg( + def _post_hostname_format_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_hostname_format_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_hostname_format_response_body_for_content_types_oapg( + def _post_hostname_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_hostname_format_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_hostname_format_response_body_for_content_types_oapg( + def _post_hostname_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_hostname_format_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_hostname_format_response_body_for_content_types_oapg( + return self._post_hostname_format_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_hostname_format_response_body_for_content_types_oapg( + return self._post_hostname_format_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/__init__.pyi index 6b0bf756638..928fbe1c3f7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_hostname_format_response_body_for_content_types_oapg( + def _post_hostname_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_hostname_format_response_body_for_content_types_oapg( + def _post_hostname_format_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_hostname_format_response_body_for_content_types_oapg( + def _post_hostname_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_hostname_format_response_body_for_content_types_oapg( + def _post_hostname_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostHostnameFormatResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_hostname_format_response_body_for_content_types_oapg( + return self._post_hostname_format_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_hostname_format_response_body_for_content_types_oapg( + return self._post_hostname_format_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/__init__.py index fbdbbebf95e..1f300c7cd20 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_integer_type_matches_integers_response_body_for_content_types_oapg( + def _post_integer_type_matches_integers_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_integer_type_matches_integers_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_integer_type_matches_integers_response_body_for_content_types_oapg( + def _post_integer_type_matches_integers_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_integer_type_matches_integers_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_integer_type_matches_integers_response_body_for_content_types_oapg( + def _post_integer_type_matches_integers_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_integer_type_matches_integers_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_integer_type_matches_integers_response_body_for_content_types_oapg( + def _post_integer_type_matches_integers_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_integer_type_matches_integers_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_integer_type_matches_integers_response_body_for_content_types_oapg( + return self._post_integer_type_matches_integers_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_integer_type_matches_integers_response_body_for_content_types_oapg( + return self._post_integer_type_matches_integers_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/__init__.pyi index b6fd45e2fd8..cc770012536 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_integer_type_matches_integers_response_body_for_content_types_oapg( + def _post_integer_type_matches_integers_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_integer_type_matches_integers_response_body_for_content_types_oapg( + def _post_integer_type_matches_integers_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_integer_type_matches_integers_response_body_for_content_types_oapg( + def _post_integer_type_matches_integers_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_integer_type_matches_integers_response_body_for_content_types_oapg( + def _post_integer_type_matches_integers_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostIntegerTypeMatchesIntegersResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_integer_type_matches_integers_response_body_for_content_types_oapg( + return self._post_integer_type_matches_integers_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_integer_type_matches_integers_response_body_for_content_types_oapg( + return self._post_integer_type_matches_integers_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/post/__init__.py index 1f5fbb676ac..b67ac601f5c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types_oapg( + def _post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_invalid_instance_should_not_raise_error_when_float_division_inf_respon ]: ... @typing.overload - def _post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types_oapg( + def _post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_invalid_instance_should_not_raise_error_when_float_division_inf_respon ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types_oapg( + def _post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_invalid_instance_should_not_raise_error_when_float_division_inf_respon api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types_oapg( + def _post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_invalid_instance_should_not_raise_error_when_float_division_inf_respons timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types_oapg( + return self._post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types_oapg( + return self._post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/post/__init__.pyi index 47e705f8ae1..32f88d5a226 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types_oapg( + def _post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types_oapg( + def _post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types_oapg( + def _post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types_oapg( + def _post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostInvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInfResponseBodyForC timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types_oapg( + return self._post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types_oapg( + return self._post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_invalid_string_value_for_default_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_invalid_string_value_for_default_response_body_for_content_types/post/__init__.py index 85220589fc1..b938c15de2b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_invalid_string_value_for_default_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_invalid_string_value_for_default_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_invalid_string_value_for_default_response_body_for_content_types_oapg( + def _post_invalid_string_value_for_default_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_invalid_string_value_for_default_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_invalid_string_value_for_default_response_body_for_content_types_oapg( + def _post_invalid_string_value_for_default_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_invalid_string_value_for_default_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_invalid_string_value_for_default_response_body_for_content_types_oapg( + def _post_invalid_string_value_for_default_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_invalid_string_value_for_default_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_invalid_string_value_for_default_response_body_for_content_types_oapg( + def _post_invalid_string_value_for_default_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_invalid_string_value_for_default_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_invalid_string_value_for_default_response_body_for_content_types_oapg( + return self._post_invalid_string_value_for_default_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_invalid_string_value_for_default_response_body_for_content_types_oapg( + return self._post_invalid_string_value_for_default_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_invalid_string_value_for_default_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_invalid_string_value_for_default_response_body_for_content_types/post/__init__.pyi index d818c27cbee..46ae906f00a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_invalid_string_value_for_default_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_invalid_string_value_for_default_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_invalid_string_value_for_default_response_body_for_content_types_oapg( + def _post_invalid_string_value_for_default_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_invalid_string_value_for_default_response_body_for_content_types_oapg( + def _post_invalid_string_value_for_default_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_invalid_string_value_for_default_response_body_for_content_types_oapg( + def _post_invalid_string_value_for_default_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_invalid_string_value_for_default_response_body_for_content_types_oapg( + def _post_invalid_string_value_for_default_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostInvalidStringValueForDefaultResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_invalid_string_value_for_default_response_body_for_content_types_oapg( + return self._post_invalid_string_value_for_default_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_invalid_string_value_for_default_response_body_for_content_types_oapg( + return self._post_invalid_string_value_for_default_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/__init__.py index f8b88870d34..6953fb8705f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_ipv4_format_response_body_for_content_types_oapg( + def _post_ipv4_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_ipv4_format_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_ipv4_format_response_body_for_content_types_oapg( + def _post_ipv4_format_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_ipv4_format_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_ipv4_format_response_body_for_content_types_oapg( + def _post_ipv4_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_ipv4_format_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_ipv4_format_response_body_for_content_types_oapg( + def _post_ipv4_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_ipv4_format_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ipv4_format_response_body_for_content_types_oapg( + return self._post_ipv4_format_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ipv4_format_response_body_for_content_types_oapg( + return self._post_ipv4_format_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/__init__.pyi index 9b0852a13d5..e7c0b62f077 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_ipv4_format_response_body_for_content_types_oapg( + def _post_ipv4_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_ipv4_format_response_body_for_content_types_oapg( + def _post_ipv4_format_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_ipv4_format_response_body_for_content_types_oapg( + def _post_ipv4_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_ipv4_format_response_body_for_content_types_oapg( + def _post_ipv4_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostIpv4FormatResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ipv4_format_response_body_for_content_types_oapg( + return self._post_ipv4_format_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ipv4_format_response_body_for_content_types_oapg( + return self._post_ipv4_format_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/__init__.py index daa9403c190..2bdd383f767 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_ipv6_format_response_body_for_content_types_oapg( + def _post_ipv6_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_ipv6_format_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_ipv6_format_response_body_for_content_types_oapg( + def _post_ipv6_format_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_ipv6_format_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_ipv6_format_response_body_for_content_types_oapg( + def _post_ipv6_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_ipv6_format_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_ipv6_format_response_body_for_content_types_oapg( + def _post_ipv6_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_ipv6_format_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ipv6_format_response_body_for_content_types_oapg( + return self._post_ipv6_format_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ipv6_format_response_body_for_content_types_oapg( + return self._post_ipv6_format_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/__init__.pyi index feb7dd5a258..238f19ab71e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_ipv6_format_response_body_for_content_types_oapg( + def _post_ipv6_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_ipv6_format_response_body_for_content_types_oapg( + def _post_ipv6_format_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_ipv6_format_response_body_for_content_types_oapg( + def _post_ipv6_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_ipv6_format_response_body_for_content_types_oapg( + def _post_ipv6_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostIpv6FormatResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ipv6_format_response_body_for_content_types_oapg( + return self._post_ipv6_format_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ipv6_format_response_body_for_content_types_oapg( + return self._post_ipv6_format_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/__init__.py index da78762ecd7..19ed61f596b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_json_pointer_format_response_body_for_content_types_oapg( + def _post_json_pointer_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_json_pointer_format_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_json_pointer_format_response_body_for_content_types_oapg( + def _post_json_pointer_format_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_json_pointer_format_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_json_pointer_format_response_body_for_content_types_oapg( + def _post_json_pointer_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_json_pointer_format_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_json_pointer_format_response_body_for_content_types_oapg( + def _post_json_pointer_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_json_pointer_format_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_json_pointer_format_response_body_for_content_types_oapg( + return self._post_json_pointer_format_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_json_pointer_format_response_body_for_content_types_oapg( + return self._post_json_pointer_format_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/__init__.pyi index 72a2a7f0415..627c4cad850 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_json_pointer_format_response_body_for_content_types_oapg( + def _post_json_pointer_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_json_pointer_format_response_body_for_content_types_oapg( + def _post_json_pointer_format_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_json_pointer_format_response_body_for_content_types_oapg( + def _post_json_pointer_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_json_pointer_format_response_body_for_content_types_oapg( + def _post_json_pointer_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostJsonPointerFormatResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_json_pointer_format_response_body_for_content_types_oapg( + return self._post_json_pointer_format_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_json_pointer_format_response_body_for_content_types_oapg( + return self._post_json_pointer_format_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/__init__.py index dda95d297c2..0cdca871666 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_maximum_validation_response_body_for_content_types_oapg( + def _post_maximum_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_maximum_validation_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_maximum_validation_response_body_for_content_types_oapg( + def _post_maximum_validation_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_maximum_validation_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_maximum_validation_response_body_for_content_types_oapg( + def _post_maximum_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_maximum_validation_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_maximum_validation_response_body_for_content_types_oapg( + def _post_maximum_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_maximum_validation_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_maximum_validation_response_body_for_content_types_oapg( + return self._post_maximum_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_maximum_validation_response_body_for_content_types_oapg( + return self._post_maximum_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/__init__.pyi index d1f0c5dbb0f..684a692f656 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_maximum_validation_response_body_for_content_types_oapg( + def _post_maximum_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_maximum_validation_response_body_for_content_types_oapg( + def _post_maximum_validation_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_maximum_validation_response_body_for_content_types_oapg( + def _post_maximum_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_maximum_validation_response_body_for_content_types_oapg( + def _post_maximum_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostMaximumValidationResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_maximum_validation_response_body_for_content_types_oapg( + return self._post_maximum_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_maximum_validation_response_body_for_content_types_oapg( + return self._post_maximum_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/__init__.py index 63352fb7588..f8ca237d507 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_maximum_validation_with_unsigned_integer_response_body_for_content_types_oapg( + def _post_maximum_validation_with_unsigned_integer_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_maximum_validation_with_unsigned_integer_response_body_for_content_typ ]: ... @typing.overload - def _post_maximum_validation_with_unsigned_integer_response_body_for_content_types_oapg( + def _post_maximum_validation_with_unsigned_integer_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_maximum_validation_with_unsigned_integer_response_body_for_content_typ ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_maximum_validation_with_unsigned_integer_response_body_for_content_types_oapg( + def _post_maximum_validation_with_unsigned_integer_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_maximum_validation_with_unsigned_integer_response_body_for_content_typ api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_maximum_validation_with_unsigned_integer_response_body_for_content_types_oapg( + def _post_maximum_validation_with_unsigned_integer_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_maximum_validation_with_unsigned_integer_response_body_for_content_type timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_maximum_validation_with_unsigned_integer_response_body_for_content_types_oapg( + return self._post_maximum_validation_with_unsigned_integer_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_maximum_validation_with_unsigned_integer_response_body_for_content_types_oapg( + return self._post_maximum_validation_with_unsigned_integer_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/__init__.pyi index baf4b47cbf8..91f8ad42ba4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_maximum_validation_with_unsigned_integer_response_body_for_content_types_oapg( + def _post_maximum_validation_with_unsigned_integer_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_maximum_validation_with_unsigned_integer_response_body_for_content_types_oapg( + def _post_maximum_validation_with_unsigned_integer_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_maximum_validation_with_unsigned_integer_response_body_for_content_types_oapg( + def _post_maximum_validation_with_unsigned_integer_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_maximum_validation_with_unsigned_integer_response_body_for_content_types_oapg( + def _post_maximum_validation_with_unsigned_integer_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostMaximumValidationWithUnsignedIntegerResponseBodyForContentTypes(BaseAp timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_maximum_validation_with_unsigned_integer_response_body_for_content_types_oapg( + return self._post_maximum_validation_with_unsigned_integer_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_maximum_validation_with_unsigned_integer_response_body_for_content_types_oapg( + return self._post_maximum_validation_with_unsigned_integer_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/__init__.py index 8b12a2f5b78..bd28093aaab 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_maxitems_validation_response_body_for_content_types_oapg( + def _post_maxitems_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_maxitems_validation_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_maxitems_validation_response_body_for_content_types_oapg( + def _post_maxitems_validation_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_maxitems_validation_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_maxitems_validation_response_body_for_content_types_oapg( + def _post_maxitems_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_maxitems_validation_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_maxitems_validation_response_body_for_content_types_oapg( + def _post_maxitems_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_maxitems_validation_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_maxitems_validation_response_body_for_content_types_oapg( + return self._post_maxitems_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_maxitems_validation_response_body_for_content_types_oapg( + return self._post_maxitems_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/__init__.pyi index 5cc671847e1..94019754269 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_maxitems_validation_response_body_for_content_types_oapg( + def _post_maxitems_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_maxitems_validation_response_body_for_content_types_oapg( + def _post_maxitems_validation_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_maxitems_validation_response_body_for_content_types_oapg( + def _post_maxitems_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_maxitems_validation_response_body_for_content_types_oapg( + def _post_maxitems_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostMaxitemsValidationResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_maxitems_validation_response_body_for_content_types_oapg( + return self._post_maxitems_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_maxitems_validation_response_body_for_content_types_oapg( + return self._post_maxitems_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/__init__.py index 7f8be647b3c..81663480986 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_maxlength_validation_response_body_for_content_types_oapg( + def _post_maxlength_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_maxlength_validation_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_maxlength_validation_response_body_for_content_types_oapg( + def _post_maxlength_validation_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_maxlength_validation_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_maxlength_validation_response_body_for_content_types_oapg( + def _post_maxlength_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_maxlength_validation_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_maxlength_validation_response_body_for_content_types_oapg( + def _post_maxlength_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_maxlength_validation_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_maxlength_validation_response_body_for_content_types_oapg( + return self._post_maxlength_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_maxlength_validation_response_body_for_content_types_oapg( + return self._post_maxlength_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/__init__.pyi index ec761ecd160..8237df2fcbd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_maxlength_validation_response_body_for_content_types_oapg( + def _post_maxlength_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_maxlength_validation_response_body_for_content_types_oapg( + def _post_maxlength_validation_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_maxlength_validation_response_body_for_content_types_oapg( + def _post_maxlength_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_maxlength_validation_response_body_for_content_types_oapg( + def _post_maxlength_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostMaxlengthValidationResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_maxlength_validation_response_body_for_content_types_oapg( + return self._post_maxlength_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_maxlength_validation_response_body_for_content_types_oapg( + return self._post_maxlength_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/__init__.py index e961b945d8e..fc1d393e446 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_maxproperties0_means_the_object_is_empty_response_body_for_content_types_oapg( + def _post_maxproperties0_means_the_object_is_empty_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_maxproperties0_means_the_object_is_empty_response_body_for_content_typ ]: ... @typing.overload - def _post_maxproperties0_means_the_object_is_empty_response_body_for_content_types_oapg( + def _post_maxproperties0_means_the_object_is_empty_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_maxproperties0_means_the_object_is_empty_response_body_for_content_typ ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_maxproperties0_means_the_object_is_empty_response_body_for_content_types_oapg( + def _post_maxproperties0_means_the_object_is_empty_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_maxproperties0_means_the_object_is_empty_response_body_for_content_typ api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_maxproperties0_means_the_object_is_empty_response_body_for_content_types_oapg( + def _post_maxproperties0_means_the_object_is_empty_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_maxproperties0_means_the_object_is_empty_response_body_for_content_type timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_maxproperties0_means_the_object_is_empty_response_body_for_content_types_oapg( + return self._post_maxproperties0_means_the_object_is_empty_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_maxproperties0_means_the_object_is_empty_response_body_for_content_types_oapg( + return self._post_maxproperties0_means_the_object_is_empty_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/__init__.pyi index d8db07b42ae..c383b16382f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_maxproperties0_means_the_object_is_empty_response_body_for_content_types_oapg( + def _post_maxproperties0_means_the_object_is_empty_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_maxproperties0_means_the_object_is_empty_response_body_for_content_types_oapg( + def _post_maxproperties0_means_the_object_is_empty_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_maxproperties0_means_the_object_is_empty_response_body_for_content_types_oapg( + def _post_maxproperties0_means_the_object_is_empty_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_maxproperties0_means_the_object_is_empty_response_body_for_content_types_oapg( + def _post_maxproperties0_means_the_object_is_empty_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostMaxproperties0MeansTheObjectIsEmptyResponseBodyForContentTypes(BaseApi timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_maxproperties0_means_the_object_is_empty_response_body_for_content_types_oapg( + return self._post_maxproperties0_means_the_object_is_empty_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_maxproperties0_means_the_object_is_empty_response_body_for_content_types_oapg( + return self._post_maxproperties0_means_the_object_is_empty_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/__init__.py index af3a2bbd676..8041d80b58b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_maxproperties_validation_response_body_for_content_types_oapg( + def _post_maxproperties_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_maxproperties_validation_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_maxproperties_validation_response_body_for_content_types_oapg( + def _post_maxproperties_validation_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_maxproperties_validation_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_maxproperties_validation_response_body_for_content_types_oapg( + def _post_maxproperties_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_maxproperties_validation_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_maxproperties_validation_response_body_for_content_types_oapg( + def _post_maxproperties_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_maxproperties_validation_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_maxproperties_validation_response_body_for_content_types_oapg( + return self._post_maxproperties_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_maxproperties_validation_response_body_for_content_types_oapg( + return self._post_maxproperties_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/__init__.pyi index 4a6cc99c8e1..894a50c066d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_maxproperties_validation_response_body_for_content_types_oapg( + def _post_maxproperties_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_maxproperties_validation_response_body_for_content_types_oapg( + def _post_maxproperties_validation_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_maxproperties_validation_response_body_for_content_types_oapg( + def _post_maxproperties_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_maxproperties_validation_response_body_for_content_types_oapg( + def _post_maxproperties_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostMaxpropertiesValidationResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_maxproperties_validation_response_body_for_content_types_oapg( + return self._post_maxproperties_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_maxproperties_validation_response_body_for_content_types_oapg( + return self._post_maxproperties_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/__init__.py index feb429c5c86..8c08f947329 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_minimum_validation_response_body_for_content_types_oapg( + def _post_minimum_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_minimum_validation_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_minimum_validation_response_body_for_content_types_oapg( + def _post_minimum_validation_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_minimum_validation_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_minimum_validation_response_body_for_content_types_oapg( + def _post_minimum_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_minimum_validation_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_minimum_validation_response_body_for_content_types_oapg( + def _post_minimum_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_minimum_validation_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_minimum_validation_response_body_for_content_types_oapg( + return self._post_minimum_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_minimum_validation_response_body_for_content_types_oapg( + return self._post_minimum_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/__init__.pyi index d61a14c72be..0054b75673b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_minimum_validation_response_body_for_content_types_oapg( + def _post_minimum_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_minimum_validation_response_body_for_content_types_oapg( + def _post_minimum_validation_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_minimum_validation_response_body_for_content_types_oapg( + def _post_minimum_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_minimum_validation_response_body_for_content_types_oapg( + def _post_minimum_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostMinimumValidationResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_minimum_validation_response_body_for_content_types_oapg( + return self._post_minimum_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_minimum_validation_response_body_for_content_types_oapg( + return self._post_minimum_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/__init__.py index bf535ac331c..4a87165f058 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_minimum_validation_with_signed_integer_response_body_for_content_types_oapg( + def _post_minimum_validation_with_signed_integer_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_minimum_validation_with_signed_integer_response_body_for_content_types ]: ... @typing.overload - def _post_minimum_validation_with_signed_integer_response_body_for_content_types_oapg( + def _post_minimum_validation_with_signed_integer_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_minimum_validation_with_signed_integer_response_body_for_content_types ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_minimum_validation_with_signed_integer_response_body_for_content_types_oapg( + def _post_minimum_validation_with_signed_integer_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_minimum_validation_with_signed_integer_response_body_for_content_types api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_minimum_validation_with_signed_integer_response_body_for_content_types_oapg( + def _post_minimum_validation_with_signed_integer_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_minimum_validation_with_signed_integer_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_minimum_validation_with_signed_integer_response_body_for_content_types_oapg( + return self._post_minimum_validation_with_signed_integer_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_minimum_validation_with_signed_integer_response_body_for_content_types_oapg( + return self._post_minimum_validation_with_signed_integer_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/__init__.pyi index 0b60ad20f42..59c2c80e56c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_minimum_validation_with_signed_integer_response_body_for_content_types_oapg( + def _post_minimum_validation_with_signed_integer_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_minimum_validation_with_signed_integer_response_body_for_content_types_oapg( + def _post_minimum_validation_with_signed_integer_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_minimum_validation_with_signed_integer_response_body_for_content_types_oapg( + def _post_minimum_validation_with_signed_integer_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_minimum_validation_with_signed_integer_response_body_for_content_types_oapg( + def _post_minimum_validation_with_signed_integer_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostMinimumValidationWithSignedIntegerResponseBodyForContentTypes(BaseApi) timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_minimum_validation_with_signed_integer_response_body_for_content_types_oapg( + return self._post_minimum_validation_with_signed_integer_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_minimum_validation_with_signed_integer_response_body_for_content_types_oapg( + return self._post_minimum_validation_with_signed_integer_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/__init__.py index 1e1ab1ff98f..4f90410b35e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_minitems_validation_response_body_for_content_types_oapg( + def _post_minitems_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_minitems_validation_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_minitems_validation_response_body_for_content_types_oapg( + def _post_minitems_validation_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_minitems_validation_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_minitems_validation_response_body_for_content_types_oapg( + def _post_minitems_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_minitems_validation_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_minitems_validation_response_body_for_content_types_oapg( + def _post_minitems_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_minitems_validation_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_minitems_validation_response_body_for_content_types_oapg( + return self._post_minitems_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_minitems_validation_response_body_for_content_types_oapg( + return self._post_minitems_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/__init__.pyi index 1e5c20e22ff..81478d98c7e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_minitems_validation_response_body_for_content_types_oapg( + def _post_minitems_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_minitems_validation_response_body_for_content_types_oapg( + def _post_minitems_validation_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_minitems_validation_response_body_for_content_types_oapg( + def _post_minitems_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_minitems_validation_response_body_for_content_types_oapg( + def _post_minitems_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostMinitemsValidationResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_minitems_validation_response_body_for_content_types_oapg( + return self._post_minitems_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_minitems_validation_response_body_for_content_types_oapg( + return self._post_minitems_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/__init__.py index 1a73312706a..90e690193d0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_minlength_validation_response_body_for_content_types_oapg( + def _post_minlength_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_minlength_validation_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_minlength_validation_response_body_for_content_types_oapg( + def _post_minlength_validation_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_minlength_validation_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_minlength_validation_response_body_for_content_types_oapg( + def _post_minlength_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_minlength_validation_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_minlength_validation_response_body_for_content_types_oapg( + def _post_minlength_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_minlength_validation_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_minlength_validation_response_body_for_content_types_oapg( + return self._post_minlength_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_minlength_validation_response_body_for_content_types_oapg( + return self._post_minlength_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/__init__.pyi index bc04458c874..5a4c1278643 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_minlength_validation_response_body_for_content_types_oapg( + def _post_minlength_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_minlength_validation_response_body_for_content_types_oapg( + def _post_minlength_validation_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_minlength_validation_response_body_for_content_types_oapg( + def _post_minlength_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_minlength_validation_response_body_for_content_types_oapg( + def _post_minlength_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostMinlengthValidationResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_minlength_validation_response_body_for_content_types_oapg( + return self._post_minlength_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_minlength_validation_response_body_for_content_types_oapg( + return self._post_minlength_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/__init__.py index 5eed2938616..6be35eddd05 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_minproperties_validation_response_body_for_content_types_oapg( + def _post_minproperties_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_minproperties_validation_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_minproperties_validation_response_body_for_content_types_oapg( + def _post_minproperties_validation_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_minproperties_validation_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_minproperties_validation_response_body_for_content_types_oapg( + def _post_minproperties_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_minproperties_validation_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_minproperties_validation_response_body_for_content_types_oapg( + def _post_minproperties_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_minproperties_validation_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_minproperties_validation_response_body_for_content_types_oapg( + return self._post_minproperties_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_minproperties_validation_response_body_for_content_types_oapg( + return self._post_minproperties_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/__init__.pyi index 1397fb2ad32..727c3e11201 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_minproperties_validation_response_body_for_content_types_oapg( + def _post_minproperties_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_minproperties_validation_response_body_for_content_types_oapg( + def _post_minproperties_validation_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_minproperties_validation_response_body_for_content_types_oapg( + def _post_minproperties_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_minproperties_validation_response_body_for_content_types_oapg( + def _post_minproperties_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostMinpropertiesValidationResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_minproperties_validation_response_body_for_content_types_oapg( + return self._post_minproperties_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_minproperties_validation_response_body_for_content_types_oapg( + return self._post_minproperties_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/__init__.py index 44df2911cf8..412a01907bc 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_nested_allof_to_check_validation_semantics_response_body_for_content_types_oapg( + def _post_nested_allof_to_check_validation_semantics_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_nested_allof_to_check_validation_semantics_response_body_for_content_t ]: ... @typing.overload - def _post_nested_allof_to_check_validation_semantics_response_body_for_content_types_oapg( + def _post_nested_allof_to_check_validation_semantics_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_nested_allof_to_check_validation_semantics_response_body_for_content_t ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_nested_allof_to_check_validation_semantics_response_body_for_content_types_oapg( + def _post_nested_allof_to_check_validation_semantics_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_nested_allof_to_check_validation_semantics_response_body_for_content_t api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_nested_allof_to_check_validation_semantics_response_body_for_content_types_oapg( + def _post_nested_allof_to_check_validation_semantics_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_nested_allof_to_check_validation_semantics_response_body_for_content_ty timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_nested_allof_to_check_validation_semantics_response_body_for_content_types_oapg( + return self._post_nested_allof_to_check_validation_semantics_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_nested_allof_to_check_validation_semantics_response_body_for_content_types_oapg( + return self._post_nested_allof_to_check_validation_semantics_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/__init__.pyi index f4f3a8934d7..3bedb971d6b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_nested_allof_to_check_validation_semantics_response_body_for_content_types_oapg( + def _post_nested_allof_to_check_validation_semantics_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_nested_allof_to_check_validation_semantics_response_body_for_content_types_oapg( + def _post_nested_allof_to_check_validation_semantics_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_nested_allof_to_check_validation_semantics_response_body_for_content_types_oapg( + def _post_nested_allof_to_check_validation_semantics_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_nested_allof_to_check_validation_semantics_response_body_for_content_types_oapg( + def _post_nested_allof_to_check_validation_semantics_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostNestedAllofToCheckValidationSemanticsResponseBodyForContentTypes(BaseA timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_nested_allof_to_check_validation_semantics_response_body_for_content_types_oapg( + return self._post_nested_allof_to_check_validation_semantics_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_nested_allof_to_check_validation_semantics_response_body_for_content_types_oapg( + return self._post_nested_allof_to_check_validation_semantics_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/__init__.py index 1ef0db72954..bba1a69952c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_nested_anyof_to_check_validation_semantics_response_body_for_content_types_oapg( + def _post_nested_anyof_to_check_validation_semantics_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_nested_anyof_to_check_validation_semantics_response_body_for_content_t ]: ... @typing.overload - def _post_nested_anyof_to_check_validation_semantics_response_body_for_content_types_oapg( + def _post_nested_anyof_to_check_validation_semantics_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_nested_anyof_to_check_validation_semantics_response_body_for_content_t ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_nested_anyof_to_check_validation_semantics_response_body_for_content_types_oapg( + def _post_nested_anyof_to_check_validation_semantics_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_nested_anyof_to_check_validation_semantics_response_body_for_content_t api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_nested_anyof_to_check_validation_semantics_response_body_for_content_types_oapg( + def _post_nested_anyof_to_check_validation_semantics_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_nested_anyof_to_check_validation_semantics_response_body_for_content_ty timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_nested_anyof_to_check_validation_semantics_response_body_for_content_types_oapg( + return self._post_nested_anyof_to_check_validation_semantics_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_nested_anyof_to_check_validation_semantics_response_body_for_content_types_oapg( + return self._post_nested_anyof_to_check_validation_semantics_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/__init__.pyi index ef244c9159a..a9706b1ca6f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_nested_anyof_to_check_validation_semantics_response_body_for_content_types_oapg( + def _post_nested_anyof_to_check_validation_semantics_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_nested_anyof_to_check_validation_semantics_response_body_for_content_types_oapg( + def _post_nested_anyof_to_check_validation_semantics_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_nested_anyof_to_check_validation_semantics_response_body_for_content_types_oapg( + def _post_nested_anyof_to_check_validation_semantics_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_nested_anyof_to_check_validation_semantics_response_body_for_content_types_oapg( + def _post_nested_anyof_to_check_validation_semantics_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostNestedAnyofToCheckValidationSemanticsResponseBodyForContentTypes(BaseA timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_nested_anyof_to_check_validation_semantics_response_body_for_content_types_oapg( + return self._post_nested_anyof_to_check_validation_semantics_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_nested_anyof_to_check_validation_semantics_response_body_for_content_types_oapg( + return self._post_nested_anyof_to_check_validation_semantics_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/__init__.py index b8ad9dd021f..87960011e51 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_nested_items_response_body_for_content_types_oapg( + def _post_nested_items_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_nested_items_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_nested_items_response_body_for_content_types_oapg( + def _post_nested_items_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_nested_items_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_nested_items_response_body_for_content_types_oapg( + def _post_nested_items_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_nested_items_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_nested_items_response_body_for_content_types_oapg( + def _post_nested_items_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_nested_items_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_nested_items_response_body_for_content_types_oapg( + return self._post_nested_items_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_nested_items_response_body_for_content_types_oapg( + return self._post_nested_items_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/__init__.pyi index 15ac51ae5d7..35aa2e4fde9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_nested_items_response_body_for_content_types_oapg( + def _post_nested_items_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_nested_items_response_body_for_content_types_oapg( + def _post_nested_items_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_nested_items_response_body_for_content_types_oapg( + def _post_nested_items_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_nested_items_response_body_for_content_types_oapg( + def _post_nested_items_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostNestedItemsResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_nested_items_response_body_for_content_types_oapg( + return self._post_nested_items_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_nested_items_response_body_for_content_types_oapg( + return self._post_nested_items_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/__init__.py index 75ca3024985..b8ed689a117 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_nested_oneof_to_check_validation_semantics_response_body_for_content_types_oapg( + def _post_nested_oneof_to_check_validation_semantics_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_nested_oneof_to_check_validation_semantics_response_body_for_content_t ]: ... @typing.overload - def _post_nested_oneof_to_check_validation_semantics_response_body_for_content_types_oapg( + def _post_nested_oneof_to_check_validation_semantics_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_nested_oneof_to_check_validation_semantics_response_body_for_content_t ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_nested_oneof_to_check_validation_semantics_response_body_for_content_types_oapg( + def _post_nested_oneof_to_check_validation_semantics_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_nested_oneof_to_check_validation_semantics_response_body_for_content_t api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_nested_oneof_to_check_validation_semantics_response_body_for_content_types_oapg( + def _post_nested_oneof_to_check_validation_semantics_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_nested_oneof_to_check_validation_semantics_response_body_for_content_ty timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_nested_oneof_to_check_validation_semantics_response_body_for_content_types_oapg( + return self._post_nested_oneof_to_check_validation_semantics_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_nested_oneof_to_check_validation_semantics_response_body_for_content_types_oapg( + return self._post_nested_oneof_to_check_validation_semantics_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/__init__.pyi index 279e439bc36..a85252d54a5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_nested_oneof_to_check_validation_semantics_response_body_for_content_types_oapg( + def _post_nested_oneof_to_check_validation_semantics_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_nested_oneof_to_check_validation_semantics_response_body_for_content_types_oapg( + def _post_nested_oneof_to_check_validation_semantics_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_nested_oneof_to_check_validation_semantics_response_body_for_content_types_oapg( + def _post_nested_oneof_to_check_validation_semantics_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_nested_oneof_to_check_validation_semantics_response_body_for_content_types_oapg( + def _post_nested_oneof_to_check_validation_semantics_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostNestedOneofToCheckValidationSemanticsResponseBodyForContentTypes(BaseA timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_nested_oneof_to_check_validation_semantics_response_body_for_content_types_oapg( + return self._post_nested_oneof_to_check_validation_semantics_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_nested_oneof_to_check_validation_semantics_response_body_for_content_types_oapg( + return self._post_nested_oneof_to_check_validation_semantics_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/__init__.py index 8fc435cf676..3884bdd96de 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_not_more_complex_schema_response_body_for_content_types_oapg( + def _post_not_more_complex_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_not_more_complex_schema_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_not_more_complex_schema_response_body_for_content_types_oapg( + def _post_not_more_complex_schema_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_not_more_complex_schema_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_not_more_complex_schema_response_body_for_content_types_oapg( + def _post_not_more_complex_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_not_more_complex_schema_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_not_more_complex_schema_response_body_for_content_types_oapg( + def _post_not_more_complex_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_not_more_complex_schema_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_not_more_complex_schema_response_body_for_content_types_oapg( + return self._post_not_more_complex_schema_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_not_more_complex_schema_response_body_for_content_types_oapg( + return self._post_not_more_complex_schema_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/__init__.pyi index 3af7853aa76..8e346741474 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_not_more_complex_schema_response_body_for_content_types_oapg( + def _post_not_more_complex_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_not_more_complex_schema_response_body_for_content_types_oapg( + def _post_not_more_complex_schema_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_not_more_complex_schema_response_body_for_content_types_oapg( + def _post_not_more_complex_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_not_more_complex_schema_response_body_for_content_types_oapg( + def _post_not_more_complex_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostNotMoreComplexSchemaResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_not_more_complex_schema_response_body_for_content_types_oapg( + return self._post_not_more_complex_schema_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_not_more_complex_schema_response_body_for_content_types_oapg( + return self._post_not_more_complex_schema_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/__init__.py index 85b28e62df6..12b2814453a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_not_response_body_for_content_types_oapg( + def _post_not_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_not_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_not_response_body_for_content_types_oapg( + def _post_not_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_not_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_not_response_body_for_content_types_oapg( + def _post_not_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_not_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_not_response_body_for_content_types_oapg( + def _post_not_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_not_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_not_response_body_for_content_types_oapg( + return self._post_not_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_not_response_body_for_content_types_oapg( + return self._post_not_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/__init__.pyi index 986344112d9..486c7a0d6e2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_not_response_body_for_content_types_oapg( + def _post_not_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_not_response_body_for_content_types_oapg( + def _post_not_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_not_response_body_for_content_types_oapg( + def _post_not_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_not_response_body_for_content_types_oapg( + def _post_not_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostNotResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_not_response_body_for_content_types_oapg( + return self._post_not_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_not_response_body_for_content_types_oapg( + return self._post_not_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/__init__.py index b12c9b7d6d9..fba617e3769 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_nul_characters_in_strings_response_body_for_content_types_oapg( + def _post_nul_characters_in_strings_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_nul_characters_in_strings_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_nul_characters_in_strings_response_body_for_content_types_oapg( + def _post_nul_characters_in_strings_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_nul_characters_in_strings_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_nul_characters_in_strings_response_body_for_content_types_oapg( + def _post_nul_characters_in_strings_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_nul_characters_in_strings_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_nul_characters_in_strings_response_body_for_content_types_oapg( + def _post_nul_characters_in_strings_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_nul_characters_in_strings_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_nul_characters_in_strings_response_body_for_content_types_oapg( + return self._post_nul_characters_in_strings_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_nul_characters_in_strings_response_body_for_content_types_oapg( + return self._post_nul_characters_in_strings_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/__init__.pyi index e1624a2642b..c297d260868 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_nul_characters_in_strings_response_body_for_content_types_oapg( + def _post_nul_characters_in_strings_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_nul_characters_in_strings_response_body_for_content_types_oapg( + def _post_nul_characters_in_strings_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_nul_characters_in_strings_response_body_for_content_types_oapg( + def _post_nul_characters_in_strings_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_nul_characters_in_strings_response_body_for_content_types_oapg( + def _post_nul_characters_in_strings_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostNulCharactersInStringsResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_nul_characters_in_strings_response_body_for_content_types_oapg( + return self._post_nul_characters_in_strings_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_nul_characters_in_strings_response_body_for_content_types_oapg( + return self._post_nul_characters_in_strings_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/__init__.py index 66e5bf12416..2e254cb65b3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_null_type_matches_only_the_null_object_response_body_for_content_types_oapg( + def _post_null_type_matches_only_the_null_object_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_null_type_matches_only_the_null_object_response_body_for_content_types ]: ... @typing.overload - def _post_null_type_matches_only_the_null_object_response_body_for_content_types_oapg( + def _post_null_type_matches_only_the_null_object_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_null_type_matches_only_the_null_object_response_body_for_content_types ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_null_type_matches_only_the_null_object_response_body_for_content_types_oapg( + def _post_null_type_matches_only_the_null_object_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_null_type_matches_only_the_null_object_response_body_for_content_types api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_null_type_matches_only_the_null_object_response_body_for_content_types_oapg( + def _post_null_type_matches_only_the_null_object_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_null_type_matches_only_the_null_object_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_null_type_matches_only_the_null_object_response_body_for_content_types_oapg( + return self._post_null_type_matches_only_the_null_object_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_null_type_matches_only_the_null_object_response_body_for_content_types_oapg( + return self._post_null_type_matches_only_the_null_object_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/__init__.pyi index 9790e3c14a8..20c9eeb59de 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_null_type_matches_only_the_null_object_response_body_for_content_types_oapg( + def _post_null_type_matches_only_the_null_object_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_null_type_matches_only_the_null_object_response_body_for_content_types_oapg( + def _post_null_type_matches_only_the_null_object_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_null_type_matches_only_the_null_object_response_body_for_content_types_oapg( + def _post_null_type_matches_only_the_null_object_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_null_type_matches_only_the_null_object_response_body_for_content_types_oapg( + def _post_null_type_matches_only_the_null_object_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostNullTypeMatchesOnlyTheNullObjectResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_null_type_matches_only_the_null_object_response_body_for_content_types_oapg( + return self._post_null_type_matches_only_the_null_object_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_null_type_matches_only_the_null_object_response_body_for_content_types_oapg( + return self._post_null_type_matches_only_the_null_object_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/__init__.py index 4fbec1ecdd0..5645a4e97a8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_number_type_matches_numbers_response_body_for_content_types_oapg( + def _post_number_type_matches_numbers_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_number_type_matches_numbers_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_number_type_matches_numbers_response_body_for_content_types_oapg( + def _post_number_type_matches_numbers_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_number_type_matches_numbers_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_number_type_matches_numbers_response_body_for_content_types_oapg( + def _post_number_type_matches_numbers_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_number_type_matches_numbers_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_number_type_matches_numbers_response_body_for_content_types_oapg( + def _post_number_type_matches_numbers_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_number_type_matches_numbers_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_number_type_matches_numbers_response_body_for_content_types_oapg( + return self._post_number_type_matches_numbers_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_number_type_matches_numbers_response_body_for_content_types_oapg( + return self._post_number_type_matches_numbers_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/__init__.pyi index fc34ec0fbe7..a876b542ebb 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_number_type_matches_numbers_response_body_for_content_types_oapg( + def _post_number_type_matches_numbers_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_number_type_matches_numbers_response_body_for_content_types_oapg( + def _post_number_type_matches_numbers_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_number_type_matches_numbers_response_body_for_content_types_oapg( + def _post_number_type_matches_numbers_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_number_type_matches_numbers_response_body_for_content_types_oapg( + def _post_number_type_matches_numbers_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostNumberTypeMatchesNumbersResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_number_type_matches_numbers_response_body_for_content_types_oapg( + return self._post_number_type_matches_numbers_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_number_type_matches_numbers_response_body_for_content_types_oapg( + return self._post_number_type_matches_numbers_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/__init__.py index fe2b4664ae3..ee6029e633b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_object_properties_validation_response_body_for_content_types_oapg( + def _post_object_properties_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_object_properties_validation_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_object_properties_validation_response_body_for_content_types_oapg( + def _post_object_properties_validation_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_object_properties_validation_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_object_properties_validation_response_body_for_content_types_oapg( + def _post_object_properties_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_object_properties_validation_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_object_properties_validation_response_body_for_content_types_oapg( + def _post_object_properties_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_object_properties_validation_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_object_properties_validation_response_body_for_content_types_oapg( + return self._post_object_properties_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_object_properties_validation_response_body_for_content_types_oapg( + return self._post_object_properties_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/__init__.pyi index 18dce986127..9a8a2031ec0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_object_properties_validation_response_body_for_content_types_oapg( + def _post_object_properties_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_object_properties_validation_response_body_for_content_types_oapg( + def _post_object_properties_validation_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_object_properties_validation_response_body_for_content_types_oapg( + def _post_object_properties_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_object_properties_validation_response_body_for_content_types_oapg( + def _post_object_properties_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostObjectPropertiesValidationResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_object_properties_validation_response_body_for_content_types_oapg( + return self._post_object_properties_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_object_properties_validation_response_body_for_content_types_oapg( + return self._post_object_properties_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/__init__.py index e8f3202a22a..58564eab36d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_object_type_matches_objects_response_body_for_content_types_oapg( + def _post_object_type_matches_objects_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_object_type_matches_objects_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_object_type_matches_objects_response_body_for_content_types_oapg( + def _post_object_type_matches_objects_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_object_type_matches_objects_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_object_type_matches_objects_response_body_for_content_types_oapg( + def _post_object_type_matches_objects_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_object_type_matches_objects_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_object_type_matches_objects_response_body_for_content_types_oapg( + def _post_object_type_matches_objects_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_object_type_matches_objects_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_object_type_matches_objects_response_body_for_content_types_oapg( + return self._post_object_type_matches_objects_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_object_type_matches_objects_response_body_for_content_types_oapg( + return self._post_object_type_matches_objects_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/__init__.pyi index 1ecf7ac9bd9..33c80142139 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_object_type_matches_objects_response_body_for_content_types_oapg( + def _post_object_type_matches_objects_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_object_type_matches_objects_response_body_for_content_types_oapg( + def _post_object_type_matches_objects_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_object_type_matches_objects_response_body_for_content_types_oapg( + def _post_object_type_matches_objects_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_object_type_matches_objects_response_body_for_content_types_oapg( + def _post_object_type_matches_objects_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostObjectTypeMatchesObjectsResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_object_type_matches_objects_response_body_for_content_types_oapg( + return self._post_object_type_matches_objects_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_object_type_matches_objects_response_body_for_content_types_oapg( + return self._post_object_type_matches_objects_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/__init__.py index b04788151bf..6c829f05729 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_oneof_complex_types_response_body_for_content_types_oapg( + def _post_oneof_complex_types_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_oneof_complex_types_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_oneof_complex_types_response_body_for_content_types_oapg( + def _post_oneof_complex_types_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_oneof_complex_types_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_oneof_complex_types_response_body_for_content_types_oapg( + def _post_oneof_complex_types_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_oneof_complex_types_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_oneof_complex_types_response_body_for_content_types_oapg( + def _post_oneof_complex_types_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_oneof_complex_types_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_oneof_complex_types_response_body_for_content_types_oapg( + return self._post_oneof_complex_types_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_oneof_complex_types_response_body_for_content_types_oapg( + return self._post_oneof_complex_types_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/__init__.pyi index 1372c89f653..c07b834ef13 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_oneof_complex_types_response_body_for_content_types_oapg( + def _post_oneof_complex_types_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_oneof_complex_types_response_body_for_content_types_oapg( + def _post_oneof_complex_types_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_oneof_complex_types_response_body_for_content_types_oapg( + def _post_oneof_complex_types_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_oneof_complex_types_response_body_for_content_types_oapg( + def _post_oneof_complex_types_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostOneofComplexTypesResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_oneof_complex_types_response_body_for_content_types_oapg( + return self._post_oneof_complex_types_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_oneof_complex_types_response_body_for_content_types_oapg( + return self._post_oneof_complex_types_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/__init__.py index ffd4e7c55f8..45a3b10bd01 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_oneof_response_body_for_content_types_oapg( + def _post_oneof_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_oneof_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_oneof_response_body_for_content_types_oapg( + def _post_oneof_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_oneof_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_oneof_response_body_for_content_types_oapg( + def _post_oneof_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_oneof_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_oneof_response_body_for_content_types_oapg( + def _post_oneof_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_oneof_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_oneof_response_body_for_content_types_oapg( + return self._post_oneof_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_oneof_response_body_for_content_types_oapg( + return self._post_oneof_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/__init__.pyi index c3824102f63..f8090a8e2d1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_oneof_response_body_for_content_types_oapg( + def _post_oneof_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_oneof_response_body_for_content_types_oapg( + def _post_oneof_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_oneof_response_body_for_content_types_oapg( + def _post_oneof_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_oneof_response_body_for_content_types_oapg( + def _post_oneof_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostOneofResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_oneof_response_body_for_content_types_oapg( + return self._post_oneof_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_oneof_response_body_for_content_types_oapg( + return self._post_oneof_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/__init__.py index 1aff8592d4c..b9575682295 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_oneof_with_base_schema_response_body_for_content_types_oapg( + def _post_oneof_with_base_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_oneof_with_base_schema_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_oneof_with_base_schema_response_body_for_content_types_oapg( + def _post_oneof_with_base_schema_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_oneof_with_base_schema_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_oneof_with_base_schema_response_body_for_content_types_oapg( + def _post_oneof_with_base_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_oneof_with_base_schema_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_oneof_with_base_schema_response_body_for_content_types_oapg( + def _post_oneof_with_base_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_oneof_with_base_schema_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_oneof_with_base_schema_response_body_for_content_types_oapg( + return self._post_oneof_with_base_schema_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_oneof_with_base_schema_response_body_for_content_types_oapg( + return self._post_oneof_with_base_schema_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/__init__.pyi index dcb1261886e..4e1ef929ae3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_oneof_with_base_schema_response_body_for_content_types_oapg( + def _post_oneof_with_base_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_oneof_with_base_schema_response_body_for_content_types_oapg( + def _post_oneof_with_base_schema_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_oneof_with_base_schema_response_body_for_content_types_oapg( + def _post_oneof_with_base_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_oneof_with_base_schema_response_body_for_content_types_oapg( + def _post_oneof_with_base_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostOneofWithBaseSchemaResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_oneof_with_base_schema_response_body_for_content_types_oapg( + return self._post_oneof_with_base_schema_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_oneof_with_base_schema_response_body_for_content_types_oapg( + return self._post_oneof_with_base_schema_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/__init__.py index 0bd24f2a13c..0c8b00e3f63 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_oneof_with_empty_schema_response_body_for_content_types_oapg( + def _post_oneof_with_empty_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_oneof_with_empty_schema_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_oneof_with_empty_schema_response_body_for_content_types_oapg( + def _post_oneof_with_empty_schema_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_oneof_with_empty_schema_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_oneof_with_empty_schema_response_body_for_content_types_oapg( + def _post_oneof_with_empty_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_oneof_with_empty_schema_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_oneof_with_empty_schema_response_body_for_content_types_oapg( + def _post_oneof_with_empty_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_oneof_with_empty_schema_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_oneof_with_empty_schema_response_body_for_content_types_oapg( + return self._post_oneof_with_empty_schema_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_oneof_with_empty_schema_response_body_for_content_types_oapg( + return self._post_oneof_with_empty_schema_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/__init__.pyi index be5209b1546..12459a3d351 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_oneof_with_empty_schema_response_body_for_content_types_oapg( + def _post_oneof_with_empty_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_oneof_with_empty_schema_response_body_for_content_types_oapg( + def _post_oneof_with_empty_schema_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_oneof_with_empty_schema_response_body_for_content_types_oapg( + def _post_oneof_with_empty_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_oneof_with_empty_schema_response_body_for_content_types_oapg( + def _post_oneof_with_empty_schema_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostOneofWithEmptySchemaResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_oneof_with_empty_schema_response_body_for_content_types_oapg( + return self._post_oneof_with_empty_schema_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_oneof_with_empty_schema_response_body_for_content_types_oapg( + return self._post_oneof_with_empty_schema_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/__init__.py index a4aa0e53872..3304dc22599 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_oneof_with_required_response_body_for_content_types_oapg( + def _post_oneof_with_required_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_oneof_with_required_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_oneof_with_required_response_body_for_content_types_oapg( + def _post_oneof_with_required_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_oneof_with_required_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_oneof_with_required_response_body_for_content_types_oapg( + def _post_oneof_with_required_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_oneof_with_required_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_oneof_with_required_response_body_for_content_types_oapg( + def _post_oneof_with_required_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_oneof_with_required_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_oneof_with_required_response_body_for_content_types_oapg( + return self._post_oneof_with_required_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_oneof_with_required_response_body_for_content_types_oapg( + return self._post_oneof_with_required_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/__init__.pyi index 4e05ec666ce..8840d3a8d82 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_oneof_with_required_response_body_for_content_types_oapg( + def _post_oneof_with_required_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_oneof_with_required_response_body_for_content_types_oapg( + def _post_oneof_with_required_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_oneof_with_required_response_body_for_content_types_oapg( + def _post_oneof_with_required_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_oneof_with_required_response_body_for_content_types_oapg( + def _post_oneof_with_required_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostOneofWithRequiredResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_oneof_with_required_response_body_for_content_types_oapg( + return self._post_oneof_with_required_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_oneof_with_required_response_body_for_content_types_oapg( + return self._post_oneof_with_required_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/__init__.py index 4e03eecc9de..4f53a7c37bf 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_pattern_is_not_anchored_response_body_for_content_types_oapg( + def _post_pattern_is_not_anchored_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_pattern_is_not_anchored_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_pattern_is_not_anchored_response_body_for_content_types_oapg( + def _post_pattern_is_not_anchored_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_pattern_is_not_anchored_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_pattern_is_not_anchored_response_body_for_content_types_oapg( + def _post_pattern_is_not_anchored_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_pattern_is_not_anchored_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_pattern_is_not_anchored_response_body_for_content_types_oapg( + def _post_pattern_is_not_anchored_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_pattern_is_not_anchored_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_pattern_is_not_anchored_response_body_for_content_types_oapg( + return self._post_pattern_is_not_anchored_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_pattern_is_not_anchored_response_body_for_content_types_oapg( + return self._post_pattern_is_not_anchored_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/__init__.pyi index e99a5b048a4..eea4cae4f8e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_pattern_is_not_anchored_response_body_for_content_types_oapg( + def _post_pattern_is_not_anchored_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_pattern_is_not_anchored_response_body_for_content_types_oapg( + def _post_pattern_is_not_anchored_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_pattern_is_not_anchored_response_body_for_content_types_oapg( + def _post_pattern_is_not_anchored_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_pattern_is_not_anchored_response_body_for_content_types_oapg( + def _post_pattern_is_not_anchored_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostPatternIsNotAnchoredResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_pattern_is_not_anchored_response_body_for_content_types_oapg( + return self._post_pattern_is_not_anchored_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_pattern_is_not_anchored_response_body_for_content_types_oapg( + return self._post_pattern_is_not_anchored_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/__init__.py index e32cbc25783..38702a9af92 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_pattern_validation_response_body_for_content_types_oapg( + def _post_pattern_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_pattern_validation_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_pattern_validation_response_body_for_content_types_oapg( + def _post_pattern_validation_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_pattern_validation_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_pattern_validation_response_body_for_content_types_oapg( + def _post_pattern_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_pattern_validation_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_pattern_validation_response_body_for_content_types_oapg( + def _post_pattern_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_pattern_validation_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_pattern_validation_response_body_for_content_types_oapg( + return self._post_pattern_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_pattern_validation_response_body_for_content_types_oapg( + return self._post_pattern_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/__init__.pyi index 8fc9f83c233..e56cc8f04aa 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_pattern_validation_response_body_for_content_types_oapg( + def _post_pattern_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_pattern_validation_response_body_for_content_types_oapg( + def _post_pattern_validation_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_pattern_validation_response_body_for_content_types_oapg( + def _post_pattern_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_pattern_validation_response_body_for_content_types_oapg( + def _post_pattern_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostPatternValidationResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_pattern_validation_response_body_for_content_types_oapg( + return self._post_pattern_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_pattern_validation_response_body_for_content_types_oapg( + return self._post_pattern_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/__init__.py index 5847e0ed306..1d67f20a0c0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_properties_with_escaped_characters_response_body_for_content_types_oapg( + def _post_properties_with_escaped_characters_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_properties_with_escaped_characters_response_body_for_content_types_oap ]: ... @typing.overload - def _post_properties_with_escaped_characters_response_body_for_content_types_oapg( + def _post_properties_with_escaped_characters_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_properties_with_escaped_characters_response_body_for_content_types_oap ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_properties_with_escaped_characters_response_body_for_content_types_oapg( + def _post_properties_with_escaped_characters_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_properties_with_escaped_characters_response_body_for_content_types_oap api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_properties_with_escaped_characters_response_body_for_content_types_oapg( + def _post_properties_with_escaped_characters_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_properties_with_escaped_characters_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_properties_with_escaped_characters_response_body_for_content_types_oapg( + return self._post_properties_with_escaped_characters_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_properties_with_escaped_characters_response_body_for_content_types_oapg( + return self._post_properties_with_escaped_characters_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/__init__.pyi index 1063d498acc..c31306f30ec 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_properties_with_escaped_characters_response_body_for_content_types_oapg( + def _post_properties_with_escaped_characters_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_properties_with_escaped_characters_response_body_for_content_types_oapg( + def _post_properties_with_escaped_characters_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_properties_with_escaped_characters_response_body_for_content_types_oapg( + def _post_properties_with_escaped_characters_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_properties_with_escaped_characters_response_body_for_content_types_oapg( + def _post_properties_with_escaped_characters_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostPropertiesWithEscapedCharactersResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_properties_with_escaped_characters_response_body_for_content_types_oapg( + return self._post_properties_with_escaped_characters_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_properties_with_escaped_characters_response_body_for_content_types_oapg( + return self._post_properties_with_escaped_characters_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/__init__.py index 3ef96f2779e..738d46827e5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_property_named_ref_that_is_not_a_reference_response_body_for_content_types_oapg( + def _post_property_named_ref_that_is_not_a_reference_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_property_named_ref_that_is_not_a_reference_response_body_for_content_t ]: ... @typing.overload - def _post_property_named_ref_that_is_not_a_reference_response_body_for_content_types_oapg( + def _post_property_named_ref_that_is_not_a_reference_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_property_named_ref_that_is_not_a_reference_response_body_for_content_t ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_property_named_ref_that_is_not_a_reference_response_body_for_content_types_oapg( + def _post_property_named_ref_that_is_not_a_reference_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_property_named_ref_that_is_not_a_reference_response_body_for_content_t api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_property_named_ref_that_is_not_a_reference_response_body_for_content_types_oapg( + def _post_property_named_ref_that_is_not_a_reference_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_property_named_ref_that_is_not_a_reference_response_body_for_content_ty timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_property_named_ref_that_is_not_a_reference_response_body_for_content_types_oapg( + return self._post_property_named_ref_that_is_not_a_reference_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_property_named_ref_that_is_not_a_reference_response_body_for_content_types_oapg( + return self._post_property_named_ref_that_is_not_a_reference_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/__init__.pyi index 05870862eaa..3b335a6a991 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_property_named_ref_that_is_not_a_reference_response_body_for_content_types_oapg( + def _post_property_named_ref_that_is_not_a_reference_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_property_named_ref_that_is_not_a_reference_response_body_for_content_types_oapg( + def _post_property_named_ref_that_is_not_a_reference_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_property_named_ref_that_is_not_a_reference_response_body_for_content_types_oapg( + def _post_property_named_ref_that_is_not_a_reference_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_property_named_ref_that_is_not_a_reference_response_body_for_content_types_oapg( + def _post_property_named_ref_that_is_not_a_reference_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostPropertyNamedRefThatIsNotAReferenceResponseBodyForContentTypes(BaseApi timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_property_named_ref_that_is_not_a_reference_response_body_for_content_types_oapg( + return self._post_property_named_ref_that_is_not_a_reference_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_property_named_ref_that_is_not_a_reference_response_body_for_content_types_oapg( + return self._post_property_named_ref_that_is_not_a_reference_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_additionalproperties_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_additionalproperties_response_body_for_content_types/post/__init__.py index 715d56afe80..c07d987e879 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_additionalproperties_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_additionalproperties_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_ref_in_additionalproperties_response_body_for_content_types_oapg( + def _post_ref_in_additionalproperties_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_ref_in_additionalproperties_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_ref_in_additionalproperties_response_body_for_content_types_oapg( + def _post_ref_in_additionalproperties_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_ref_in_additionalproperties_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_ref_in_additionalproperties_response_body_for_content_types_oapg( + def _post_ref_in_additionalproperties_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_ref_in_additionalproperties_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_ref_in_additionalproperties_response_body_for_content_types_oapg( + def _post_ref_in_additionalproperties_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_ref_in_additionalproperties_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_additionalproperties_response_body_for_content_types_oapg( + return self._post_ref_in_additionalproperties_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_additionalproperties_response_body_for_content_types_oapg( + return self._post_ref_in_additionalproperties_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_additionalproperties_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_additionalproperties_response_body_for_content_types/post/__init__.pyi index e114dc01f23..b9333387a03 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_additionalproperties_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_additionalproperties_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_ref_in_additionalproperties_response_body_for_content_types_oapg( + def _post_ref_in_additionalproperties_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_ref_in_additionalproperties_response_body_for_content_types_oapg( + def _post_ref_in_additionalproperties_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_ref_in_additionalproperties_response_body_for_content_types_oapg( + def _post_ref_in_additionalproperties_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_ref_in_additionalproperties_response_body_for_content_types_oapg( + def _post_ref_in_additionalproperties_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostRefInAdditionalpropertiesResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_additionalproperties_response_body_for_content_types_oapg( + return self._post_ref_in_additionalproperties_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_additionalproperties_response_body_for_content_types_oapg( + return self._post_ref_in_additionalproperties_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_allof_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_allof_response_body_for_content_types/post/__init__.py index 6560d9efd61..ef56313d28d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_allof_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_allof_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_ref_in_allof_response_body_for_content_types_oapg( + def _post_ref_in_allof_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_ref_in_allof_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_ref_in_allof_response_body_for_content_types_oapg( + def _post_ref_in_allof_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_ref_in_allof_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_ref_in_allof_response_body_for_content_types_oapg( + def _post_ref_in_allof_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_ref_in_allof_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_ref_in_allof_response_body_for_content_types_oapg( + def _post_ref_in_allof_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_ref_in_allof_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_allof_response_body_for_content_types_oapg( + return self._post_ref_in_allof_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_allof_response_body_for_content_types_oapg( + return self._post_ref_in_allof_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_allof_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_allof_response_body_for_content_types/post/__init__.pyi index 982b657ad45..a736c317f28 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_allof_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_allof_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_ref_in_allof_response_body_for_content_types_oapg( + def _post_ref_in_allof_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_ref_in_allof_response_body_for_content_types_oapg( + def _post_ref_in_allof_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_ref_in_allof_response_body_for_content_types_oapg( + def _post_ref_in_allof_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_ref_in_allof_response_body_for_content_types_oapg( + def _post_ref_in_allof_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostRefInAllofResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_allof_response_body_for_content_types_oapg( + return self._post_ref_in_allof_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_allof_response_body_for_content_types_oapg( + return self._post_ref_in_allof_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_anyof_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_anyof_response_body_for_content_types/post/__init__.py index c7389074c22..5c683973a4e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_anyof_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_anyof_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_ref_in_anyof_response_body_for_content_types_oapg( + def _post_ref_in_anyof_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_ref_in_anyof_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_ref_in_anyof_response_body_for_content_types_oapg( + def _post_ref_in_anyof_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_ref_in_anyof_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_ref_in_anyof_response_body_for_content_types_oapg( + def _post_ref_in_anyof_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_ref_in_anyof_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_ref_in_anyof_response_body_for_content_types_oapg( + def _post_ref_in_anyof_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_ref_in_anyof_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_anyof_response_body_for_content_types_oapg( + return self._post_ref_in_anyof_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_anyof_response_body_for_content_types_oapg( + return self._post_ref_in_anyof_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_anyof_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_anyof_response_body_for_content_types/post/__init__.pyi index f48931d0ed7..df3b50a1a14 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_anyof_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_anyof_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_ref_in_anyof_response_body_for_content_types_oapg( + def _post_ref_in_anyof_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_ref_in_anyof_response_body_for_content_types_oapg( + def _post_ref_in_anyof_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_ref_in_anyof_response_body_for_content_types_oapg( + def _post_ref_in_anyof_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_ref_in_anyof_response_body_for_content_types_oapg( + def _post_ref_in_anyof_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostRefInAnyofResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_anyof_response_body_for_content_types_oapg( + return self._post_ref_in_anyof_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_anyof_response_body_for_content_types_oapg( + return self._post_ref_in_anyof_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_items_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_items_response_body_for_content_types/post/__init__.py index 2a81d90d44f..9c0122ac221 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_items_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_items_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_ref_in_items_response_body_for_content_types_oapg( + def _post_ref_in_items_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_ref_in_items_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_ref_in_items_response_body_for_content_types_oapg( + def _post_ref_in_items_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_ref_in_items_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_ref_in_items_response_body_for_content_types_oapg( + def _post_ref_in_items_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_ref_in_items_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_ref_in_items_response_body_for_content_types_oapg( + def _post_ref_in_items_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_ref_in_items_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_items_response_body_for_content_types_oapg( + return self._post_ref_in_items_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_items_response_body_for_content_types_oapg( + return self._post_ref_in_items_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_items_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_items_response_body_for_content_types/post/__init__.pyi index ce3244fa6bf..af56db1dabc 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_items_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_items_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_ref_in_items_response_body_for_content_types_oapg( + def _post_ref_in_items_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_ref_in_items_response_body_for_content_types_oapg( + def _post_ref_in_items_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_ref_in_items_response_body_for_content_types_oapg( + def _post_ref_in_items_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_ref_in_items_response_body_for_content_types_oapg( + def _post_ref_in_items_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostRefInItemsResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_items_response_body_for_content_types_oapg( + return self._post_ref_in_items_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_items_response_body_for_content_types_oapg( + return self._post_ref_in_items_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_not_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_not_response_body_for_content_types/post/__init__.py index 105dabd8f19..099a842a5dd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_not_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_not_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_ref_in_not_response_body_for_content_types_oapg( + def _post_ref_in_not_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_ref_in_not_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_ref_in_not_response_body_for_content_types_oapg( + def _post_ref_in_not_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_ref_in_not_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_ref_in_not_response_body_for_content_types_oapg( + def _post_ref_in_not_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_ref_in_not_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_ref_in_not_response_body_for_content_types_oapg( + def _post_ref_in_not_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_ref_in_not_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_not_response_body_for_content_types_oapg( + return self._post_ref_in_not_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_not_response_body_for_content_types_oapg( + return self._post_ref_in_not_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_not_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_not_response_body_for_content_types/post/__init__.pyi index 1076808a7ba..8a035bc18cb 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_not_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_not_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_ref_in_not_response_body_for_content_types_oapg( + def _post_ref_in_not_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_ref_in_not_response_body_for_content_types_oapg( + def _post_ref_in_not_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_ref_in_not_response_body_for_content_types_oapg( + def _post_ref_in_not_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_ref_in_not_response_body_for_content_types_oapg( + def _post_ref_in_not_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostRefInNotResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_not_response_body_for_content_types_oapg( + return self._post_ref_in_not_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_not_response_body_for_content_types_oapg( + return self._post_ref_in_not_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_oneof_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_oneof_response_body_for_content_types/post/__init__.py index 5cb1c3e6f6e..3a391396cbf 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_oneof_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_oneof_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_ref_in_oneof_response_body_for_content_types_oapg( + def _post_ref_in_oneof_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_ref_in_oneof_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_ref_in_oneof_response_body_for_content_types_oapg( + def _post_ref_in_oneof_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_ref_in_oneof_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_ref_in_oneof_response_body_for_content_types_oapg( + def _post_ref_in_oneof_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_ref_in_oneof_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_ref_in_oneof_response_body_for_content_types_oapg( + def _post_ref_in_oneof_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_ref_in_oneof_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_oneof_response_body_for_content_types_oapg( + return self._post_ref_in_oneof_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_oneof_response_body_for_content_types_oapg( + return self._post_ref_in_oneof_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_oneof_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_oneof_response_body_for_content_types/post/__init__.pyi index ef839759c80..38a2972638e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_oneof_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_oneof_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_ref_in_oneof_response_body_for_content_types_oapg( + def _post_ref_in_oneof_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_ref_in_oneof_response_body_for_content_types_oapg( + def _post_ref_in_oneof_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_ref_in_oneof_response_body_for_content_types_oapg( + def _post_ref_in_oneof_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_ref_in_oneof_response_body_for_content_types_oapg( + def _post_ref_in_oneof_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostRefInOneofResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_oneof_response_body_for_content_types_oapg( + return self._post_ref_in_oneof_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_oneof_response_body_for_content_types_oapg( + return self._post_ref_in_oneof_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_property_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_property_response_body_for_content_types/post/__init__.py index 001a4bb36ce..bb2429d1a5e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_property_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_property_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_ref_in_property_response_body_for_content_types_oapg( + def _post_ref_in_property_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_ref_in_property_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_ref_in_property_response_body_for_content_types_oapg( + def _post_ref_in_property_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_ref_in_property_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_ref_in_property_response_body_for_content_types_oapg( + def _post_ref_in_property_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_ref_in_property_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_ref_in_property_response_body_for_content_types_oapg( + def _post_ref_in_property_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_ref_in_property_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_property_response_body_for_content_types_oapg( + return self._post_ref_in_property_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_property_response_body_for_content_types_oapg( + return self._post_ref_in_property_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_property_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_property_response_body_for_content_types/post/__init__.pyi index 0f4142d016a..a749dad5e16 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_property_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_property_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_ref_in_property_response_body_for_content_types_oapg( + def _post_ref_in_property_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_ref_in_property_response_body_for_content_types_oapg( + def _post_ref_in_property_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_ref_in_property_response_body_for_content_types_oapg( + def _post_ref_in_property_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_ref_in_property_response_body_for_content_types_oapg( + def _post_ref_in_property_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostRefInPropertyResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_property_response_body_for_content_types_oapg( + return self._post_ref_in_property_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_ref_in_property_response_body_for_content_types_oapg( + return self._post_ref_in_property_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/__init__.py index 7dfe6e3f08e..e81170d9ab4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_required_default_validation_response_body_for_content_types_oapg( + def _post_required_default_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_required_default_validation_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_required_default_validation_response_body_for_content_types_oapg( + def _post_required_default_validation_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_required_default_validation_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_required_default_validation_response_body_for_content_types_oapg( + def _post_required_default_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_required_default_validation_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_required_default_validation_response_body_for_content_types_oapg( + def _post_required_default_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_required_default_validation_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_required_default_validation_response_body_for_content_types_oapg( + return self._post_required_default_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_required_default_validation_response_body_for_content_types_oapg( + return self._post_required_default_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/__init__.pyi index 2d34d20afea..2de9aabc2d1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_required_default_validation_response_body_for_content_types_oapg( + def _post_required_default_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_required_default_validation_response_body_for_content_types_oapg( + def _post_required_default_validation_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_required_default_validation_response_body_for_content_types_oapg( + def _post_required_default_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_required_default_validation_response_body_for_content_types_oapg( + def _post_required_default_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostRequiredDefaultValidationResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_required_default_validation_response_body_for_content_types_oapg( + return self._post_required_default_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_required_default_validation_response_body_for_content_types_oapg( + return self._post_required_default_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/__init__.py index a925fff2120..d66f2e96af6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_required_validation_response_body_for_content_types_oapg( + def _post_required_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_required_validation_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_required_validation_response_body_for_content_types_oapg( + def _post_required_validation_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_required_validation_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_required_validation_response_body_for_content_types_oapg( + def _post_required_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_required_validation_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_required_validation_response_body_for_content_types_oapg( + def _post_required_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_required_validation_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_required_validation_response_body_for_content_types_oapg( + return self._post_required_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_required_validation_response_body_for_content_types_oapg( + return self._post_required_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/__init__.pyi index f07d27cbb7c..67892fd6cb1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_required_validation_response_body_for_content_types_oapg( + def _post_required_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_required_validation_response_body_for_content_types_oapg( + def _post_required_validation_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_required_validation_response_body_for_content_types_oapg( + def _post_required_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_required_validation_response_body_for_content_types_oapg( + def _post_required_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostRequiredValidationResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_required_validation_response_body_for_content_types_oapg( + return self._post_required_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_required_validation_response_body_for_content_types_oapg( + return self._post_required_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/__init__.py index a04b1f04f49..6cdbc741475 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_required_with_empty_array_response_body_for_content_types_oapg( + def _post_required_with_empty_array_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_required_with_empty_array_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_required_with_empty_array_response_body_for_content_types_oapg( + def _post_required_with_empty_array_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_required_with_empty_array_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_required_with_empty_array_response_body_for_content_types_oapg( + def _post_required_with_empty_array_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_required_with_empty_array_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_required_with_empty_array_response_body_for_content_types_oapg( + def _post_required_with_empty_array_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_required_with_empty_array_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_required_with_empty_array_response_body_for_content_types_oapg( + return self._post_required_with_empty_array_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_required_with_empty_array_response_body_for_content_types_oapg( + return self._post_required_with_empty_array_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/__init__.pyi index 4500c56f650..64d67357acd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_required_with_empty_array_response_body_for_content_types_oapg( + def _post_required_with_empty_array_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_required_with_empty_array_response_body_for_content_types_oapg( + def _post_required_with_empty_array_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_required_with_empty_array_response_body_for_content_types_oapg( + def _post_required_with_empty_array_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_required_with_empty_array_response_body_for_content_types_oapg( + def _post_required_with_empty_array_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostRequiredWithEmptyArrayResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_required_with_empty_array_response_body_for_content_types_oapg( + return self._post_required_with_empty_array_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_required_with_empty_array_response_body_for_content_types_oapg( + return self._post_required_with_empty_array_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/__init__.py index fb7f8999ab5..26fd870a0f2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_required_with_escaped_characters_response_body_for_content_types_oapg( + def _post_required_with_escaped_characters_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_required_with_escaped_characters_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_required_with_escaped_characters_response_body_for_content_types_oapg( + def _post_required_with_escaped_characters_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_required_with_escaped_characters_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_required_with_escaped_characters_response_body_for_content_types_oapg( + def _post_required_with_escaped_characters_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_required_with_escaped_characters_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_required_with_escaped_characters_response_body_for_content_types_oapg( + def _post_required_with_escaped_characters_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_required_with_escaped_characters_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_required_with_escaped_characters_response_body_for_content_types_oapg( + return self._post_required_with_escaped_characters_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_required_with_escaped_characters_response_body_for_content_types_oapg( + return self._post_required_with_escaped_characters_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/__init__.pyi index 1f9440dbd56..6ba5c55a7a6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_required_with_escaped_characters_response_body_for_content_types_oapg( + def _post_required_with_escaped_characters_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_required_with_escaped_characters_response_body_for_content_types_oapg( + def _post_required_with_escaped_characters_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_required_with_escaped_characters_response_body_for_content_types_oapg( + def _post_required_with_escaped_characters_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_required_with_escaped_characters_response_body_for_content_types_oapg( + def _post_required_with_escaped_characters_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostRequiredWithEscapedCharactersResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_required_with_escaped_characters_response_body_for_content_types_oapg( + return self._post_required_with_escaped_characters_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_required_with_escaped_characters_response_body_for_content_types_oapg( + return self._post_required_with_escaped_characters_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/__init__.py index 7936a8ea2ba..44ba1690e6e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_simple_enum_validation_response_body_for_content_types_oapg( + def _post_simple_enum_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_simple_enum_validation_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_simple_enum_validation_response_body_for_content_types_oapg( + def _post_simple_enum_validation_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_simple_enum_validation_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_simple_enum_validation_response_body_for_content_types_oapg( + def _post_simple_enum_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_simple_enum_validation_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_simple_enum_validation_response_body_for_content_types_oapg( + def _post_simple_enum_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_simple_enum_validation_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_simple_enum_validation_response_body_for_content_types_oapg( + return self._post_simple_enum_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_simple_enum_validation_response_body_for_content_types_oapg( + return self._post_simple_enum_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/__init__.pyi index 4e9caefec67..e09ab5f2ab2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_simple_enum_validation_response_body_for_content_types_oapg( + def _post_simple_enum_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_simple_enum_validation_response_body_for_content_types_oapg( + def _post_simple_enum_validation_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_simple_enum_validation_response_body_for_content_types_oapg( + def _post_simple_enum_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_simple_enum_validation_response_body_for_content_types_oapg( + def _post_simple_enum_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostSimpleEnumValidationResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_simple_enum_validation_response_body_for_content_types_oapg( + return self._post_simple_enum_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_simple_enum_validation_response_body_for_content_types_oapg( + return self._post_simple_enum_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/__init__.py index ed2d72c6a21..0b6ddd88a92 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_string_type_matches_strings_response_body_for_content_types_oapg( + def _post_string_type_matches_strings_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_string_type_matches_strings_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_string_type_matches_strings_response_body_for_content_types_oapg( + def _post_string_type_matches_strings_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_string_type_matches_strings_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_string_type_matches_strings_response_body_for_content_types_oapg( + def _post_string_type_matches_strings_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_string_type_matches_strings_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_string_type_matches_strings_response_body_for_content_types_oapg( + def _post_string_type_matches_strings_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_string_type_matches_strings_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_string_type_matches_strings_response_body_for_content_types_oapg( + return self._post_string_type_matches_strings_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_string_type_matches_strings_response_body_for_content_types_oapg( + return self._post_string_type_matches_strings_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/__init__.pyi index f2918f9959e..9573dc1acbb 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_string_type_matches_strings_response_body_for_content_types_oapg( + def _post_string_type_matches_strings_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_string_type_matches_strings_response_body_for_content_types_oapg( + def _post_string_type_matches_strings_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_string_type_matches_strings_response_body_for_content_types_oapg( + def _post_string_type_matches_strings_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_string_type_matches_strings_response_body_for_content_types_oapg( + def _post_string_type_matches_strings_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostStringTypeMatchesStringsResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_string_type_matches_strings_response_body_for_content_types_oapg( + return self._post_string_type_matches_strings_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_string_type_matches_strings_response_body_for_content_types_oapg( + return self._post_string_type_matches_strings_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types/post/__init__.py index 26b7481eff8..9420d72b67a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types_oapg( + def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_re ]: ... @typing.overload - def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types_oapg( + def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_re ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types_oapg( + def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_re api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types_oapg( + def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_res timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types_oapg( + return self._post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types_oapg( + return self._post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types/post/__init__.pyi index 8d6f805f588..367d490669d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types_oapg( + def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types_oapg( + def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types_oapg( + def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types_oapg( + def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostTheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissingResponseBodyFo timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types_oapg( + return self._post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types_oapg( + return self._post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/__init__.py index 59ca0c13f28..408acea73c3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_uniqueitems_false_validation_response_body_for_content_types_oapg( + def _post_uniqueitems_false_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_uniqueitems_false_validation_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_uniqueitems_false_validation_response_body_for_content_types_oapg( + def _post_uniqueitems_false_validation_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_uniqueitems_false_validation_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_uniqueitems_false_validation_response_body_for_content_types_oapg( + def _post_uniqueitems_false_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_uniqueitems_false_validation_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_uniqueitems_false_validation_response_body_for_content_types_oapg( + def _post_uniqueitems_false_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_uniqueitems_false_validation_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_uniqueitems_false_validation_response_body_for_content_types_oapg( + return self._post_uniqueitems_false_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_uniqueitems_false_validation_response_body_for_content_types_oapg( + return self._post_uniqueitems_false_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/__init__.pyi index 6a14b0aee6a..747a8788bde 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_uniqueitems_false_validation_response_body_for_content_types_oapg( + def _post_uniqueitems_false_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_uniqueitems_false_validation_response_body_for_content_types_oapg( + def _post_uniqueitems_false_validation_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_uniqueitems_false_validation_response_body_for_content_types_oapg( + def _post_uniqueitems_false_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_uniqueitems_false_validation_response_body_for_content_types_oapg( + def _post_uniqueitems_false_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostUniqueitemsFalseValidationResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_uniqueitems_false_validation_response_body_for_content_types_oapg( + return self._post_uniqueitems_false_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_uniqueitems_false_validation_response_body_for_content_types_oapg( + return self._post_uniqueitems_false_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/__init__.py index 6c77b2a9922..52dee5f95cc 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_uniqueitems_validation_response_body_for_content_types_oapg( + def _post_uniqueitems_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_uniqueitems_validation_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_uniqueitems_validation_response_body_for_content_types_oapg( + def _post_uniqueitems_validation_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_uniqueitems_validation_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_uniqueitems_validation_response_body_for_content_types_oapg( + def _post_uniqueitems_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_uniqueitems_validation_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_uniqueitems_validation_response_body_for_content_types_oapg( + def _post_uniqueitems_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_uniqueitems_validation_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_uniqueitems_validation_response_body_for_content_types_oapg( + return self._post_uniqueitems_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_uniqueitems_validation_response_body_for_content_types_oapg( + return self._post_uniqueitems_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/__init__.pyi index 46900ec08a7..c9c8379377b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_uniqueitems_validation_response_body_for_content_types_oapg( + def _post_uniqueitems_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_uniqueitems_validation_response_body_for_content_types_oapg( + def _post_uniqueitems_validation_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_uniqueitems_validation_response_body_for_content_types_oapg( + def _post_uniqueitems_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_uniqueitems_validation_response_body_for_content_types_oapg( + def _post_uniqueitems_validation_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostUniqueitemsValidationResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_uniqueitems_validation_response_body_for_content_types_oapg( + return self._post_uniqueitems_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_uniqueitems_validation_response_body_for_content_types_oapg( + return self._post_uniqueitems_validation_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/__init__.py index faa0b01b370..9046307c93c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_uri_format_response_body_for_content_types_oapg( + def _post_uri_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_uri_format_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_uri_format_response_body_for_content_types_oapg( + def _post_uri_format_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_uri_format_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_uri_format_response_body_for_content_types_oapg( + def _post_uri_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_uri_format_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_uri_format_response_body_for_content_types_oapg( + def _post_uri_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_uri_format_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_uri_format_response_body_for_content_types_oapg( + return self._post_uri_format_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_uri_format_response_body_for_content_types_oapg( + return self._post_uri_format_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/__init__.pyi index 40f7e0b1910..138a616b61b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_uri_format_response_body_for_content_types_oapg( + def _post_uri_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_uri_format_response_body_for_content_types_oapg( + def _post_uri_format_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_uri_format_response_body_for_content_types_oapg( + def _post_uri_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_uri_format_response_body_for_content_types_oapg( + def _post_uri_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostUriFormatResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_uri_format_response_body_for_content_types_oapg( + return self._post_uri_format_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_uri_format_response_body_for_content_types_oapg( + return self._post_uri_format_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/__init__.py index 247c6868f13..f503edcc360 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_uri_reference_format_response_body_for_content_types_oapg( + def _post_uri_reference_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_uri_reference_format_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_uri_reference_format_response_body_for_content_types_oapg( + def _post_uri_reference_format_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_uri_reference_format_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_uri_reference_format_response_body_for_content_types_oapg( + def _post_uri_reference_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_uri_reference_format_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_uri_reference_format_response_body_for_content_types_oapg( + def _post_uri_reference_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_uri_reference_format_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_uri_reference_format_response_body_for_content_types_oapg( + return self._post_uri_reference_format_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_uri_reference_format_response_body_for_content_types_oapg( + return self._post_uri_reference_format_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/__init__.pyi index cc896c64ba4..485f9ddc39c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_uri_reference_format_response_body_for_content_types_oapg( + def _post_uri_reference_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_uri_reference_format_response_body_for_content_types_oapg( + def _post_uri_reference_format_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_uri_reference_format_response_body_for_content_types_oapg( + def _post_uri_reference_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_uri_reference_format_response_body_for_content_types_oapg( + def _post_uri_reference_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostUriReferenceFormatResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_uri_reference_format_response_body_for_content_types_oapg( + return self._post_uri_reference_format_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_uri_reference_format_response_body_for_content_types_oapg( + return self._post_uri_reference_format_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/__init__.py index c9fff509f8d..7be73db9f5e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_uri_template_format_response_body_for_content_types_oapg( + def _post_uri_template_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _post_uri_template_format_response_body_for_content_types_oapg( ]: ... @typing.overload - def _post_uri_template_format_response_body_for_content_types_oapg( + def _post_uri_template_format_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _post_uri_template_format_response_body_for_content_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_uri_template_format_response_body_for_content_types_oapg( + def _post_uri_template_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _post_uri_template_format_response_body_for_content_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_uri_template_format_response_body_for_content_types_oapg( + def _post_uri_template_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -169,7 +169,7 @@ def post_uri_template_format_response_body_for_content_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_uri_template_format_response_body_for_content_types_oapg( + return self._post_uri_template_format_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -219,7 +219,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_uri_template_format_response_body_for_content_types_oapg( + return self._post_uri_template_format_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/__init__.pyi index fca54893123..8783872dcff 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _post_uri_template_format_response_body_for_content_types_oapg( + def _post_uri_template_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_uri_template_format_response_body_for_content_types_oapg( + def _post_uri_template_format_response_body_for_content_types( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_uri_template_format_response_body_for_content_types_oapg( + def _post_uri_template_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_uri_template_format_response_body_for_content_types_oapg( + def _post_uri_template_format_response_body_for_content_types( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -157,7 +157,7 @@ class PostUriTemplateFormatResponseBodyForContentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_uri_template_format_response_body_for_content_types_oapg( + return self._post_uri_template_format_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -207,7 +207,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_uri_template_format_response_body_for_content_types_oapg( + return self._post_uri_template_format_response_body_for_content_types( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/paths/operators/post/__init__.py b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/paths/operators/post/__init__.py index d5179cf1192..61316ab444e 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/paths/operators/post/__init__.py +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/paths/operators/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_operators_oapg( + def _post_operators( self, content_type: typing_extensions.Literal["application/json"] = ..., body: typing.Union[request_body.operator.Operator, schemas.Unset] = schemas.unset, @@ -56,7 +56,7 @@ def _post_operators_oapg( ]: ... @typing.overload - def _post_operators_oapg( + def _post_operators( self, content_type: str = ..., body: typing.Union[request_body.operator.Operator, schemas.Unset] = schemas.unset, @@ -69,7 +69,7 @@ def _post_operators_oapg( @typing.overload - def _post_operators_oapg( + def _post_operators( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., @@ -79,7 +79,7 @@ def _post_operators_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_operators_oapg( + def _post_operators( self, content_type: str = ..., body: typing.Union[request_body.operator.Operator, schemas.Unset] = schemas.unset, @@ -91,7 +91,7 @@ def _post_operators_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_operators_oapg( + def _post_operators( self, content_type: str = 'application/json', body: typing.Union[request_body.operator.Operator, schemas.Unset] = schemas.unset, @@ -209,7 +209,7 @@ def post_operators( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_operators_oapg( + return self._post_operators( body=body, content_type=content_type, stream=stream, @@ -277,7 +277,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_operators_oapg( + return self._post_operators( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/paths/operators/post/__init__.pyi b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/paths/operators/post/__init__.pyi index ae3ed5d4856..9a6d25393cf 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/paths/operators/post/__init__.pyi +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/paths/operators/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _post_operators_oapg( + def _post_operators( self, content_type: typing_extensions.Literal["application/json"] = ..., body: typing.Union[request_body.operator.Operator, schemas.Unset] = schemas.unset, @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _post_operators_oapg( + def _post_operators( self, content_type: str = ..., body: typing.Union[request_body.operator.Operator, schemas.Unset] = schemas.unset, @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _post_operators_oapg( + def _post_operators( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _post_operators_oapg( + def _post_operators( self, content_type: str = ..., body: typing.Union[request_body.operator.Operator, schemas.Unset] = schemas.unset, @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _post_operators_oapg( + def _post_operators( self, content_type: str = 'application/json', body: typing.Union[request_body.operator.Operator, schemas.Unset] = schemas.unset, @@ -197,7 +197,7 @@ class PostOperators(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_operators_oapg( + return self._post_operators( body=body, content_type=content_type, stream=stream, @@ -265,7 +265,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._post_operators_oapg( + return self._post_operators( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/another_fake_dummy/patch/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/another_fake_dummy/patch/__init__.py index 10390e827fe..41b75fa6584 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/another_fake_dummy/patch/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/another_fake_dummy/patch/__init__.py @@ -47,7 +47,7 @@ class BaseApi(api_client.Api): @typing.overload - def _call_123_test_special_tags_oapg( + def _call_123_test_special_tags( self, body: typing.Union[request_body.client.Client,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -60,7 +60,7 @@ def _call_123_test_special_tags_oapg( ]: ... @typing.overload - def _call_123_test_special_tags_oapg( + def _call_123_test_special_tags( self, body: typing.Union[request_body.client.Client,], content_type: str = ..., @@ -74,7 +74,7 @@ def _call_123_test_special_tags_oapg( @typing.overload - def _call_123_test_special_tags_oapg( + def _call_123_test_special_tags( self, body: typing.Union[request_body.client.Client,], skip_deserialization: typing_extensions.Literal[True], @@ -85,7 +85,7 @@ def _call_123_test_special_tags_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _call_123_test_special_tags_oapg( + def _call_123_test_special_tags( self, body: typing.Union[request_body.client.Client,], content_type: str = ..., @@ -98,7 +98,7 @@ def _call_123_test_special_tags_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _call_123_test_special_tags_oapg( + def _call_123_test_special_tags( self, body: typing.Union[request_body.client.Client,], content_type: str = 'application/json', @@ -228,7 +228,7 @@ def call_123_test_special_tags( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._call_123_test_special_tags_oapg( + return self._call_123_test_special_tags( body=body, content_type=content_type, accept_content_types=accept_content_types, @@ -302,7 +302,7 @@ def patch( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._call_123_test_special_tags_oapg( + return self._call_123_test_special_tags( body=body, content_type=content_type, accept_content_types=accept_content_types, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/another_fake_dummy/patch/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/another_fake_dummy/patch/__init__.pyi index a94b0ff5266..ad52a6b300f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/another_fake_dummy/patch/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/another_fake_dummy/patch/__init__.pyi @@ -35,7 +35,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _call_123_test_special_tags_oapg( + def _call_123_test_special_tags( self, body: typing.Union[request_body.client.Client,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -48,7 +48,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _call_123_test_special_tags_oapg( + def _call_123_test_special_tags( self, body: typing.Union[request_body.client.Client,], content_type: str = ..., @@ -62,7 +62,7 @@ class BaseApi(api_client.Api): @typing.overload - def _call_123_test_special_tags_oapg( + def _call_123_test_special_tags( self, body: typing.Union[request_body.client.Client,], skip_deserialization: typing_extensions.Literal[True], @@ -73,7 +73,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _call_123_test_special_tags_oapg( + def _call_123_test_special_tags( self, body: typing.Union[request_body.client.Client,], content_type: str = ..., @@ -86,7 +86,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _call_123_test_special_tags_oapg( + def _call_123_test_special_tags( self, body: typing.Union[request_body.client.Client,], content_type: str = 'application/json', @@ -216,7 +216,7 @@ class Call123TestSpecialTags(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._call_123_test_special_tags_oapg( + return self._call_123_test_special_tags( body=body, content_type=content_type, accept_content_types=accept_content_types, @@ -290,7 +290,7 @@ class ApiForpatch(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._call_123_test_special_tags_oapg( + return self._call_123_test_special_tags( body=body, content_type=content_type, accept_content_types=accept_content_types, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/delete/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/delete/__init__.py index 8234cbeab9d..921c0660075 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/delete/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/delete/__init__.py @@ -107,7 +107,7 @@ class Params(RequiredParams, OptionalParams): class BaseApi(api_client.Api): @typing.overload - def _group_parameters_oapg( + def _group_parameters( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), @@ -119,7 +119,7 @@ def _group_parameters_oapg( ]: ... @typing.overload - def _group_parameters_oapg( + def _group_parameters( self, skip_deserialization: typing_extensions.Literal[True], query_params: RequestQueryParameters.Params = frozendict.frozendict(), @@ -129,7 +129,7 @@ def _group_parameters_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _group_parameters_oapg( + def _group_parameters( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), @@ -141,7 +141,7 @@ def _group_parameters_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _group_parameters_oapg( + def _group_parameters( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), @@ -256,7 +256,7 @@ def group_parameters( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._group_parameters_oapg( + return self._group_parameters( query_params=query_params, header_params=header_params, stream=stream, @@ -311,7 +311,7 @@ def delete( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._group_parameters_oapg( + return self._group_parameters( query_params=query_params, header_params=header_params, stream=stream, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/delete/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/delete/__init__.pyi index a242ca45340..573f431186e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/delete/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/delete/__init__.pyi @@ -91,7 +91,7 @@ class RequestHeaderParameters: class BaseApi(api_client.Api): @typing.overload - def _group_parameters_oapg( + def _group_parameters( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), @@ -103,7 +103,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _group_parameters_oapg( + def _group_parameters( self, skip_deserialization: typing_extensions.Literal[True], query_params: RequestQueryParameters.Params = frozendict.frozendict(), @@ -113,7 +113,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _group_parameters_oapg( + def _group_parameters( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), @@ -125,7 +125,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _group_parameters_oapg( + def _group_parameters( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), @@ -240,7 +240,7 @@ class GroupParameters(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._group_parameters_oapg( + return self._group_parameters( query_params=query_params, header_params=header_params, stream=stream, @@ -295,7 +295,7 @@ class ApiFordelete(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._group_parameters_oapg( + return self._group_parameters( query_params=query_params, header_params=header_params, stream=stream, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/__init__.py index f358bb94d7b..f3ae54ab36a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/__init__.py @@ -110,7 +110,7 @@ class Params(RequiredParams, OptionalParams): class BaseApi(api_client.Api): @typing.overload - def _enum_parameters_oapg( + def _enum_parameters( self, content_type: typing_extensions.Literal["application/x-www-form-urlencoded"] = ..., body: typing.Union[request_body.application_x_www_form_urlencoded.ApplicationXWwwFormUrlencoded, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -125,7 +125,7 @@ def _enum_parameters_oapg( ]: ... @typing.overload - def _enum_parameters_oapg( + def _enum_parameters( self, content_type: str = ..., body: typing.Union[request_body.application_x_www_form_urlencoded.ApplicationXWwwFormUrlencoded, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -141,7 +141,7 @@ def _enum_parameters_oapg( @typing.overload - def _enum_parameters_oapg( + def _enum_parameters( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., @@ -154,7 +154,7 @@ def _enum_parameters_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _enum_parameters_oapg( + def _enum_parameters( self, content_type: str = ..., body: typing.Union[request_body.application_x_www_form_urlencoded.ApplicationXWwwFormUrlencoded, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -169,7 +169,7 @@ def _enum_parameters_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _enum_parameters_oapg( + def _enum_parameters( self, content_type: str = 'application/x-www-form-urlencoded', body: typing.Union[request_body.application_x_www_form_urlencoded.ApplicationXWwwFormUrlencoded, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -329,7 +329,7 @@ def enum_parameters( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._enum_parameters_oapg( + return self._enum_parameters( body=body, query_params=query_params, header_params=header_params, @@ -415,7 +415,7 @@ def get( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._enum_parameters_oapg( + return self._enum_parameters( body=body, query_params=query_params, header_params=header_params, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/__init__.pyi index cb52659f8f3..96e507ae5dc 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/__init__.pyi @@ -96,7 +96,7 @@ class RequestHeaderParameters: class BaseApi(api_client.Api): @typing.overload - def _enum_parameters_oapg( + def _enum_parameters( self, content_type: typing_extensions.Literal["application/x-www-form-urlencoded"] = ..., body: typing.Union[request_body.application_x_www_form_urlencoded.ApplicationXWwwFormUrlencoded, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -111,7 +111,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _enum_parameters_oapg( + def _enum_parameters( self, content_type: str = ..., body: typing.Union[request_body.application_x_www_form_urlencoded.ApplicationXWwwFormUrlencoded, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -127,7 +127,7 @@ class BaseApi(api_client.Api): @typing.overload - def _enum_parameters_oapg( + def _enum_parameters( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., @@ -140,7 +140,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _enum_parameters_oapg( + def _enum_parameters( self, content_type: str = ..., body: typing.Union[request_body.application_x_www_form_urlencoded.ApplicationXWwwFormUrlencoded, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -155,7 +155,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _enum_parameters_oapg( + def _enum_parameters( self, content_type: str = 'application/x-www-form-urlencoded', body: typing.Union[request_body.application_x_www_form_urlencoded.ApplicationXWwwFormUrlencoded, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -315,7 +315,7 @@ class EnumParameters(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._enum_parameters_oapg( + return self._enum_parameters( body=body, query_params=query_params, header_params=header_params, @@ -401,7 +401,7 @@ class ApiForget(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._enum_parameters_oapg( + return self._enum_parameters( body=body, query_params=query_params, header_params=header_params, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/patch/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/patch/__init__.py index 7d815afe1b1..bc4ba89c884 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/patch/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/patch/__init__.py @@ -47,7 +47,7 @@ class BaseApi(api_client.Api): @typing.overload - def _client_model_oapg( + def _client_model( self, body: typing.Union[request_body.client.Client,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -60,7 +60,7 @@ def _client_model_oapg( ]: ... @typing.overload - def _client_model_oapg( + def _client_model( self, body: typing.Union[request_body.client.Client,], content_type: str = ..., @@ -74,7 +74,7 @@ def _client_model_oapg( @typing.overload - def _client_model_oapg( + def _client_model( self, body: typing.Union[request_body.client.Client,], skip_deserialization: typing_extensions.Literal[True], @@ -85,7 +85,7 @@ def _client_model_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _client_model_oapg( + def _client_model( self, body: typing.Union[request_body.client.Client,], content_type: str = ..., @@ -98,7 +98,7 @@ def _client_model_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _client_model_oapg( + def _client_model( self, body: typing.Union[request_body.client.Client,], content_type: str = 'application/json', @@ -228,7 +228,7 @@ def client_model( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._client_model_oapg( + return self._client_model( body=body, content_type=content_type, accept_content_types=accept_content_types, @@ -302,7 +302,7 @@ def patch( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._client_model_oapg( + return self._client_model( body=body, content_type=content_type, accept_content_types=accept_content_types, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/patch/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/patch/__init__.pyi index a4277b77f87..ad5b909681b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/patch/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/patch/__init__.pyi @@ -35,7 +35,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _client_model_oapg( + def _client_model( self, body: typing.Union[request_body.client.Client,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -48,7 +48,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _client_model_oapg( + def _client_model( self, body: typing.Union[request_body.client.Client,], content_type: str = ..., @@ -62,7 +62,7 @@ class BaseApi(api_client.Api): @typing.overload - def _client_model_oapg( + def _client_model( self, body: typing.Union[request_body.client.Client,], skip_deserialization: typing_extensions.Literal[True], @@ -73,7 +73,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _client_model_oapg( + def _client_model( self, body: typing.Union[request_body.client.Client,], content_type: str = ..., @@ -86,7 +86,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _client_model_oapg( + def _client_model( self, body: typing.Union[request_body.client.Client,], content_type: str = 'application/json', @@ -216,7 +216,7 @@ class ClientModel(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._client_model_oapg( + return self._client_model( body=body, content_type=content_type, accept_content_types=accept_content_types, @@ -290,7 +290,7 @@ class ApiForpatch(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._client_model_oapg( + return self._client_model( body=body, content_type=content_type, accept_content_types=accept_content_types, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/post/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/post/__init__.py index a44465367ea..3e928d3fca3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/post/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/post/__init__.py @@ -51,7 +51,7 @@ class BaseApi(api_client.Api): @typing.overload - def _endpoint_parameters_oapg( + def _endpoint_parameters( self, content_type: typing_extensions.Literal["application/x-www-form-urlencoded"] = ..., body: typing.Union[request_body.application_x_www_form_urlencoded.ApplicationXWwwFormUrlencoded, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -63,7 +63,7 @@ def _endpoint_parameters_oapg( ]: ... @typing.overload - def _endpoint_parameters_oapg( + def _endpoint_parameters( self, content_type: str = ..., body: typing.Union[request_body.application_x_www_form_urlencoded.ApplicationXWwwFormUrlencoded, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -76,7 +76,7 @@ def _endpoint_parameters_oapg( @typing.overload - def _endpoint_parameters_oapg( + def _endpoint_parameters( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., @@ -86,7 +86,7 @@ def _endpoint_parameters_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _endpoint_parameters_oapg( + def _endpoint_parameters( self, content_type: str = ..., body: typing.Union[request_body.application_x_www_form_urlencoded.ApplicationXWwwFormUrlencoded, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -98,7 +98,7 @@ def _endpoint_parameters_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _endpoint_parameters_oapg( + def _endpoint_parameters( self, content_type: str = 'application/x-www-form-urlencoded', body: typing.Union[request_body.application_x_www_form_urlencoded.ApplicationXWwwFormUrlencoded, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -219,7 +219,7 @@ def endpoint_parameters( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._endpoint_parameters_oapg( + return self._endpoint_parameters( body=body, content_type=content_type, stream=stream, @@ -287,7 +287,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._endpoint_parameters_oapg( + return self._endpoint_parameters( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/post/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/post/__init__.pyi index b9a36b7bbca..1a487bf25b3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/post/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/post/__init__.pyi @@ -33,7 +33,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _endpoint_parameters_oapg( + def _endpoint_parameters( self, content_type: typing_extensions.Literal["application/x-www-form-urlencoded"] = ..., body: typing.Union[request_body.application_x_www_form_urlencoded.ApplicationXWwwFormUrlencoded, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _endpoint_parameters_oapg( + def _endpoint_parameters( self, content_type: str = ..., body: typing.Union[request_body.application_x_www_form_urlencoded.ApplicationXWwwFormUrlencoded, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -58,7 +58,7 @@ class BaseApi(api_client.Api): @typing.overload - def _endpoint_parameters_oapg( + def _endpoint_parameters( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., @@ -68,7 +68,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _endpoint_parameters_oapg( + def _endpoint_parameters( self, content_type: str = ..., body: typing.Union[request_body.application_x_www_form_urlencoded.ApplicationXWwwFormUrlencoded, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -80,7 +80,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _endpoint_parameters_oapg( + def _endpoint_parameters( self, content_type: str = 'application/x-www-form-urlencoded', body: typing.Union[request_body.application_x_www_form_urlencoded.ApplicationXWwwFormUrlencoded, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -201,7 +201,7 @@ class EndpointParameters(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._endpoint_parameters_oapg( + return self._endpoint_parameters( body=body, content_type=content_type, stream=stream, @@ -269,7 +269,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._endpoint_parameters_oapg( + return self._endpoint_parameters( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/__init__.py index 640e6b4b909..39d46d94c8d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/__init__.py @@ -47,7 +47,7 @@ class BaseApi(api_client.Api): @typing.overload - def _additional_properties_with_array_of_enums_oapg( + def _additional_properties_with_array_of_enums( self, content_type: typing_extensions.Literal["application/json"] = ..., body: typing.Union[request_body.additional_properties_with_array_of_enums.AdditionalPropertiesWithArrayOfEnums, schemas.Unset] = schemas.unset, @@ -60,7 +60,7 @@ def _additional_properties_with_array_of_enums_oapg( ]: ... @typing.overload - def _additional_properties_with_array_of_enums_oapg( + def _additional_properties_with_array_of_enums( self, content_type: str = ..., body: typing.Union[request_body.additional_properties_with_array_of_enums.AdditionalPropertiesWithArrayOfEnums, schemas.Unset] = schemas.unset, @@ -74,7 +74,7 @@ def _additional_properties_with_array_of_enums_oapg( @typing.overload - def _additional_properties_with_array_of_enums_oapg( + def _additional_properties_with_array_of_enums( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., @@ -85,7 +85,7 @@ def _additional_properties_with_array_of_enums_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _additional_properties_with_array_of_enums_oapg( + def _additional_properties_with_array_of_enums( self, content_type: str = ..., body: typing.Union[request_body.additional_properties_with_array_of_enums.AdditionalPropertiesWithArrayOfEnums, schemas.Unset] = schemas.unset, @@ -98,7 +98,7 @@ def _additional_properties_with_array_of_enums_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _additional_properties_with_array_of_enums_oapg( + def _additional_properties_with_array_of_enums( self, content_type: str = 'application/json', body: typing.Union[request_body.additional_properties_with_array_of_enums.AdditionalPropertiesWithArrayOfEnums, schemas.Unset] = schemas.unset, @@ -226,7 +226,7 @@ def additional_properties_with_array_of_enums( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._additional_properties_with_array_of_enums_oapg( + return self._additional_properties_with_array_of_enums( body=body, content_type=content_type, accept_content_types=accept_content_types, @@ -300,7 +300,7 @@ def get( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._additional_properties_with_array_of_enums_oapg( + return self._additional_properties_with_array_of_enums( body=body, content_type=content_type, accept_content_types=accept_content_types, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/__init__.pyi index 6cb24350a4c..277c05abeaf 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/__init__.pyi @@ -35,7 +35,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _additional_properties_with_array_of_enums_oapg( + def _additional_properties_with_array_of_enums( self, content_type: typing_extensions.Literal["application/json"] = ..., body: typing.Union[request_body.additional_properties_with_array_of_enums.AdditionalPropertiesWithArrayOfEnums, schemas.Unset] = schemas.unset, @@ -48,7 +48,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _additional_properties_with_array_of_enums_oapg( + def _additional_properties_with_array_of_enums( self, content_type: str = ..., body: typing.Union[request_body.additional_properties_with_array_of_enums.AdditionalPropertiesWithArrayOfEnums, schemas.Unset] = schemas.unset, @@ -62,7 +62,7 @@ class BaseApi(api_client.Api): @typing.overload - def _additional_properties_with_array_of_enums_oapg( + def _additional_properties_with_array_of_enums( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., @@ -73,7 +73,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _additional_properties_with_array_of_enums_oapg( + def _additional_properties_with_array_of_enums( self, content_type: str = ..., body: typing.Union[request_body.additional_properties_with_array_of_enums.AdditionalPropertiesWithArrayOfEnums, schemas.Unset] = schemas.unset, @@ -86,7 +86,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _additional_properties_with_array_of_enums_oapg( + def _additional_properties_with_array_of_enums( self, content_type: str = 'application/json', body: typing.Union[request_body.additional_properties_with_array_of_enums.AdditionalPropertiesWithArrayOfEnums, schemas.Unset] = schemas.unset, @@ -214,7 +214,7 @@ class AdditionalPropertiesWithArrayOfEnums(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._additional_properties_with_array_of_enums_oapg( + return self._additional_properties_with_array_of_enums( body=body, content_type=content_type, accept_content_types=accept_content_types, @@ -288,7 +288,7 @@ class ApiForget(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._additional_properties_with_array_of_enums_oapg( + return self._additional_properties_with_array_of_enums( body=body, content_type=content_type, accept_content_types=accept_content_types, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_body_with_file_schema/put/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_body_with_file_schema/put/__init__.py index defa6e09403..299ccf87417 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_body_with_file_schema/put/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_body_with_file_schema/put/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _body_with_file_schema_oapg( + def _body_with_file_schema( self, body: typing.Union[request_body.file_schema_test_class.FileSchemaTestClass,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _body_with_file_schema_oapg( ]: ... @typing.overload - def _body_with_file_schema_oapg( + def _body_with_file_schema( self, body: typing.Union[request_body.file_schema_test_class.FileSchemaTestClass,], content_type: str = ..., @@ -69,7 +69,7 @@ def _body_with_file_schema_oapg( @typing.overload - def _body_with_file_schema_oapg( + def _body_with_file_schema( self, body: typing.Union[request_body.file_schema_test_class.FileSchemaTestClass,], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _body_with_file_schema_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _body_with_file_schema_oapg( + def _body_with_file_schema( self, body: typing.Union[request_body.file_schema_test_class.FileSchemaTestClass,], content_type: str = ..., @@ -91,7 +91,7 @@ def _body_with_file_schema_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _body_with_file_schema_oapg( + def _body_with_file_schema( self, body: typing.Union[request_body.file_schema_test_class.FileSchemaTestClass,], content_type: str = 'application/json', @@ -211,7 +211,7 @@ def body_with_file_schema( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._body_with_file_schema_oapg( + return self._body_with_file_schema( body=body, content_type=content_type, stream=stream, @@ -279,7 +279,7 @@ def put( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._body_with_file_schema_oapg( + return self._body_with_file_schema( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_body_with_file_schema/put/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_body_with_file_schema/put/__init__.pyi index b6cbddc3b1e..2c8de62e332 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_body_with_file_schema/put/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_body_with_file_schema/put/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _body_with_file_schema_oapg( + def _body_with_file_schema( self, body: typing.Union[request_body.file_schema_test_class.FileSchemaTestClass,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _body_with_file_schema_oapg( + def _body_with_file_schema( self, body: typing.Union[request_body.file_schema_test_class.FileSchemaTestClass,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _body_with_file_schema_oapg( + def _body_with_file_schema( self, body: typing.Union[request_body.file_schema_test_class.FileSchemaTestClass,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _body_with_file_schema_oapg( + def _body_with_file_schema( self, body: typing.Union[request_body.file_schema_test_class.FileSchemaTestClass,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _body_with_file_schema_oapg( + def _body_with_file_schema( self, body: typing.Union[request_body.file_schema_test_class.FileSchemaTestClass,], content_type: str = 'application/json', @@ -199,7 +199,7 @@ class BodyWithFileSchema(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._body_with_file_schema_oapg( + return self._body_with_file_schema( body=body, content_type=content_type, stream=stream, @@ -267,7 +267,7 @@ class ApiForput(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._body_with_file_schema_oapg( + return self._body_with_file_schema( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_body_with_query_params/put/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_body_with_query_params/put/__init__.py index 75e01c2a8b0..8b4e3ef5af6 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_body_with_query_params/put/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_body_with_query_params/put/__init__.py @@ -68,7 +68,7 @@ class Params(RequiredParams, OptionalParams): class BaseApi(api_client.Api): @typing.overload - def _body_with_query_params_oapg( + def _body_with_query_params( self, body: typing.Union[request_body.user.User,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -81,7 +81,7 @@ def _body_with_query_params_oapg( ]: ... @typing.overload - def _body_with_query_params_oapg( + def _body_with_query_params( self, body: typing.Union[request_body.user.User,], content_type: str = ..., @@ -95,7 +95,7 @@ def _body_with_query_params_oapg( @typing.overload - def _body_with_query_params_oapg( + def _body_with_query_params( self, body: typing.Union[request_body.user.User,], skip_deserialization: typing_extensions.Literal[True], @@ -106,7 +106,7 @@ def _body_with_query_params_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _body_with_query_params_oapg( + def _body_with_query_params( self, body: typing.Union[request_body.user.User,], content_type: str = ..., @@ -119,7 +119,7 @@ def _body_with_query_params_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _body_with_query_params_oapg( + def _body_with_query_params( self, body: typing.Union[request_body.user.User,], content_type: str = 'application/json', @@ -257,7 +257,7 @@ def body_with_query_params( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._body_with_query_params_oapg( + return self._body_with_query_params( body=body, query_params=query_params, content_type=content_type, @@ -331,7 +331,7 @@ def put( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._body_with_query_params_oapg( + return self._body_with_query_params( body=body, query_params=query_params, content_type=content_type, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_body_with_query_params/put/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_body_with_query_params/put/__init__.pyi index f7e506620fc..3edf4ab7e08 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_body_with_query_params/put/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_body_with_query_params/put/__init__.pyi @@ -56,7 +56,7 @@ class RequestQueryParameters: class BaseApi(api_client.Api): @typing.overload - def _body_with_query_params_oapg( + def _body_with_query_params( self, body: typing.Union[request_body.user.User,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -69,7 +69,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _body_with_query_params_oapg( + def _body_with_query_params( self, body: typing.Union[request_body.user.User,], content_type: str = ..., @@ -83,7 +83,7 @@ class BaseApi(api_client.Api): @typing.overload - def _body_with_query_params_oapg( + def _body_with_query_params( self, body: typing.Union[request_body.user.User,], skip_deserialization: typing_extensions.Literal[True], @@ -94,7 +94,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _body_with_query_params_oapg( + def _body_with_query_params( self, body: typing.Union[request_body.user.User,], content_type: str = ..., @@ -107,7 +107,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _body_with_query_params_oapg( + def _body_with_query_params( self, body: typing.Union[request_body.user.User,], content_type: str = 'application/json', @@ -245,7 +245,7 @@ class BodyWithQueryParams(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._body_with_query_params_oapg( + return self._body_with_query_params( body=body, query_params=query_params, content_type=content_type, @@ -319,7 +319,7 @@ class ApiForput(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._body_with_query_params_oapg( + return self._body_with_query_params( body=body, query_params=query_params, content_type=content_type, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_case_sensitive_params/put/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_case_sensitive_params/put/__init__.py index 12038a9d7a5..50cff75215f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_case_sensitive_params/put/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_case_sensitive_params/put/__init__.py @@ -72,7 +72,7 @@ class Params(RequiredParams, OptionalParams): class BaseApi(api_client.Api): @typing.overload - def _case_sensitive_params_oapg( + def _case_sensitive_params( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), stream: bool = False, @@ -83,7 +83,7 @@ def _case_sensitive_params_oapg( ]: ... @typing.overload - def _case_sensitive_params_oapg( + def _case_sensitive_params( self, skip_deserialization: typing_extensions.Literal[True], query_params: RequestQueryParameters.Params = frozendict.frozendict(), @@ -92,7 +92,7 @@ def _case_sensitive_params_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _case_sensitive_params_oapg( + def _case_sensitive_params( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), stream: bool = False, @@ -103,7 +103,7 @@ def _case_sensitive_params_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _case_sensitive_params_oapg( + def _case_sensitive_params( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), stream: bool = False, @@ -201,7 +201,7 @@ def case_sensitive_params( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._case_sensitive_params_oapg( + return self._case_sensitive_params( query_params=query_params, stream=stream, timeout=timeout, @@ -251,7 +251,7 @@ def put( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._case_sensitive_params_oapg( + return self._case_sensitive_params( query_params=query_params, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_case_sensitive_params/put/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_case_sensitive_params/put/__init__.pyi index 0e95ca5e499..ad12ce2ea55 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_case_sensitive_params/put/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_case_sensitive_params/put/__init__.pyi @@ -60,7 +60,7 @@ class RequestQueryParameters: class BaseApi(api_client.Api): @typing.overload - def _case_sensitive_params_oapg( + def _case_sensitive_params( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), stream: bool = False, @@ -71,7 +71,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _case_sensitive_params_oapg( + def _case_sensitive_params( self, skip_deserialization: typing_extensions.Literal[True], query_params: RequestQueryParameters.Params = frozendict.frozendict(), @@ -80,7 +80,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _case_sensitive_params_oapg( + def _case_sensitive_params( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), stream: bool = False, @@ -91,7 +91,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _case_sensitive_params_oapg( + def _case_sensitive_params( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), stream: bool = False, @@ -189,7 +189,7 @@ class CaseSensitiveParams(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._case_sensitive_params_oapg( + return self._case_sensitive_params( query_params=query_params, stream=stream, timeout=timeout, @@ -239,7 +239,7 @@ class ApiForput(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._case_sensitive_params_oapg( + return self._case_sensitive_params( query_params=query_params, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_classname_test/patch/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_classname_test/patch/__init__.py index 87fef812a5b..7269deef16a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_classname_test/patch/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_classname_test/patch/__init__.py @@ -51,7 +51,7 @@ class BaseApi(api_client.Api): @typing.overload - def _classname_oapg( + def _classname( self, body: typing.Union[request_body.client.Client,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -64,7 +64,7 @@ def _classname_oapg( ]: ... @typing.overload - def _classname_oapg( + def _classname( self, body: typing.Union[request_body.client.Client,], content_type: str = ..., @@ -78,7 +78,7 @@ def _classname_oapg( @typing.overload - def _classname_oapg( + def _classname( self, body: typing.Union[request_body.client.Client,], skip_deserialization: typing_extensions.Literal[True], @@ -89,7 +89,7 @@ def _classname_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _classname_oapg( + def _classname( self, body: typing.Union[request_body.client.Client,], content_type: str = ..., @@ -102,7 +102,7 @@ def _classname_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _classname_oapg( + def _classname( self, body: typing.Union[request_body.client.Client,], content_type: str = 'application/json', @@ -233,7 +233,7 @@ def classname( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._classname_oapg( + return self._classname( body=body, content_type=content_type, accept_content_types=accept_content_types, @@ -307,7 +307,7 @@ def patch( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._classname_oapg( + return self._classname( body=body, content_type=content_type, accept_content_types=accept_content_types, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_classname_test/patch/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_classname_test/patch/__init__.pyi index ce7fbef147c..305b37da487 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_classname_test/patch/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_classname_test/patch/__init__.pyi @@ -35,7 +35,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _classname_oapg( + def _classname( self, body: typing.Union[request_body.client.Client,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -48,7 +48,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _classname_oapg( + def _classname( self, body: typing.Union[request_body.client.Client,], content_type: str = ..., @@ -62,7 +62,7 @@ class BaseApi(api_client.Api): @typing.overload - def _classname_oapg( + def _classname( self, body: typing.Union[request_body.client.Client,], skip_deserialization: typing_extensions.Literal[True], @@ -73,7 +73,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _classname_oapg( + def _classname( self, body: typing.Union[request_body.client.Client,], content_type: str = ..., @@ -86,7 +86,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _classname_oapg( + def _classname( self, body: typing.Union[request_body.client.Client,], content_type: str = 'application/json', @@ -217,7 +217,7 @@ class Classname(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._classname_oapg( + return self._classname( body=body, content_type=content_type, accept_content_types=accept_content_types, @@ -291,7 +291,7 @@ class ApiForpatch(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._classname_oapg( + return self._classname( body=body, content_type=content_type, accept_content_types=accept_content_types, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_delete_coffee_id/delete/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_delete_coffee_id/delete/__init__.py index 92c8fe7db1a..6530c32a92d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_delete_coffee_id/delete/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_delete_coffee_id/delete/__init__.py @@ -68,7 +68,7 @@ class Params(RequiredParams, OptionalParams): class BaseApi(api_client.Api): @typing.overload - def _delete_coffee_oapg( + def _delete_coffee( self, path_params: RequestPathParameters.Params = frozendict.frozendict(), stream: bool = False, @@ -80,7 +80,7 @@ def _delete_coffee_oapg( ]: ... @typing.overload - def _delete_coffee_oapg( + def _delete_coffee( self, skip_deserialization: typing_extensions.Literal[True], path_params: RequestPathParameters.Params = frozendict.frozendict(), @@ -89,7 +89,7 @@ def _delete_coffee_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _delete_coffee_oapg( + def _delete_coffee( self, path_params: RequestPathParameters.Params = frozendict.frozendict(), stream: bool = False, @@ -101,7 +101,7 @@ def _delete_coffee_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _delete_coffee_oapg( + def _delete_coffee( self, path_params: RequestPathParameters.Params = frozendict.frozendict(), stream: bool = False, @@ -202,7 +202,7 @@ def delete_coffee( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._delete_coffee_oapg( + return self._delete_coffee( path_params=path_params, stream=stream, timeout=timeout, @@ -254,7 +254,7 @@ def delete( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._delete_coffee_oapg( + return self._delete_coffee( path_params=path_params, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_delete_coffee_id/delete/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_delete_coffee_id/delete/__init__.pyi index 16dfa031dd6..e66da507cd3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_delete_coffee_id/delete/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_delete_coffee_id/delete/__init__.pyi @@ -55,7 +55,7 @@ class RequestPathParameters: class BaseApi(api_client.Api): @typing.overload - def _delete_coffee_oapg( + def _delete_coffee( self, path_params: RequestPathParameters.Params = frozendict.frozendict(), stream: bool = False, @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _delete_coffee_oapg( + def _delete_coffee( self, skip_deserialization: typing_extensions.Literal[True], path_params: RequestPathParameters.Params = frozendict.frozendict(), @@ -76,7 +76,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _delete_coffee_oapg( + def _delete_coffee( self, path_params: RequestPathParameters.Params = frozendict.frozendict(), stream: bool = False, @@ -88,7 +88,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _delete_coffee_oapg( + def _delete_coffee( self, path_params: RequestPathParameters.Params = frozendict.frozendict(), stream: bool = False, @@ -189,7 +189,7 @@ class DeleteCoffee(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._delete_coffee_oapg( + return self._delete_coffee( path_params=path_params, stream=stream, timeout=timeout, @@ -241,7 +241,7 @@ class ApiFordelete(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._delete_coffee_oapg( + return self._delete_coffee( path_params=path_params, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_health/get/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_health/get/__init__.py index 2ffa7ef48eb..873f0ff9fad 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_health/get/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_health/get/__init__.py @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): @typing.overload - def _fake_health_get_oapg( + def _fake_health_get( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -57,7 +57,7 @@ def _fake_health_get_oapg( ]: ... @typing.overload - def _fake_health_get_oapg( + def _fake_health_get( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -66,7 +66,7 @@ def _fake_health_get_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _fake_health_get_oapg( + def _fake_health_get( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -77,7 +77,7 @@ def _fake_health_get_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _fake_health_get_oapg( + def _fake_health_get( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -170,7 +170,7 @@ def fake_health_get( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._fake_health_get_oapg( + return self._fake_health_get( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -220,7 +220,7 @@ def get( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._fake_health_get_oapg( + return self._fake_health_get( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_health/get/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_health/get/__init__.pyi index 7863e4634d9..0d8cf17838c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_health/get/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_health/get/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _fake_health_get_oapg( + def _fake_health_get( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _fake_health_get_oapg( + def _fake_health_get( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _fake_health_get_oapg( + def _fake_health_get( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _fake_health_get_oapg( + def _fake_health_get( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -158,7 +158,7 @@ class FakeHealthGet(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._fake_health_get_oapg( + return self._fake_health_get( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -208,7 +208,7 @@ class ApiForget(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._fake_health_get_oapg( + return self._fake_health_get( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_additional_properties/post/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_additional_properties/post/__init__.py index ada8a80bd31..870bebd402c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_additional_properties/post/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_additional_properties/post/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _inline_additional_properties_oapg( + def _inline_additional_properties( self, body: typing.Union[request_body.application_json.ApplicationJson,dict, frozendict.frozendict, ], content_type: typing_extensions.Literal["application/json"] = ..., @@ -56,7 +56,7 @@ def _inline_additional_properties_oapg( ]: ... @typing.overload - def _inline_additional_properties_oapg( + def _inline_additional_properties( self, body: typing.Union[request_body.application_json.ApplicationJson,dict, frozendict.frozendict, ], content_type: str = ..., @@ -69,7 +69,7 @@ def _inline_additional_properties_oapg( @typing.overload - def _inline_additional_properties_oapg( + def _inline_additional_properties( self, body: typing.Union[request_body.application_json.ApplicationJson,dict, frozendict.frozendict, ], skip_deserialization: typing_extensions.Literal[True], @@ -79,7 +79,7 @@ def _inline_additional_properties_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _inline_additional_properties_oapg( + def _inline_additional_properties( self, body: typing.Union[request_body.application_json.ApplicationJson,dict, frozendict.frozendict, ], content_type: str = ..., @@ -91,7 +91,7 @@ def _inline_additional_properties_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _inline_additional_properties_oapg( + def _inline_additional_properties( self, body: typing.Union[request_body.application_json.ApplicationJson,dict, frozendict.frozendict, ], content_type: str = 'application/json', @@ -212,7 +212,7 @@ def inline_additional_properties( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._inline_additional_properties_oapg( + return self._inline_additional_properties( body=body, content_type=content_type, stream=stream, @@ -280,7 +280,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._inline_additional_properties_oapg( + return self._inline_additional_properties( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_additional_properties/post/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_additional_properties/post/__init__.pyi index cacf32ce7aa..6c9a94a679d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_additional_properties/post/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_additional_properties/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _inline_additional_properties_oapg( + def _inline_additional_properties( self, body: typing.Union[request_body.application_json.ApplicationJson,dict, frozendict.frozendict, ], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _inline_additional_properties_oapg( + def _inline_additional_properties( self, body: typing.Union[request_body.application_json.ApplicationJson,dict, frozendict.frozendict, ], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _inline_additional_properties_oapg( + def _inline_additional_properties( self, body: typing.Union[request_body.application_json.ApplicationJson,dict, frozendict.frozendict, ], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _inline_additional_properties_oapg( + def _inline_additional_properties( self, body: typing.Union[request_body.application_json.ApplicationJson,dict, frozendict.frozendict, ], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _inline_additional_properties_oapg( + def _inline_additional_properties( self, body: typing.Union[request_body.application_json.ApplicationJson,dict, frozendict.frozendict, ], content_type: str = 'application/json', @@ -200,7 +200,7 @@ class InlineAdditionalProperties(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._inline_additional_properties_oapg( + return self._inline_additional_properties( body=body, content_type=content_type, stream=stream, @@ -268,7 +268,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._inline_additional_properties_oapg( + return self._inline_additional_properties( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/__init__.py index 8cb3c4ebb3a..94ca70efbcb 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/__init__.py @@ -75,7 +75,7 @@ class Params(RequiredParams, OptionalParams): class BaseApi(api_client.Api): @typing.overload - def _inline_composition_oapg( + def _inline_composition( self, content_type: typing_extensions.Literal["application/json"] = ..., body: typing.Union[request_body.application_json.ApplicationJson, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, @@ -89,7 +89,7 @@ def _inline_composition_oapg( ]: ... @typing.overload - def _inline_composition_oapg( + def _inline_composition( self, content_type: typing_extensions.Literal["multipart/form-data"], body: typing.Union[request_body.multipart_form_data.MultipartFormData, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -103,7 +103,7 @@ def _inline_composition_oapg( ]: ... @typing.overload - def _inline_composition_oapg( + def _inline_composition( self, content_type: str = ..., body: typing.Union[request_body.application_json.ApplicationJson, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, request_body.multipart_form_data.MultipartFormData, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -118,7 +118,7 @@ def _inline_composition_oapg( @typing.overload - def _inline_composition_oapg( + def _inline_composition( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., @@ -130,7 +130,7 @@ def _inline_composition_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _inline_composition_oapg( + def _inline_composition( self, content_type: str = ..., body: typing.Union[request_body.application_json.ApplicationJson, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, request_body.multipart_form_data.MultipartFormData, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -144,7 +144,7 @@ def _inline_composition_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _inline_composition_oapg( + def _inline_composition( self, content_type: str = 'application/json', body: typing.Union[request_body.application_json.ApplicationJson, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, request_body.multipart_form_data.MultipartFormData, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -304,7 +304,7 @@ def inline_composition( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._inline_composition_oapg( + return self._inline_composition( body=body, query_params=query_params, content_type=content_type, @@ -398,7 +398,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._inline_composition_oapg( + return self._inline_composition( body=body, query_params=query_params, content_type=content_type, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/__init__.pyi index d81b13a17e9..e6cc3388a17 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/__init__.pyi @@ -63,7 +63,7 @@ class RequestQueryParameters: class BaseApi(api_client.Api): @typing.overload - def _inline_composition_oapg( + def _inline_composition( self, content_type: typing_extensions.Literal["application/json"] = ..., body: typing.Union[request_body.application_json.ApplicationJson, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, @@ -77,7 +77,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _inline_composition_oapg( + def _inline_composition( self, content_type: typing_extensions.Literal["multipart/form-data"], body: typing.Union[request_body.multipart_form_data.MultipartFormData, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -91,7 +91,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _inline_composition_oapg( + def _inline_composition( self, content_type: str = ..., body: typing.Union[request_body.application_json.ApplicationJson, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, request_body.multipart_form_data.MultipartFormData, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -106,7 +106,7 @@ class BaseApi(api_client.Api): @typing.overload - def _inline_composition_oapg( + def _inline_composition( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., @@ -118,7 +118,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _inline_composition_oapg( + def _inline_composition( self, content_type: str = ..., body: typing.Union[request_body.application_json.ApplicationJson, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, request_body.multipart_form_data.MultipartFormData, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -132,7 +132,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _inline_composition_oapg( + def _inline_composition( self, content_type: str = 'application/json', body: typing.Union[request_body.application_json.ApplicationJson, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, request_body.multipart_form_data.MultipartFormData, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -292,7 +292,7 @@ class InlineComposition(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._inline_composition_oapg( + return self._inline_composition( body=body, query_params=query_params, content_type=content_type, @@ -386,7 +386,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._inline_composition_oapg( + return self._inline_composition( body=body, query_params=query_params, content_type=content_type, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_form_data/get/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_form_data/get/__init__.py index fdb15328a06..96c030cc467 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_form_data/get/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_form_data/get/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _json_form_data_oapg( + def _json_form_data( self, content_type: typing_extensions.Literal["application/x-www-form-urlencoded"] = ..., body: typing.Union[request_body.application_x_www_form_urlencoded.ApplicationXWwwFormUrlencoded, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -56,7 +56,7 @@ def _json_form_data_oapg( ]: ... @typing.overload - def _json_form_data_oapg( + def _json_form_data( self, content_type: str = ..., body: typing.Union[request_body.application_x_www_form_urlencoded.ApplicationXWwwFormUrlencoded, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -69,7 +69,7 @@ def _json_form_data_oapg( @typing.overload - def _json_form_data_oapg( + def _json_form_data( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., @@ -79,7 +79,7 @@ def _json_form_data_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _json_form_data_oapg( + def _json_form_data( self, content_type: str = ..., body: typing.Union[request_body.application_x_www_form_urlencoded.ApplicationXWwwFormUrlencoded, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -91,7 +91,7 @@ def _json_form_data_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _json_form_data_oapg( + def _json_form_data( self, content_type: str = 'application/x-www-form-urlencoded', body: typing.Union[request_body.application_x_www_form_urlencoded.ApplicationXWwwFormUrlencoded, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -210,7 +210,7 @@ def json_form_data( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._json_form_data_oapg( + return self._json_form_data( body=body, content_type=content_type, stream=stream, @@ -278,7 +278,7 @@ def get( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._json_form_data_oapg( + return self._json_form_data( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_form_data/get/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_form_data/get/__init__.pyi index 511d9c82009..9653ebc0dd0 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_form_data/get/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_form_data/get/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _json_form_data_oapg( + def _json_form_data( self, content_type: typing_extensions.Literal["application/x-www-form-urlencoded"] = ..., body: typing.Union[request_body.application_x_www_form_urlencoded.ApplicationXWwwFormUrlencoded, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _json_form_data_oapg( + def _json_form_data( self, content_type: str = ..., body: typing.Union[request_body.application_x_www_form_urlencoded.ApplicationXWwwFormUrlencoded, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _json_form_data_oapg( + def _json_form_data( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _json_form_data_oapg( + def _json_form_data( self, content_type: str = ..., body: typing.Union[request_body.application_x_www_form_urlencoded.ApplicationXWwwFormUrlencoded, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _json_form_data_oapg( + def _json_form_data( self, content_type: str = 'application/x-www-form-urlencoded', body: typing.Union[request_body.application_x_www_form_urlencoded.ApplicationXWwwFormUrlencoded, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -198,7 +198,7 @@ class JsonFormData(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._json_form_data_oapg( + return self._json_form_data( body=body, content_type=content_type, stream=stream, @@ -266,7 +266,7 @@ class ApiForget(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._json_form_data_oapg( + return self._json_form_data( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_patch/patch/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_patch/patch/__init__.py index 086b8229e22..f072ed12fcd 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_patch/patch/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_patch/patch/__init__.py @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): @typing.overload - def _json_patch_oapg( + def _json_patch( self, content_type: typing_extensions.Literal["application/json-patch+json"] = ..., body: typing.Union[request_body.json_patch_request.JSONPatchRequest, schemas.Unset] = schemas.unset, @@ -56,7 +56,7 @@ def _json_patch_oapg( ]: ... @typing.overload - def _json_patch_oapg( + def _json_patch( self, content_type: str = ..., body: typing.Union[request_body.json_patch_request.JSONPatchRequest, schemas.Unset] = schemas.unset, @@ -69,7 +69,7 @@ def _json_patch_oapg( @typing.overload - def _json_patch_oapg( + def _json_patch( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., @@ -79,7 +79,7 @@ def _json_patch_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _json_patch_oapg( + def _json_patch( self, content_type: str = ..., body: typing.Union[request_body.json_patch_request.JSONPatchRequest, schemas.Unset] = schemas.unset, @@ -91,7 +91,7 @@ def _json_patch_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _json_patch_oapg( + def _json_patch( self, content_type: str = 'application/json-patch+json', body: typing.Union[request_body.json_patch_request.JSONPatchRequest, schemas.Unset] = schemas.unset, @@ -210,7 +210,7 @@ def json_patch( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._json_patch_oapg( + return self._json_patch( body=body, content_type=content_type, stream=stream, @@ -278,7 +278,7 @@ def patch( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._json_patch_oapg( + return self._json_patch( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_patch/patch/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_patch/patch/__init__.pyi index 91283fd26f8..f8968372fb4 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_patch/patch/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_patch/patch/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _json_patch_oapg( + def _json_patch( self, content_type: typing_extensions.Literal["application/json-patch+json"] = ..., body: typing.Union[request_body.json_patch_request.JSONPatchRequest, schemas.Unset] = schemas.unset, @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _json_patch_oapg( + def _json_patch( self, content_type: str = ..., body: typing.Union[request_body.json_patch_request.JSONPatchRequest, schemas.Unset] = schemas.unset, @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _json_patch_oapg( + def _json_patch( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _json_patch_oapg( + def _json_patch( self, content_type: str = ..., body: typing.Union[request_body.json_patch_request.JSONPatchRequest, schemas.Unset] = schemas.unset, @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _json_patch_oapg( + def _json_patch( self, content_type: str = 'application/json-patch+json', body: typing.Union[request_body.json_patch_request.JSONPatchRequest, schemas.Unset] = schemas.unset, @@ -198,7 +198,7 @@ class JsonPatch(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._json_patch_oapg( + return self._json_patch( body=body, content_type=content_type, stream=stream, @@ -266,7 +266,7 @@ class ApiForpatch(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._json_patch_oapg( + return self._json_patch( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_with_charset/post/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_with_charset/post/__init__.py index 2b0f81ad387..db3f5b685ac 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_with_charset/post/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_with_charset/post/__init__.py @@ -47,7 +47,7 @@ class BaseApi(api_client.Api): @typing.overload - def _json_with_charset_oapg( + def _json_with_charset( self, content_type: typing_extensions.Literal["application/json; charset=utf-8"] = ..., body: typing.Union[request_body.application_json_charsetutf8.ApplicationJsonCharsetutf8, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, @@ -60,7 +60,7 @@ def _json_with_charset_oapg( ]: ... @typing.overload - def _json_with_charset_oapg( + def _json_with_charset( self, content_type: str = ..., body: typing.Union[request_body.application_json_charsetutf8.ApplicationJsonCharsetutf8, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, @@ -74,7 +74,7 @@ def _json_with_charset_oapg( @typing.overload - def _json_with_charset_oapg( + def _json_with_charset( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., @@ -85,7 +85,7 @@ def _json_with_charset_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _json_with_charset_oapg( + def _json_with_charset( self, content_type: str = ..., body: typing.Union[request_body.application_json_charsetutf8.ApplicationJsonCharsetutf8, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, @@ -98,7 +98,7 @@ def _json_with_charset_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _json_with_charset_oapg( + def _json_with_charset( self, content_type: str = 'application/json; charset=utf-8', body: typing.Union[request_body.application_json_charsetutf8.ApplicationJsonCharsetutf8, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, @@ -226,7 +226,7 @@ def json_with_charset( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._json_with_charset_oapg( + return self._json_with_charset( body=body, content_type=content_type, accept_content_types=accept_content_types, @@ -300,7 +300,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._json_with_charset_oapg( + return self._json_with_charset( body=body, content_type=content_type, accept_content_types=accept_content_types, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_with_charset/post/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_with_charset/post/__init__.pyi index 756279dc75c..0bd9a62090d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_with_charset/post/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_with_charset/post/__init__.pyi @@ -35,7 +35,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _json_with_charset_oapg( + def _json_with_charset( self, content_type: typing_extensions.Literal["application/json; charset=utf-8"] = ..., body: typing.Union[request_body.application_json_charsetutf8.ApplicationJsonCharsetutf8, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, @@ -48,7 +48,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _json_with_charset_oapg( + def _json_with_charset( self, content_type: str = ..., body: typing.Union[request_body.application_json_charsetutf8.ApplicationJsonCharsetutf8, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, @@ -62,7 +62,7 @@ class BaseApi(api_client.Api): @typing.overload - def _json_with_charset_oapg( + def _json_with_charset( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., @@ -73,7 +73,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _json_with_charset_oapg( + def _json_with_charset( self, content_type: str = ..., body: typing.Union[request_body.application_json_charsetutf8.ApplicationJsonCharsetutf8, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, @@ -86,7 +86,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _json_with_charset_oapg( + def _json_with_charset( self, content_type: str = 'application/json; charset=utf-8', body: typing.Union[request_body.application_json_charsetutf8.ApplicationJsonCharsetutf8, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, @@ -214,7 +214,7 @@ class JsonWithCharset(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._json_with_charset_oapg( + return self._json_with_charset( body=body, content_type=content_type, accept_content_types=accept_content_types, @@ -288,7 +288,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._json_with_charset_oapg( + return self._json_with_charset( body=body, content_type=content_type, accept_content_types=accept_content_types, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_obj_in_query/get/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_obj_in_query/get/__init__.py index db45e49dff4..0d5a8827d3e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_obj_in_query/get/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_obj_in_query/get/__init__.py @@ -66,7 +66,7 @@ class Params(RequiredParams, OptionalParams): class BaseApi(api_client.Api): @typing.overload - def _object_in_query_oapg( + def _object_in_query( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), stream: bool = False, @@ -77,7 +77,7 @@ def _object_in_query_oapg( ]: ... @typing.overload - def _object_in_query_oapg( + def _object_in_query( self, skip_deserialization: typing_extensions.Literal[True], query_params: RequestQueryParameters.Params = frozendict.frozendict(), @@ -86,7 +86,7 @@ def _object_in_query_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _object_in_query_oapg( + def _object_in_query( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), stream: bool = False, @@ -97,7 +97,7 @@ def _object_in_query_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _object_in_query_oapg( + def _object_in_query( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), stream: bool = False, @@ -196,7 +196,7 @@ def object_in_query( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._object_in_query_oapg( + return self._object_in_query( query_params=query_params, stream=stream, timeout=timeout, @@ -246,7 +246,7 @@ def get( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._object_in_query_oapg( + return self._object_in_query( query_params=query_params, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_obj_in_query/get/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_obj_in_query/get/__init__.pyi index 5fa9fbd8773..f48be24106b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_obj_in_query/get/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_obj_in_query/get/__init__.pyi @@ -54,7 +54,7 @@ class RequestQueryParameters: class BaseApi(api_client.Api): @typing.overload - def _object_in_query_oapg( + def _object_in_query( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _object_in_query_oapg( + def _object_in_query( self, skip_deserialization: typing_extensions.Literal[True], query_params: RequestQueryParameters.Params = frozendict.frozendict(), @@ -74,7 +74,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _object_in_query_oapg( + def _object_in_query( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), stream: bool = False, @@ -85,7 +85,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _object_in_query_oapg( + def _object_in_query( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), stream: bool = False, @@ -184,7 +184,7 @@ class ObjectInQuery(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._object_in_query_oapg( + return self._object_in_query( query_params=query_params, stream=stream, timeout=timeout, @@ -234,7 +234,7 @@ class ApiForget(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._object_in_query_oapg( + return self._object_in_query( query_params=query_params, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_parameter_collisions1_abab_self_ab/post/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_parameter_collisions1_abab_self_ab/post/__init__.py index abf31d3709e..43c99f752a3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_parameter_collisions1_abab_self_ab/post/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_parameter_collisions1_abab_self_ab/post/__init__.py @@ -188,7 +188,7 @@ class Params(RequiredParams, OptionalParams): class BaseApi(api_client.Api): @typing.overload - def _parameter_collisions_oapg( + def _parameter_collisions( self, content_type: typing_extensions.Literal["application/json"] = ..., body: typing.Union[request_body.application_json.ApplicationJson, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, @@ -205,7 +205,7 @@ def _parameter_collisions_oapg( ]: ... @typing.overload - def _parameter_collisions_oapg( + def _parameter_collisions( self, content_type: str = ..., body: typing.Union[request_body.application_json.ApplicationJson, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, @@ -223,7 +223,7 @@ def _parameter_collisions_oapg( @typing.overload - def _parameter_collisions_oapg( + def _parameter_collisions( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., @@ -238,7 +238,7 @@ def _parameter_collisions_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _parameter_collisions_oapg( + def _parameter_collisions( self, content_type: str = ..., body: typing.Union[request_body.application_json.ApplicationJson, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, @@ -255,7 +255,7 @@ def _parameter_collisions_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _parameter_collisions_oapg( + def _parameter_collisions( self, content_type: str = 'application/json', body: typing.Union[request_body.application_json.ApplicationJson, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, @@ -439,7 +439,7 @@ def parameter_collisions( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._parameter_collisions_oapg( + return self._parameter_collisions( body=body, query_params=query_params, header_params=header_params, @@ -537,7 +537,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._parameter_collisions_oapg( + return self._parameter_collisions( body=body, query_params=query_params, header_params=header_params, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_parameter_collisions1_abab_self_ab/post/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_parameter_collisions1_abab_self_ab/post/__init__.pyi index 533fa8bfcd2..1b177619492 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_parameter_collisions1_abab_self_ab/post/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_parameter_collisions1_abab_self_ab/post/__init__.pyi @@ -176,7 +176,7 @@ class RequestCookieParameters: class BaseApi(api_client.Api): @typing.overload - def _parameter_collisions_oapg( + def _parameter_collisions( self, content_type: typing_extensions.Literal["application/json"] = ..., body: typing.Union[request_body.application_json.ApplicationJson, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, @@ -193,7 +193,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _parameter_collisions_oapg( + def _parameter_collisions( self, content_type: str = ..., body: typing.Union[request_body.application_json.ApplicationJson, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, @@ -211,7 +211,7 @@ class BaseApi(api_client.Api): @typing.overload - def _parameter_collisions_oapg( + def _parameter_collisions( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., @@ -226,7 +226,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _parameter_collisions_oapg( + def _parameter_collisions( self, content_type: str = ..., body: typing.Union[request_body.application_json.ApplicationJson, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, @@ -243,7 +243,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _parameter_collisions_oapg( + def _parameter_collisions( self, content_type: str = 'application/json', body: typing.Union[request_body.application_json.ApplicationJson, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, @@ -427,7 +427,7 @@ class ParameterCollisions(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._parameter_collisions_oapg( + return self._parameter_collisions( body=body, query_params=query_params, header_params=header_params, @@ -525,7 +525,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._parameter_collisions_oapg( + return self._parameter_collisions( body=body, query_params=query_params, header_params=header_params, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/__init__.py index a985d61fd92..79a386d0ed8 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/__init__.py @@ -75,7 +75,7 @@ class Params(RequiredParams, OptionalParams): class BaseApi(api_client.Api): @typing.overload - def _upload_file_with_required_file_oapg( + def _upload_file_with_required_file( self, content_type: typing_extensions.Literal["multipart/form-data"] = ..., body: typing.Union[request_body.multipart_form_data.MultipartFormData, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -89,7 +89,7 @@ def _upload_file_with_required_file_oapg( ]: ... @typing.overload - def _upload_file_with_required_file_oapg( + def _upload_file_with_required_file( self, content_type: str = ..., body: typing.Union[request_body.multipart_form_data.MultipartFormData, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -104,7 +104,7 @@ def _upload_file_with_required_file_oapg( @typing.overload - def _upload_file_with_required_file_oapg( + def _upload_file_with_required_file( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., @@ -116,7 +116,7 @@ def _upload_file_with_required_file_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _upload_file_with_required_file_oapg( + def _upload_file_with_required_file( self, content_type: str = ..., body: typing.Union[request_body.multipart_form_data.MultipartFormData, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -130,7 +130,7 @@ def _upload_file_with_required_file_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _upload_file_with_required_file_oapg( + def _upload_file_with_required_file( self, content_type: str = 'multipart/form-data', body: typing.Union[request_body.multipart_form_data.MultipartFormData, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -277,7 +277,7 @@ def upload_file_with_required_file( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._upload_file_with_required_file_oapg( + return self._upload_file_with_required_file( body=body, path_params=path_params, content_type=content_type, @@ -357,7 +357,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._upload_file_with_required_file_oapg( + return self._upload_file_with_required_file( body=body, path_params=path_params, content_type=content_type, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/__init__.pyi index d34f33beec9..5a1733e838d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/__init__.pyi @@ -59,7 +59,7 @@ class RequestPathParameters: class BaseApi(api_client.Api): @typing.overload - def _upload_file_with_required_file_oapg( + def _upload_file_with_required_file( self, content_type: typing_extensions.Literal["multipart/form-data"] = ..., body: typing.Union[request_body.multipart_form_data.MultipartFormData, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -73,7 +73,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _upload_file_with_required_file_oapg( + def _upload_file_with_required_file( self, content_type: str = ..., body: typing.Union[request_body.multipart_form_data.MultipartFormData, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -88,7 +88,7 @@ class BaseApi(api_client.Api): @typing.overload - def _upload_file_with_required_file_oapg( + def _upload_file_with_required_file( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., @@ -100,7 +100,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _upload_file_with_required_file_oapg( + def _upload_file_with_required_file( self, content_type: str = ..., body: typing.Union[request_body.multipart_form_data.MultipartFormData, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -114,7 +114,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _upload_file_with_required_file_oapg( + def _upload_file_with_required_file( self, content_type: str = 'multipart/form-data', body: typing.Union[request_body.multipart_form_data.MultipartFormData, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -261,7 +261,7 @@ class UploadFileWithRequiredFile(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._upload_file_with_required_file_oapg( + return self._upload_file_with_required_file( body=body, path_params=path_params, content_type=content_type, @@ -341,7 +341,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._upload_file_with_required_file_oapg( + return self._upload_file_with_required_file( body=body, path_params=path_params, content_type=content_type, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_query_param_with_json_content_type/get/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_query_param_with_json_content_type/get/__init__.py index cf625432166..dd52d70725b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_query_param_with_json_content_type/get/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_query_param_with_json_content_type/get/__init__.py @@ -70,7 +70,7 @@ class Params(RequiredParams, OptionalParams): class BaseApi(api_client.Api): @typing.overload - def _query_param_with_json_content_type_oapg( + def _query_param_with_json_content_type( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -82,7 +82,7 @@ def _query_param_with_json_content_type_oapg( ]: ... @typing.overload - def _query_param_with_json_content_type_oapg( + def _query_param_with_json_content_type( self, skip_deserialization: typing_extensions.Literal[True], query_params: RequestQueryParameters.Params = frozendict.frozendict(), @@ -92,7 +92,7 @@ def _query_param_with_json_content_type_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _query_param_with_json_content_type_oapg( + def _query_param_with_json_content_type( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -104,7 +104,7 @@ def _query_param_with_json_content_type_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _query_param_with_json_content_type_oapg( + def _query_param_with_json_content_type( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -214,7 +214,7 @@ def query_param_with_json_content_type( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._query_param_with_json_content_type_oapg( + return self._query_param_with_json_content_type( query_params=query_params, accept_content_types=accept_content_types, stream=stream, @@ -269,7 +269,7 @@ def get( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._query_param_with_json_content_type_oapg( + return self._query_param_with_json_content_type( query_params=query_params, accept_content_types=accept_content_types, stream=stream, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_query_param_with_json_content_type/get/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_query_param_with_json_content_type/get/__init__.pyi index 45ec5cbd7b7..c3d3757993e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_query_param_with_json_content_type/get/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_query_param_with_json_content_type/get/__init__.pyi @@ -58,7 +58,7 @@ class RequestQueryParameters: class BaseApi(api_client.Api): @typing.overload - def _query_param_with_json_content_type_oapg( + def _query_param_with_json_content_type( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -70,7 +70,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _query_param_with_json_content_type_oapg( + def _query_param_with_json_content_type( self, skip_deserialization: typing_extensions.Literal[True], query_params: RequestQueryParameters.Params = frozendict.frozendict(), @@ -80,7 +80,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _query_param_with_json_content_type_oapg( + def _query_param_with_json_content_type( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -92,7 +92,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _query_param_with_json_content_type_oapg( + def _query_param_with_json_content_type( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -202,7 +202,7 @@ class QueryParamWithJsonContentType(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._query_param_with_json_content_type_oapg( + return self._query_param_with_json_content_type( query_params=query_params, accept_content_types=accept_content_types, stream=stream, @@ -257,7 +257,7 @@ class ApiForget(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._query_param_with_json_content_type_oapg( + return self._query_param_with_json_content_type( query_params=query_params, accept_content_types=accept_content_types, stream=stream, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_ref_obj_in_query/get/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_ref_obj_in_query/get/__init__.py index 3b89c958361..2b040ca32f3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_ref_obj_in_query/get/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_ref_obj_in_query/get/__init__.py @@ -66,7 +66,7 @@ class Params(RequiredParams, OptionalParams): class BaseApi(api_client.Api): @typing.overload - def _ref_object_in_query_oapg( + def _ref_object_in_query( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), stream: bool = False, @@ -77,7 +77,7 @@ def _ref_object_in_query_oapg( ]: ... @typing.overload - def _ref_object_in_query_oapg( + def _ref_object_in_query( self, skip_deserialization: typing_extensions.Literal[True], query_params: RequestQueryParameters.Params = frozendict.frozendict(), @@ -86,7 +86,7 @@ def _ref_object_in_query_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _ref_object_in_query_oapg( + def _ref_object_in_query( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), stream: bool = False, @@ -97,7 +97,7 @@ def _ref_object_in_query_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _ref_object_in_query_oapg( + def _ref_object_in_query( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), stream: bool = False, @@ -196,7 +196,7 @@ def ref_object_in_query( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._ref_object_in_query_oapg( + return self._ref_object_in_query( query_params=query_params, stream=stream, timeout=timeout, @@ -246,7 +246,7 @@ def get( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._ref_object_in_query_oapg( + return self._ref_object_in_query( query_params=query_params, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_ref_obj_in_query/get/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_ref_obj_in_query/get/__init__.pyi index 183db2f3641..e00d3a71d48 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_ref_obj_in_query/get/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_ref_obj_in_query/get/__init__.pyi @@ -54,7 +54,7 @@ class RequestQueryParameters: class BaseApi(api_client.Api): @typing.overload - def _ref_object_in_query_oapg( + def _ref_object_in_query( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _ref_object_in_query_oapg( + def _ref_object_in_query( self, skip_deserialization: typing_extensions.Literal[True], query_params: RequestQueryParameters.Params = frozendict.frozendict(), @@ -74,7 +74,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _ref_object_in_query_oapg( + def _ref_object_in_query( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), stream: bool = False, @@ -85,7 +85,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _ref_object_in_query_oapg( + def _ref_object_in_query( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), stream: bool = False, @@ -184,7 +184,7 @@ class RefObjectInQuery(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._ref_object_in_query_oapg( + return self._ref_object_in_query( query_params=query_params, stream=stream, timeout=timeout, @@ -234,7 +234,7 @@ class ApiForget(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._ref_object_in_query_oapg( + return self._ref_object_in_query( query_params=query_params, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_array_of_enums/post/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_array_of_enums/post/__init__.py index cb331fd833b..bdb673fcb7b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_array_of_enums/post/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_array_of_enums/post/__init__.py @@ -47,7 +47,7 @@ class BaseApi(api_client.Api): @typing.overload - def _array_of_enums_oapg( + def _array_of_enums( self, content_type: typing_extensions.Literal["application/json"] = ..., body: typing.Union[request_body.array_of_enums.ArrayOfEnums, schemas.Unset] = schemas.unset, @@ -60,7 +60,7 @@ def _array_of_enums_oapg( ]: ... @typing.overload - def _array_of_enums_oapg( + def _array_of_enums( self, content_type: str = ..., body: typing.Union[request_body.array_of_enums.ArrayOfEnums, schemas.Unset] = schemas.unset, @@ -74,7 +74,7 @@ def _array_of_enums_oapg( @typing.overload - def _array_of_enums_oapg( + def _array_of_enums( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., @@ -85,7 +85,7 @@ def _array_of_enums_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _array_of_enums_oapg( + def _array_of_enums( self, content_type: str = ..., body: typing.Union[request_body.array_of_enums.ArrayOfEnums, schemas.Unset] = schemas.unset, @@ -98,7 +98,7 @@ def _array_of_enums_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _array_of_enums_oapg( + def _array_of_enums( self, content_type: str = 'application/json', body: typing.Union[request_body.array_of_enums.ArrayOfEnums, schemas.Unset] = schemas.unset, @@ -226,7 +226,7 @@ def array_of_enums( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._array_of_enums_oapg( + return self._array_of_enums( body=body, content_type=content_type, accept_content_types=accept_content_types, @@ -300,7 +300,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._array_of_enums_oapg( + return self._array_of_enums( body=body, content_type=content_type, accept_content_types=accept_content_types, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_array_of_enums/post/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_array_of_enums/post/__init__.pyi index 8e863e561b6..90f71bfef9f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_array_of_enums/post/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_array_of_enums/post/__init__.pyi @@ -35,7 +35,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _array_of_enums_oapg( + def _array_of_enums( self, content_type: typing_extensions.Literal["application/json"] = ..., body: typing.Union[request_body.array_of_enums.ArrayOfEnums, schemas.Unset] = schemas.unset, @@ -48,7 +48,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _array_of_enums_oapg( + def _array_of_enums( self, content_type: str = ..., body: typing.Union[request_body.array_of_enums.ArrayOfEnums, schemas.Unset] = schemas.unset, @@ -62,7 +62,7 @@ class BaseApi(api_client.Api): @typing.overload - def _array_of_enums_oapg( + def _array_of_enums( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., @@ -73,7 +73,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _array_of_enums_oapg( + def _array_of_enums( self, content_type: str = ..., body: typing.Union[request_body.array_of_enums.ArrayOfEnums, schemas.Unset] = schemas.unset, @@ -86,7 +86,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _array_of_enums_oapg( + def _array_of_enums( self, content_type: str = 'application/json', body: typing.Union[request_body.array_of_enums.ArrayOfEnums, schemas.Unset] = schemas.unset, @@ -214,7 +214,7 @@ class ArrayOfEnums(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._array_of_enums_oapg( + return self._array_of_enums( body=body, content_type=content_type, accept_content_types=accept_content_types, @@ -288,7 +288,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._array_of_enums_oapg( + return self._array_of_enums( body=body, content_type=content_type, accept_content_types=accept_content_types, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_arraymodel/post/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_arraymodel/post/__init__.py index cba7e9da71a..cfb22993b25 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_arraymodel/post/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_arraymodel/post/__init__.py @@ -47,7 +47,7 @@ class BaseApi(api_client.Api): @typing.overload - def _array_model_oapg( + def _array_model( self, content_type: typing_extensions.Literal["application/json"] = ..., body: typing.Union[request_body.animal_farm.AnimalFarm, schemas.Unset] = schemas.unset, @@ -60,7 +60,7 @@ def _array_model_oapg( ]: ... @typing.overload - def _array_model_oapg( + def _array_model( self, content_type: str = ..., body: typing.Union[request_body.animal_farm.AnimalFarm, schemas.Unset] = schemas.unset, @@ -74,7 +74,7 @@ def _array_model_oapg( @typing.overload - def _array_model_oapg( + def _array_model( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., @@ -85,7 +85,7 @@ def _array_model_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _array_model_oapg( + def _array_model( self, content_type: str = ..., body: typing.Union[request_body.animal_farm.AnimalFarm, schemas.Unset] = schemas.unset, @@ -98,7 +98,7 @@ def _array_model_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _array_model_oapg( + def _array_model( self, content_type: str = 'application/json', body: typing.Union[request_body.animal_farm.AnimalFarm, schemas.Unset] = schemas.unset, @@ -225,7 +225,7 @@ def array_model( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._array_model_oapg( + return self._array_model( body=body, content_type=content_type, accept_content_types=accept_content_types, @@ -299,7 +299,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._array_model_oapg( + return self._array_model( body=body, content_type=content_type, accept_content_types=accept_content_types, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_arraymodel/post/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_arraymodel/post/__init__.pyi index 56c97616cc9..59e37b1d9d5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_arraymodel/post/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_arraymodel/post/__init__.pyi @@ -35,7 +35,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _array_model_oapg( + def _array_model( self, content_type: typing_extensions.Literal["application/json"] = ..., body: typing.Union[request_body.animal_farm.AnimalFarm, schemas.Unset] = schemas.unset, @@ -48,7 +48,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _array_model_oapg( + def _array_model( self, content_type: str = ..., body: typing.Union[request_body.animal_farm.AnimalFarm, schemas.Unset] = schemas.unset, @@ -62,7 +62,7 @@ class BaseApi(api_client.Api): @typing.overload - def _array_model_oapg( + def _array_model( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., @@ -73,7 +73,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _array_model_oapg( + def _array_model( self, content_type: str = ..., body: typing.Union[request_body.animal_farm.AnimalFarm, schemas.Unset] = schemas.unset, @@ -86,7 +86,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _array_model_oapg( + def _array_model( self, content_type: str = 'application/json', body: typing.Union[request_body.animal_farm.AnimalFarm, schemas.Unset] = schemas.unset, @@ -213,7 +213,7 @@ class ArrayModel(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._array_model_oapg( + return self._array_model( body=body, content_type=content_type, accept_content_types=accept_content_types, @@ -287,7 +287,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._array_model_oapg( + return self._array_model( body=body, content_type=content_type, accept_content_types=accept_content_types, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_boolean/post/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_boolean/post/__init__.py index a4f8760ed49..f510b82bfb6 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_boolean/post/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_boolean/post/__init__.py @@ -47,7 +47,7 @@ class BaseApi(api_client.Api): @typing.overload - def _boolean_oapg( + def _boolean( self, content_type: typing_extensions.Literal["application/json"] = ..., body: typing.Union[request_body.boolean.Boolean, schemas.Unset] = schemas.unset, @@ -60,7 +60,7 @@ def _boolean_oapg( ]: ... @typing.overload - def _boolean_oapg( + def _boolean( self, content_type: str = ..., body: typing.Union[request_body.boolean.Boolean, schemas.Unset] = schemas.unset, @@ -74,7 +74,7 @@ def _boolean_oapg( @typing.overload - def _boolean_oapg( + def _boolean( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., @@ -85,7 +85,7 @@ def _boolean_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _boolean_oapg( + def _boolean( self, content_type: str = ..., body: typing.Union[request_body.boolean.Boolean, schemas.Unset] = schemas.unset, @@ -98,7 +98,7 @@ def _boolean_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _boolean_oapg( + def _boolean( self, content_type: str = 'application/json', body: typing.Union[request_body.boolean.Boolean, schemas.Unset] = schemas.unset, @@ -225,7 +225,7 @@ def boolean( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._boolean_oapg( + return self._boolean( body=body, content_type=content_type, accept_content_types=accept_content_types, @@ -299,7 +299,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._boolean_oapg( + return self._boolean( body=body, content_type=content_type, accept_content_types=accept_content_types, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_boolean/post/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_boolean/post/__init__.pyi index 4503df7d9bb..554584e7450 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_boolean/post/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_boolean/post/__init__.pyi @@ -35,7 +35,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _boolean_oapg( + def _boolean( self, content_type: typing_extensions.Literal["application/json"] = ..., body: typing.Union[request_body.boolean.Boolean, schemas.Unset] = schemas.unset, @@ -48,7 +48,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _boolean_oapg( + def _boolean( self, content_type: str = ..., body: typing.Union[request_body.boolean.Boolean, schemas.Unset] = schemas.unset, @@ -62,7 +62,7 @@ class BaseApi(api_client.Api): @typing.overload - def _boolean_oapg( + def _boolean( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., @@ -73,7 +73,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _boolean_oapg( + def _boolean( self, content_type: str = ..., body: typing.Union[request_body.boolean.Boolean, schemas.Unset] = schemas.unset, @@ -86,7 +86,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _boolean_oapg( + def _boolean( self, content_type: str = 'application/json', body: typing.Union[request_body.boolean.Boolean, schemas.Unset] = schemas.unset, @@ -213,7 +213,7 @@ class Boolean(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._boolean_oapg( + return self._boolean( body=body, content_type=content_type, accept_content_types=accept_content_types, @@ -287,7 +287,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._boolean_oapg( + return self._boolean( body=body, content_type=content_type, accept_content_types=accept_content_types, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/__init__.py index 898afe22dbf..9f7cb70589b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/__init__.py @@ -47,7 +47,7 @@ class BaseApi(api_client.Api): @typing.overload - def _composed_one_of_different_types_oapg( + def _composed_one_of_different_types( self, content_type: typing_extensions.Literal["application/json"] = ..., body: typing.Union[request_body.composed_one_of_different_types.ComposedOneOfDifferentTypes, schemas.Unset] = schemas.unset, @@ -60,7 +60,7 @@ def _composed_one_of_different_types_oapg( ]: ... @typing.overload - def _composed_one_of_different_types_oapg( + def _composed_one_of_different_types( self, content_type: str = ..., body: typing.Union[request_body.composed_one_of_different_types.ComposedOneOfDifferentTypes, schemas.Unset] = schemas.unset, @@ -74,7 +74,7 @@ def _composed_one_of_different_types_oapg( @typing.overload - def _composed_one_of_different_types_oapg( + def _composed_one_of_different_types( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., @@ -85,7 +85,7 @@ def _composed_one_of_different_types_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _composed_one_of_different_types_oapg( + def _composed_one_of_different_types( self, content_type: str = ..., body: typing.Union[request_body.composed_one_of_different_types.ComposedOneOfDifferentTypes, schemas.Unset] = schemas.unset, @@ -98,7 +98,7 @@ def _composed_one_of_different_types_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _composed_one_of_different_types_oapg( + def _composed_one_of_different_types( self, content_type: str = 'application/json', body: typing.Union[request_body.composed_one_of_different_types.ComposedOneOfDifferentTypes, schemas.Unset] = schemas.unset, @@ -225,7 +225,7 @@ def composed_one_of_different_types( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._composed_one_of_different_types_oapg( + return self._composed_one_of_different_types( body=body, content_type=content_type, accept_content_types=accept_content_types, @@ -299,7 +299,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._composed_one_of_different_types_oapg( + return self._composed_one_of_different_types( body=body, content_type=content_type, accept_content_types=accept_content_types, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/__init__.pyi index 5420aa591f0..92738774400 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/__init__.pyi @@ -35,7 +35,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _composed_one_of_different_types_oapg( + def _composed_one_of_different_types( self, content_type: typing_extensions.Literal["application/json"] = ..., body: typing.Union[request_body.composed_one_of_different_types.ComposedOneOfDifferentTypes, schemas.Unset] = schemas.unset, @@ -48,7 +48,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _composed_one_of_different_types_oapg( + def _composed_one_of_different_types( self, content_type: str = ..., body: typing.Union[request_body.composed_one_of_different_types.ComposedOneOfDifferentTypes, schemas.Unset] = schemas.unset, @@ -62,7 +62,7 @@ class BaseApi(api_client.Api): @typing.overload - def _composed_one_of_different_types_oapg( + def _composed_one_of_different_types( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., @@ -73,7 +73,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _composed_one_of_different_types_oapg( + def _composed_one_of_different_types( self, content_type: str = ..., body: typing.Union[request_body.composed_one_of_different_types.ComposedOneOfDifferentTypes, schemas.Unset] = schemas.unset, @@ -86,7 +86,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _composed_one_of_different_types_oapg( + def _composed_one_of_different_types( self, content_type: str = 'application/json', body: typing.Union[request_body.composed_one_of_different_types.ComposedOneOfDifferentTypes, schemas.Unset] = schemas.unset, @@ -213,7 +213,7 @@ class ComposedOneOfDifferentTypes(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._composed_one_of_different_types_oapg( + return self._composed_one_of_different_types( body=body, content_type=content_type, accept_content_types=accept_content_types, @@ -287,7 +287,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._composed_one_of_different_types_oapg( + return self._composed_one_of_different_types( body=body, content_type=content_type, accept_content_types=accept_content_types, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_enum/post/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_enum/post/__init__.py index 9a65fb807b1..7b97f5feb32 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_enum/post/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_enum/post/__init__.py @@ -47,7 +47,7 @@ class BaseApi(api_client.Api): @typing.overload - def _string_enum_oapg( + def _string_enum( self, content_type: typing_extensions.Literal["application/json"] = ..., body: typing.Union[request_body.string_enum.StringEnum, schemas.Unset] = schemas.unset, @@ -60,7 +60,7 @@ def _string_enum_oapg( ]: ... @typing.overload - def _string_enum_oapg( + def _string_enum( self, content_type: str = ..., body: typing.Union[request_body.string_enum.StringEnum, schemas.Unset] = schemas.unset, @@ -74,7 +74,7 @@ def _string_enum_oapg( @typing.overload - def _string_enum_oapg( + def _string_enum( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., @@ -85,7 +85,7 @@ def _string_enum_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _string_enum_oapg( + def _string_enum( self, content_type: str = ..., body: typing.Union[request_body.string_enum.StringEnum, schemas.Unset] = schemas.unset, @@ -98,7 +98,7 @@ def _string_enum_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _string_enum_oapg( + def _string_enum( self, content_type: str = 'application/json', body: typing.Union[request_body.string_enum.StringEnum, schemas.Unset] = schemas.unset, @@ -225,7 +225,7 @@ def string_enum( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._string_enum_oapg( + return self._string_enum( body=body, content_type=content_type, accept_content_types=accept_content_types, @@ -299,7 +299,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._string_enum_oapg( + return self._string_enum( body=body, content_type=content_type, accept_content_types=accept_content_types, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_enum/post/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_enum/post/__init__.pyi index 1c6faca1320..b975115b78c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_enum/post/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_enum/post/__init__.pyi @@ -35,7 +35,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _string_enum_oapg( + def _string_enum( self, content_type: typing_extensions.Literal["application/json"] = ..., body: typing.Union[request_body.string_enum.StringEnum, schemas.Unset] = schemas.unset, @@ -48,7 +48,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _string_enum_oapg( + def _string_enum( self, content_type: str = ..., body: typing.Union[request_body.string_enum.StringEnum, schemas.Unset] = schemas.unset, @@ -62,7 +62,7 @@ class BaseApi(api_client.Api): @typing.overload - def _string_enum_oapg( + def _string_enum( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., @@ -73,7 +73,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _string_enum_oapg( + def _string_enum( self, content_type: str = ..., body: typing.Union[request_body.string_enum.StringEnum, schemas.Unset] = schemas.unset, @@ -86,7 +86,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _string_enum_oapg( + def _string_enum( self, content_type: str = 'application/json', body: typing.Union[request_body.string_enum.StringEnum, schemas.Unset] = schemas.unset, @@ -213,7 +213,7 @@ class StringEnum(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._string_enum_oapg( + return self._string_enum( body=body, content_type=content_type, accept_content_types=accept_content_types, @@ -287,7 +287,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._string_enum_oapg( + return self._string_enum( body=body, content_type=content_type, accept_content_types=accept_content_types, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_mammal/post/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_mammal/post/__init__.py index f2db57004e9..987790a3869 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_mammal/post/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_mammal/post/__init__.py @@ -47,7 +47,7 @@ class BaseApi(api_client.Api): @typing.overload - def _mammal_oapg( + def _mammal( self, body: typing.Union[request_body.mammal.Mammal,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -60,7 +60,7 @@ def _mammal_oapg( ]: ... @typing.overload - def _mammal_oapg( + def _mammal( self, body: typing.Union[request_body.mammal.Mammal,], content_type: str = ..., @@ -74,7 +74,7 @@ def _mammal_oapg( @typing.overload - def _mammal_oapg( + def _mammal( self, body: typing.Union[request_body.mammal.Mammal,], skip_deserialization: typing_extensions.Literal[True], @@ -85,7 +85,7 @@ def _mammal_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _mammal_oapg( + def _mammal( self, body: typing.Union[request_body.mammal.Mammal,], content_type: str = ..., @@ -98,7 +98,7 @@ def _mammal_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _mammal_oapg( + def _mammal( self, body: typing.Union[request_body.mammal.Mammal,], content_type: str = 'application/json', @@ -227,7 +227,7 @@ def mammal( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._mammal_oapg( + return self._mammal( body=body, content_type=content_type, accept_content_types=accept_content_types, @@ -301,7 +301,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._mammal_oapg( + return self._mammal( body=body, content_type=content_type, accept_content_types=accept_content_types, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_mammal/post/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_mammal/post/__init__.pyi index 908226a9c00..f485dc8967a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_mammal/post/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_mammal/post/__init__.pyi @@ -35,7 +35,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _mammal_oapg( + def _mammal( self, body: typing.Union[request_body.mammal.Mammal,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -48,7 +48,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _mammal_oapg( + def _mammal( self, body: typing.Union[request_body.mammal.Mammal,], content_type: str = ..., @@ -62,7 +62,7 @@ class BaseApi(api_client.Api): @typing.overload - def _mammal_oapg( + def _mammal( self, body: typing.Union[request_body.mammal.Mammal,], skip_deserialization: typing_extensions.Literal[True], @@ -73,7 +73,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _mammal_oapg( + def _mammal( self, body: typing.Union[request_body.mammal.Mammal,], content_type: str = ..., @@ -86,7 +86,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _mammal_oapg( + def _mammal( self, body: typing.Union[request_body.mammal.Mammal,], content_type: str = 'application/json', @@ -215,7 +215,7 @@ class Mammal(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._mammal_oapg( + return self._mammal( body=body, content_type=content_type, accept_content_types=accept_content_types, @@ -289,7 +289,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._mammal_oapg( + return self._mammal( body=body, content_type=content_type, accept_content_types=accept_content_types, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_number/post/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_number/post/__init__.py index 4bc6b2525ba..41510d29e6f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_number/post/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_number/post/__init__.py @@ -47,7 +47,7 @@ class BaseApi(api_client.Api): @typing.overload - def _number_with_validations_oapg( + def _number_with_validations( self, content_type: typing_extensions.Literal["application/json"] = ..., body: typing.Union[request_body.number_with_validations.NumberWithValidations, schemas.Unset] = schemas.unset, @@ -60,7 +60,7 @@ def _number_with_validations_oapg( ]: ... @typing.overload - def _number_with_validations_oapg( + def _number_with_validations( self, content_type: str = ..., body: typing.Union[request_body.number_with_validations.NumberWithValidations, schemas.Unset] = schemas.unset, @@ -74,7 +74,7 @@ def _number_with_validations_oapg( @typing.overload - def _number_with_validations_oapg( + def _number_with_validations( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., @@ -85,7 +85,7 @@ def _number_with_validations_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _number_with_validations_oapg( + def _number_with_validations( self, content_type: str = ..., body: typing.Union[request_body.number_with_validations.NumberWithValidations, schemas.Unset] = schemas.unset, @@ -98,7 +98,7 @@ def _number_with_validations_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _number_with_validations_oapg( + def _number_with_validations( self, content_type: str = 'application/json', body: typing.Union[request_body.number_with_validations.NumberWithValidations, schemas.Unset] = schemas.unset, @@ -225,7 +225,7 @@ def number_with_validations( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._number_with_validations_oapg( + return self._number_with_validations( body=body, content_type=content_type, accept_content_types=accept_content_types, @@ -299,7 +299,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._number_with_validations_oapg( + return self._number_with_validations( body=body, content_type=content_type, accept_content_types=accept_content_types, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_number/post/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_number/post/__init__.pyi index 5eb558b3069..f38ab50689d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_number/post/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_number/post/__init__.pyi @@ -35,7 +35,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _number_with_validations_oapg( + def _number_with_validations( self, content_type: typing_extensions.Literal["application/json"] = ..., body: typing.Union[request_body.number_with_validations.NumberWithValidations, schemas.Unset] = schemas.unset, @@ -48,7 +48,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _number_with_validations_oapg( + def _number_with_validations( self, content_type: str = ..., body: typing.Union[request_body.number_with_validations.NumberWithValidations, schemas.Unset] = schemas.unset, @@ -62,7 +62,7 @@ class BaseApi(api_client.Api): @typing.overload - def _number_with_validations_oapg( + def _number_with_validations( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., @@ -73,7 +73,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _number_with_validations_oapg( + def _number_with_validations( self, content_type: str = ..., body: typing.Union[request_body.number_with_validations.NumberWithValidations, schemas.Unset] = schemas.unset, @@ -86,7 +86,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _number_with_validations_oapg( + def _number_with_validations( self, content_type: str = 'application/json', body: typing.Union[request_body.number_with_validations.NumberWithValidations, schemas.Unset] = schemas.unset, @@ -213,7 +213,7 @@ class NumberWithValidations(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._number_with_validations_oapg( + return self._number_with_validations( body=body, content_type=content_type, accept_content_types=accept_content_types, @@ -287,7 +287,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._number_with_validations_oapg( + return self._number_with_validations( body=body, content_type=content_type, accept_content_types=accept_content_types, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_object_model_with_ref_props/post/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_object_model_with_ref_props/post/__init__.py index 3b946e651da..f9d141f4f24 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_object_model_with_ref_props/post/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_object_model_with_ref_props/post/__init__.py @@ -47,7 +47,7 @@ class BaseApi(api_client.Api): @typing.overload - def _object_model_with_ref_props_oapg( + def _object_model_with_ref_props( self, content_type: typing_extensions.Literal["application/json"] = ..., body: typing.Union[request_body.object_model_with_ref_props.ObjectModelWithRefProps, schemas.Unset] = schemas.unset, @@ -60,7 +60,7 @@ def _object_model_with_ref_props_oapg( ]: ... @typing.overload - def _object_model_with_ref_props_oapg( + def _object_model_with_ref_props( self, content_type: str = ..., body: typing.Union[request_body.object_model_with_ref_props.ObjectModelWithRefProps, schemas.Unset] = schemas.unset, @@ -74,7 +74,7 @@ def _object_model_with_ref_props_oapg( @typing.overload - def _object_model_with_ref_props_oapg( + def _object_model_with_ref_props( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., @@ -85,7 +85,7 @@ def _object_model_with_ref_props_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _object_model_with_ref_props_oapg( + def _object_model_with_ref_props( self, content_type: str = ..., body: typing.Union[request_body.object_model_with_ref_props.ObjectModelWithRefProps, schemas.Unset] = schemas.unset, @@ -98,7 +98,7 @@ def _object_model_with_ref_props_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _object_model_with_ref_props_oapg( + def _object_model_with_ref_props( self, content_type: str = 'application/json', body: typing.Union[request_body.object_model_with_ref_props.ObjectModelWithRefProps, schemas.Unset] = schemas.unset, @@ -225,7 +225,7 @@ def object_model_with_ref_props( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._object_model_with_ref_props_oapg( + return self._object_model_with_ref_props( body=body, content_type=content_type, accept_content_types=accept_content_types, @@ -299,7 +299,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._object_model_with_ref_props_oapg( + return self._object_model_with_ref_props( body=body, content_type=content_type, accept_content_types=accept_content_types, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_object_model_with_ref_props/post/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_object_model_with_ref_props/post/__init__.pyi index 79bbee6a47a..ced6e7c2e2d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_object_model_with_ref_props/post/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_object_model_with_ref_props/post/__init__.pyi @@ -35,7 +35,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _object_model_with_ref_props_oapg( + def _object_model_with_ref_props( self, content_type: typing_extensions.Literal["application/json"] = ..., body: typing.Union[request_body.object_model_with_ref_props.ObjectModelWithRefProps, schemas.Unset] = schemas.unset, @@ -48,7 +48,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _object_model_with_ref_props_oapg( + def _object_model_with_ref_props( self, content_type: str = ..., body: typing.Union[request_body.object_model_with_ref_props.ObjectModelWithRefProps, schemas.Unset] = schemas.unset, @@ -62,7 +62,7 @@ class BaseApi(api_client.Api): @typing.overload - def _object_model_with_ref_props_oapg( + def _object_model_with_ref_props( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., @@ -73,7 +73,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _object_model_with_ref_props_oapg( + def _object_model_with_ref_props( self, content_type: str = ..., body: typing.Union[request_body.object_model_with_ref_props.ObjectModelWithRefProps, schemas.Unset] = schemas.unset, @@ -86,7 +86,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _object_model_with_ref_props_oapg( + def _object_model_with_ref_props( self, content_type: str = 'application/json', body: typing.Union[request_body.object_model_with_ref_props.ObjectModelWithRefProps, schemas.Unset] = schemas.unset, @@ -213,7 +213,7 @@ class ObjectModelWithRefProps(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._object_model_with_ref_props_oapg( + return self._object_model_with_ref_props( body=body, content_type=content_type, accept_content_types=accept_content_types, @@ -287,7 +287,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._object_model_with_ref_props_oapg( + return self._object_model_with_ref_props( body=body, content_type=content_type, accept_content_types=accept_content_types, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_string/post/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_string/post/__init__.py index 30bf481e83f..e78a46a30ca 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_string/post/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_string/post/__init__.py @@ -47,7 +47,7 @@ class BaseApi(api_client.Api): @typing.overload - def _string_oapg( + def _string( self, content_type: typing_extensions.Literal["application/json"] = ..., body: typing.Union[request_body.string.String, schemas.Unset] = schemas.unset, @@ -60,7 +60,7 @@ def _string_oapg( ]: ... @typing.overload - def _string_oapg( + def _string( self, content_type: str = ..., body: typing.Union[request_body.string.String, schemas.Unset] = schemas.unset, @@ -74,7 +74,7 @@ def _string_oapg( @typing.overload - def _string_oapg( + def _string( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., @@ -85,7 +85,7 @@ def _string_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _string_oapg( + def _string( self, content_type: str = ..., body: typing.Union[request_body.string.String, schemas.Unset] = schemas.unset, @@ -98,7 +98,7 @@ def _string_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _string_oapg( + def _string( self, content_type: str = 'application/json', body: typing.Union[request_body.string.String, schemas.Unset] = schemas.unset, @@ -225,7 +225,7 @@ def string( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._string_oapg( + return self._string( body=body, content_type=content_type, accept_content_types=accept_content_types, @@ -299,7 +299,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._string_oapg( + return self._string( body=body, content_type=content_type, accept_content_types=accept_content_types, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_string/post/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_string/post/__init__.pyi index dfb072e2202..e7be819ee99 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_string/post/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_string/post/__init__.pyi @@ -35,7 +35,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _string_oapg( + def _string( self, content_type: typing_extensions.Literal["application/json"] = ..., body: typing.Union[request_body.string.String, schemas.Unset] = schemas.unset, @@ -48,7 +48,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _string_oapg( + def _string( self, content_type: str = ..., body: typing.Union[request_body.string.String, schemas.Unset] = schemas.unset, @@ -62,7 +62,7 @@ class BaseApi(api_client.Api): @typing.overload - def _string_oapg( + def _string( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., @@ -73,7 +73,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _string_oapg( + def _string( self, content_type: str = ..., body: typing.Union[request_body.string.String, schemas.Unset] = schemas.unset, @@ -86,7 +86,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _string_oapg( + def _string( self, content_type: str = 'application/json', body: typing.Union[request_body.string.String, schemas.Unset] = schemas.unset, @@ -213,7 +213,7 @@ class String(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._string_oapg( + return self._string( body=body, content_type=content_type, accept_content_types=accept_content_types, @@ -287,7 +287,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._string_oapg( + return self._string( body=body, content_type=content_type, accept_content_types=accept_content_types, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_response_without_schema/get/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_response_without_schema/get/__init__.py index 7ba5c59c4ff..dacaed9c157 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_response_without_schema/get/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_response_without_schema/get/__init__.py @@ -47,7 +47,7 @@ class BaseApi(api_client.Api): @typing.overload - def _response_without_schema_oapg( + def _response_without_schema( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -58,7 +58,7 @@ def _response_without_schema_oapg( ]: ... @typing.overload - def _response_without_schema_oapg( + def _response_without_schema( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -67,7 +67,7 @@ def _response_without_schema_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _response_without_schema_oapg( + def _response_without_schema( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -78,7 +78,7 @@ def _response_without_schema_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _response_without_schema_oapg( + def _response_without_schema( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -171,7 +171,7 @@ def response_without_schema( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._response_without_schema_oapg( + return self._response_without_schema( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -221,7 +221,7 @@ def get( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._response_without_schema_oapg( + return self._response_without_schema( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_response_without_schema/get/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_response_without_schema/get/__init__.pyi index 3e0872ec384..853762db044 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_response_without_schema/get/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_response_without_schema/get/__init__.pyi @@ -35,7 +35,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _response_without_schema_oapg( + def _response_without_schema( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _response_without_schema_oapg( + def _response_without_schema( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -55,7 +55,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _response_without_schema_oapg( + def _response_without_schema( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -66,7 +66,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _response_without_schema_oapg( + def _response_without_schema( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -159,7 +159,7 @@ class ResponseWithoutSchema(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._response_without_schema_oapg( + return self._response_without_schema( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -209,7 +209,7 @@ class ApiForget(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._response_without_schema_oapg( + return self._response_without_schema( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/__init__.py index 98d9bfe1a22..54f2c5b0be5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/__init__.py @@ -81,7 +81,7 @@ class Params(RequiredParams, OptionalParams): class BaseApi(api_client.Api): @typing.overload - def _query_parameter_collection_format_oapg( + def _query_parameter_collection_format( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), stream: bool = False, @@ -92,7 +92,7 @@ def _query_parameter_collection_format_oapg( ]: ... @typing.overload - def _query_parameter_collection_format_oapg( + def _query_parameter_collection_format( self, skip_deserialization: typing_extensions.Literal[True], query_params: RequestQueryParameters.Params = frozendict.frozendict(), @@ -101,7 +101,7 @@ def _query_parameter_collection_format_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _query_parameter_collection_format_oapg( + def _query_parameter_collection_format( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), stream: bool = False, @@ -112,7 +112,7 @@ def _query_parameter_collection_format_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _query_parameter_collection_format_oapg( + def _query_parameter_collection_format( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), stream: bool = False, @@ -210,7 +210,7 @@ def query_parameter_collection_format( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._query_parameter_collection_format_oapg( + return self._query_parameter_collection_format( query_params=query_params, stream=stream, timeout=timeout, @@ -260,7 +260,7 @@ def put( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._query_parameter_collection_format_oapg( + return self._query_parameter_collection_format( query_params=query_params, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/__init__.pyi index e21a87b7ded..3261516a5de 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/__init__.pyi @@ -69,7 +69,7 @@ class RequestQueryParameters: class BaseApi(api_client.Api): @typing.overload - def _query_parameter_collection_format_oapg( + def _query_parameter_collection_format( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), stream: bool = False, @@ -80,7 +80,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _query_parameter_collection_format_oapg( + def _query_parameter_collection_format( self, skip_deserialization: typing_extensions.Literal[True], query_params: RequestQueryParameters.Params = frozendict.frozendict(), @@ -89,7 +89,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _query_parameter_collection_format_oapg( + def _query_parameter_collection_format( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), stream: bool = False, @@ -100,7 +100,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _query_parameter_collection_format_oapg( + def _query_parameter_collection_format( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), stream: bool = False, @@ -198,7 +198,7 @@ class QueryParameterCollectionFormat(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._query_parameter_collection_format_oapg( + return self._query_parameter_collection_format( query_params=query_params, stream=stream, timeout=timeout, @@ -248,7 +248,7 @@ class ApiForput(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._query_parameter_collection_format_oapg( + return self._query_parameter_collection_format( query_params=query_params, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_download_file/post/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_download_file/post/__init__.py index 0af73cf2c5f..9d8c8429927 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_download_file/post/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_download_file/post/__init__.py @@ -47,7 +47,7 @@ class BaseApi(api_client.Api): @typing.overload - def _upload_download_file_oapg( + def _upload_download_file( self, body: typing.Union[request_body.application_octet_stream.ApplicationOctetStream,bytes, io.FileIO, io.BufferedReader, ], content_type: typing_extensions.Literal["application/octet-stream"] = ..., @@ -60,7 +60,7 @@ def _upload_download_file_oapg( ]: ... @typing.overload - def _upload_download_file_oapg( + def _upload_download_file( self, body: typing.Union[request_body.application_octet_stream.ApplicationOctetStream,bytes, io.FileIO, io.BufferedReader, ], content_type: str = ..., @@ -74,7 +74,7 @@ def _upload_download_file_oapg( @typing.overload - def _upload_download_file_oapg( + def _upload_download_file( self, body: typing.Union[request_body.application_octet_stream.ApplicationOctetStream,bytes, io.FileIO, io.BufferedReader, ], skip_deserialization: typing_extensions.Literal[True], @@ -85,7 +85,7 @@ def _upload_download_file_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _upload_download_file_oapg( + def _upload_download_file( self, body: typing.Union[request_body.application_octet_stream.ApplicationOctetStream,bytes, io.FileIO, io.BufferedReader, ], content_type: str = ..., @@ -98,7 +98,7 @@ def _upload_download_file_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _upload_download_file_oapg( + def _upload_download_file( self, body: typing.Union[request_body.application_octet_stream.ApplicationOctetStream,bytes, io.FileIO, io.BufferedReader, ], content_type: str = 'application/octet-stream', @@ -228,7 +228,7 @@ def upload_download_file( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._upload_download_file_oapg( + return self._upload_download_file( body=body, content_type=content_type, accept_content_types=accept_content_types, @@ -302,7 +302,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._upload_download_file_oapg( + return self._upload_download_file( body=body, content_type=content_type, accept_content_types=accept_content_types, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_download_file/post/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_download_file/post/__init__.pyi index 6446d083dc8..37d198432d3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_download_file/post/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_download_file/post/__init__.pyi @@ -35,7 +35,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _upload_download_file_oapg( + def _upload_download_file( self, body: typing.Union[request_body.application_octet_stream.ApplicationOctetStream,bytes, io.FileIO, io.BufferedReader, ], content_type: typing_extensions.Literal["application/octet-stream"] = ..., @@ -48,7 +48,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _upload_download_file_oapg( + def _upload_download_file( self, body: typing.Union[request_body.application_octet_stream.ApplicationOctetStream,bytes, io.FileIO, io.BufferedReader, ], content_type: str = ..., @@ -62,7 +62,7 @@ class BaseApi(api_client.Api): @typing.overload - def _upload_download_file_oapg( + def _upload_download_file( self, body: typing.Union[request_body.application_octet_stream.ApplicationOctetStream,bytes, io.FileIO, io.BufferedReader, ], skip_deserialization: typing_extensions.Literal[True], @@ -73,7 +73,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _upload_download_file_oapg( + def _upload_download_file( self, body: typing.Union[request_body.application_octet_stream.ApplicationOctetStream,bytes, io.FileIO, io.BufferedReader, ], content_type: str = ..., @@ -86,7 +86,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _upload_download_file_oapg( + def _upload_download_file( self, body: typing.Union[request_body.application_octet_stream.ApplicationOctetStream,bytes, io.FileIO, io.BufferedReader, ], content_type: str = 'application/octet-stream', @@ -216,7 +216,7 @@ class UploadDownloadFile(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._upload_download_file_oapg( + return self._upload_download_file( body=body, content_type=content_type, accept_content_types=accept_content_types, @@ -290,7 +290,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._upload_download_file_oapg( + return self._upload_download_file( body=body, content_type=content_type, accept_content_types=accept_content_types, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_file/post/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_file/post/__init__.py index 5bddc0eebef..85f4a690a75 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_file/post/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_file/post/__init__.py @@ -47,7 +47,7 @@ class BaseApi(api_client.Api): @typing.overload - def _upload_file_oapg( + def _upload_file( self, content_type: typing_extensions.Literal["multipart/form-data"] = ..., body: typing.Union[request_body.multipart_form_data.MultipartFormData, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -60,7 +60,7 @@ def _upload_file_oapg( ]: ... @typing.overload - def _upload_file_oapg( + def _upload_file( self, content_type: str = ..., body: typing.Union[request_body.multipart_form_data.MultipartFormData, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -74,7 +74,7 @@ def _upload_file_oapg( @typing.overload - def _upload_file_oapg( + def _upload_file( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., @@ -85,7 +85,7 @@ def _upload_file_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _upload_file_oapg( + def _upload_file( self, content_type: str = ..., body: typing.Union[request_body.multipart_form_data.MultipartFormData, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -98,7 +98,7 @@ def _upload_file_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _upload_file_oapg( + def _upload_file( self, content_type: str = 'multipart/form-data', body: typing.Union[request_body.multipart_form_data.MultipartFormData, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -226,7 +226,7 @@ def upload_file( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._upload_file_oapg( + return self._upload_file( body=body, content_type=content_type, accept_content_types=accept_content_types, @@ -300,7 +300,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._upload_file_oapg( + return self._upload_file( body=body, content_type=content_type, accept_content_types=accept_content_types, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_file/post/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_file/post/__init__.pyi index 0b42584f181..e79e61aef18 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_file/post/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_file/post/__init__.pyi @@ -35,7 +35,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _upload_file_oapg( + def _upload_file( self, content_type: typing_extensions.Literal["multipart/form-data"] = ..., body: typing.Union[request_body.multipart_form_data.MultipartFormData, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -48,7 +48,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _upload_file_oapg( + def _upload_file( self, content_type: str = ..., body: typing.Union[request_body.multipart_form_data.MultipartFormData, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -62,7 +62,7 @@ class BaseApi(api_client.Api): @typing.overload - def _upload_file_oapg( + def _upload_file( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., @@ -73,7 +73,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _upload_file_oapg( + def _upload_file( self, content_type: str = ..., body: typing.Union[request_body.multipart_form_data.MultipartFormData, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -86,7 +86,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _upload_file_oapg( + def _upload_file( self, content_type: str = 'multipart/form-data', body: typing.Union[request_body.multipart_form_data.MultipartFormData, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -214,7 +214,7 @@ class UploadFile(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._upload_file_oapg( + return self._upload_file( body=body, content_type=content_type, accept_content_types=accept_content_types, @@ -288,7 +288,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._upload_file_oapg( + return self._upload_file( body=body, content_type=content_type, accept_content_types=accept_content_types, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_files/post/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_files/post/__init__.py index f09a6f2f332..9c03c0063a0 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_files/post/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_files/post/__init__.py @@ -47,7 +47,7 @@ class BaseApi(api_client.Api): @typing.overload - def _upload_files_oapg( + def _upload_files( self, content_type: typing_extensions.Literal["multipart/form-data"] = ..., body: typing.Union[request_body.multipart_form_data.MultipartFormData, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -60,7 +60,7 @@ def _upload_files_oapg( ]: ... @typing.overload - def _upload_files_oapg( + def _upload_files( self, content_type: str = ..., body: typing.Union[request_body.multipart_form_data.MultipartFormData, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -74,7 +74,7 @@ def _upload_files_oapg( @typing.overload - def _upload_files_oapg( + def _upload_files( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., @@ -85,7 +85,7 @@ def _upload_files_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _upload_files_oapg( + def _upload_files( self, content_type: str = ..., body: typing.Union[request_body.multipart_form_data.MultipartFormData, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -98,7 +98,7 @@ def _upload_files_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _upload_files_oapg( + def _upload_files( self, content_type: str = 'multipart/form-data', body: typing.Union[request_body.multipart_form_data.MultipartFormData, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -226,7 +226,7 @@ def upload_files( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._upload_files_oapg( + return self._upload_files( body=body, content_type=content_type, accept_content_types=accept_content_types, @@ -300,7 +300,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._upload_files_oapg( + return self._upload_files( body=body, content_type=content_type, accept_content_types=accept_content_types, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_files/post/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_files/post/__init__.pyi index b50a2858e7c..549033b8cf1 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_files/post/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_files/post/__init__.pyi @@ -35,7 +35,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _upload_files_oapg( + def _upload_files( self, content_type: typing_extensions.Literal["multipart/form-data"] = ..., body: typing.Union[request_body.multipart_form_data.MultipartFormData, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -48,7 +48,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _upload_files_oapg( + def _upload_files( self, content_type: str = ..., body: typing.Union[request_body.multipart_form_data.MultipartFormData, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -62,7 +62,7 @@ class BaseApi(api_client.Api): @typing.overload - def _upload_files_oapg( + def _upload_files( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., @@ -73,7 +73,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _upload_files_oapg( + def _upload_files( self, content_type: str = ..., body: typing.Union[request_body.multipart_form_data.MultipartFormData, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -86,7 +86,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _upload_files_oapg( + def _upload_files( self, content_type: str = 'multipart/form-data', body: typing.Union[request_body.multipart_form_data.MultipartFormData, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -214,7 +214,7 @@ class UploadFiles(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._upload_files_oapg( + return self._upload_files( body=body, content_type=content_type, accept_content_types=accept_content_types, @@ -288,7 +288,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._upload_files_oapg( + return self._upload_files( body=body, content_type=content_type, accept_content_types=accept_content_types, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/foo/get/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/foo/get/__init__.py index 0042bcb534a..c23b9b250e6 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/foo/get/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/foo/get/__init__.py @@ -38,7 +38,7 @@ class BaseApi(api_client.Api): @typing.overload - def _foo_get_oapg( + def _foo_get( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -49,7 +49,7 @@ def _foo_get_oapg( ]: ... @typing.overload - def _foo_get_oapg( + def _foo_get( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -58,7 +58,7 @@ def _foo_get_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _foo_get_oapg( + def _foo_get( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -69,7 +69,7 @@ def _foo_get_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _foo_get_oapg( + def _foo_get( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -154,7 +154,7 @@ def foo_get( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._foo_get_oapg( + return self._foo_get( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -204,7 +204,7 @@ def get( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._foo_get_oapg( + return self._foo_get( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/foo/get/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/foo/get/__init__.pyi index 7d36e66c476..18e0b5b1c86 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/foo/get/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/foo/get/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _foo_get_oapg( + def _foo_get( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _foo_get_oapg( + def _foo_get( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _foo_get_oapg( + def _foo_get( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _foo_get_oapg( + def _foo_get( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -150,7 +150,7 @@ class FooGet(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._foo_get_oapg( + return self._foo_get( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -200,7 +200,7 @@ class ApiForget(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._foo_get_oapg( + return self._foo_get( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet/post/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/pet/post/__init__.py index 289330454d6..719c55c5ce6 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet/post/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet/post/__init__.py @@ -63,7 +63,7 @@ class BaseApi(api_client.Api): @typing.overload - def _add_pet_oapg( + def _add_pet( self, body: typing.Union[request_body.pet.Pet,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -76,7 +76,7 @@ def _add_pet_oapg( ]: ... @typing.overload - def _add_pet_oapg( + def _add_pet( self, body: typing.Union[request_body.pet.Pet,], content_type: typing_extensions.Literal["application/xml"], @@ -89,7 +89,7 @@ def _add_pet_oapg( ]: ... @typing.overload - def _add_pet_oapg( + def _add_pet( self, body: typing.Union[request_body.pet.Pet,request_body.pet.Pet,], content_type: str = ..., @@ -103,7 +103,7 @@ def _add_pet_oapg( @typing.overload - def _add_pet_oapg( + def _add_pet( self, body: typing.Union[request_body.pet.Pet,request_body.pet.Pet,], skip_deserialization: typing_extensions.Literal[True], @@ -114,7 +114,7 @@ def _add_pet_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _add_pet_oapg( + def _add_pet( self, body: typing.Union[request_body.pet.Pet,request_body.pet.Pet,], content_type: str = ..., @@ -127,7 +127,7 @@ def _add_pet_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _add_pet_oapg( + def _add_pet( self, body: typing.Union[request_body.pet.Pet,request_body.pet.Pet,], content_type: str = 'application/json', @@ -272,7 +272,7 @@ def add_pet( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._add_pet_oapg( + return self._add_pet( body=body, content_type=content_type, host_index=host_index, @@ -359,7 +359,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._add_pet_oapg( + return self._add_pet( body=body, content_type=content_type, host_index=host_index, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet/post/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/pet/post/__init__.pyi index 06953cf1ce8..f42e4bece2f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet/post/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet/post/__init__.pyi @@ -33,7 +33,7 @@ from . import response_for_405 class BaseApi(api_client.Api): @typing.overload - def _add_pet_oapg( + def _add_pet( self, body: typing.Union[request_body.pet.Pet,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -46,7 +46,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _add_pet_oapg( + def _add_pet( self, body: typing.Union[request_body.pet.Pet,], content_type: typing_extensions.Literal["application/xml"], @@ -59,7 +59,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _add_pet_oapg( + def _add_pet( self, body: typing.Union[request_body.pet.Pet,request_body.pet.Pet,], content_type: str = ..., @@ -73,7 +73,7 @@ class BaseApi(api_client.Api): @typing.overload - def _add_pet_oapg( + def _add_pet( self, body: typing.Union[request_body.pet.Pet,request_body.pet.Pet,], skip_deserialization: typing_extensions.Literal[True], @@ -84,7 +84,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _add_pet_oapg( + def _add_pet( self, body: typing.Union[request_body.pet.Pet,request_body.pet.Pet,], content_type: str = ..., @@ -97,7 +97,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _add_pet_oapg( + def _add_pet( self, body: typing.Union[request_body.pet.Pet,request_body.pet.Pet,], content_type: str = 'application/json', @@ -242,7 +242,7 @@ class AddPet(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._add_pet_oapg( + return self._add_pet( body=body, content_type=content_type, host_index=host_index, @@ -329,7 +329,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._add_pet_oapg( + return self._add_pet( body=body, content_type=content_type, host_index=host_index, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet/put/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/pet/put/__init__.py index baab5e4077e..5de29096567 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet/put/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet/put/__init__.py @@ -66,7 +66,7 @@ class BaseApi(api_client.Api): @typing.overload - def _update_pet_oapg( + def _update_pet( self, body: typing.Union[request_body.pet.Pet,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -76,7 +76,7 @@ def _update_pet_oapg( skip_deserialization: typing_extensions.Literal[False] = ..., ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _update_pet_oapg( + def _update_pet( self, body: typing.Union[request_body.pet.Pet,], content_type: typing_extensions.Literal["application/xml"], @@ -86,7 +86,7 @@ def _update_pet_oapg( skip_deserialization: typing_extensions.Literal[False] = ..., ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _update_pet_oapg( + def _update_pet( self, body: typing.Union[request_body.pet.Pet,request_body.pet.Pet,], content_type: str = ..., @@ -97,7 +97,7 @@ def _update_pet_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _update_pet_oapg( + def _update_pet( self, body: typing.Union[request_body.pet.Pet,request_body.pet.Pet,], skip_deserialization: typing_extensions.Literal[True], @@ -108,7 +108,7 @@ def _update_pet_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _update_pet_oapg( + def _update_pet( self, body: typing.Union[request_body.pet.Pet,request_body.pet.Pet,], content_type: str = ..., @@ -120,7 +120,7 @@ def _update_pet_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _update_pet_oapg( + def _update_pet( self, body: typing.Union[request_body.pet.Pet,request_body.pet.Pet,], content_type: str = 'application/json', @@ -256,7 +256,7 @@ def update_pet( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._update_pet_oapg( + return self._update_pet( body=body, content_type=content_type, host_index=host_index, @@ -333,7 +333,7 @@ def put( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._update_pet_oapg( + return self._update_pet( body=body, content_type=content_type, host_index=host_index, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet/put/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/pet/put/__init__.pyi index bab3a967ecf..7a72a40e77d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet/put/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet/put/__init__.pyi @@ -34,7 +34,7 @@ from . import response_for_405 class BaseApi(api_client.Api): @typing.overload - def _update_pet_oapg( + def _update_pet( self, body: typing.Union[request_body.pet.Pet,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): skip_deserialization: typing_extensions.Literal[False] = ..., ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _update_pet_oapg( + def _update_pet( self, body: typing.Union[request_body.pet.Pet,], content_type: typing_extensions.Literal["application/xml"], @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): skip_deserialization: typing_extensions.Literal[False] = ..., ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _update_pet_oapg( + def _update_pet( self, body: typing.Union[request_body.pet.Pet,request_body.pet.Pet,], content_type: str = ..., @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _update_pet_oapg( + def _update_pet( self, body: typing.Union[request_body.pet.Pet,request_body.pet.Pet,], skip_deserialization: typing_extensions.Literal[True], @@ -76,7 +76,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _update_pet_oapg( + def _update_pet( self, body: typing.Union[request_body.pet.Pet,request_body.pet.Pet,], content_type: str = ..., @@ -88,7 +88,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _update_pet_oapg( + def _update_pet( self, body: typing.Union[request_body.pet.Pet,request_body.pet.Pet,], content_type: str = 'application/json', @@ -224,7 +224,7 @@ class UpdatePet(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._update_pet_oapg( + return self._update_pet( body=body, content_type=content_type, host_index=host_index, @@ -301,7 +301,7 @@ class ApiForput(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._update_pet_oapg( + return self._update_pet( body=body, content_type=content_type, host_index=host_index, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/__init__.py index d445159f2ac..c15aadf7323 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/__init__.py @@ -79,7 +79,7 @@ class Params(RequiredParams, OptionalParams): class BaseApi(api_client.Api): @typing.overload - def _find_pets_by_status_oapg( + def _find_pets_by_status( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -91,7 +91,7 @@ def _find_pets_by_status_oapg( ]: ... @typing.overload - def _find_pets_by_status_oapg( + def _find_pets_by_status( self, skip_deserialization: typing_extensions.Literal[True], query_params: RequestQueryParameters.Params = frozendict.frozendict(), @@ -101,7 +101,7 @@ def _find_pets_by_status_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _find_pets_by_status_oapg( + def _find_pets_by_status( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -113,7 +113,7 @@ def _find_pets_by_status_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _find_pets_by_status_oapg( + def _find_pets_by_status( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -225,7 +225,7 @@ def find_pets_by_status( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._find_pets_by_status_oapg( + return self._find_pets_by_status( query_params=query_params, accept_content_types=accept_content_types, stream=stream, @@ -280,7 +280,7 @@ def get( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._find_pets_by_status_oapg( + return self._find_pets_by_status( query_params=query_params, accept_content_types=accept_content_types, stream=stream, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/__init__.pyi index 3dee5723c0f..c124ea9cf50 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/__init__.pyi @@ -60,7 +60,7 @@ class RequestQueryParameters: class BaseApi(api_client.Api): @typing.overload - def _find_pets_by_status_oapg( + def _find_pets_by_status( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -72,7 +72,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _find_pets_by_status_oapg( + def _find_pets_by_status( self, skip_deserialization: typing_extensions.Literal[True], query_params: RequestQueryParameters.Params = frozendict.frozendict(), @@ -82,7 +82,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _find_pets_by_status_oapg( + def _find_pets_by_status( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -94,7 +94,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _find_pets_by_status_oapg( + def _find_pets_by_status( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -206,7 +206,7 @@ class FindPetsByStatus(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._find_pets_by_status_oapg( + return self._find_pets_by_status( query_params=query_params, accept_content_types=accept_content_types, stream=stream, @@ -261,7 +261,7 @@ class ApiForget(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._find_pets_by_status_oapg( + return self._find_pets_by_status( query_params=query_params, accept_content_types=accept_content_types, stream=stream, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/__init__.py index 3e593cec8b4..3059c5662e5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/__init__.py @@ -79,7 +79,7 @@ class Params(RequiredParams, OptionalParams): class BaseApi(api_client.Api): @typing.overload - def _find_pets_by_tags_oapg( + def _find_pets_by_tags( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -91,7 +91,7 @@ def _find_pets_by_tags_oapg( ]: ... @typing.overload - def _find_pets_by_tags_oapg( + def _find_pets_by_tags( self, skip_deserialization: typing_extensions.Literal[True], query_params: RequestQueryParameters.Params = frozendict.frozendict(), @@ -101,7 +101,7 @@ def _find_pets_by_tags_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _find_pets_by_tags_oapg( + def _find_pets_by_tags( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -113,7 +113,7 @@ def _find_pets_by_tags_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _find_pets_by_tags_oapg( + def _find_pets_by_tags( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -225,7 +225,7 @@ def find_pets_by_tags( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._find_pets_by_tags_oapg( + return self._find_pets_by_tags( query_params=query_params, accept_content_types=accept_content_types, stream=stream, @@ -280,7 +280,7 @@ def get( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._find_pets_by_tags_oapg( + return self._find_pets_by_tags( query_params=query_params, accept_content_types=accept_content_types, stream=stream, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/__init__.pyi index 206ef336613..db0c4bbefd4 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/__init__.pyi @@ -60,7 +60,7 @@ class RequestQueryParameters: class BaseApi(api_client.Api): @typing.overload - def _find_pets_by_tags_oapg( + def _find_pets_by_tags( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -72,7 +72,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _find_pets_by_tags_oapg( + def _find_pets_by_tags( self, skip_deserialization: typing_extensions.Literal[True], query_params: RequestQueryParameters.Params = frozendict.frozendict(), @@ -82,7 +82,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _find_pets_by_tags_oapg( + def _find_pets_by_tags( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -94,7 +94,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _find_pets_by_tags_oapg( + def _find_pets_by_tags( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -206,7 +206,7 @@ class FindPetsByTags(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._find_pets_by_tags_oapg( + return self._find_pets_by_tags( query_params=query_params, accept_content_types=accept_content_types, stream=stream, @@ -261,7 +261,7 @@ class ApiForget(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._find_pets_by_tags_oapg( + return self._find_pets_by_tags( query_params=query_params, accept_content_types=accept_content_types, stream=stream, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/delete/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/delete/__init__.py index b02419e238a..5b55b1c97dd 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/delete/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/delete/__init__.py @@ -95,7 +95,7 @@ class Params(RequiredParams, OptionalParams): class BaseApi(api_client.Api): @typing.overload - def _delete_pet_oapg( + def _delete_pet( self, header_params: RequestHeaderParameters.Params = frozendict.frozendict(), path_params: RequestPathParameters.Params = frozendict.frozendict(), @@ -104,7 +104,7 @@ def _delete_pet_oapg( skip_deserialization: typing_extensions.Literal[False] = ..., ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _delete_pet_oapg( + def _delete_pet( self, skip_deserialization: typing_extensions.Literal[True], header_params: RequestHeaderParameters.Params = frozendict.frozendict(), @@ -114,7 +114,7 @@ def _delete_pet_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _delete_pet_oapg( + def _delete_pet( self, header_params: RequestHeaderParameters.Params = frozendict.frozendict(), path_params: RequestPathParameters.Params = frozendict.frozendict(), @@ -125,7 +125,7 @@ def _delete_pet_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _delete_pet_oapg( + def _delete_pet( self, header_params: RequestHeaderParameters.Params = frozendict.frozendict(), path_params: RequestPathParameters.Params = frozendict.frozendict(), @@ -236,7 +236,7 @@ def delete_pet( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._delete_pet_oapg( + return self._delete_pet( header_params=header_params, path_params=path_params, stream=stream, @@ -287,7 +287,7 @@ def delete( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._delete_pet_oapg( + return self._delete_pet( header_params=header_params, path_params=path_params, stream=stream, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/delete/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/delete/__init__.pyi index c0acd3d9299..093bcab3815 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/delete/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/delete/__init__.pyi @@ -79,7 +79,7 @@ class RequestPathParameters: class BaseApi(api_client.Api): @typing.overload - def _delete_pet_oapg( + def _delete_pet( self, header_params: RequestHeaderParameters.Params = frozendict.frozendict(), path_params: RequestPathParameters.Params = frozendict.frozendict(), @@ -88,7 +88,7 @@ class BaseApi(api_client.Api): skip_deserialization: typing_extensions.Literal[False] = ..., ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _delete_pet_oapg( + def _delete_pet( self, skip_deserialization: typing_extensions.Literal[True], header_params: RequestHeaderParameters.Params = frozendict.frozendict(), @@ -98,7 +98,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _delete_pet_oapg( + def _delete_pet( self, header_params: RequestHeaderParameters.Params = frozendict.frozendict(), path_params: RequestPathParameters.Params = frozendict.frozendict(), @@ -109,7 +109,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _delete_pet_oapg( + def _delete_pet( self, header_params: RequestHeaderParameters.Params = frozendict.frozendict(), path_params: RequestPathParameters.Params = frozendict.frozendict(), @@ -220,7 +220,7 @@ class DeletePet(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._delete_pet_oapg( + return self._delete_pet( header_params=header_params, path_params=path_params, stream=stream, @@ -271,7 +271,7 @@ class ApiFordelete(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._delete_pet_oapg( + return self._delete_pet( header_params=header_params, path_params=path_params, stream=stream, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/get/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/get/__init__.py index 99ef69d0e9e..72541d2804f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/get/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/get/__init__.py @@ -81,7 +81,7 @@ class Params(RequiredParams, OptionalParams): class BaseApi(api_client.Api): @typing.overload - def _get_pet_by_id_oapg( + def _get_pet_by_id( self, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -93,7 +93,7 @@ def _get_pet_by_id_oapg( ]: ... @typing.overload - def _get_pet_by_id_oapg( + def _get_pet_by_id( self, skip_deserialization: typing_extensions.Literal[True], path_params: RequestPathParameters.Params = frozendict.frozendict(), @@ -103,7 +103,7 @@ def _get_pet_by_id_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _get_pet_by_id_oapg( + def _get_pet_by_id( self, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -115,7 +115,7 @@ def _get_pet_by_id_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _get_pet_by_id_oapg( + def _get_pet_by_id( self, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -228,7 +228,7 @@ def get_pet_by_id( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._get_pet_by_id_oapg( + return self._get_pet_by_id( path_params=path_params, accept_content_types=accept_content_types, stream=stream, @@ -283,7 +283,7 @@ def get( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._get_pet_by_id_oapg( + return self._get_pet_by_id( path_params=path_params, accept_content_types=accept_content_types, stream=stream, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/get/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/get/__init__.pyi index 2df27e10735..a7bd8e73869 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/get/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/get/__init__.pyi @@ -61,7 +61,7 @@ class RequestPathParameters: class BaseApi(api_client.Api): @typing.overload - def _get_pet_by_id_oapg( + def _get_pet_by_id( self, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -73,7 +73,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _get_pet_by_id_oapg( + def _get_pet_by_id( self, skip_deserialization: typing_extensions.Literal[True], path_params: RequestPathParameters.Params = frozendict.frozendict(), @@ -83,7 +83,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _get_pet_by_id_oapg( + def _get_pet_by_id( self, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -95,7 +95,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _get_pet_by_id_oapg( + def _get_pet_by_id( self, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -208,7 +208,7 @@ class GetPetById(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._get_pet_by_id_oapg( + return self._get_pet_by_id( path_params=path_params, accept_content_types=accept_content_types, stream=stream, @@ -263,7 +263,7 @@ class ApiForget(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._get_pet_by_id_oapg( + return self._get_pet_by_id( path_params=path_params, accept_content_types=accept_content_types, stream=stream, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/post/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/post/__init__.py index bb73d8bf0b1..fb6ad3fda5c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/post/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/post/__init__.py @@ -72,7 +72,7 @@ class Params(RequiredParams, OptionalParams): class BaseApi(api_client.Api): @typing.overload - def _update_pet_with_form_oapg( + def _update_pet_with_form( self, content_type: typing_extensions.Literal["application/x-www-form-urlencoded"] = ..., body: typing.Union[request_body.application_x_www_form_urlencoded.ApplicationXWwwFormUrlencoded, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -82,7 +82,7 @@ def _update_pet_with_form_oapg( skip_deserialization: typing_extensions.Literal[False] = ..., ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _update_pet_with_form_oapg( + def _update_pet_with_form( self, content_type: str = ..., body: typing.Union[request_body.application_x_www_form_urlencoded.ApplicationXWwwFormUrlencoded, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -93,7 +93,7 @@ def _update_pet_with_form_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _update_pet_with_form_oapg( + def _update_pet_with_form( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., @@ -104,7 +104,7 @@ def _update_pet_with_form_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _update_pet_with_form_oapg( + def _update_pet_with_form( self, content_type: str = ..., body: typing.Union[request_body.application_x_www_form_urlencoded.ApplicationXWwwFormUrlencoded, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -116,7 +116,7 @@ def _update_pet_with_form_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _update_pet_with_form_oapg( + def _update_pet_with_form( self, content_type: str = 'application/x-www-form-urlencoded', body: typing.Union[request_body.application_x_www_form_urlencoded.ApplicationXWwwFormUrlencoded, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -247,7 +247,7 @@ def update_pet_with_form( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._update_pet_with_form_oapg( + return self._update_pet_with_form( body=body, path_params=path_params, content_type=content_type, @@ -314,7 +314,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._update_pet_with_form_oapg( + return self._update_pet_with_form( body=body, path_params=path_params, content_type=content_type, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/post/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/post/__init__.pyi index 97b712f5d9d..58fa0cc14cc 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/post/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/post/__init__.pyi @@ -56,7 +56,7 @@ class RequestPathParameters: class BaseApi(api_client.Api): @typing.overload - def _update_pet_with_form_oapg( + def _update_pet_with_form( self, content_type: typing_extensions.Literal["application/x-www-form-urlencoded"] = ..., body: typing.Union[request_body.application_x_www_form_urlencoded.ApplicationXWwwFormUrlencoded, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -66,7 +66,7 @@ class BaseApi(api_client.Api): skip_deserialization: typing_extensions.Literal[False] = ..., ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _update_pet_with_form_oapg( + def _update_pet_with_form( self, content_type: str = ..., body: typing.Union[request_body.application_x_www_form_urlencoded.ApplicationXWwwFormUrlencoded, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -77,7 +77,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _update_pet_with_form_oapg( + def _update_pet_with_form( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., @@ -88,7 +88,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _update_pet_with_form_oapg( + def _update_pet_with_form( self, content_type: str = ..., body: typing.Union[request_body.application_x_www_form_urlencoded.ApplicationXWwwFormUrlencoded, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -100,7 +100,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _update_pet_with_form_oapg( + def _update_pet_with_form( self, content_type: str = 'application/x-www-form-urlencoded', body: typing.Union[request_body.application_x_www_form_urlencoded.ApplicationXWwwFormUrlencoded, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -231,7 +231,7 @@ class UpdatePetWithForm(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._update_pet_with_form_oapg( + return self._update_pet_with_form( body=body, path_params=path_params, content_type=content_type, @@ -298,7 +298,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._update_pet_with_form_oapg( + return self._update_pet_with_form( body=body, path_params=path_params, content_type=content_type, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id_upload_image/post/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id_upload_image/post/__init__.py index 0766d7f815d..2aa4d643e7f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id_upload_image/post/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id_upload_image/post/__init__.py @@ -75,7 +75,7 @@ class Params(RequiredParams, OptionalParams): class BaseApi(api_client.Api): @typing.overload - def _upload_image_oapg( + def _upload_image( self, content_type: typing_extensions.Literal["multipart/form-data"] = ..., body: typing.Union[request_body.multipart_form_data.MultipartFormData, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -89,7 +89,7 @@ def _upload_image_oapg( ]: ... @typing.overload - def _upload_image_oapg( + def _upload_image( self, content_type: str = ..., body: typing.Union[request_body.multipart_form_data.MultipartFormData, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -104,7 +104,7 @@ def _upload_image_oapg( @typing.overload - def _upload_image_oapg( + def _upload_image( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., @@ -116,7 +116,7 @@ def _upload_image_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _upload_image_oapg( + def _upload_image( self, content_type: str = ..., body: typing.Union[request_body.multipart_form_data.MultipartFormData, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -130,7 +130,7 @@ def _upload_image_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _upload_image_oapg( + def _upload_image( self, content_type: str = 'multipart/form-data', body: typing.Union[request_body.multipart_form_data.MultipartFormData, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -277,7 +277,7 @@ def upload_image( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._upload_image_oapg( + return self._upload_image( body=body, path_params=path_params, content_type=content_type, @@ -357,7 +357,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._upload_image_oapg( + return self._upload_image( body=body, path_params=path_params, content_type=content_type, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id_upload_image/post/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id_upload_image/post/__init__.pyi index 21c542c6684..b20f54c2cdd 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id_upload_image/post/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id_upload_image/post/__init__.pyi @@ -59,7 +59,7 @@ class RequestPathParameters: class BaseApi(api_client.Api): @typing.overload - def _upload_image_oapg( + def _upload_image( self, content_type: typing_extensions.Literal["multipart/form-data"] = ..., body: typing.Union[request_body.multipart_form_data.MultipartFormData, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -73,7 +73,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _upload_image_oapg( + def _upload_image( self, content_type: str = ..., body: typing.Union[request_body.multipart_form_data.MultipartFormData, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -88,7 +88,7 @@ class BaseApi(api_client.Api): @typing.overload - def _upload_image_oapg( + def _upload_image( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., @@ -100,7 +100,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _upload_image_oapg( + def _upload_image( self, content_type: str = ..., body: typing.Union[request_body.multipart_form_data.MultipartFormData, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -114,7 +114,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _upload_image_oapg( + def _upload_image( self, content_type: str = 'multipart/form-data', body: typing.Union[request_body.multipart_form_data.MultipartFormData, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -261,7 +261,7 @@ class UploadImage(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._upload_image_oapg( + return self._upload_image( body=body, path_params=path_params, content_type=content_type, @@ -341,7 +341,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._upload_image_oapg( + return self._upload_image( body=body, path_params=path_params, content_type=content_type, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/store_inventory/get/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/store_inventory/get/__init__.py index 5961d4859e8..c90dff97a1b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/store_inventory/get/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/store_inventory/get/__init__.py @@ -50,7 +50,7 @@ class BaseApi(api_client.Api): @typing.overload - def _get_inventory_oapg( + def _get_inventory( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -61,7 +61,7 @@ def _get_inventory_oapg( ]: ... @typing.overload - def _get_inventory_oapg( + def _get_inventory( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -70,7 +70,7 @@ def _get_inventory_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _get_inventory_oapg( + def _get_inventory( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -81,7 +81,7 @@ def _get_inventory_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _get_inventory_oapg( + def _get_inventory( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -175,7 +175,7 @@ def get_inventory( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._get_inventory_oapg( + return self._get_inventory( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -225,7 +225,7 @@ def get( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._get_inventory_oapg( + return self._get_inventory( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/store_inventory/get/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/store_inventory/get/__init__.pyi index 1d8c16d34a7..5df56588f7b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/store_inventory/get/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/store_inventory/get/__init__.pyi @@ -34,7 +34,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _get_inventory_oapg( + def _get_inventory( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -45,7 +45,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _get_inventory_oapg( + def _get_inventory( self, skip_deserialization: typing_extensions.Literal[True], accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -54,7 +54,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _get_inventory_oapg( + def _get_inventory( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -65,7 +65,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _get_inventory_oapg( + def _get_inventory( self, accept_content_types: typing.Tuple[str] = _all_accept_content_types, stream: bool = False, @@ -159,7 +159,7 @@ class GetInventory(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._get_inventory_oapg( + return self._get_inventory( accept_content_types=accept_content_types, stream=stream, timeout=timeout, @@ -209,7 +209,7 @@ class ApiForget(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._get_inventory_oapg( + return self._get_inventory( accept_content_types=accept_content_types, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/store_order/post/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/store_order/post/__init__.py index d6c90305138..ed017f1eae1 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/store_order/post/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/store_order/post/__init__.py @@ -51,7 +51,7 @@ class BaseApi(api_client.Api): @typing.overload - def _place_order_oapg( + def _place_order( self, body: typing.Union[request_body.order.Order,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -64,7 +64,7 @@ def _place_order_oapg( ]: ... @typing.overload - def _place_order_oapg( + def _place_order( self, body: typing.Union[request_body.order.Order,], content_type: str = ..., @@ -78,7 +78,7 @@ def _place_order_oapg( @typing.overload - def _place_order_oapg( + def _place_order( self, body: typing.Union[request_body.order.Order,], skip_deserialization: typing_extensions.Literal[True], @@ -89,7 +89,7 @@ def _place_order_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _place_order_oapg( + def _place_order( self, body: typing.Union[request_body.order.Order,], content_type: str = ..., @@ -102,7 +102,7 @@ def _place_order_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _place_order_oapg( + def _place_order( self, body: typing.Union[request_body.order.Order,], content_type: str = 'application/json', @@ -233,7 +233,7 @@ def place_order( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._place_order_oapg( + return self._place_order( body=body, content_type=content_type, accept_content_types=accept_content_types, @@ -307,7 +307,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._place_order_oapg( + return self._place_order( body=body, content_type=content_type, accept_content_types=accept_content_types, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/store_order/post/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/store_order/post/__init__.pyi index 9db59f44188..15350c6ea43 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/store_order/post/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/store_order/post/__init__.pyi @@ -37,7 +37,7 @@ _all_accept_content_types = ( class BaseApi(api_client.Api): @typing.overload - def _place_order_oapg( + def _place_order( self, body: typing.Union[request_body.order.Order,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -50,7 +50,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _place_order_oapg( + def _place_order( self, body: typing.Union[request_body.order.Order,], content_type: str = ..., @@ -64,7 +64,7 @@ class BaseApi(api_client.Api): @typing.overload - def _place_order_oapg( + def _place_order( self, body: typing.Union[request_body.order.Order,], skip_deserialization: typing_extensions.Literal[True], @@ -75,7 +75,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _place_order_oapg( + def _place_order( self, body: typing.Union[request_body.order.Order,], content_type: str = ..., @@ -88,7 +88,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _place_order_oapg( + def _place_order( self, body: typing.Union[request_body.order.Order,], content_type: str = 'application/json', @@ -219,7 +219,7 @@ class PlaceOrder(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._place_order_oapg( + return self._place_order( body=body, content_type=content_type, accept_content_types=accept_content_types, @@ -293,7 +293,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._place_order_oapg( + return self._place_order( body=body, content_type=content_type, accept_content_types=accept_content_types, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/store_order_order_id/delete/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/store_order_order_id/delete/__init__.py index cdb9430e819..d90ca2b8e54 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/store_order_order_id/delete/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/store_order_order_id/delete/__init__.py @@ -69,7 +69,7 @@ class Params(RequiredParams, OptionalParams): class BaseApi(api_client.Api): @typing.overload - def _delete_order_oapg( + def _delete_order( self, path_params: RequestPathParameters.Params = frozendict.frozendict(), stream: bool = False, @@ -77,7 +77,7 @@ def _delete_order_oapg( skip_deserialization: typing_extensions.Literal[False] = ..., ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _delete_order_oapg( + def _delete_order( self, skip_deserialization: typing_extensions.Literal[True], path_params: RequestPathParameters.Params = frozendict.frozendict(), @@ -86,7 +86,7 @@ def _delete_order_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _delete_order_oapg( + def _delete_order( self, path_params: RequestPathParameters.Params = frozendict.frozendict(), stream: bool = False, @@ -96,7 +96,7 @@ def _delete_order_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _delete_order_oapg( + def _delete_order( self, path_params: RequestPathParameters.Params = frozendict.frozendict(), stream: bool = False, @@ -192,7 +192,7 @@ def delete_order( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._delete_order_oapg( + return self._delete_order( path_params=path_params, stream=stream, timeout=timeout, @@ -238,7 +238,7 @@ def delete( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._delete_order_oapg( + return self._delete_order( path_params=path_params, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/store_order_order_id/delete/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/store_order_order_id/delete/__init__.pyi index d49c2b44490..f75c3ccb6b0 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/store_order_order_id/delete/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/store_order_order_id/delete/__init__.pyi @@ -55,7 +55,7 @@ class RequestPathParameters: class BaseApi(api_client.Api): @typing.overload - def _delete_order_oapg( + def _delete_order( self, path_params: RequestPathParameters.Params = frozendict.frozendict(), stream: bool = False, @@ -63,7 +63,7 @@ class BaseApi(api_client.Api): skip_deserialization: typing_extensions.Literal[False] = ..., ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _delete_order_oapg( + def _delete_order( self, skip_deserialization: typing_extensions.Literal[True], path_params: RequestPathParameters.Params = frozendict.frozendict(), @@ -72,7 +72,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _delete_order_oapg( + def _delete_order( self, path_params: RequestPathParameters.Params = frozendict.frozendict(), stream: bool = False, @@ -82,7 +82,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _delete_order_oapg( + def _delete_order( self, path_params: RequestPathParameters.Params = frozendict.frozendict(), stream: bool = False, @@ -178,7 +178,7 @@ class DeleteOrder(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._delete_order_oapg( + return self._delete_order( path_params=path_params, stream=stream, timeout=timeout, @@ -224,7 +224,7 @@ class ApiFordelete(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._delete_order_oapg( + return self._delete_order( path_params=path_params, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/store_order_order_id/get/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/store_order_order_id/get/__init__.py index 2ebd64bb6ee..fd5917a4b54 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/store_order_order_id/get/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/store_order_order_id/get/__init__.py @@ -77,7 +77,7 @@ class Params(RequiredParams, OptionalParams): class BaseApi(api_client.Api): @typing.overload - def _get_order_by_id_oapg( + def _get_order_by_id( self, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -89,7 +89,7 @@ def _get_order_by_id_oapg( ]: ... @typing.overload - def _get_order_by_id_oapg( + def _get_order_by_id( self, skip_deserialization: typing_extensions.Literal[True], path_params: RequestPathParameters.Params = frozendict.frozendict(), @@ -99,7 +99,7 @@ def _get_order_by_id_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _get_order_by_id_oapg( + def _get_order_by_id( self, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -111,7 +111,7 @@ def _get_order_by_id_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _get_order_by_id_oapg( + def _get_order_by_id( self, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -223,7 +223,7 @@ def get_order_by_id( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._get_order_by_id_oapg( + return self._get_order_by_id( path_params=path_params, accept_content_types=accept_content_types, stream=stream, @@ -278,7 +278,7 @@ def get( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._get_order_by_id_oapg( + return self._get_order_by_id( path_params=path_params, accept_content_types=accept_content_types, stream=stream, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/store_order_order_id/get/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/store_order_order_id/get/__init__.pyi index 4766ed6a530..b83614df24b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/store_order_order_id/get/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/store_order_order_id/get/__init__.pyi @@ -61,7 +61,7 @@ class RequestPathParameters: class BaseApi(api_client.Api): @typing.overload - def _get_order_by_id_oapg( + def _get_order_by_id( self, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -73,7 +73,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _get_order_by_id_oapg( + def _get_order_by_id( self, skip_deserialization: typing_extensions.Literal[True], path_params: RequestPathParameters.Params = frozendict.frozendict(), @@ -83,7 +83,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _get_order_by_id_oapg( + def _get_order_by_id( self, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -95,7 +95,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _get_order_by_id_oapg( + def _get_order_by_id( self, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -207,7 +207,7 @@ class GetOrderById(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._get_order_by_id_oapg( + return self._get_order_by_id( path_params=path_params, accept_content_types=accept_content_types, stream=stream, @@ -262,7 +262,7 @@ class ApiForget(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._get_order_by_id_oapg( + return self._get_order_by_id( path_params=path_params, accept_content_types=accept_content_types, stream=stream, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/user/post/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/user/post/__init__.py index a2857ac3e29..b470da3ca00 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/user/post/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/user/post/__init__.py @@ -36,7 +36,7 @@ class BaseApi(api_client.Api): @typing.overload - def _create_user_oapg( + def _create_user( self, body: typing.Union[request_body.user.User,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -48,7 +48,7 @@ def _create_user_oapg( ]: ... @typing.overload - def _create_user_oapg( + def _create_user( self, body: typing.Union[request_body.user.User,], content_type: str = ..., @@ -61,7 +61,7 @@ def _create_user_oapg( @typing.overload - def _create_user_oapg( + def _create_user( self, body: typing.Union[request_body.user.User,], skip_deserialization: typing_extensions.Literal[True], @@ -71,7 +71,7 @@ def _create_user_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _create_user_oapg( + def _create_user( self, body: typing.Union[request_body.user.User,], content_type: str = ..., @@ -83,7 +83,7 @@ def _create_user_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _create_user_oapg( + def _create_user( self, body: typing.Union[request_body.user.User,], content_type: str = 'application/json', @@ -197,7 +197,7 @@ def create_user( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._create_user_oapg( + return self._create_user( body=body, content_type=content_type, stream=stream, @@ -265,7 +265,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._create_user_oapg( + return self._create_user( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/user/post/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/user/post/__init__.pyi index d71581a9752..560bad8590d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/user/post/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/user/post/__init__.pyi @@ -32,7 +32,7 @@ from . import request_body class BaseApi(api_client.Api): @typing.overload - def _create_user_oapg( + def _create_user( self, body: typing.Union[request_body.user.User,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _create_user_oapg( + def _create_user( self, body: typing.Union[request_body.user.User,], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _create_user_oapg( + def _create_user( self, body: typing.Union[request_body.user.User,], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _create_user_oapg( + def _create_user( self, body: typing.Union[request_body.user.User,], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _create_user_oapg( + def _create_user( self, body: typing.Union[request_body.user.User,], content_type: str = 'application/json', @@ -193,7 +193,7 @@ class CreateUser(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._create_user_oapg( + return self._create_user( body=body, content_type=content_type, stream=stream, @@ -261,7 +261,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._create_user_oapg( + return self._create_user( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/user_create_with_array/post/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/user_create_with_array/post/__init__.py index 46af9297e7c..7c4e871a1f8 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/user_create_with_array/post/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/user_create_with_array/post/__init__.py @@ -36,7 +36,7 @@ class BaseApi(api_client.Api): @typing.overload - def _create_users_with_array_input_oapg( + def _create_users_with_array_input( self, body: typing.Union[request_body.application_json.ApplicationJson,list, tuple, ], content_type: typing_extensions.Literal["application/json"] = ..., @@ -48,7 +48,7 @@ def _create_users_with_array_input_oapg( ]: ... @typing.overload - def _create_users_with_array_input_oapg( + def _create_users_with_array_input( self, body: typing.Union[request_body.application_json.ApplicationJson,list, tuple, ], content_type: str = ..., @@ -61,7 +61,7 @@ def _create_users_with_array_input_oapg( @typing.overload - def _create_users_with_array_input_oapg( + def _create_users_with_array_input( self, body: typing.Union[request_body.application_json.ApplicationJson,list, tuple, ], skip_deserialization: typing_extensions.Literal[True], @@ -71,7 +71,7 @@ def _create_users_with_array_input_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _create_users_with_array_input_oapg( + def _create_users_with_array_input( self, body: typing.Union[request_body.application_json.ApplicationJson,list, tuple, ], content_type: str = ..., @@ -83,7 +83,7 @@ def _create_users_with_array_input_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _create_users_with_array_input_oapg( + def _create_users_with_array_input( self, body: typing.Union[request_body.application_json.ApplicationJson,list, tuple, ], content_type: str = 'application/json', @@ -197,7 +197,7 @@ def create_users_with_array_input( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._create_users_with_array_input_oapg( + return self._create_users_with_array_input( body=body, content_type=content_type, stream=stream, @@ -265,7 +265,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._create_users_with_array_input_oapg( + return self._create_users_with_array_input( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/user_create_with_array/post/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/user_create_with_array/post/__init__.pyi index f502a409222..8c4f298327f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/user_create_with_array/post/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/user_create_with_array/post/__init__.pyi @@ -32,7 +32,7 @@ from . import response_for_default class BaseApi(api_client.Api): @typing.overload - def _create_users_with_array_input_oapg( + def _create_users_with_array_input( self, body: typing.Union[request_body.application_json.ApplicationJson,list, tuple, ], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _create_users_with_array_input_oapg( + def _create_users_with_array_input( self, body: typing.Union[request_body.application_json.ApplicationJson,list, tuple, ], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _create_users_with_array_input_oapg( + def _create_users_with_array_input( self, body: typing.Union[request_body.application_json.ApplicationJson,list, tuple, ], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _create_users_with_array_input_oapg( + def _create_users_with_array_input( self, body: typing.Union[request_body.application_json.ApplicationJson,list, tuple, ], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _create_users_with_array_input_oapg( + def _create_users_with_array_input( self, body: typing.Union[request_body.application_json.ApplicationJson,list, tuple, ], content_type: str = 'application/json', @@ -193,7 +193,7 @@ class CreateUsersWithArrayInput(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._create_users_with_array_input_oapg( + return self._create_users_with_array_input( body=body, content_type=content_type, stream=stream, @@ -261,7 +261,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._create_users_with_array_input_oapg( + return self._create_users_with_array_input( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/user_create_with_list/post/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/user_create_with_list/post/__init__.py index b9629abcade..03bdb81124e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/user_create_with_list/post/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/user_create_with_list/post/__init__.py @@ -36,7 +36,7 @@ class BaseApi(api_client.Api): @typing.overload - def _create_users_with_list_input_oapg( + def _create_users_with_list_input( self, body: typing.Union[request_body.application_json.ApplicationJson,list, tuple, ], content_type: typing_extensions.Literal["application/json"] = ..., @@ -48,7 +48,7 @@ def _create_users_with_list_input_oapg( ]: ... @typing.overload - def _create_users_with_list_input_oapg( + def _create_users_with_list_input( self, body: typing.Union[request_body.application_json.ApplicationJson,list, tuple, ], content_type: str = ..., @@ -61,7 +61,7 @@ def _create_users_with_list_input_oapg( @typing.overload - def _create_users_with_list_input_oapg( + def _create_users_with_list_input( self, body: typing.Union[request_body.application_json.ApplicationJson,list, tuple, ], skip_deserialization: typing_extensions.Literal[True], @@ -71,7 +71,7 @@ def _create_users_with_list_input_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _create_users_with_list_input_oapg( + def _create_users_with_list_input( self, body: typing.Union[request_body.application_json.ApplicationJson,list, tuple, ], content_type: str = ..., @@ -83,7 +83,7 @@ def _create_users_with_list_input_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _create_users_with_list_input_oapg( + def _create_users_with_list_input( self, body: typing.Union[request_body.application_json.ApplicationJson,list, tuple, ], content_type: str = 'application/json', @@ -197,7 +197,7 @@ def create_users_with_list_input( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._create_users_with_list_input_oapg( + return self._create_users_with_list_input( body=body, content_type=content_type, stream=stream, @@ -265,7 +265,7 @@ def post( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._create_users_with_list_input_oapg( + return self._create_users_with_list_input( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/user_create_with_list/post/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/user_create_with_list/post/__init__.pyi index 09b8c76d9d4..e6a6e3d1193 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/user_create_with_list/post/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/user_create_with_list/post/__init__.pyi @@ -32,7 +32,7 @@ from . import response_for_default class BaseApi(api_client.Api): @typing.overload - def _create_users_with_list_input_oapg( + def _create_users_with_list_input( self, body: typing.Union[request_body.application_json.ApplicationJson,list, tuple, ], content_type: typing_extensions.Literal["application/json"] = ..., @@ -44,7 +44,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _create_users_with_list_input_oapg( + def _create_users_with_list_input( self, body: typing.Union[request_body.application_json.ApplicationJson,list, tuple, ], content_type: str = ..., @@ -57,7 +57,7 @@ class BaseApi(api_client.Api): @typing.overload - def _create_users_with_list_input_oapg( + def _create_users_with_list_input( self, body: typing.Union[request_body.application_json.ApplicationJson,list, tuple, ], skip_deserialization: typing_extensions.Literal[True], @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _create_users_with_list_input_oapg( + def _create_users_with_list_input( self, body: typing.Union[request_body.application_json.ApplicationJson,list, tuple, ], content_type: str = ..., @@ -79,7 +79,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _create_users_with_list_input_oapg( + def _create_users_with_list_input( self, body: typing.Union[request_body.application_json.ApplicationJson,list, tuple, ], content_type: str = 'application/json', @@ -193,7 +193,7 @@ class CreateUsersWithListInput(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._create_users_with_list_input_oapg( + return self._create_users_with_list_input( body=body, content_type=content_type, stream=stream, @@ -261,7 +261,7 @@ class ApiForpost(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._create_users_with_list_input_oapg( + return self._create_users_with_list_input( body=body, content_type=content_type, stream=stream, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/user_login/get/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/user_login/get/__init__.py index dd6890846ed..abf79b92ebf 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/user_login/get/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/user_login/get/__init__.py @@ -77,7 +77,7 @@ class Params(RequiredParams, OptionalParams): class BaseApi(api_client.Api): @typing.overload - def _login_user_oapg( + def _login_user( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -89,7 +89,7 @@ def _login_user_oapg( ]: ... @typing.overload - def _login_user_oapg( + def _login_user( self, skip_deserialization: typing_extensions.Literal[True], query_params: RequestQueryParameters.Params = frozendict.frozendict(), @@ -99,7 +99,7 @@ def _login_user_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _login_user_oapg( + def _login_user( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -111,7 +111,7 @@ def _login_user_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _login_user_oapg( + def _login_user( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -222,7 +222,7 @@ def login_user( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._login_user_oapg( + return self._login_user( query_params=query_params, accept_content_types=accept_content_types, stream=stream, @@ -277,7 +277,7 @@ def get( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._login_user_oapg( + return self._login_user( query_params=query_params, accept_content_types=accept_content_types, stream=stream, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/user_login/get/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/user_login/get/__init__.pyi index d2242fa1d64..fd9146d8b34 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/user_login/get/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/user_login/get/__init__.pyi @@ -63,7 +63,7 @@ class RequestQueryParameters: class BaseApi(api_client.Api): @typing.overload - def _login_user_oapg( + def _login_user( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -75,7 +75,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _login_user_oapg( + def _login_user( self, skip_deserialization: typing_extensions.Literal[True], query_params: RequestQueryParameters.Params = frozendict.frozendict(), @@ -85,7 +85,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _login_user_oapg( + def _login_user( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -97,7 +97,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _login_user_oapg( + def _login_user( self, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -208,7 +208,7 @@ class LoginUser(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._login_user_oapg( + return self._login_user( query_params=query_params, accept_content_types=accept_content_types, stream=stream, @@ -263,7 +263,7 @@ class ApiForget(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._login_user_oapg( + return self._login_user( query_params=query_params, accept_content_types=accept_content_types, stream=stream, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/user_logout/get/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/user_logout/get/__init__.py index b2d18e5d23f..4e1f6bbc4e4 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/user_logout/get/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/user_logout/get/__init__.py @@ -34,7 +34,7 @@ class BaseApi(api_client.Api): @typing.overload - def _logout_user_oapg( + def _logout_user( self, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -44,7 +44,7 @@ def _logout_user_oapg( ]: ... @typing.overload - def _logout_user_oapg( + def _logout_user( self, skip_deserialization: typing_extensions.Literal[True], stream: bool = False, @@ -52,7 +52,7 @@ def _logout_user_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _logout_user_oapg( + def _logout_user( self, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -62,7 +62,7 @@ def _logout_user_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _logout_user_oapg( + def _logout_user( self, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -137,7 +137,7 @@ def logout_user( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._logout_user_oapg( + return self._logout_user( stream=stream, timeout=timeout, skip_deserialization=skip_deserialization @@ -182,7 +182,7 @@ def get( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._logout_user_oapg( + return self._logout_user( stream=stream, timeout=timeout, skip_deserialization=skip_deserialization diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/user_logout/get/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/user_logout/get/__init__.pyi index 8be8f903ead..a590f97886c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/user_logout/get/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/user_logout/get/__init__.pyi @@ -30,7 +30,7 @@ from petstore_api.components.responses import response_success_description_only class BaseApi(api_client.Api): @typing.overload - def _logout_user_oapg( + def _logout_user( self, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -40,7 +40,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _logout_user_oapg( + def _logout_user( self, skip_deserialization: typing_extensions.Literal[True], stream: bool = False, @@ -48,7 +48,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _logout_user_oapg( + def _logout_user( self, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -58,7 +58,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _logout_user_oapg( + def _logout_user( self, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -133,7 +133,7 @@ class LogoutUser(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._logout_user_oapg( + return self._logout_user( stream=stream, timeout=timeout, skip_deserialization=skip_deserialization @@ -178,7 +178,7 @@ class ApiForget(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._logout_user_oapg( + return self._logout_user( stream=stream, timeout=timeout, skip_deserialization=skip_deserialization diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/delete/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/delete/__init__.py index 4d4791739e8..a077e6e2613 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/delete/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/delete/__init__.py @@ -69,7 +69,7 @@ class Params(RequiredParams, OptionalParams): class BaseApi(api_client.Api): @typing.overload - def _delete_user_oapg( + def _delete_user( self, path_params: RequestPathParameters.Params = frozendict.frozendict(), stream: bool = False, @@ -80,7 +80,7 @@ def _delete_user_oapg( ]: ... @typing.overload - def _delete_user_oapg( + def _delete_user( self, skip_deserialization: typing_extensions.Literal[True], path_params: RequestPathParameters.Params = frozendict.frozendict(), @@ -89,7 +89,7 @@ def _delete_user_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _delete_user_oapg( + def _delete_user( self, path_params: RequestPathParameters.Params = frozendict.frozendict(), stream: bool = False, @@ -100,7 +100,7 @@ def _delete_user_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _delete_user_oapg( + def _delete_user( self, path_params: RequestPathParameters.Params = frozendict.frozendict(), stream: bool = False, @@ -200,7 +200,7 @@ def delete_user( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._delete_user_oapg( + return self._delete_user( path_params=path_params, stream=stream, timeout=timeout, @@ -250,7 +250,7 @@ def delete( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._delete_user_oapg( + return self._delete_user( path_params=path_params, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/delete/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/delete/__init__.pyi index ec4db8a6806..da7b281234d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/delete/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/delete/__init__.pyi @@ -55,7 +55,7 @@ class RequestPathParameters: class BaseApi(api_client.Api): @typing.overload - def _delete_user_oapg( + def _delete_user( self, path_params: RequestPathParameters.Params = frozendict.frozendict(), stream: bool = False, @@ -66,7 +66,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _delete_user_oapg( + def _delete_user( self, skip_deserialization: typing_extensions.Literal[True], path_params: RequestPathParameters.Params = frozendict.frozendict(), @@ -75,7 +75,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _delete_user_oapg( + def _delete_user( self, path_params: RequestPathParameters.Params = frozendict.frozendict(), stream: bool = False, @@ -86,7 +86,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _delete_user_oapg( + def _delete_user( self, path_params: RequestPathParameters.Params = frozendict.frozendict(), stream: bool = False, @@ -186,7 +186,7 @@ class DeleteUser(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._delete_user_oapg( + return self._delete_user( path_params=path_params, stream=stream, timeout=timeout, @@ -236,7 +236,7 @@ class ApiFordelete(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._delete_user_oapg( + return self._delete_user( path_params=path_params, stream=stream, timeout=timeout, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/get/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/get/__init__.py index b88c456e07f..665de572c8a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/get/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/get/__init__.py @@ -77,7 +77,7 @@ class Params(RequiredParams, OptionalParams): class BaseApi(api_client.Api): @typing.overload - def _get_user_by_name_oapg( + def _get_user_by_name( self, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -89,7 +89,7 @@ def _get_user_by_name_oapg( ]: ... @typing.overload - def _get_user_by_name_oapg( + def _get_user_by_name( self, skip_deserialization: typing_extensions.Literal[True], path_params: RequestPathParameters.Params = frozendict.frozendict(), @@ -99,7 +99,7 @@ def _get_user_by_name_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _get_user_by_name_oapg( + def _get_user_by_name( self, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -111,7 +111,7 @@ def _get_user_by_name_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _get_user_by_name_oapg( + def _get_user_by_name( self, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -223,7 +223,7 @@ def get_user_by_name( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._get_user_by_name_oapg( + return self._get_user_by_name( path_params=path_params, accept_content_types=accept_content_types, stream=stream, @@ -278,7 +278,7 @@ def get( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._get_user_by_name_oapg( + return self._get_user_by_name( path_params=path_params, accept_content_types=accept_content_types, stream=stream, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/get/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/get/__init__.pyi index 9c18e94221e..c60943f72da 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/get/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/get/__init__.pyi @@ -61,7 +61,7 @@ class RequestPathParameters: class BaseApi(api_client.Api): @typing.overload - def _get_user_by_name_oapg( + def _get_user_by_name( self, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -73,7 +73,7 @@ class BaseApi(api_client.Api): ]: ... @typing.overload - def _get_user_by_name_oapg( + def _get_user_by_name( self, skip_deserialization: typing_extensions.Literal[True], path_params: RequestPathParameters.Params = frozendict.frozendict(), @@ -83,7 +83,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _get_user_by_name_oapg( + def _get_user_by_name( self, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -95,7 +95,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _get_user_by_name_oapg( + def _get_user_by_name( self, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -207,7 +207,7 @@ class GetUserByName(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._get_user_by_name_oapg( + return self._get_user_by_name( path_params=path_params, accept_content_types=accept_content_types, stream=stream, @@ -262,7 +262,7 @@ class ApiForget(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._get_user_by_name_oapg( + return self._get_user_by_name( path_params=path_params, accept_content_types=accept_content_types, stream=stream, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/put/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/put/__init__.py index 4d5a4a1d2a3..f0ca137e746 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/put/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/put/__init__.py @@ -71,7 +71,7 @@ class Params(RequiredParams, OptionalParams): class BaseApi(api_client.Api): @typing.overload - def _update_user_oapg( + def _update_user( self, body: typing.Union[request_body.user.User,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -81,7 +81,7 @@ def _update_user_oapg( skip_deserialization: typing_extensions.Literal[False] = ..., ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _update_user_oapg( + def _update_user( self, body: typing.Union[request_body.user.User,], content_type: str = ..., @@ -92,7 +92,7 @@ def _update_user_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _update_user_oapg( + def _update_user( self, body: typing.Union[request_body.user.User,], skip_deserialization: typing_extensions.Literal[True], @@ -103,7 +103,7 @@ def _update_user_oapg( ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _update_user_oapg( + def _update_user( self, body: typing.Union[request_body.user.User,], content_type: str = ..., @@ -115,7 +115,7 @@ def _update_user_oapg( api_client.ApiResponseWithoutDeserialization, ]: ... - def _update_user_oapg( + def _update_user( self, body: typing.Union[request_body.user.User,], content_type: str = 'application/json', @@ -248,7 +248,7 @@ def update_user( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._update_user_oapg( + return self._update_user( body=body, path_params=path_params, content_type=content_type, @@ -315,7 +315,7 @@ def put( timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._update_user_oapg( + return self._update_user( body=body, path_params=path_params, content_type=content_type, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/put/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/put/__init__.pyi index 94753050822..f3735ad1a49 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/put/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/put/__init__.pyi @@ -57,7 +57,7 @@ class RequestPathParameters: class BaseApi(api_client.Api): @typing.overload - def _update_user_oapg( + def _update_user( self, body: typing.Union[request_body.user.User,], content_type: typing_extensions.Literal["application/json"] = ..., @@ -67,7 +67,7 @@ class BaseApi(api_client.Api): skip_deserialization: typing_extensions.Literal[False] = ..., ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _update_user_oapg( + def _update_user( self, body: typing.Union[request_body.user.User,], content_type: str = ..., @@ -78,7 +78,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _update_user_oapg( + def _update_user( self, body: typing.Union[request_body.user.User,], skip_deserialization: typing_extensions.Literal[True], @@ -89,7 +89,7 @@ class BaseApi(api_client.Api): ) -> api_client.ApiResponseWithoutDeserialization: ... @typing.overload - def _update_user_oapg( + def _update_user( self, body: typing.Union[request_body.user.User,], content_type: str = ..., @@ -101,7 +101,7 @@ class BaseApi(api_client.Api): api_client.ApiResponseWithoutDeserialization, ]: ... - def _update_user_oapg( + def _update_user( self, body: typing.Union[request_body.user.User,], content_type: str = 'application/json', @@ -234,7 +234,7 @@ class UpdateUser(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._update_user_oapg( + return self._update_user( body=body, path_params=path_params, content_type=content_type, @@ -301,7 +301,7 @@ class ApiForput(BaseApi): timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: bool = False, ): - return self._update_user_oapg( + return self._update_user( body=body, path_params=path_params, content_type=content_type, From f36bedbee0e330e759a394202206faa362bac633 Mon Sep 17 00:00:00 2001 From: Justin Black Date: Fri, 30 Dec 2022 08:57:21 -0800 Subject: [PATCH 24/29] Readme update --- .../src/main/resources/python/README.handlebars | 7 +++---- samples/openapi3/client/3_0_3_unit_test/python/README.md | 7 +++---- .../python/README.md | 7 +++---- samples/openapi3/client/petstore/python/README.md | 7 +++---- 4 files changed, 12 insertions(+), 16 deletions(-) diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/README.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/README.handlebars index f77704938e2..a9443511cc2 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/README.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/README.handlebars @@ -69,19 +69,18 @@ Python {{generatorLanguageVersion}} - Those apis will only load their needed models, which is less to load than all of the resources needed in a tag api - So you will need to update your import paths to the api classes -### Why are Oapg and _oapg used in class and method names? +### Why are Leading and Trailing Underscores in class and method names? Classes can have arbitrarily named properties set on them Endpoints can have arbitrary operationId method names set -For those reasons, I use the prefix Oapg and _oapg to greatly reduce the likelihood of collisions +For those reasons, I use the prefix and suffix _ to greatly reduce the likelihood of collisions on protected + public classes/methods. -oapg stands for OpenApi Python Generator. ### Object property spec case This was done because when payloads are ingested, they can be validated against N number of schemas. If the input signature used a different property name then that has mutated the payload. So SchemaA and SchemaB must both see the camelCase spec named variable. Also it is possible to send in two properties, named camelCase and camel_case in the same payload. -That use case should be support so spec case is used. +That use case should work, so spec case is used. ### Parameter spec case Parameters can be included in different locations including: diff --git a/samples/openapi3/client/3_0_3_unit_test/python/README.md b/samples/openapi3/client/3_0_3_unit_test/python/README.md index 94b69ef83a7..e3985b76837 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/README.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/README.md @@ -61,19 +61,18 @@ Python >=3.7 - Those apis will only load their needed models, which is less to load than all of the resources needed in a tag api - So you will need to update your import paths to the api classes -### Why are Oapg and _oapg used in class and method names? +### Why are Leading and Trailing Underscores in class and method names? Classes can have arbitrarily named properties set on them Endpoints can have arbitrary operationId method names set -For those reasons, I use the prefix Oapg and _oapg to greatly reduce the likelihood of collisions +For those reasons, I use the prefix and suffix _ to greatly reduce the likelihood of collisions on protected + public classes/methods. -oapg stands for OpenApi Python Generator. ### Object property spec case This was done because when payloads are ingested, they can be validated against N number of schemas. If the input signature used a different property name then that has mutated the payload. So SchemaA and SchemaB must both see the camelCase spec named variable. Also it is possible to send in two properties, named camelCase and camel_case in the same payload. -That use case should be support so spec case is used. +That use case should work, so spec case is used. ### Parameter spec case Parameters can be included in different locations including: diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/README.md b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/README.md index 30c9dd53962..0c133fee6bd 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/README.md +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/README.md @@ -61,19 +61,18 @@ Python >=3.7 - Those apis will only load their needed models, which is less to load than all of the resources needed in a tag api - So you will need to update your import paths to the api classes -### Why are Oapg and _oapg used in class and method names? +### Why are Leading and Trailing Underscores in class and method names? Classes can have arbitrarily named properties set on them Endpoints can have arbitrary operationId method names set -For those reasons, I use the prefix Oapg and _oapg to greatly reduce the likelihood of collisions +For those reasons, I use the prefix and suffix _ to greatly reduce the likelihood of collisions on protected + public classes/methods. -oapg stands for OpenApi Python Generator. ### Object property spec case This was done because when payloads are ingested, they can be validated against N number of schemas. If the input signature used a different property name then that has mutated the payload. So SchemaA and SchemaB must both see the camelCase spec named variable. Also it is possible to send in two properties, named camelCase and camel_case in the same payload. -That use case should be support so spec case is used. +That use case should work, so spec case is used. ### Parameter spec case Parameters can be included in different locations including: diff --git a/samples/openapi3/client/petstore/python/README.md b/samples/openapi3/client/petstore/python/README.md index 0018e27279f..24bd37ad168 100644 --- a/samples/openapi3/client/petstore/python/README.md +++ b/samples/openapi3/client/petstore/python/README.md @@ -61,19 +61,18 @@ Python >=3.7 - Those apis will only load their needed models, which is less to load than all of the resources needed in a tag api - So you will need to update your import paths to the api classes -### Why are Oapg and _oapg used in class and method names? +### Why are Leading and Trailing Underscores in class and method names? Classes can have arbitrarily named properties set on them Endpoints can have arbitrary operationId method names set -For those reasons, I use the prefix Oapg and _oapg to greatly reduce the likelihood of collisions +For those reasons, I use the prefix and suffix _ to greatly reduce the likelihood of collisions on protected + public classes/methods. -oapg stands for OpenApi Python Generator. ### Object property spec case This was done because when payloads are ingested, they can be validated against N number of schemas. If the input signature used a different property name then that has mutated the payload. So SchemaA and SchemaB must both see the camelCase spec named variable. Also it is possible to send in two properties, named camelCase and camel_case in the same payload. -That use case should be support so spec case is used. +That use case should work, so spec case is used. ### Parameter spec case Parameters can be included in different locations including: From f5dca6bf487c64c994d8c63c237521f7785eb6f3 Mon Sep 17 00:00:00 2001 From: Justin Black Date: Fri, 30 Dec 2022 09:01:59 -0800 Subject: [PATCH 25/29] MetaOapg -> Schema_ --- .../python/model_templates/new.handlebars | 10 +- .../property_getitem.handlebars | 2 +- .../property_getitems.handlebars | 20 +-- .../property_type_hints_required.handlebars | 4 +- .../schema_composed_or_anytype.handlebars | 2 +- .../model_templates/schema_dict.handlebars | 4 +- .../model_templates/schema_list.handlebars | 4 +- .../model_templates/schema_simple.handlebars | 2 +- .../main/resources/python/schemas.handlebars | 80 ++++----- .../unit_test_api/components/schema/_not.py | 2 +- .../unit_test_api/components/schema/_not.pyi | 2 +- ...s_allows_a_schema_which_should_validate.py | 20 +-- ..._allows_a_schema_which_should_validate.pyi | 20 +-- ...tionalproperties_are_allowed_by_default.py | 14 +- ...ionalproperties_are_allowed_by_default.pyi | 14 +- ...dditionalproperties_can_exist_by_itself.py | 8 +- ...ditionalproperties_can_exist_by_itself.pyi | 8 +- ...operties_should_not_look_in_applicators.py | 16 +- ...perties_should_not_look_in_applicators.pyi | 16 +- .../unit_test_api/components/schema/allof.py | 22 +-- .../unit_test_api/components/schema/allof.pyi | 22 +-- .../schema/allof_combined_with_anyof_oneof.py | 8 +- .../allof_combined_with_anyof_oneof.pyi | 8 +- .../components/schema/allof_simple_types.py | 6 +- .../components/schema/allof_simple_types.pyi | 6 +- .../schema/allof_with_base_schema.py | 30 ++-- .../schema/allof_with_base_schema.pyi | 30 ++-- .../schema/allof_with_one_empty_schema.py | 2 +- .../schema/allof_with_one_empty_schema.pyi | 2 +- .../allof_with_the_first_empty_schema.py | 2 +- .../allof_with_the_first_empty_schema.pyi | 2 +- .../allof_with_the_last_empty_schema.py | 2 +- .../allof_with_the_last_empty_schema.pyi | 2 +- .../schema/allof_with_two_empty_schemas.py | 2 +- .../schema/allof_with_two_empty_schemas.pyi | 2 +- .../unit_test_api/components/schema/anyof.py | 4 +- .../unit_test_api/components/schema/anyof.pyi | 4 +- .../components/schema/anyof_complex_types.py | 22 +-- .../components/schema/anyof_complex_types.pyi | 22 +-- .../schema/anyof_with_base_schema.py | 6 +- .../schema/anyof_with_base_schema.pyi | 6 +- .../schema/anyof_with_one_empty_schema.py | 2 +- .../schema/anyof_with_one_empty_schema.pyi | 2 +- .../schema/array_type_matches_arrays.py | 6 +- .../schema/array_type_matches_arrays.pyi | 6 +- .../unit_test_api/components/schema/by_int.py | 2 +- .../components/schema/by_int.pyi | 2 +- .../components/schema/by_number.py | 2 +- .../components/schema/by_number.pyi | 2 +- .../components/schema/by_small_number.py | 2 +- .../components/schema/by_small_number.pyi | 2 +- .../components/schema/date_time_format.py | 2 +- .../components/schema/date_time_format.pyi | 2 +- .../components/schema/email_format.py | 2 +- .../components/schema/email_format.pyi | 2 +- .../schema/enum_with0_does_not_match_false.py | 2 +- .../schema/enum_with1_does_not_match_true.py | 2 +- .../schema/enum_with_escaped_characters.py | 2 +- .../schema/enum_with_false_does_not_match0.py | 2 +- .../schema/enum_with_true_does_not_match1.py | 2 +- .../components/schema/enums_in_properties.py | 20 +-- .../components/schema/enums_in_properties.pyi | 16 +- .../components/schema/forbidden_property.py | 8 +- .../components/schema/forbidden_property.pyi | 8 +- .../components/schema/hostname_format.py | 2 +- .../components/schema/hostname_format.pyi | 2 +- ...not_raise_error_when_float_division_inf.py | 2 +- .../invalid_string_value_for_default.py | 10 +- .../invalid_string_value_for_default.pyi | 8 +- .../components/schema/ipv4_format.py | 2 +- .../components/schema/ipv4_format.pyi | 2 +- .../components/schema/ipv6_format.py | 2 +- .../components/schema/ipv6_format.pyi | 2 +- .../components/schema/json_pointer_format.py | 2 +- .../components/schema/json_pointer_format.pyi | 2 +- .../components/schema/maximum_validation.py | 2 +- .../components/schema/maximum_validation.pyi | 2 +- ...aximum_validation_with_unsigned_integer.py | 2 +- ...ximum_validation_with_unsigned_integer.pyi | 2 +- .../components/schema/maxitems_validation.py | 2 +- .../components/schema/maxitems_validation.pyi | 2 +- .../components/schema/maxlength_validation.py | 2 +- .../schema/maxlength_validation.pyi | 2 +- ...axproperties0_means_the_object_is_empty.py | 2 +- ...xproperties0_means_the_object_is_empty.pyi | 2 +- .../schema/maxproperties_validation.py | 2 +- .../schema/maxproperties_validation.pyi | 2 +- .../components/schema/minimum_validation.py | 2 +- .../components/schema/minimum_validation.pyi | 2 +- .../minimum_validation_with_signed_integer.py | 2 +- ...minimum_validation_with_signed_integer.pyi | 2 +- .../components/schema/minitems_validation.py | 2 +- .../components/schema/minitems_validation.pyi | 2 +- .../components/schema/minlength_validation.py | 2 +- .../schema/minlength_validation.pyi | 2 +- .../schema/minproperties_validation.py | 2 +- .../schema/minproperties_validation.pyi | 2 +- ...ted_allof_to_check_validation_semantics.py | 4 +- ...ed_allof_to_check_validation_semantics.pyi | 4 +- ...ted_anyof_to_check_validation_semantics.py | 4 +- ...ed_anyof_to_check_validation_semantics.pyi | 4 +- .../components/schema/nested_items.py | 24 +-- .../components/schema/nested_items.pyi | 24 +-- ...ted_oneof_to_check_validation_semantics.py | 4 +- ...ed_oneof_to_check_validation_semantics.pyi | 4 +- .../schema/not_more_complex_schema.py | 10 +- .../schema/not_more_complex_schema.pyi | 10 +- .../schema/nul_characters_in_strings.py | 2 +- .../schema/object_properties_validation.py | 14 +- .../schema/object_properties_validation.pyi | 14 +- .../unit_test_api/components/schema/oneof.py | 4 +- .../unit_test_api/components/schema/oneof.pyi | 4 +- .../components/schema/oneof_complex_types.py | 22 +-- .../components/schema/oneof_complex_types.pyi | 22 +-- .../schema/oneof_with_base_schema.py | 6 +- .../schema/oneof_with_base_schema.pyi | 6 +- .../schema/oneof_with_empty_schema.py | 2 +- .../schema/oneof_with_empty_schema.pyi | 2 +- .../components/schema/oneof_with_required.py | 6 +- .../components/schema/oneof_with_required.pyi | 6 +- .../schema/pattern_is_not_anchored.py | 2 +- .../schema/pattern_is_not_anchored.pyi | 2 +- .../components/schema/pattern_validation.py | 2 +- .../components/schema/pattern_validation.pyi | 2 +- .../properties_with_escaped_characters.py | 26 +-- .../properties_with_escaped_characters.pyi | 26 +-- ...perty_named_ref_that_is_not_a_reference.py | 6 +- ...erty_named_ref_that_is_not_a_reference.pyi | 6 +- .../schema/ref_in_additionalproperties.py | 2 +- .../schema/ref_in_additionalproperties.pyi | 2 +- .../components/schema/ref_in_allof.py | 2 +- .../components/schema/ref_in_allof.pyi | 2 +- .../components/schema/ref_in_anyof.py | 2 +- .../components/schema/ref_in_anyof.pyi | 2 +- .../components/schema/ref_in_items.py | 2 +- .../components/schema/ref_in_items.pyi | 2 +- .../components/schema/ref_in_not.py | 2 +- .../components/schema/ref_in_not.pyi | 2 +- .../components/schema/ref_in_oneof.py | 2 +- .../components/schema/ref_in_oneof.pyi | 2 +- .../components/schema/ref_in_property.py | 2 +- .../components/schema/ref_in_property.pyi | 2 +- .../schema/required_default_validation.py | 8 +- .../schema/required_default_validation.pyi | 8 +- .../components/schema/required_validation.py | 16 +- .../components/schema/required_validation.pyi | 16 +- .../schema/required_with_empty_array.py | 8 +- .../schema/required_with_empty_array.pyi | 8 +- .../required_with_escaped_characters.py | 2 +- .../required_with_escaped_characters.pyi | 2 +- .../schema/simple_enum_validation.py | 2 +- ..._do_anything_if_the_property_is_missing.py | 10 +- ...do_anything_if_the_property_is_missing.pyi | 8 +- .../schema/uniqueitems_false_validation.py | 2 +- .../schema/uniqueitems_false_validation.pyi | 2 +- .../schema/uniqueitems_validation.py | 2 +- .../schema/uniqueitems_validation.pyi | 2 +- .../components/schema/uri_format.py | 2 +- .../components/schema/uri_format.pyi | 2 +- .../components/schema/uri_reference_format.py | 2 +- .../schema/uri_reference_format.pyi | 2 +- .../components/schema/uri_template_format.py | 2 +- .../components/schema/uri_template_format.pyi | 2 +- .../python/unit_test_api/schemas.py | 78 ++++----- .../components/schema/addition_operator.py | 26 +-- .../components/schema/addition_operator.pyi | 26 +-- .../components/schema/operator.py | 2 +- .../components/schema/operator.pyi | 2 +- .../components/schema/subtraction_operator.py | 26 +-- .../schema/subtraction_operator.pyi | 26 +-- .../python/this_package/schemas.py | 80 ++++----- .../application_json.py | 2 +- .../application_json.pyi | 2 +- .../application_json.py | 8 +- .../application_json.pyi | 8 +- .../components/schema/_200_response.py | 12 +- .../components/schema/_200_response.pyi | 12 +- .../petstore_api/components/schema/_return.py | 6 +- .../components/schema/_return.pyi | 6 +- .../schema/abstract_step_message.py | 10 +- .../schema/abstract_step_message.pyi | 10 +- .../schema/additional_properties_class.py | 92 +++++----- .../schema/additional_properties_class.pyi | 92 +++++----- .../schema/additional_properties_validator.py | 30 ++-- .../additional_properties_validator.pyi | 30 ++-- ...ditional_properties_with_array_of_enums.py | 10 +- ...itional_properties_with_array_of_enums.pyi | 10 +- .../petstore_api/components/schema/address.py | 8 +- .../components/schema/address.pyi | 8 +- .../petstore_api/components/schema/animal.py | 16 +- .../petstore_api/components/schema/animal.pyi | 16 +- .../components/schema/animal_farm.py | 2 +- .../components/schema/animal_farm.pyi | 2 +- .../components/schema/any_type_and_format.py | 70 ++++---- .../components/schema/any_type_and_format.pyi | 70 ++++---- .../components/schema/any_type_not_string.py | 2 +- .../components/schema/any_type_not_string.pyi | 2 +- .../components/schema/api_response.py | 20 +-- .../components/schema/api_response.pyi | 20 +-- .../petstore_api/components/schema/apple.py | 18 +- .../petstore_api/components/schema/apple.pyi | 14 +- .../components/schema/apple_req.py | 16 +- .../components/schema/apple_req.pyi | 16 +- .../schema/array_holding_any_type.py | 6 +- .../schema/array_holding_any_type.pyi | 6 +- .../schema/array_of_array_of_number_only.py | 20 +-- .../schema/array_of_array_of_number_only.pyi | 20 +-- .../components/schema/array_of_enums.py | 2 +- .../components/schema/array_of_enums.pyi | 2 +- .../components/schema/array_of_number_only.py | 14 +- .../schema/array_of_number_only.pyi | 14 +- .../components/schema/array_test.py | 46 ++--- .../components/schema/array_test.pyi | 46 ++--- .../schema/array_with_validations_in_items.py | 8 +- .../array_with_validations_in_items.pyi | 6 +- .../petstore_api/components/schema/banana.py | 10 +- .../petstore_api/components/schema/banana.pyi | 10 +- .../components/schema/banana_req.py | 16 +- .../components/schema/banana_req.pyi | 16 +- .../components/schema/basque_pig.py | 12 +- .../components/schema/basque_pig.pyi | 10 +- .../components/schema/boolean_enum.py | 2 +- .../components/schema/capitalization.py | 38 ++--- .../components/schema/capitalization.pyi | 38 ++--- .../petstore_api/components/schema/cat.py | 10 +- .../petstore_api/components/schema/cat.pyi | 10 +- .../components/schema/category.py | 16 +- .../components/schema/category.pyi | 16 +- .../components/schema/child_cat.py | 10 +- .../components/schema/child_cat.pyi | 10 +- .../components/schema/class_model.py | 8 +- .../components/schema/class_model.pyi | 8 +- .../petstore_api/components/schema/client.py | 8 +- .../petstore_api/components/schema/client.pyi | 8 +- .../schema/complex_quadrilateral.py | 12 +- .../schema/complex_quadrilateral.pyi | 10 +- ...d_any_of_different_types_no_validations.py | 8 +- ..._any_of_different_types_no_validations.pyi | 8 +- .../components/schema/composed_array.py | 6 +- .../components/schema/composed_array.pyi | 6 +- .../components/schema/composed_bool.py | 2 +- .../components/schema/composed_bool.pyi | 2 +- .../components/schema/composed_none.py | 2 +- .../components/schema/composed_none.pyi | 2 +- .../components/schema/composed_number.py | 2 +- .../components/schema/composed_number.pyi | 2 +- .../components/schema/composed_object.py | 2 +- .../components/schema/composed_object.pyi | 2 +- .../schema/composed_one_of_different_types.py | 12 +- .../composed_one_of_different_types.pyi | 8 +- .../components/schema/composed_string.py | 2 +- .../components/schema/composed_string.pyi | 2 +- .../components/schema/currency.py | 2 +- .../components/schema/danish_pig.py | 12 +- .../components/schema/danish_pig.pyi | 10 +- .../schema/date_time_with_validations.py | 2 +- .../schema/date_with_validations.py | 2 +- .../petstore_api/components/schema/dog.py | 10 +- .../petstore_api/components/schema/dog.pyi | 10 +- .../petstore_api/components/schema/drawing.py | 10 +- .../components/schema/drawing.pyi | 10 +- .../components/schema/enum_arrays.py | 24 +-- .../components/schema/enum_arrays.pyi | 20 +-- .../components/schema/enum_class.py | 2 +- .../components/schema/enum_test.py | 36 ++-- .../components/schema/enum_test.pyi | 28 ++-- .../components/schema/equilateral_triangle.py | 12 +- .../schema/equilateral_triangle.pyi | 10 +- .../petstore_api/components/schema/file.py | 8 +- .../petstore_api/components/schema/file.pyi | 8 +- .../schema/file_schema_test_class.py | 10 +- .../schema/file_schema_test_class.pyi | 10 +- .../petstore_api/components/schema/foo.py | 2 +- .../petstore_api/components/schema/foo.pyi | 2 +- .../components/schema/format_test.py | 158 +++++++++--------- .../components/schema/format_test.pyi | 140 ++++++++-------- .../components/schema/from_schema.py | 14 +- .../components/schema/from_schema.pyi | 14 +- .../petstore_api/components/schema/fruit.py | 8 +- .../petstore_api/components/schema/fruit.pyi | 8 +- .../components/schema/fruit_req.py | 2 +- .../components/schema/fruit_req.pyi | 2 +- .../components/schema/gm_fruit.py | 8 +- .../components/schema/gm_fruit.pyi | 8 +- .../components/schema/grandparent_animal.py | 10 +- .../components/schema/grandparent_animal.pyi | 10 +- .../components/schema/has_only_read_only.py | 14 +- .../components/schema/has_only_read_only.pyi | 14 +- .../components/schema/health_check_result.py | 10 +- .../components/schema/health_check_result.pyi | 10 +- .../components/schema/integer_enum.py | 2 +- .../components/schema/integer_enum_big.py | 2 +- .../schema/integer_enum_one_value.py | 2 +- .../schema/integer_enum_with_default_value.py | 2 +- .../components/schema/integer_max10.py | 2 +- .../components/schema/integer_min15.py | 2 +- .../components/schema/isosceles_triangle.py | 12 +- .../components/schema/isosceles_triangle.pyi | 10 +- .../components/schema/json_patch_request.py | 8 +- .../components/schema/json_patch_request.pyi | 8 +- .../json_patch_request_add_replace_test.py | 28 ++-- .../json_patch_request_add_replace_test.pyi | 26 +-- .../schema/json_patch_request_move_copy.py | 24 +-- .../schema/json_patch_request_move_copy.pyi | 22 +-- .../schema/json_patch_request_remove.py | 20 +-- .../schema/json_patch_request_remove.pyi | 18 +- .../petstore_api/components/schema/mammal.py | 2 +- .../petstore_api/components/schema/mammal.pyi | 2 +- .../components/schema/map_test.py | 54 +++--- .../components/schema/map_test.pyi | 52 +++--- ...perties_and_additional_properties_class.py | 22 +-- ...erties_and_additional_properties_class.pyi | 22 +-- .../petstore_api/components/schema/money.py | 10 +- .../petstore_api/components/schema/money.pyi | 10 +- .../petstore_api/components/schema/name.py | 20 +-- .../petstore_api/components/schema/name.pyi | 20 +-- .../schema/no_additional_properties.py | 16 +- .../schema/no_additional_properties.pyi | 16 +- .../components/schema/nullable_class.py | 136 +++++++-------- .../components/schema/nullable_class.pyi | 136 +++++++-------- .../components/schema/nullable_shape.py | 2 +- .../components/schema/nullable_shape.pyi | 2 +- .../components/schema/nullable_string.py | 2 +- .../components/schema/nullable_string.pyi | 2 +- .../components/schema/number_only.py | 8 +- .../components/schema/number_only.pyi | 8 +- .../schema/number_with_validations.py | 2 +- ...ject_model_with_arg_and_args_properties.py | 18 +- ...ect_model_with_arg_and_args_properties.pyi | 18 +- .../schema/object_model_with_ref_props.py | 2 +- .../schema/object_model_with_ref_props.pyi | 2 +- ..._with_req_test_prop_from_unset_add_prop.py | 10 +- ...with_req_test_prop_from_unset_add_prop.pyi | 10 +- .../schema/object_with_decimal_properties.py | 8 +- .../schema/object_with_decimal_properties.pyi | 8 +- .../object_with_difficultly_named_props.py | 14 +- .../object_with_difficultly_named_props.pyi | 14 +- ...object_with_inline_composition_property.py | 12 +- ...bject_with_inline_composition_property.pyi | 10 +- ...ect_with_invalid_named_refed_properties.py | 2 +- ...ct_with_invalid_named_refed_properties.pyi | 2 +- .../schema/object_with_optional_test_prop.py | 8 +- .../schema/object_with_optional_test_prop.pyi | 8 +- .../schema/object_with_validations.py | 2 +- .../petstore_api/components/schema/order.py | 40 ++--- .../petstore_api/components/schema/order.pyi | 38 ++--- .../components/schema/parent_pet.py | 2 +- .../components/schema/parent_pet.pyi | 2 +- .../petstore_api/components/schema/pet.py | 46 ++--- .../petstore_api/components/schema/pet.pyi | 44 ++--- .../petstore_api/components/schema/pig.py | 2 +- .../petstore_api/components/schema/pig.pyi | 2 +- .../petstore_api/components/schema/player.py | 8 +- .../petstore_api/components/schema/player.pyi | 8 +- .../components/schema/quadrilateral.py | 2 +- .../components/schema/quadrilateral.pyi | 2 +- .../schema/quadrilateral_interface.py | 20 +-- .../schema/quadrilateral_interface.pyi | 18 +- .../components/schema/read_only_first.py | 14 +- .../components/schema/read_only_first.pyi | 14 +- .../req_props_from_explicit_add_props.py | 20 +-- .../req_props_from_explicit_add_props.pyi | 20 +-- .../schema/req_props_from_true_add_props.py | 20 +-- .../schema/req_props_from_true_add_props.pyi | 20 +-- .../schema/req_props_from_unset_add_props.py | 2 +- .../schema/req_props_from_unset_add_props.pyi | 2 +- .../components/schema/scalene_triangle.py | 12 +- .../components/schema/scalene_triangle.pyi | 10 +- .../schema/self_referencing_array_model.py | 2 +- .../schema/self_referencing_array_model.pyi | 2 +- .../schema/self_referencing_object_model.py | 2 +- .../schema/self_referencing_object_model.pyi | 2 +- .../petstore_api/components/schema/shape.py | 2 +- .../petstore_api/components/schema/shape.pyi | 2 +- .../components/schema/shape_or_null.py | 2 +- .../components/schema/shape_or_null.pyi | 2 +- .../components/schema/simple_quadrilateral.py | 12 +- .../schema/simple_quadrilateral.pyi | 10 +- .../components/schema/some_object.py | 2 +- .../components/schema/some_object.pyi | 2 +- .../components/schema/special_model_name.py | 8 +- .../components/schema/special_model_name.pyi | 8 +- .../components/schema/string_boolean_map.py | 8 +- .../components/schema/string_boolean_map.pyi | 8 +- .../components/schema/string_enum.py | 2 +- .../components/schema/string_enum.pyi | 2 +- .../schema/string_enum_with_default_value.py | 2 +- .../schema/string_with_validation.py | 2 +- .../petstore_api/components/schema/tag.py | 14 +- .../petstore_api/components/schema/tag.pyi | 14 +- .../components/schema/triangle.py | 2 +- .../components/schema/triangle.pyi | 2 +- .../components/schema/triangle_interface.py | 20 +-- .../components/schema/triangle_interface.pyi | 18 +- .../petstore_api/components/schema/user.py | 84 +++++----- .../petstore_api/components/schema/user.pyi | 84 +++++----- .../components/schema/uuid_string.py | 2 +- .../petstore_api/components/schema/whale.py | 24 +-- .../petstore_api/components/schema/whale.pyi | 22 +-- .../petstore_api/components/schema/zebra.py | 26 +-- .../petstore_api/components/schema/zebra.pyi | 22 +-- .../paths/fake/delete/parameter_1/schema.py | 2 +- .../paths/fake/delete/parameter_4/schema.py | 2 +- .../paths/fake/get/parameter_0/schema.py | 8 +- .../paths/fake/get/parameter_0/schema.pyi | 6 +- .../paths/fake/get/parameter_1/schema.py | 2 +- .../paths/fake/get/parameter_2/schema.py | 8 +- .../paths/fake/get/parameter_2/schema.pyi | 6 +- .../paths/fake/get/parameter_3/schema.py | 2 +- .../paths/fake/get/parameter_4/schema.py | 2 +- .../paths/fake/get/parameter_5/schema.py | 2 +- .../application_x_www_form_urlencoded.py | 24 +-- .../application_x_www_form_urlencoded.pyi | 20 +-- .../application_x_www_form_urlencoded.py | 108 ++++++------ .../application_x_www_form_urlencoded.pyi | 92 +++++----- .../post/request_body/application_json.py | 8 +- .../post/request_body/application_json.pyi | 8 +- .../post/parameter_0/schema.py | 4 +- .../post/parameter_0/schema.pyi | 2 +- .../post/parameter_1/schema.py | 12 +- .../post/parameter_1/schema.pyi | 10 +- .../post/request_body/application_json.py | 4 +- .../post/request_body/application_json.pyi | 2 +- .../post/request_body/multipart_form_data.py | 12 +- .../post/request_body/multipart_form_data.pyi | 10 +- .../post/response_for_200/application_json.py | 4 +- .../response_for_200/application_json.pyi | 2 +- .../response_for_200/multipart_form_data.py | 12 +- .../response_for_200/multipart_form_data.pyi | 10 +- .../application_x_www_form_urlencoded.py | 18 +- .../application_x_www_form_urlencoded.pyi | 18 +- .../get/parameter_0/schema.py | 8 +- .../get/parameter_0/schema.pyi | 8 +- .../post/request_body/multipart_form_data.py | 16 +- .../post/request_body/multipart_form_data.pyi | 16 +- .../put/parameter_0/schema.py | 6 +- .../put/parameter_0/schema.pyi | 6 +- .../put/parameter_1/schema.py | 6 +- .../put/parameter_1/schema.pyi | 6 +- .../put/parameter_2/schema.py | 6 +- .../put/parameter_2/schema.pyi | 6 +- .../put/parameter_3/schema.py | 6 +- .../put/parameter_3/schema.pyi | 6 +- .../put/parameter_4/schema.py | 6 +- .../put/parameter_4/schema.pyi | 6 +- .../post/request_body/multipart_form_data.py | 16 +- .../post/request_body/multipart_form_data.pyi | 16 +- .../post/request_body/multipart_form_data.py | 14 +- .../post/request_body/multipart_form_data.pyi | 14 +- .../response_for_default/application_json.py | 2 +- .../response_for_default/application_json.pyi | 2 +- .../get/parameter_0/schema.py | 8 +- .../get/parameter_0/schema.pyi | 6 +- .../get/response_for_200/application_json.py | 2 +- .../get/response_for_200/application_json.pyi | 2 +- .../get/response_for_200/application_xml.py | 2 +- .../get/response_for_200/application_xml.pyi | 2 +- .../get/parameter_0/schema.py | 6 +- .../get/parameter_0/schema.pyi | 6 +- .../get/response_for_200/application_json.py | 2 +- .../get/response_for_200/application_json.pyi | 2 +- .../get/response_for_200/application_xml.py | 2 +- .../get/response_for_200/application_xml.pyi | 2 +- .../application_x_www_form_urlencoded.py | 14 +- .../application_x_www_form_urlencoded.pyi | 14 +- .../post/request_body/multipart_form_data.py | 14 +- .../post/request_body/multipart_form_data.pyi | 14 +- .../get/parameter_0/schema.py | 2 +- .../petstore/python/petstore_api/schemas.py | 78 ++++----- .../test_additional_properties_validator.py | 4 +- .../python/tests_manual/test_animal.py | 8 +- .../tests_manual/test_any_type_schema.py | 20 +-- .../python/tests_manual/test_mammal.py | 2 +- ...ject_model_with_arg_and_args_properties.py | 4 +- .../test_object_model_with_ref_props.py | 4 +- ...object_with_inline_composition_property.py | 2 +- .../python/tests_manual/test_validate.py | 22 +-- 477 files changed, 2830 insertions(+), 2830 deletions(-) diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/model_templates/new.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/model_templates/new.handlebars index 3e74c338d07..fa4b64ebcba 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/model_templates/new.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/model_templates/new.handlebars @@ -4,7 +4,7 @@ def __new__( *_args: typing.Union[{{> model_templates/schema_python_types }}], {{else}} {{#if isArray }} - _arg: typing.Union[typing.Tuple[{{#with items}}{{#if refClass}}'{{> refclass_with_module }}'{{else}}typing.Union[MetaOapg.{{name.getCamelCaseName}}, {{> model_templates/schema_python_types }}]{{/if}}{{/with}}], typing.List[{{#with items}}{{#if refClass}}'{{> refclass_with_module }}'{{else}}typing.Union[MetaOapg.{{name.getCamelCaseName}}, {{> model_templates/schema_python_types }}]{{/if}}{{/with}}]], + _arg: typing.Union[typing.Tuple[{{#with items}}{{#if refClass}}'{{> refclass_with_module }}'{{else}}typing.Union[Schema_.{{name.getCamelCaseName}}, {{> model_templates/schema_python_types }}]{{/if}}{{/with}}], typing.List[{{#with items}}{{#if refClass}}'{{> refclass_with_module }}'{{else}}typing.Union[Schema_.{{name.getCamelCaseName}}, {{> model_templates/schema_python_types }}]{{/if}}{{/with}}]], {{else}} *_args: typing.Union[{{> model_templates/schema_python_types }}], {{/if}} @@ -19,9 +19,9 @@ def __new__( {{else}} {{#if name}} {{#if schemaIsFromAdditionalProperties}} - {{@key.getName}}: typing.Union[MetaOapg.{{name.getCamelCaseName}}, {{> model_templates/schema_python_types }}], + {{@key.getName}}: typing.Union[Schema_.{{name.getCamelCaseName}}, {{> model_templates/schema_python_types }}], {{else}} - {{@key.getName}}: typing.Union[MetaOapg.Properties.{{name.getCamelCaseName}}, {{> model_templates/schema_python_types }}], + {{@key.getName}}: typing.Union[Schema_.Properties.{{name.getCamelCaseName}}, {{> model_templates/schema_python_types }}], {{/if}} {{else}} {{@key.getName}}: typing.Union[schemas.AnyTypeSchema, {{> model_templates/schema_python_types }}], @@ -37,7 +37,7 @@ def __new__( {{#if refClass}} {{@key.getName}}: typing.Union['{{> refclass_with_module }}', schemas.Unset] = schemas.unset, {{else}} - {{@key.getName}}: typing.Union[MetaOapg.Properties.{{name.getCamelCaseName}}, {{> model_templates/schema_python_types }}schemas.Unset] = schemas.unset, + {{@key.getName}}: typing.Union[Schema_.Properties.{{name.getCamelCaseName}}, {{> model_templates/schema_python_types }}schemas.Unset] = schemas.unset, {{/if}} {{/if}} {{/each}} @@ -47,7 +47,7 @@ def __new__( {{#if refClass}} **kwargs: '{{> refclass_with_module }}', {{else}} - **kwargs: typing.Union[MetaOapg.{{name.getCamelCaseName}}, {{> model_templates/schema_python_types }}], + **kwargs: typing.Union[Schema_.{{name.getCamelCaseName}}, {{> model_templates/schema_python_types }}], {{/if}} {{/unless}} {{else}} diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/model_templates/property_getitem.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/model_templates/property_getitem.handlebars index f0a99a71128..9d83c29422c 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/model_templates/property_getitem.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/model_templates/property_getitem.handlebars @@ -17,7 +17,7 @@ def {{methodName}}( str {{/with}} ] -){{#not properties}}{{#not getRequiredProperties}}{{#with additionalProperties}}{{#unless getIsBooleanSchemaFalse}} -> {{#if refClass}}'{{> refclass_with_module }}'{{else}}MetaOapg.{{name.getName}}{{/if}}{{/unless}}{{/with}}{{/not}}{{/not}}: +){{#not properties}}{{#not getRequiredProperties}}{{#with additionalProperties}}{{#unless getIsBooleanSchemaFalse}} -> {{#if refClass}}'{{> refclass_with_module }}'{{else}}Schema_.{{name.getName}}{{/if}}{{/unless}}{{/with}}{{/not}}{{/not}}: {{#eq methodName "__getitem__"}} # dict_instance[name] accessor {{/eq}} diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/model_templates/property_getitems.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/model_templates/property_getitems.handlebars index b6ca5490677..b3981981876 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/model_templates/property_getitems.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/model_templates/property_getitems.handlebars @@ -8,9 +8,9 @@ def __getitem__(self, name: typing_extensions.Literal["{{{@key.getName}}}"]) -> {{else}} {{#if name}} {{#if schemaIsFromAdditionalProperties}} -def __getitem__(self, name: typing_extensions.Literal["{{{@key.getName}}}"]) -> MetaOapg.{{name.getCamelCaseName}}: ... +def __getitem__(self, name: typing_extensions.Literal["{{{@key.getName}}}"]) -> Schema_.{{name.getCamelCaseName}}: ... {{else}} -def __getitem__(self, name: typing_extensions.Literal["{{{@key.getName}}}"]) -> MetaOapg.Properties.{{name.getCamelCaseName}}: ... +def __getitem__(self, name: typing_extensions.Literal["{{{@key.getName}}}"]) -> Schema_.Properties.{{name.getCamelCaseName}}: ... {{/if}} {{else}} def __getitem__(self, name: typing_extensions.Literal["{{{@key.getName}}}"]) -> schemas.AnyTypeSchema: ... @@ -26,7 +26,7 @@ def __getitem__(self, name: typing_extensions.Literal["{{{@key.getName}}}"]) -> {{#if refClass}} def __getitem__(self, name: typing_extensions.Literal["{{{@key.getName}}}"]) -> '{{> refclass_with_module }}': ... {{else}} -def __getitem__(self, name: typing_extensions.Literal["{{{@key.getName}}}"]) -> MetaOapg.Properties.{{name.getCamelCaseName}}: ... +def __getitem__(self, name: typing_extensions.Literal["{{{@key.getName}}}"]) -> Schema_.Properties.{{name.getCamelCaseName}}: ... {{/if}} {{/each}} {{/if}} @@ -35,7 +35,7 @@ def __getitem__(self, name: typing_extensions.Literal["{{{@key.getName}}}"]) -> {{#unless getIsBooleanSchemaFalse}} @typing.overload -def __getitem__(self, name: str) -> {{#if refClass}}'{{> refclass_with_module }}'{{else}}MetaOapg.{{name.getCamelCaseName}}{{/if}}: ... +def __getitem__(self, name: str) -> {{#if refClass}}'{{> refclass_with_module }}'{{else}}Schema_.{{name.getCamelCaseName}}{{/if}}: ... {{/unless}} {{else}} @@ -48,7 +48,7 @@ def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... {{#with additionalProperties}} {{#unless getIsBooleanSchemaFalse}} -def __getitem__(self, name: str) -> {{#if refClass}}'{{> refclass_with_module }}'{{else}}MetaOapg.{{name.getCamelCaseName}}{{/if}}: +def __getitem__(self, name: str) -> {{#if refClass}}'{{> refclass_with_module }}'{{else}}Schema_.{{name.getCamelCaseName}}{{/if}}: # dict_instance[name] accessor return super().__getitem__(name) {{/unless}} @@ -64,9 +64,9 @@ def get_item_(self, name: typing_extensions.Literal["{{{@key.getName}}}"]) -> '{ {{else}} {{#if name}} {{#if schemaIsFromAdditionalProperties}} -def get_item_(self, name: typing_extensions.Literal["{{{@key.getName}}}"]) -> MetaOapg.{{name.getCamelCaseName}}: ... +def get_item_(self, name: typing_extensions.Literal["{{{@key.getName}}}"]) -> Schema_.{{name.getCamelCaseName}}: ... {{else}} -def get_item_(self, name: typing_extensions.Literal["{{{@key.getName}}}"]) -> MetaOapg.Properties.{{name.getCamelCaseName}}: ... +def get_item_(self, name: typing_extensions.Literal["{{{@key.getName}}}"]) -> Schema_.Properties.{{name.getCamelCaseName}}: ... {{/if}} {{else}} def get_item_(self, name: typing_extensions.Literal["{{{@key.getName}}}"]) -> schemas.AnyTypeSchema: ... @@ -82,7 +82,7 @@ def get_item_(self, name: typing_extensions.Literal["{{{@key.getName}}}"]) -> sc {{#if refClass}} def get_item_(self, name: typing_extensions.Literal["{{{@key.getName}}}"]) -> typing.Union['{{> refclass_with_module }}', schemas.Unset]: ... {{else}} -def get_item_(self, name: typing_extensions.Literal["{{{@key.getName}}}"]) -> typing.Union[MetaOapg.Properties.{{name.getCamelCaseName}}, schemas.Unset]: ... +def get_item_(self, name: typing_extensions.Literal["{{{@key.getName}}}"]) -> typing.Union[Schema_.Properties.{{name.getCamelCaseName}}, schemas.Unset]: ... {{/if}} {{/each}} {{/if}} @@ -91,7 +91,7 @@ def get_item_(self, name: typing_extensions.Literal["{{{@key.getName}}}"]) -> ty {{#unless getIsBooleanSchemaFalse}} @typing.overload -def get_item_(self, name: str) -> typing.Union[{{#if refClass}}'{{> refclass_with_module }}'{{else}}MetaOapg.{{name.getCamelCaseName}}{{/if}}, schemas.Unset]: ... +def get_item_(self, name: str) -> typing.Union[{{#if refClass}}'{{> refclass_with_module }}'{{else}}Schema_.{{name.getCamelCaseName}}{{/if}}, schemas.Unset]: ... {{/unless}} {{else}} @@ -104,7 +104,7 @@ def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schem {{#with additionalProperties}} {{#unless getIsBooleanSchemaFalse}} -def get_item_(self, name: str) -> {{#if refClass}}'{{> refclass_with_module }}'{{else}}MetaOapg.{{name.getCamelCaseName}}{{/if}}: +def get_item_(self, name: str) -> {{#if refClass}}'{{> refclass_with_module }}'{{else}}Schema_.{{name.getCamelCaseName}}{{/if}}: return super().get_item_(name) {{/unless}} {{/with}} diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/model_templates/property_type_hints_required.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/model_templates/property_type_hints_required.handlebars index 356596a601c..299d1b2198d 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/model_templates/property_type_hints_required.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/model_templates/property_type_hints_required.handlebars @@ -6,9 +6,9 @@ {{else}} {{#if name}} {{#if schemaIsFromAdditionalProperties}} -{{@key.getName}}: MetaOapg.{{name.getCamelCaseName}} +{{@key.getName}}: Schema_.{{name.getCamelCaseName}} {{else}} -{{@key.getName}}: MetaOapg.Properties.{{name.getCamelCaseName}} +{{@key.getName}}: Schema_.Properties.{{name.getCamelCaseName}} {{/if}} {{else}} {{@key.getName}}: schemas.AnyTypeSchema diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/model_templates/schema_composed_or_anytype.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/model_templates/schema_composed_or_anytype.handlebars index c2b3a694010..795d21c3462 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/model_templates/schema_composed_or_anytype.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/model_templates/schema_composed_or_anytype.handlebars @@ -23,7 +23,7 @@ class {{name.getCamelCaseName}}( {{/if}} - class MetaOapg: + class Schema_: {{#if isAnyType}} # any type {{/if}} diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/model_templates/schema_dict.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/model_templates/schema_dict.handlebars index 6145436ced3..4819865c8d5 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/model_templates/schema_dict.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/model_templates/schema_dict.handlebars @@ -18,14 +18,14 @@ class {{name.getCamelCaseName}}( {{#or additionalProperties getRequiredProperties getHasDiscriminatorWithNonEmptyMapping properties}} - class MetaOapg: + class Schema_: {{> model_templates/dict_partial }} {{/or}} {{else}} {{#or additionalProperties getRequiredProperties getHasDiscriminatorWithNonEmptyMapping properties hasValidation}} - class MetaOapg: + class Schema_: types = {frozendict.frozendict} {{> model_templates/dict_partial }} {{> model_templates/validations }} diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/model_templates/schema_list.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/model_templates/schema_list.handlebars index de72b78733b..fa84199f1b2 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/model_templates/schema_list.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/model_templates/schema_list.handlebars @@ -17,7 +17,7 @@ class {{name.getCamelCaseName}}( {{#or getItems hasValidation}} - class MetaOapg: + class Schema_: types = {tuple} {{#if hasValidation}} {{> model_templates/validations }} @@ -27,5 +27,5 @@ class {{name.getCamelCaseName}}( {{> model_templates/new }} - def __getitem__(self, i: int) -> {{#with items}}{{#if refClass}}'{{> refclass_with_module }}'{{else}}MetaOapg.{{name.getCamelCaseName}}{{/if}}{{/with}}: + def __getitem__(self, i: int) -> {{#with items}}{{#if refClass}}'{{> refclass_with_module }}'{{else}}Schema_.{{name.getCamelCaseName}}{{/if}}{{/with}}: return super().__getitem__(i) diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/model_templates/schema_simple.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/model_templates/schema_simple.handlebars index c1694499654..7a16e14097f 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/model_templates/schema_simple.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/model_templates/schema_simple.handlebars @@ -18,7 +18,7 @@ class {{name.getCamelCaseName}}( {{#or hasValidation isEnum getFormat}} - class MetaOapg: + class Schema_: {{#if isAnyType}} # any type {{/if}} diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars index 5b389b33408..07e80501082 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars @@ -211,7 +211,7 @@ class BoolClass(Singleton): raise ValueError('Unable to find the boolean value of this instance') -class MetaOapgTyped: +class SchemaTyped: types: typing.Optional[typing.Set[typing.Type]] exclusive_maximum: typing.Union[int, float] inclusive_maximum: typing.Union[int, float] @@ -880,7 +880,7 @@ def validate_additional_properties( return None schema = _get_class(additional_properties_schema) path_to_schemas = {} - properties_annotations = cls.MetaOapg.Properties.__annotations__ if hasattr(cls.MetaOapg, 'Properties') else {} + properties_annotations = cls.Schema_.Properties.__annotations__ if hasattr(cls.Schema_, 'Properties') else {} present_additional_properties = {k: v for k, v, in arg.items() if k not in properties_annotations} for property_name, value in present_additional_properties.items(): path_to_item = validation_metadata.path_to_item + (property_name,) @@ -1083,37 +1083,37 @@ def __get_discriminated_class(cls, disc_property_name: str, disc_payload_value: """ Used in schemas with discriminators """ - if not hasattr(cls.MetaOapg, 'discriminator'): + if not hasattr(cls.Schema_, 'discriminator'): return None - disc = cls.MetaOapg.discriminator() + disc = cls.Schema_.discriminator() if disc_property_name not in disc: return None discriminated_cls = disc[disc_property_name].get(disc_payload_value) if discriminated_cls is not None: return discriminated_cls if not ( - hasattr(cls.MetaOapg, 'AllOf') or - hasattr(cls.MetaOapg, 'OneOf') or - hasattr(cls.MetaOapg, 'AnyOf') + hasattr(cls.Schema_, 'AllOf') or + hasattr(cls.Schema_, 'OneOf') or + hasattr(cls.Schema_, 'AnyOf') ): return None # TODO stop traveling if a cycle is hit - if hasattr(cls.MetaOapg, 'AllOf'): - for allof_cls in cls.MetaOapg.AllOf.classes: + if hasattr(cls.Schema_, 'AllOf'): + for allof_cls in cls.Schema_.AllOf.classes: allof_cls = _get_class(allof_cls) discriminated_cls = __get_discriminated_class( allof_cls, disc_property_name=disc_property_name, disc_payload_value=disc_payload_value) if discriminated_cls is not None: return discriminated_cls - if hasattr(cls.MetaOapg, 'OneOf'): - for oneof_cls in cls.MetaOapg.OneOf.classes: + if hasattr(cls.Schema_, 'OneOf'): + for oneof_cls in cls.Schema_.OneOf.classes: oneof_cls = _get_class(oneof_cls) discriminated_cls = __get_discriminated_class( oneof_cls, disc_property_name=disc_property_name, disc_payload_value=disc_payload_value) if discriminated_cls is not None: return discriminated_cls - if hasattr(cls.MetaOapg, 'AnyOf'): - for anyof_cls in cls.MetaOapg.AnyOf.classes: + if hasattr(cls.Schema_, 'AnyOf'): + for anyof_cls in cls.Schema_.AnyOf.classes: anyof_cls = _get_class(anyof_cls) discriminated_cls = __get_discriminated_class( anyof_cls, disc_property_name=disc_property_name, disc_payload_value=disc_payload_value) @@ -1129,7 +1129,7 @@ def _get_discriminated_class_and_exception( ) -> typing.Tuple[typing.Optional['Schema'], typing.Optional[Exception]]: if not isinstance(arg, frozendict.frozendict): return None, None - discriminator = cls.MetaOapg.discriminator() + discriminator = cls.Schema_.discriminator() disc_prop_name = list(discriminator.keys())[0] try: __ensure_discriminator_value_present(disc_prop_name, validation_metadata, arg) @@ -1233,7 +1233,7 @@ class Schema: the base class of all swagger/openapi schemas/models """ __inheritable_primitive_types_set = {decimal.Decimal, str, tuple, frozendict.frozendict, FileIO, bytes, BoolClass, NoneClass} - MetaOapg: MetaOapgTyped + Schema_: SchemaTyped __excluded_cls_properties = { '__module__', '__dict__', @@ -1254,7 +1254,7 @@ class Schema: """ json_schema_data = { k: v - for k, v in vars(cls.MetaOapg).items() + for k, v in vars(cls.Schema_).items() if k not in cls.__excluded_cls_properties and k not in validation_metadata.configuration.disabled_json_schema_python_keywords @@ -1375,7 +1375,7 @@ class Schema: """ cls._process_schema_classes(schema_classes) enum_schema = any( - issubclass(this_cls, Schema) and hasattr(this_cls.MetaOapg, "enum_value_to_name") + issubclass(this_cls, Schema) and hasattr(this_cls.Schema_, "enum_value_to_name") for this_cls in schema_classes ) inheritable_primitive_type = schema_classes.intersection(cls.__inheritable_primitive_types_set) @@ -1871,7 +1871,7 @@ class NoneBase: class StrBase: - MetaOapg: MetaOapgTyped + Schema_: SchemaTyped @property def as_str_(self) -> str: @@ -1929,7 +1929,7 @@ class DecimalBase: class NumberBase: - MetaOapg: MetaOapgTyped + Schema_: SchemaTyped @property def as_int_(self) -> int: @@ -1963,7 +1963,7 @@ class NumberBase: class ListBase: - MetaOapg: MetaOapgTyped + Schema_: SchemaTyped @classmethod def _get_items( @@ -2172,7 +2172,7 @@ class ListSchema( Schema, TupleMixin ): - class MetaOapg: + class Schema_: types = {tuple} @classmethod @@ -2188,7 +2188,7 @@ class NoneSchema( Schema, NoneMixin ): - class MetaOapg: + class Schema_: types = {NoneClass} @classmethod @@ -2208,7 +2208,7 @@ class NumberSchema( This is used for type: number with no format Both integers AND floats are accepted """ - class MetaOapg: + class Schema_: types = {decimal.Decimal} @classmethod @@ -2230,7 +2230,7 @@ class IntBase: class IntSchema(IntBase, NumberSchema): - class MetaOapg: + class Schema_: types = {decimal.Decimal} format = 'int' @@ -2245,7 +2245,7 @@ class IntSchema(IntBase, NumberSchema): class Int32Schema( IntSchema ): - class MetaOapg: + class Schema_: types = {decimal.Decimal} format = 'int32' @@ -2253,7 +2253,7 @@ class Int32Schema( class Int64Schema( IntSchema ): - class MetaOapg: + class Schema_: types = {decimal.Decimal} format = 'int64' @@ -2261,7 +2261,7 @@ class Int64Schema( class Float32Schema( NumberSchema ): - class MetaOapg: + class Schema_: types = {decimal.Decimal} format = 'float' @@ -2273,7 +2273,7 @@ class Float32Schema( class Float64Schema( NumberSchema ): - class MetaOapg: + class Schema_: types = {decimal.Decimal} format = 'double' @@ -2293,7 +2293,7 @@ class StrSchema( - type: string (format unset) - type: string, format: date """ - class MetaOapg: + class Schema_: types = {str} @classmethod @@ -2305,7 +2305,7 @@ class StrSchema( class UUIDSchema(UUIDBase, StrSchema): - class MetaOapg: + class Schema_: types = {str} format = 'uuid' @@ -2314,7 +2314,7 @@ class UUIDSchema(UUIDBase, StrSchema): class DateSchema(DateBase, StrSchema): - class MetaOapg: + class Schema_: types = {str} format = 'date' @@ -2323,7 +2323,7 @@ class DateSchema(DateBase, StrSchema): class DateTimeSchema(DateTimeBase, StrSchema): - class MetaOapg: + class Schema_: types = {str} format = 'date-time' @@ -2332,7 +2332,7 @@ class DateTimeSchema(DateTimeBase, StrSchema): class DecimalSchema(DecimalBase, StrSchema): - class MetaOapg: + class Schema_: types = {str} format = 'number' @@ -2355,7 +2355,7 @@ class BytesSchema( """ this class will subclass bytes and is immutable """ - class MetaOapg: + class Schema_: types = {bytes} def __new__(cls, _arg: bytes, **kwargs: configuration_module.Configuration): @@ -2382,7 +2382,7 @@ class FileSchema( - to allow file reading and writing to disk - to be able to preserve file name info """ - class MetaOapg: + class Schema_: types = {FileIO} def __new__(cls, _arg: typing.Union[io.FileIO, io.BufferedReader], **kwargs: configuration_module.Configuration): @@ -2393,7 +2393,7 @@ class BinarySchema( Schema, BinaryMixin ): - class MetaOapg: + class Schema_: types = {FileIO, bytes} format = 'binary' @@ -2412,7 +2412,7 @@ class BoolSchema( Schema, BoolMixin ): - class MetaOapg: + class Schema_: types = {BoolClass} @classmethod @@ -2434,7 +2434,7 @@ class AnyTypeSchema( NoneFrozenDictTupleStrDecimalBoolFileBytesMixin ): # Python representation of a schema defined as true or {} - class MetaOapg: + class Schema_: pass @@ -2450,7 +2450,7 @@ class NotAnyTypeSchema(AnyTypeSchema): Note: validations on this class are never run because the code knows that no inputs will ever validate """ - class MetaOapg: + class Schema_: _not = AnyTypeSchema def __new__( @@ -2470,7 +2470,7 @@ class DictSchema( Schema, FrozenDictMixin ): - class MetaOapg: + class Schema_: types = {frozendict.frozendict} @classmethod diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/_not.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/_not.py index 21f1c2487d4..248700c5c8f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/_not.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/_not.py @@ -33,7 +33,7 @@ class _Not( """ - class MetaOapg: + class Schema_: # any type _Not = schemas.IntSchema diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/_not.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/_not.pyi index 21f1c2487d4..248700c5c8f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/_not.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/_not.pyi @@ -33,7 +33,7 @@ class _Not( """ - class MetaOapg: + class Schema_: # any type _Not = schemas.IntSchema diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_allows_a_schema_which_should_validate.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_allows_a_schema_which_should_validate.py index 2baa5250642..40f9f25cd07 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_allows_a_schema_which_should_validate.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_allows_a_schema_which_should_validate.py @@ -33,7 +33,7 @@ class AdditionalpropertiesAllowsASchemaWhichShouldValidate( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} class Properties: @@ -46,13 +46,13 @@ class Properties: AdditionalProperties = schemas.BoolSchema @typing.overload - def __getitem__(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... + def __getitem__(self, name: typing_extensions.Literal["foo"]) -> Schema_.Properties.Foo: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... + def __getitem__(self, name: typing_extensions.Literal["bar"]) -> Schema_.Properties.Bar: ... @typing.overload - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: ... + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: ... def __getitem__( self, @@ -66,13 +66,13 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[Schema_.Properties.Foo, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["bar"]) -> typing.Union[MetaOapg.Properties.Bar, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["bar"]) -> typing.Union[Schema_.Properties.Bar, schemas.Unset]: ... @typing.overload - def get_item_(self, name: str) -> typing.Union[MetaOapg.AdditionalProperties, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[Schema_.AdditionalProperties, schemas.Unset]: ... def get_item_( self, @@ -87,10 +87,10 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - foo: typing.Union[MetaOapg.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - bar: typing.Union[MetaOapg.Properties.Bar, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + bar: typing.Union[Schema_.Properties.Bar, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, bool, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, bool, ], ) -> 'AdditionalpropertiesAllowsASchemaWhichShouldValidate': return super().__new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_allows_a_schema_which_should_validate.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_allows_a_schema_which_should_validate.pyi index 88539da5f8f..4064df6bf3c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_allows_a_schema_which_should_validate.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_allows_a_schema_which_should_validate.pyi @@ -33,7 +33,7 @@ class AdditionalpropertiesAllowsASchemaWhichShouldValidate( """ - class MetaOapg: + class Schema_: class Properties: Foo = schemas.AnyTypeSchema @@ -45,13 +45,13 @@ class AdditionalpropertiesAllowsASchemaWhichShouldValidate( AdditionalProperties = schemas.BoolSchema @typing.overload - def __getitem__(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... + def __getitem__(self, name: typing_extensions.Literal["foo"]) -> Schema_.Properties.Foo: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... + def __getitem__(self, name: typing_extensions.Literal["bar"]) -> Schema_.Properties.Bar: ... @typing.overload - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: ... + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: ... def __getitem__( self, @@ -65,13 +65,13 @@ class AdditionalpropertiesAllowsASchemaWhichShouldValidate( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[Schema_.Properties.Foo, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["bar"]) -> typing.Union[MetaOapg.Properties.Bar, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["bar"]) -> typing.Union[Schema_.Properties.Bar, schemas.Unset]: ... @typing.overload - def get_item_(self, name: str) -> typing.Union[MetaOapg.AdditionalProperties, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[Schema_.AdditionalProperties, schemas.Unset]: ... def get_item_( self, @@ -86,10 +86,10 @@ class AdditionalpropertiesAllowsASchemaWhichShouldValidate( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - foo: typing.Union[MetaOapg.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - bar: typing.Union[MetaOapg.Properties.Bar, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + bar: typing.Union[Schema_.Properties.Bar, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, bool, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, bool, ], ) -> 'AdditionalpropertiesAllowsASchemaWhichShouldValidate': return super().__new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_are_allowed_by_default.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_are_allowed_by_default.py index f2701e6bfcd..2cfacfca64b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_are_allowed_by_default.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_are_allowed_by_default.py @@ -33,7 +33,7 @@ class AdditionalpropertiesAreAllowedByDefault( """ - class MetaOapg: + class Schema_: # any type class Properties: @@ -46,10 +46,10 @@ class Properties: @typing.overload - def __getitem__(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... + def __getitem__(self, name: typing_extensions.Literal["foo"]) -> Schema_.Properties.Foo: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... + def __getitem__(self, name: typing_extensions.Literal["bar"]) -> Schema_.Properties.Bar: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -66,10 +66,10 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[Schema_.Properties.Foo, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["bar"]) -> typing.Union[MetaOapg.Properties.Bar, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["bar"]) -> typing.Union[Schema_.Properties.Bar, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -87,8 +87,8 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - foo: typing.Union[MetaOapg.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - bar: typing.Union[MetaOapg.Properties.Bar, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + bar: typing.Union[Schema_.Properties.Bar, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AdditionalpropertiesAreAllowedByDefault': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_are_allowed_by_default.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_are_allowed_by_default.pyi index f2701e6bfcd..2cfacfca64b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_are_allowed_by_default.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_are_allowed_by_default.pyi @@ -33,7 +33,7 @@ class AdditionalpropertiesAreAllowedByDefault( """ - class MetaOapg: + class Schema_: # any type class Properties: @@ -46,10 +46,10 @@ class AdditionalpropertiesAreAllowedByDefault( @typing.overload - def __getitem__(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... + def __getitem__(self, name: typing_extensions.Literal["foo"]) -> Schema_.Properties.Foo: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... + def __getitem__(self, name: typing_extensions.Literal["bar"]) -> Schema_.Properties.Bar: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -66,10 +66,10 @@ class AdditionalpropertiesAreAllowedByDefault( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[Schema_.Properties.Foo, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["bar"]) -> typing.Union[MetaOapg.Properties.Bar, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["bar"]) -> typing.Union[Schema_.Properties.Bar, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -87,8 +87,8 @@ class AdditionalpropertiesAreAllowedByDefault( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - foo: typing.Union[MetaOapg.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - bar: typing.Union[MetaOapg.Properties.Bar, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + bar: typing.Union[Schema_.Properties.Bar, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AdditionalpropertiesAreAllowedByDefault': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_can_exist_by_itself.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_can_exist_by_itself.py index 62a3aea2fbf..b001c1ed29e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_can_exist_by_itself.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_can_exist_by_itself.py @@ -33,22 +33,22 @@ class AdditionalpropertiesCanExistByItself( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} AdditionalProperties = schemas.BoolSchema - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + def get_item_(self, name: str) -> Schema_.AdditionalProperties: return super().get_item_(name) def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, bool, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, bool, ], ) -> 'AdditionalpropertiesCanExistByItself': return super().__new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_can_exist_by_itself.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_can_exist_by_itself.pyi index e7154998930..2ce37940c31 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_can_exist_by_itself.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_can_exist_by_itself.pyi @@ -33,21 +33,21 @@ class AdditionalpropertiesCanExistByItself( """ - class MetaOapg: + class Schema_: AdditionalProperties = schemas.BoolSchema - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + def get_item_(self, name: str) -> Schema_.AdditionalProperties: return super().get_item_(name) def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, bool, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, bool, ], ) -> 'AdditionalpropertiesCanExistByItself': return super().__new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_should_not_look_in_applicators.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_should_not_look_in_applicators.py index d463feaca04..29d31aaea24 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_should_not_look_in_applicators.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_should_not_look_in_applicators.py @@ -33,7 +33,7 @@ class AdditionalpropertiesShouldNotLookInApplicators( """ - class MetaOapg: + class Schema_: # any type AdditionalProperties = schemas.BoolSchema @@ -45,7 +45,7 @@ class AllOf0( ): - class MetaOapg: + class Schema_: # any type class Properties: @@ -56,7 +56,7 @@ class Properties: @typing.overload - def __getitem__(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... + def __getitem__(self, name: typing_extensions.Literal["foo"]) -> Schema_.Properties.Foo: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -72,7 +72,7 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[Schema_.Properties.Foo, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -89,7 +89,7 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - foo: typing.Union[MetaOapg.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf0': @@ -105,18 +105,18 @@ def __new__( ] - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + def get_item_(self, name: str) -> Schema_.AdditionalProperties: return super().get_item_(name) def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, bool, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, bool, ], ) -> 'AdditionalpropertiesShouldNotLookInApplicators': return super().__new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_should_not_look_in_applicators.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_should_not_look_in_applicators.pyi index d463feaca04..29d31aaea24 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_should_not_look_in_applicators.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_should_not_look_in_applicators.pyi @@ -33,7 +33,7 @@ class AdditionalpropertiesShouldNotLookInApplicators( """ - class MetaOapg: + class Schema_: # any type AdditionalProperties = schemas.BoolSchema @@ -45,7 +45,7 @@ class AdditionalpropertiesShouldNotLookInApplicators( ): - class MetaOapg: + class Schema_: # any type class Properties: @@ -56,7 +56,7 @@ class AdditionalpropertiesShouldNotLookInApplicators( @typing.overload - def __getitem__(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... + def __getitem__(self, name: typing_extensions.Literal["foo"]) -> Schema_.Properties.Foo: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -72,7 +72,7 @@ class AdditionalpropertiesShouldNotLookInApplicators( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[Schema_.Properties.Foo, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -89,7 +89,7 @@ class AdditionalpropertiesShouldNotLookInApplicators( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - foo: typing.Union[MetaOapg.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf0': @@ -105,18 +105,18 @@ class AdditionalpropertiesShouldNotLookInApplicators( ] - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + def get_item_(self, name: str) -> Schema_.AdditionalProperties: return super().get_item_(name) def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, bool, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, bool, ], ) -> 'AdditionalpropertiesShouldNotLookInApplicators': return super().__new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof.py index e3ef4e5e8c6..fb115464262 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof.py @@ -33,7 +33,7 @@ class Allof( """ - class MetaOapg: + class Schema_: # any type class AllOf: @@ -44,7 +44,7 @@ class AllOf0( ): - class MetaOapg: + class Schema_: # any type required = { "bar", @@ -57,10 +57,10 @@ class Properties: } - bar: MetaOapg.Properties.Bar + bar: Schema_.Properties.Bar @typing.overload - def __getitem__(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... + def __getitem__(self, name: typing_extensions.Literal["bar"]) -> Schema_.Properties.Bar: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -76,7 +76,7 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... + def get_item_(self, name: typing_extensions.Literal["bar"]) -> Schema_.Properties.Bar: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -93,7 +93,7 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - bar: typing.Union[MetaOapg.Properties.Bar, decimal.Decimal, int, ], + bar: typing.Union[Schema_.Properties.Bar, decimal.Decimal, int, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf0': @@ -111,7 +111,7 @@ class AllOf1( ): - class MetaOapg: + class Schema_: # any type required = { "foo", @@ -124,10 +124,10 @@ class Properties: } - foo: MetaOapg.Properties.Foo + foo: Schema_.Properties.Foo @typing.overload - def __getitem__(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... + def __getitem__(self, name: typing_extensions.Literal["foo"]) -> Schema_.Properties.Foo: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -143,7 +143,7 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> Schema_.Properties.Foo: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -160,7 +160,7 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - foo: typing.Union[MetaOapg.Properties.Foo, str, ], + foo: typing.Union[Schema_.Properties.Foo, str, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof.pyi index e3ef4e5e8c6..fb115464262 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof.pyi @@ -33,7 +33,7 @@ class Allof( """ - class MetaOapg: + class Schema_: # any type class AllOf: @@ -44,7 +44,7 @@ class Allof( ): - class MetaOapg: + class Schema_: # any type required = { "bar", @@ -57,10 +57,10 @@ class Allof( } - bar: MetaOapg.Properties.Bar + bar: Schema_.Properties.Bar @typing.overload - def __getitem__(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... + def __getitem__(self, name: typing_extensions.Literal["bar"]) -> Schema_.Properties.Bar: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -76,7 +76,7 @@ class Allof( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... + def get_item_(self, name: typing_extensions.Literal["bar"]) -> Schema_.Properties.Bar: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -93,7 +93,7 @@ class Allof( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - bar: typing.Union[MetaOapg.Properties.Bar, decimal.Decimal, int, ], + bar: typing.Union[Schema_.Properties.Bar, decimal.Decimal, int, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf0': @@ -111,7 +111,7 @@ class Allof( ): - class MetaOapg: + class Schema_: # any type required = { "foo", @@ -124,10 +124,10 @@ class Allof( } - foo: MetaOapg.Properties.Foo + foo: Schema_.Properties.Foo @typing.overload - def __getitem__(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... + def __getitem__(self, name: typing_extensions.Literal["foo"]) -> Schema_.Properties.Foo: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -143,7 +143,7 @@ class Allof( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> Schema_.Properties.Foo: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -160,7 +160,7 @@ class Allof( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - foo: typing.Union[MetaOapg.Properties.Foo, str, ], + foo: typing.Union[Schema_.Properties.Foo, str, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_combined_with_anyof_oneof.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_combined_with_anyof_oneof.py index 859b066a050..18acb9fed30 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_combined_with_anyof_oneof.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_combined_with_anyof_oneof.py @@ -33,7 +33,7 @@ class AllofCombinedWithAnyofOneof( """ - class MetaOapg: + class Schema_: # any type class AllOf: @@ -44,7 +44,7 @@ class AllOf0( ): - class MetaOapg: + class Schema_: # any type multiple_of = 2 @@ -73,7 +73,7 @@ class OneOf0( ): - class MetaOapg: + class Schema_: # any type multiple_of = 5 @@ -102,7 +102,7 @@ class AnyOf0( ): - class MetaOapg: + class Schema_: # any type multiple_of = 3 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_combined_with_anyof_oneof.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_combined_with_anyof_oneof.pyi index 57e27f19b9e..47f7f48e5c5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_combined_with_anyof_oneof.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_combined_with_anyof_oneof.pyi @@ -33,7 +33,7 @@ class AllofCombinedWithAnyofOneof( """ - class MetaOapg: + class Schema_: # any type class AllOf: @@ -44,7 +44,7 @@ class AllofCombinedWithAnyofOneof( ): - class MetaOapg: + class Schema_: # any type @@ -72,7 +72,7 @@ class AllofCombinedWithAnyofOneof( ): - class MetaOapg: + class Schema_: # any type @@ -100,7 +100,7 @@ class AllofCombinedWithAnyofOneof( ): - class MetaOapg: + class Schema_: # any type diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_simple_types.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_simple_types.py index 49c126c2876..dd11b7c6b36 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_simple_types.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_simple_types.py @@ -33,7 +33,7 @@ class AllofSimpleTypes( """ - class MetaOapg: + class Schema_: # any type class AllOf: @@ -44,7 +44,7 @@ class AllOf0( ): - class MetaOapg: + class Schema_: # any type inclusive_maximum = 30 @@ -68,7 +68,7 @@ class AllOf1( ): - class MetaOapg: + class Schema_: # any type inclusive_minimum = 20 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_simple_types.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_simple_types.pyi index 3cf0c70bda1..147190fc1f9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_simple_types.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_simple_types.pyi @@ -33,7 +33,7 @@ class AllofSimpleTypes( """ - class MetaOapg: + class Schema_: # any type class AllOf: @@ -44,7 +44,7 @@ class AllofSimpleTypes( ): - class MetaOapg: + class Schema_: # any type @@ -67,7 +67,7 @@ class AllofSimpleTypes( ): - class MetaOapg: + class Schema_: # any type diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_base_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_base_schema.py index 2bf6bcc8229..1fe9c8f32b9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_base_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_base_schema.py @@ -33,7 +33,7 @@ class AllofWithBaseSchema( """ - class MetaOapg: + class Schema_: # any type required = { "bar", @@ -53,7 +53,7 @@ class AllOf0( ): - class MetaOapg: + class Schema_: # any type required = { "foo", @@ -66,10 +66,10 @@ class Properties: } - foo: MetaOapg.Properties.Foo + foo: Schema_.Properties.Foo @typing.overload - def __getitem__(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... + def __getitem__(self, name: typing_extensions.Literal["foo"]) -> Schema_.Properties.Foo: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -85,7 +85,7 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> Schema_.Properties.Foo: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -102,7 +102,7 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - foo: typing.Union[MetaOapg.Properties.Foo, str, ], + foo: typing.Union[Schema_.Properties.Foo, str, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf0': @@ -120,7 +120,7 @@ class AllOf1( ): - class MetaOapg: + class Schema_: # any type required = { "baz", @@ -133,10 +133,10 @@ class Properties: } - baz: MetaOapg.Properties.Baz + baz: Schema_.Properties.Baz @typing.overload - def __getitem__(self, name: typing_extensions.Literal["baz"]) -> MetaOapg.Properties.Baz: ... + def __getitem__(self, name: typing_extensions.Literal["baz"]) -> Schema_.Properties.Baz: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -152,7 +152,7 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["baz"]) -> MetaOapg.Properties.Baz: ... + def get_item_(self, name: typing_extensions.Literal["baz"]) -> Schema_.Properties.Baz: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -169,7 +169,7 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - baz: typing.Union[MetaOapg.Properties.Baz, None, ], + baz: typing.Union[Schema_.Properties.Baz, None, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': @@ -186,10 +186,10 @@ def __new__( ] - bar: MetaOapg.Properties.Bar + bar: Schema_.Properties.Bar @typing.overload - def __getitem__(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... + def __getitem__(self, name: typing_extensions.Literal["bar"]) -> Schema_.Properties.Bar: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -205,7 +205,7 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... + def get_item_(self, name: typing_extensions.Literal["bar"]) -> Schema_.Properties.Bar: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -222,7 +222,7 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - bar: typing.Union[MetaOapg.Properties.Bar, decimal.Decimal, int, ], + bar: typing.Union[Schema_.Properties.Bar, decimal.Decimal, int, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllofWithBaseSchema': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_base_schema.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_base_schema.pyi index 2bf6bcc8229..1fe9c8f32b9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_base_schema.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_base_schema.pyi @@ -33,7 +33,7 @@ class AllofWithBaseSchema( """ - class MetaOapg: + class Schema_: # any type required = { "bar", @@ -53,7 +53,7 @@ class AllofWithBaseSchema( ): - class MetaOapg: + class Schema_: # any type required = { "foo", @@ -66,10 +66,10 @@ class AllofWithBaseSchema( } - foo: MetaOapg.Properties.Foo + foo: Schema_.Properties.Foo @typing.overload - def __getitem__(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... + def __getitem__(self, name: typing_extensions.Literal["foo"]) -> Schema_.Properties.Foo: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -85,7 +85,7 @@ class AllofWithBaseSchema( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> Schema_.Properties.Foo: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -102,7 +102,7 @@ class AllofWithBaseSchema( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - foo: typing.Union[MetaOapg.Properties.Foo, str, ], + foo: typing.Union[Schema_.Properties.Foo, str, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf0': @@ -120,7 +120,7 @@ class AllofWithBaseSchema( ): - class MetaOapg: + class Schema_: # any type required = { "baz", @@ -133,10 +133,10 @@ class AllofWithBaseSchema( } - baz: MetaOapg.Properties.Baz + baz: Schema_.Properties.Baz @typing.overload - def __getitem__(self, name: typing_extensions.Literal["baz"]) -> MetaOapg.Properties.Baz: ... + def __getitem__(self, name: typing_extensions.Literal["baz"]) -> Schema_.Properties.Baz: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -152,7 +152,7 @@ class AllofWithBaseSchema( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["baz"]) -> MetaOapg.Properties.Baz: ... + def get_item_(self, name: typing_extensions.Literal["baz"]) -> Schema_.Properties.Baz: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -169,7 +169,7 @@ class AllofWithBaseSchema( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - baz: typing.Union[MetaOapg.Properties.Baz, None, ], + baz: typing.Union[Schema_.Properties.Baz, None, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': @@ -186,10 +186,10 @@ class AllofWithBaseSchema( ] - bar: MetaOapg.Properties.Bar + bar: Schema_.Properties.Bar @typing.overload - def __getitem__(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... + def __getitem__(self, name: typing_extensions.Literal["bar"]) -> Schema_.Properties.Bar: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -205,7 +205,7 @@ class AllofWithBaseSchema( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... + def get_item_(self, name: typing_extensions.Literal["bar"]) -> Schema_.Properties.Bar: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -222,7 +222,7 @@ class AllofWithBaseSchema( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - bar: typing.Union[MetaOapg.Properties.Bar, decimal.Decimal, int, ], + bar: typing.Union[Schema_.Properties.Bar, decimal.Decimal, int, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllofWithBaseSchema': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_one_empty_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_one_empty_schema.py index ae8937951b9..b83c7fa257a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_one_empty_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_one_empty_schema.py @@ -33,7 +33,7 @@ class AllofWithOneEmptySchema( """ - class MetaOapg: + class Schema_: # any type class AllOf: diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_one_empty_schema.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_one_empty_schema.pyi index ae8937951b9..b83c7fa257a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_one_empty_schema.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_one_empty_schema.pyi @@ -33,7 +33,7 @@ class AllofWithOneEmptySchema( """ - class MetaOapg: + class Schema_: # any type class AllOf: diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_the_first_empty_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_the_first_empty_schema.py index 468afff993d..39a3a69e543 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_the_first_empty_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_the_first_empty_schema.py @@ -33,7 +33,7 @@ class AllofWithTheFirstEmptySchema( """ - class MetaOapg: + class Schema_: # any type class AllOf: diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_the_first_empty_schema.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_the_first_empty_schema.pyi index 468afff993d..39a3a69e543 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_the_first_empty_schema.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_the_first_empty_schema.pyi @@ -33,7 +33,7 @@ class AllofWithTheFirstEmptySchema( """ - class MetaOapg: + class Schema_: # any type class AllOf: diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_the_last_empty_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_the_last_empty_schema.py index 07dc36b05a6..8c164c7919d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_the_last_empty_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_the_last_empty_schema.py @@ -33,7 +33,7 @@ class AllofWithTheLastEmptySchema( """ - class MetaOapg: + class Schema_: # any type class AllOf: diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_the_last_empty_schema.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_the_last_empty_schema.pyi index 07dc36b05a6..8c164c7919d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_the_last_empty_schema.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_the_last_empty_schema.pyi @@ -33,7 +33,7 @@ class AllofWithTheLastEmptySchema( """ - class MetaOapg: + class Schema_: # any type class AllOf: diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_two_empty_schemas.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_two_empty_schemas.py index c703bc20349..2efaf053035 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_two_empty_schemas.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_two_empty_schemas.py @@ -33,7 +33,7 @@ class AllofWithTwoEmptySchemas( """ - class MetaOapg: + class Schema_: # any type class AllOf: diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_two_empty_schemas.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_two_empty_schemas.pyi index c703bc20349..2efaf053035 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_two_empty_schemas.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_two_empty_schemas.pyi @@ -33,7 +33,7 @@ class AllofWithTwoEmptySchemas( """ - class MetaOapg: + class Schema_: # any type class AllOf: diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof.py index e2b53c11230..3385750232d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof.py @@ -33,7 +33,7 @@ class Anyof( """ - class MetaOapg: + class Schema_: # any type class AnyOf: @@ -45,7 +45,7 @@ class AnyOf1( ): - class MetaOapg: + class Schema_: # any type inclusive_minimum = 2 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof.pyi index b41ca2ec448..4e553a8f3ac 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof.pyi @@ -33,7 +33,7 @@ class Anyof( """ - class MetaOapg: + class Schema_: # any type class AnyOf: @@ -45,7 +45,7 @@ class Anyof( ): - class MetaOapg: + class Schema_: # any type diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_complex_types.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_complex_types.py index f76bcfd69b0..82b8278aaa2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_complex_types.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_complex_types.py @@ -33,7 +33,7 @@ class AnyofComplexTypes( """ - class MetaOapg: + class Schema_: # any type class AnyOf: @@ -44,7 +44,7 @@ class AnyOf0( ): - class MetaOapg: + class Schema_: # any type required = { "bar", @@ -57,10 +57,10 @@ class Properties: } - bar: MetaOapg.Properties.Bar + bar: Schema_.Properties.Bar @typing.overload - def __getitem__(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... + def __getitem__(self, name: typing_extensions.Literal["bar"]) -> Schema_.Properties.Bar: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -76,7 +76,7 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... + def get_item_(self, name: typing_extensions.Literal["bar"]) -> Schema_.Properties.Bar: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -93,7 +93,7 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - bar: typing.Union[MetaOapg.Properties.Bar, decimal.Decimal, int, ], + bar: typing.Union[Schema_.Properties.Bar, decimal.Decimal, int, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyOf0': @@ -111,7 +111,7 @@ class AnyOf1( ): - class MetaOapg: + class Schema_: # any type required = { "foo", @@ -124,10 +124,10 @@ class Properties: } - foo: MetaOapg.Properties.Foo + foo: Schema_.Properties.Foo @typing.overload - def __getitem__(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... + def __getitem__(self, name: typing_extensions.Literal["foo"]) -> Schema_.Properties.Foo: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -143,7 +143,7 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> Schema_.Properties.Foo: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -160,7 +160,7 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - foo: typing.Union[MetaOapg.Properties.Foo, str, ], + foo: typing.Union[Schema_.Properties.Foo, str, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyOf1': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_complex_types.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_complex_types.pyi index f76bcfd69b0..82b8278aaa2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_complex_types.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_complex_types.pyi @@ -33,7 +33,7 @@ class AnyofComplexTypes( """ - class MetaOapg: + class Schema_: # any type class AnyOf: @@ -44,7 +44,7 @@ class AnyofComplexTypes( ): - class MetaOapg: + class Schema_: # any type required = { "bar", @@ -57,10 +57,10 @@ class AnyofComplexTypes( } - bar: MetaOapg.Properties.Bar + bar: Schema_.Properties.Bar @typing.overload - def __getitem__(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... + def __getitem__(self, name: typing_extensions.Literal["bar"]) -> Schema_.Properties.Bar: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -76,7 +76,7 @@ class AnyofComplexTypes( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... + def get_item_(self, name: typing_extensions.Literal["bar"]) -> Schema_.Properties.Bar: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -93,7 +93,7 @@ class AnyofComplexTypes( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - bar: typing.Union[MetaOapg.Properties.Bar, decimal.Decimal, int, ], + bar: typing.Union[Schema_.Properties.Bar, decimal.Decimal, int, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyOf0': @@ -111,7 +111,7 @@ class AnyofComplexTypes( ): - class MetaOapg: + class Schema_: # any type required = { "foo", @@ -124,10 +124,10 @@ class AnyofComplexTypes( } - foo: MetaOapg.Properties.Foo + foo: Schema_.Properties.Foo @typing.overload - def __getitem__(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... + def __getitem__(self, name: typing_extensions.Literal["foo"]) -> Schema_.Properties.Foo: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -143,7 +143,7 @@ class AnyofComplexTypes( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> Schema_.Properties.Foo: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -160,7 +160,7 @@ class AnyofComplexTypes( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - foo: typing.Union[MetaOapg.Properties.Foo, str, ], + foo: typing.Union[Schema_.Properties.Foo, str, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyOf1': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_with_base_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_with_base_schema.py index 06a62653a38..6442ce1ce2e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_with_base_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_with_base_schema.py @@ -33,7 +33,7 @@ class AnyofWithBaseSchema( """ - class MetaOapg: + class Schema_: types = { str, } @@ -46,7 +46,7 @@ class AnyOf0( ): - class MetaOapg: + class Schema_: # any type max_length = 2 @@ -70,7 +70,7 @@ class AnyOf1( ): - class MetaOapg: + class Schema_: # any type min_length = 4 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_with_base_schema.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_with_base_schema.pyi index 8cf52b2a672..9a01b5ce2b1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_with_base_schema.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_with_base_schema.pyi @@ -33,7 +33,7 @@ class AnyofWithBaseSchema( """ - class MetaOapg: + class Schema_: types = { str, } @@ -46,7 +46,7 @@ class AnyofWithBaseSchema( ): - class MetaOapg: + class Schema_: # any type @@ -69,7 +69,7 @@ class AnyofWithBaseSchema( ): - class MetaOapg: + class Schema_: # any type diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_with_one_empty_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_with_one_empty_schema.py index 8cce4eea864..422485be0c1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_with_one_empty_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_with_one_empty_schema.py @@ -33,7 +33,7 @@ class AnyofWithOneEmptySchema( """ - class MetaOapg: + class Schema_: # any type class AnyOf: diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_with_one_empty_schema.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_with_one_empty_schema.pyi index 8cce4eea864..422485be0c1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_with_one_empty_schema.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_with_one_empty_schema.pyi @@ -33,7 +33,7 @@ class AnyofWithOneEmptySchema( """ - class MetaOapg: + class Schema_: # any type class AnyOf: diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/array_type_matches_arrays.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/array_type_matches_arrays.py index 34cb91aecdf..82bfecfa0cc 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/array_type_matches_arrays.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/array_type_matches_arrays.py @@ -33,13 +33,13 @@ class ArrayTypeMatchesArrays( """ - class MetaOapg: + class Schema_: types = {tuple} Items = schemas.AnyTypeSchema def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[MetaOapg.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayTypeMatchesArrays': return super().__new__( @@ -48,5 +48,5 @@ def __new__( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/array_type_matches_arrays.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/array_type_matches_arrays.pyi index 34cb91aecdf..82bfecfa0cc 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/array_type_matches_arrays.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/array_type_matches_arrays.pyi @@ -33,13 +33,13 @@ class ArrayTypeMatchesArrays( """ - class MetaOapg: + class Schema_: types = {tuple} Items = schemas.AnyTypeSchema def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[MetaOapg.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayTypeMatchesArrays': return super().__new__( @@ -48,5 +48,5 @@ class ArrayTypeMatchesArrays( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_int.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_int.py index 94429ba4792..faffd6ef4e4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_int.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_int.py @@ -33,7 +33,7 @@ class ByInt( """ - class MetaOapg: + class Schema_: # any type multiple_of = 2 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_int.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_int.pyi index a42b3651c1f..2e50a7e0a34 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_int.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_int.pyi @@ -33,7 +33,7 @@ class ByInt( """ - class MetaOapg: + class Schema_: # any type diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_number.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_number.py index 294981e0521..80674cc3b8c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_number.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_number.py @@ -33,7 +33,7 @@ class ByNumber( """ - class MetaOapg: + class Schema_: # any type multiple_of = 1.5 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_number.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_number.pyi index fc4bcf7b863..f20d271b654 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_number.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_number.pyi @@ -33,7 +33,7 @@ class ByNumber( """ - class MetaOapg: + class Schema_: # any type diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_small_number.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_small_number.py index bd7235a8608..4654bae7dc0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_small_number.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_small_number.py @@ -33,7 +33,7 @@ class BySmallNumber( """ - class MetaOapg: + class Schema_: # any type multiple_of = 0.00010 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_small_number.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_small_number.pyi index 9cef848d75e..8b3ae4b8196 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_small_number.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_small_number.pyi @@ -33,7 +33,7 @@ class BySmallNumber( """ - class MetaOapg: + class Schema_: # any type diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/date_time_format.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/date_time_format.py index 6d54dbb9119..8b187029aa1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/date_time_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/date_time_format.py @@ -34,7 +34,7 @@ class DateTimeFormat( """ - class MetaOapg: + class Schema_: # any type format = 'date-time' diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/date_time_format.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/date_time_format.pyi index 6d54dbb9119..8b187029aa1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/date_time_format.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/date_time_format.pyi @@ -34,7 +34,7 @@ class DateTimeFormat( """ - class MetaOapg: + class Schema_: # any type format = 'date-time' diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/email_format.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/email_format.py index 2f31058f10c..babea5ad218 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/email_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/email_format.py @@ -33,7 +33,7 @@ class EmailFormat( """ - class MetaOapg: + class Schema_: # any type format = 'email' diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/email_format.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/email_format.pyi index 2f31058f10c..babea5ad218 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/email_format.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/email_format.pyi @@ -33,7 +33,7 @@ class EmailFormat( """ - class MetaOapg: + class Schema_: # any type format = 'email' diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/enum_with0_does_not_match_false.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/enum_with0_does_not_match_false.py index 5acbbcada4f..78c448cb625 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/enum_with0_does_not_match_false.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/enum_with0_does_not_match_false.py @@ -33,7 +33,7 @@ class EnumWith0DoesNotMatchFalse( """ - class MetaOapg: + class Schema_: types = { decimal.Decimal, } diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/enum_with1_does_not_match_true.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/enum_with1_does_not_match_true.py index 9e2880276a1..8101b468197 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/enum_with1_does_not_match_true.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/enum_with1_does_not_match_true.py @@ -33,7 +33,7 @@ class EnumWith1DoesNotMatchTrue( """ - class MetaOapg: + class Schema_: types = { decimal.Decimal, } diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/enum_with_escaped_characters.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/enum_with_escaped_characters.py index be96a4f5d1d..ae3e58dc8a8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/enum_with_escaped_characters.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/enum_with_escaped_characters.py @@ -33,7 +33,7 @@ class EnumWithEscapedCharacters( """ - class MetaOapg: + class Schema_: types = { str, } diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/enum_with_false_does_not_match0.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/enum_with_false_does_not_match0.py index 688d9b7ac07..4ac7ba9ab7a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/enum_with_false_does_not_match0.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/enum_with_false_does_not_match0.py @@ -33,7 +33,7 @@ class EnumWithFalseDoesNotMatch0( """ - class MetaOapg: + class Schema_: types = { schemas.BoolClass, } diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/enum_with_true_does_not_match1.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/enum_with_true_does_not_match1.py index 68f8992c089..fb9551704c6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/enum_with_true_does_not_match1.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/enum_with_true_does_not_match1.py @@ -33,7 +33,7 @@ class EnumWithTrueDoesNotMatch1( """ - class MetaOapg: + class Schema_: types = { schemas.BoolClass, } diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/enums_in_properties.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/enums_in_properties.py index 073838629cd..819cdf9e7f0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/enums_in_properties.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/enums_in_properties.py @@ -33,7 +33,7 @@ class EnumsInProperties( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} required = { "bar", @@ -47,7 +47,7 @@ class Foo( ): - class MetaOapg: + class Schema_: types = { str, } @@ -65,7 +65,7 @@ class Bar( ): - class MetaOapg: + class Schema_: types = { str, } @@ -81,13 +81,13 @@ def BAR(cls): "bar": Bar, } - bar: MetaOapg.Properties.Bar + bar: Schema_.Properties.Bar @typing.overload - def __getitem__(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... + def __getitem__(self, name: typing_extensions.Literal["bar"]) -> Schema_.Properties.Bar: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... + def __getitem__(self, name: typing_extensions.Literal["foo"]) -> Schema_.Properties.Foo: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -104,10 +104,10 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... + def get_item_(self, name: typing_extensions.Literal["bar"]) -> Schema_.Properties.Bar: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[Schema_.Properties.Foo, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -125,8 +125,8 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - bar: typing.Union[MetaOapg.Properties.Bar, str, ], - foo: typing.Union[MetaOapg.Properties.Foo, str, schemas.Unset] = schemas.unset, + bar: typing.Union[Schema_.Properties.Bar, str, ], + foo: typing.Union[Schema_.Properties.Foo, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'EnumsInProperties': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/enums_in_properties.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/enums_in_properties.pyi index 53d12c6b81f..ea39525d5ce 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/enums_in_properties.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/enums_in_properties.pyi @@ -33,7 +33,7 @@ class EnumsInProperties( """ - class MetaOapg: + class Schema_: required = { "bar", } @@ -62,13 +62,13 @@ class EnumsInProperties( "bar": Bar, } - bar: MetaOapg.Properties.Bar + bar: Schema_.Properties.Bar @typing.overload - def __getitem__(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... + def __getitem__(self, name: typing_extensions.Literal["bar"]) -> Schema_.Properties.Bar: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... + def __getitem__(self, name: typing_extensions.Literal["foo"]) -> Schema_.Properties.Foo: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -85,10 +85,10 @@ class EnumsInProperties( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... + def get_item_(self, name: typing_extensions.Literal["bar"]) -> Schema_.Properties.Bar: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[Schema_.Properties.Foo, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -106,8 +106,8 @@ class EnumsInProperties( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - bar: typing.Union[MetaOapg.Properties.Bar, str, ], - foo: typing.Union[MetaOapg.Properties.Foo, str, schemas.Unset] = schemas.unset, + bar: typing.Union[Schema_.Properties.Bar, str, ], + foo: typing.Union[Schema_.Properties.Foo, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'EnumsInProperties': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/forbidden_property.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/forbidden_property.py index e2c08085bbc..ea7dc18394d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/forbidden_property.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/forbidden_property.py @@ -33,7 +33,7 @@ class ForbiddenProperty( """ - class MetaOapg: + class Schema_: # any type class Properties: @@ -44,7 +44,7 @@ class Properties: @typing.overload - def __getitem__(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... + def __getitem__(self, name: typing_extensions.Literal["foo"]) -> Schema_.Properties.Foo: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -60,7 +60,7 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[Schema_.Properties.Foo, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -77,7 +77,7 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - foo: typing.Union[MetaOapg.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ForbiddenProperty': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/forbidden_property.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/forbidden_property.pyi index e2c08085bbc..ea7dc18394d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/forbidden_property.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/forbidden_property.pyi @@ -33,7 +33,7 @@ class ForbiddenProperty( """ - class MetaOapg: + class Schema_: # any type class Properties: @@ -44,7 +44,7 @@ class ForbiddenProperty( @typing.overload - def __getitem__(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... + def __getitem__(self, name: typing_extensions.Literal["foo"]) -> Schema_.Properties.Foo: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -60,7 +60,7 @@ class ForbiddenProperty( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[Schema_.Properties.Foo, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -77,7 +77,7 @@ class ForbiddenProperty( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - foo: typing.Union[MetaOapg.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ForbiddenProperty': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/hostname_format.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/hostname_format.py index c01e7367874..1e7a5037f19 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/hostname_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/hostname_format.py @@ -33,7 +33,7 @@ class HostnameFormat( """ - class MetaOapg: + class Schema_: # any type format = 'hostname' diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/hostname_format.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/hostname_format.pyi index c01e7367874..1e7a5037f19 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/hostname_format.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/hostname_format.pyi @@ -33,7 +33,7 @@ class HostnameFormat( """ - class MetaOapg: + class Schema_: # any type format = 'hostname' diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/invalid_instance_should_not_raise_error_when_float_division_inf.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/invalid_instance_should_not_raise_error_when_float_division_inf.py index cb5c462b72b..f0e406c3949 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/invalid_instance_should_not_raise_error_when_float_division_inf.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/invalid_instance_should_not_raise_error_when_float_division_inf.py @@ -33,7 +33,7 @@ class InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf( """ - class MetaOapg: + class Schema_: types = { decimal.Decimal, } diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/invalid_string_value_for_default.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/invalid_string_value_for_default.py index 6b4f35a59c3..1311e3b8577 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/invalid_string_value_for_default.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/invalid_string_value_for_default.py @@ -33,7 +33,7 @@ class InvalidStringValueForDefault( """ - class MetaOapg: + class Schema_: # any type class Properties: @@ -44,7 +44,7 @@ class Bar( ): - class MetaOapg: + class Schema_: types = { str, } @@ -55,7 +55,7 @@ class MetaOapg: @typing.overload - def __getitem__(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... + def __getitem__(self, name: typing_extensions.Literal["bar"]) -> Schema_.Properties.Bar: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -71,7 +71,7 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["bar"]) -> typing.Union[MetaOapg.Properties.Bar, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["bar"]) -> typing.Union[Schema_.Properties.Bar, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -88,7 +88,7 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - bar: typing.Union[MetaOapg.Properties.Bar, str, schemas.Unset] = schemas.unset, + bar: typing.Union[Schema_.Properties.Bar, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'InvalidStringValueForDefault': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/invalid_string_value_for_default.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/invalid_string_value_for_default.pyi index 8ec49dec3bd..6095352e001 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/invalid_string_value_for_default.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/invalid_string_value_for_default.pyi @@ -33,7 +33,7 @@ class InvalidStringValueForDefault( """ - class MetaOapg: + class Schema_: # any type class Properties: @@ -49,7 +49,7 @@ class InvalidStringValueForDefault( @typing.overload - def __getitem__(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... + def __getitem__(self, name: typing_extensions.Literal["bar"]) -> Schema_.Properties.Bar: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -65,7 +65,7 @@ class InvalidStringValueForDefault( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["bar"]) -> typing.Union[MetaOapg.Properties.Bar, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["bar"]) -> typing.Union[Schema_.Properties.Bar, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -82,7 +82,7 @@ class InvalidStringValueForDefault( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - bar: typing.Union[MetaOapg.Properties.Bar, str, schemas.Unset] = schemas.unset, + bar: typing.Union[Schema_.Properties.Bar, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'InvalidStringValueForDefault': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ipv4_format.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ipv4_format.py index b817d1872ca..eb3503d477e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ipv4_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ipv4_format.py @@ -33,7 +33,7 @@ class Ipv4Format( """ - class MetaOapg: + class Schema_: # any type format = 'ipv4' diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ipv4_format.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ipv4_format.pyi index b817d1872ca..eb3503d477e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ipv4_format.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ipv4_format.pyi @@ -33,7 +33,7 @@ class Ipv4Format( """ - class MetaOapg: + class Schema_: # any type format = 'ipv4' diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ipv6_format.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ipv6_format.py index 564f2df79f5..28dfa4edede 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ipv6_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ipv6_format.py @@ -33,7 +33,7 @@ class Ipv6Format( """ - class MetaOapg: + class Schema_: # any type format = 'ipv6' diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ipv6_format.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ipv6_format.pyi index 564f2df79f5..28dfa4edede 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ipv6_format.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ipv6_format.pyi @@ -33,7 +33,7 @@ class Ipv6Format( """ - class MetaOapg: + class Schema_: # any type format = 'ipv6' diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/json_pointer_format.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/json_pointer_format.py index 9009dc8b90e..58ce98ba281 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/json_pointer_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/json_pointer_format.py @@ -33,7 +33,7 @@ class JsonPointerFormat( """ - class MetaOapg: + class Schema_: # any type format = 'json-pointer' diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/json_pointer_format.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/json_pointer_format.pyi index 9009dc8b90e..58ce98ba281 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/json_pointer_format.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/json_pointer_format.pyi @@ -33,7 +33,7 @@ class JsonPointerFormat( """ - class MetaOapg: + class Schema_: # any type format = 'json-pointer' diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maximum_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maximum_validation.py index 35bee6ae0b6..fb77a90dd44 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maximum_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maximum_validation.py @@ -33,7 +33,7 @@ class MaximumValidation( """ - class MetaOapg: + class Schema_: # any type inclusive_maximum = 3.0 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maximum_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maximum_validation.pyi index 2fd7b658d93..736d03cc74a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maximum_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maximum_validation.pyi @@ -33,7 +33,7 @@ class MaximumValidation( """ - class MetaOapg: + class Schema_: # any type diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maximum_validation_with_unsigned_integer.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maximum_validation_with_unsigned_integer.py index d3025328b4d..4b6e7a8265a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maximum_validation_with_unsigned_integer.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maximum_validation_with_unsigned_integer.py @@ -33,7 +33,7 @@ class MaximumValidationWithUnsignedInteger( """ - class MetaOapg: + class Schema_: # any type inclusive_maximum = 300 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maximum_validation_with_unsigned_integer.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maximum_validation_with_unsigned_integer.pyi index d672129addc..497f56d8f4f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maximum_validation_with_unsigned_integer.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maximum_validation_with_unsigned_integer.pyi @@ -33,7 +33,7 @@ class MaximumValidationWithUnsignedInteger( """ - class MetaOapg: + class Schema_: # any type diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxitems_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxitems_validation.py index 72a34d34575..d14a45f3c5e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxitems_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxitems_validation.py @@ -33,7 +33,7 @@ class MaxitemsValidation( """ - class MetaOapg: + class Schema_: # any type max_items = 2 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxitems_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxitems_validation.pyi index 387679ba237..2a2f6115888 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxitems_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxitems_validation.pyi @@ -33,7 +33,7 @@ class MaxitemsValidation( """ - class MetaOapg: + class Schema_: # any type diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxlength_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxlength_validation.py index d64307668b0..2821e6975c8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxlength_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxlength_validation.py @@ -33,7 +33,7 @@ class MaxlengthValidation( """ - class MetaOapg: + class Schema_: # any type max_length = 2 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxlength_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxlength_validation.pyi index 73d0907261c..3b8eeb47fa2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxlength_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxlength_validation.pyi @@ -33,7 +33,7 @@ class MaxlengthValidation( """ - class MetaOapg: + class Schema_: # any type diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxproperties0_means_the_object_is_empty.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxproperties0_means_the_object_is_empty.py index a5e24079d6f..6208dc85048 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxproperties0_means_the_object_is_empty.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxproperties0_means_the_object_is_empty.py @@ -33,7 +33,7 @@ class Maxproperties0MeansTheObjectIsEmpty( """ - class MetaOapg: + class Schema_: # any type max_properties = 0 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxproperties0_means_the_object_is_empty.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxproperties0_means_the_object_is_empty.pyi index d5419861905..7638166ecca 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxproperties0_means_the_object_is_empty.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxproperties0_means_the_object_is_empty.pyi @@ -33,7 +33,7 @@ class Maxproperties0MeansTheObjectIsEmpty( """ - class MetaOapg: + class Schema_: # any type diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxproperties_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxproperties_validation.py index cc75ac86edb..cf51086867f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxproperties_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxproperties_validation.py @@ -33,7 +33,7 @@ class MaxpropertiesValidation( """ - class MetaOapg: + class Schema_: # any type max_properties = 2 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxproperties_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxproperties_validation.pyi index f1b6b59cd85..db020ce5aff 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxproperties_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxproperties_validation.pyi @@ -33,7 +33,7 @@ class MaxpropertiesValidation( """ - class MetaOapg: + class Schema_: # any type diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minimum_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minimum_validation.py index ccc7eba1848..ff26e1fa962 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minimum_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minimum_validation.py @@ -33,7 +33,7 @@ class MinimumValidation( """ - class MetaOapg: + class Schema_: # any type inclusive_minimum = 1.1 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minimum_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minimum_validation.pyi index 990cf282c29..bc221281616 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minimum_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minimum_validation.pyi @@ -33,7 +33,7 @@ class MinimumValidation( """ - class MetaOapg: + class Schema_: # any type diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minimum_validation_with_signed_integer.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minimum_validation_with_signed_integer.py index 5e3e6fbdd94..c423cbb5009 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minimum_validation_with_signed_integer.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minimum_validation_with_signed_integer.py @@ -33,7 +33,7 @@ class MinimumValidationWithSignedInteger( """ - class MetaOapg: + class Schema_: # any type inclusive_minimum = -2 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minimum_validation_with_signed_integer.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minimum_validation_with_signed_integer.pyi index cc85066b51e..f785425467d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minimum_validation_with_signed_integer.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minimum_validation_with_signed_integer.pyi @@ -33,7 +33,7 @@ class MinimumValidationWithSignedInteger( """ - class MetaOapg: + class Schema_: # any type diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minitems_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minitems_validation.py index dc6c9cc9597..ed08cb33d4d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minitems_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minitems_validation.py @@ -33,7 +33,7 @@ class MinitemsValidation( """ - class MetaOapg: + class Schema_: # any type min_items = 1 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minitems_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minitems_validation.pyi index 04e74e479b6..f6f80a01d0e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minitems_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minitems_validation.pyi @@ -33,7 +33,7 @@ class MinitemsValidation( """ - class MetaOapg: + class Schema_: # any type diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minlength_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minlength_validation.py index b39e4d26c4b..2696ad50430 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minlength_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minlength_validation.py @@ -33,7 +33,7 @@ class MinlengthValidation( """ - class MetaOapg: + class Schema_: # any type min_length = 2 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minlength_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minlength_validation.pyi index bd33a934312..8f857ae20a8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minlength_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minlength_validation.pyi @@ -33,7 +33,7 @@ class MinlengthValidation( """ - class MetaOapg: + class Schema_: # any type diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minproperties_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minproperties_validation.py index 35c079a4df1..e08b6f24995 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minproperties_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minproperties_validation.py @@ -33,7 +33,7 @@ class MinpropertiesValidation( """ - class MetaOapg: + class Schema_: # any type min_properties = 1 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minproperties_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minproperties_validation.pyi index 55369425841..eb8d7518f14 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minproperties_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minproperties_validation.pyi @@ -33,7 +33,7 @@ class MinpropertiesValidation( """ - class MetaOapg: + class Schema_: # any type diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_allof_to_check_validation_semantics.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_allof_to_check_validation_semantics.py index e8ab913655d..28c213ee178 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_allof_to_check_validation_semantics.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_allof_to_check_validation_semantics.py @@ -33,7 +33,7 @@ class NestedAllofToCheckValidationSemantics( """ - class MetaOapg: + class Schema_: # any type class AllOf: @@ -44,7 +44,7 @@ class AllOf0( ): - class MetaOapg: + class Schema_: # any type class AllOf: diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_allof_to_check_validation_semantics.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_allof_to_check_validation_semantics.pyi index e8ab913655d..28c213ee178 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_allof_to_check_validation_semantics.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_allof_to_check_validation_semantics.pyi @@ -33,7 +33,7 @@ class NestedAllofToCheckValidationSemantics( """ - class MetaOapg: + class Schema_: # any type class AllOf: @@ -44,7 +44,7 @@ class NestedAllofToCheckValidationSemantics( ): - class MetaOapg: + class Schema_: # any type class AllOf: diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_anyof_to_check_validation_semantics.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_anyof_to_check_validation_semantics.py index 1c2f034f5b0..9fb8d5968a1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_anyof_to_check_validation_semantics.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_anyof_to_check_validation_semantics.py @@ -33,7 +33,7 @@ class NestedAnyofToCheckValidationSemantics( """ - class MetaOapg: + class Schema_: # any type class AnyOf: @@ -44,7 +44,7 @@ class AnyOf0( ): - class MetaOapg: + class Schema_: # any type class AnyOf: diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_anyof_to_check_validation_semantics.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_anyof_to_check_validation_semantics.pyi index 1c2f034f5b0..9fb8d5968a1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_anyof_to_check_validation_semantics.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_anyof_to_check_validation_semantics.pyi @@ -33,7 +33,7 @@ class NestedAnyofToCheckValidationSemantics( """ - class MetaOapg: + class Schema_: # any type class AnyOf: @@ -44,7 +44,7 @@ class NestedAnyofToCheckValidationSemantics( ): - class MetaOapg: + class Schema_: # any type class AnyOf: diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_items.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_items.py index 16efee1c7b2..98114b2c5fd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_items.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_items.py @@ -33,7 +33,7 @@ class NestedItems( """ - class MetaOapg: + class Schema_: types = {tuple} @@ -42,7 +42,7 @@ class Items( ): - class MetaOapg: + class Schema_: types = {tuple} @@ -51,7 +51,7 @@ class Items( ): - class MetaOapg: + class Schema_: types = {tuple} @@ -60,13 +60,13 @@ class Items( ): - class MetaOapg: + class Schema_: types = {tuple} Items = schemas.NumberSchema def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, decimal.Decimal, int, float, ]], typing.List[typing.Union[MetaOapg.Items, decimal.Decimal, int, float, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]], typing.List[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Items': return super().__new__( @@ -75,12 +75,12 @@ def __new__( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, list, tuple, ]], typing.List[typing.Union[MetaOapg.Items, list, tuple, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, list, tuple, ]], typing.List[typing.Union[Schema_.Items, list, tuple, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Items': return super().__new__( @@ -89,12 +89,12 @@ def __new__( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, list, tuple, ]], typing.List[typing.Union[MetaOapg.Items, list, tuple, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, list, tuple, ]], typing.List[typing.Union[Schema_.Items, list, tuple, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Items': return super().__new__( @@ -103,12 +103,12 @@ def __new__( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, list, tuple, ]], typing.List[typing.Union[MetaOapg.Items, list, tuple, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, list, tuple, ]], typing.List[typing.Union[Schema_.Items, list, tuple, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'NestedItems': return super().__new__( @@ -117,5 +117,5 @@ def __new__( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_items.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_items.pyi index 16efee1c7b2..98114b2c5fd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_items.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_items.pyi @@ -33,7 +33,7 @@ class NestedItems( """ - class MetaOapg: + class Schema_: types = {tuple} @@ -42,7 +42,7 @@ class NestedItems( ): - class MetaOapg: + class Schema_: types = {tuple} @@ -51,7 +51,7 @@ class NestedItems( ): - class MetaOapg: + class Schema_: types = {tuple} @@ -60,13 +60,13 @@ class NestedItems( ): - class MetaOapg: + class Schema_: types = {tuple} Items = schemas.NumberSchema def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, decimal.Decimal, int, float, ]], typing.List[typing.Union[MetaOapg.Items, decimal.Decimal, int, float, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]], typing.List[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Items': return super().__new__( @@ -75,12 +75,12 @@ class NestedItems( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, list, tuple, ]], typing.List[typing.Union[MetaOapg.Items, list, tuple, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, list, tuple, ]], typing.List[typing.Union[Schema_.Items, list, tuple, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Items': return super().__new__( @@ -89,12 +89,12 @@ class NestedItems( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, list, tuple, ]], typing.List[typing.Union[MetaOapg.Items, list, tuple, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, list, tuple, ]], typing.List[typing.Union[Schema_.Items, list, tuple, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Items': return super().__new__( @@ -103,12 +103,12 @@ class NestedItems( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, list, tuple, ]], typing.List[typing.Union[MetaOapg.Items, list, tuple, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, list, tuple, ]], typing.List[typing.Union[Schema_.Items, list, tuple, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'NestedItems': return super().__new__( @@ -117,5 +117,5 @@ class NestedItems( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_oneof_to_check_validation_semantics.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_oneof_to_check_validation_semantics.py index be49af1ad15..5808d34d599 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_oneof_to_check_validation_semantics.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_oneof_to_check_validation_semantics.py @@ -33,7 +33,7 @@ class NestedOneofToCheckValidationSemantics( """ - class MetaOapg: + class Schema_: # any type class OneOf: @@ -44,7 +44,7 @@ class OneOf0( ): - class MetaOapg: + class Schema_: # any type class OneOf: diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_oneof_to_check_validation_semantics.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_oneof_to_check_validation_semantics.pyi index be49af1ad15..5808d34d599 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_oneof_to_check_validation_semantics.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_oneof_to_check_validation_semantics.pyi @@ -33,7 +33,7 @@ class NestedOneofToCheckValidationSemantics( """ - class MetaOapg: + class Schema_: # any type class OneOf: @@ -44,7 +44,7 @@ class NestedOneofToCheckValidationSemantics( ): - class MetaOapg: + class Schema_: # any type class OneOf: diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/not_more_complex_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/not_more_complex_schema.py index 626a5b29877..8057e49f91c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/not_more_complex_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/not_more_complex_schema.py @@ -33,7 +33,7 @@ class NotMoreComplexSchema( """ - class MetaOapg: + class Schema_: # any type @@ -42,7 +42,7 @@ class _Not( ): - class MetaOapg: + class Schema_: types = {frozendict.frozendict} class Properties: @@ -52,7 +52,7 @@ class Properties: } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... + def __getitem__(self, name: typing_extensions.Literal["foo"]) -> Schema_.Properties.Foo: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -68,7 +68,7 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[Schema_.Properties.Foo, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -85,7 +85,7 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - foo: typing.Union[MetaOapg.Properties.Foo, str, schemas.Unset] = schemas.unset, + foo: typing.Union[Schema_.Properties.Foo, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_Not': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/not_more_complex_schema.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/not_more_complex_schema.pyi index 7cf5db43b77..d7e47ec079e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/not_more_complex_schema.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/not_more_complex_schema.pyi @@ -33,7 +33,7 @@ class NotMoreComplexSchema( """ - class MetaOapg: + class Schema_: # any type @@ -42,7 +42,7 @@ class NotMoreComplexSchema( ): - class MetaOapg: + class Schema_: class Properties: Foo = schemas.StrSchema @@ -51,7 +51,7 @@ class NotMoreComplexSchema( } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... + def __getitem__(self, name: typing_extensions.Literal["foo"]) -> Schema_.Properties.Foo: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -67,7 +67,7 @@ class NotMoreComplexSchema( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[Schema_.Properties.Foo, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -84,7 +84,7 @@ class NotMoreComplexSchema( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - foo: typing.Union[MetaOapg.Properties.Foo, str, schemas.Unset] = schemas.unset, + foo: typing.Union[Schema_.Properties.Foo, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_Not': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nul_characters_in_strings.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nul_characters_in_strings.py index aaa44bc5bb6..a43d59a5671 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nul_characters_in_strings.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nul_characters_in_strings.py @@ -33,7 +33,7 @@ class NulCharactersInStrings( """ - class MetaOapg: + class Schema_: types = { str, } diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/object_properties_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/object_properties_validation.py index bcec2228957..c460829ea27 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/object_properties_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/object_properties_validation.py @@ -33,7 +33,7 @@ class ObjectPropertiesValidation( """ - class MetaOapg: + class Schema_: # any type class Properties: @@ -46,10 +46,10 @@ class Properties: @typing.overload - def __getitem__(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... + def __getitem__(self, name: typing_extensions.Literal["foo"]) -> Schema_.Properties.Foo: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... + def __getitem__(self, name: typing_extensions.Literal["bar"]) -> Schema_.Properties.Bar: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -66,10 +66,10 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[Schema_.Properties.Foo, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["bar"]) -> typing.Union[MetaOapg.Properties.Bar, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["bar"]) -> typing.Union[Schema_.Properties.Bar, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -87,8 +87,8 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - foo: typing.Union[MetaOapg.Properties.Foo, decimal.Decimal, int, schemas.Unset] = schemas.unset, - bar: typing.Union[MetaOapg.Properties.Bar, str, schemas.Unset] = schemas.unset, + foo: typing.Union[Schema_.Properties.Foo, decimal.Decimal, int, schemas.Unset] = schemas.unset, + bar: typing.Union[Schema_.Properties.Bar, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectPropertiesValidation': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/object_properties_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/object_properties_validation.pyi index bcec2228957..c460829ea27 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/object_properties_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/object_properties_validation.pyi @@ -33,7 +33,7 @@ class ObjectPropertiesValidation( """ - class MetaOapg: + class Schema_: # any type class Properties: @@ -46,10 +46,10 @@ class ObjectPropertiesValidation( @typing.overload - def __getitem__(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... + def __getitem__(self, name: typing_extensions.Literal["foo"]) -> Schema_.Properties.Foo: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... + def __getitem__(self, name: typing_extensions.Literal["bar"]) -> Schema_.Properties.Bar: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -66,10 +66,10 @@ class ObjectPropertiesValidation( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[Schema_.Properties.Foo, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["bar"]) -> typing.Union[MetaOapg.Properties.Bar, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["bar"]) -> typing.Union[Schema_.Properties.Bar, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -87,8 +87,8 @@ class ObjectPropertiesValidation( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - foo: typing.Union[MetaOapg.Properties.Foo, decimal.Decimal, int, schemas.Unset] = schemas.unset, - bar: typing.Union[MetaOapg.Properties.Bar, str, schemas.Unset] = schemas.unset, + foo: typing.Union[Schema_.Properties.Foo, decimal.Decimal, int, schemas.Unset] = schemas.unset, + bar: typing.Union[Schema_.Properties.Bar, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectPropertiesValidation': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof.py index 31770037645..620f61b37a6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof.py @@ -33,7 +33,7 @@ class Oneof( """ - class MetaOapg: + class Schema_: # any type class OneOf: @@ -45,7 +45,7 @@ class OneOf1( ): - class MetaOapg: + class Schema_: # any type inclusive_minimum = 2 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof.pyi index f065c726ddc..c8df049241d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof.pyi @@ -33,7 +33,7 @@ class Oneof( """ - class MetaOapg: + class Schema_: # any type class OneOf: @@ -45,7 +45,7 @@ class Oneof( ): - class MetaOapg: + class Schema_: # any type diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_complex_types.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_complex_types.py index 1dab1072e81..ff35be6f3e5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_complex_types.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_complex_types.py @@ -33,7 +33,7 @@ class OneofComplexTypes( """ - class MetaOapg: + class Schema_: # any type class OneOf: @@ -44,7 +44,7 @@ class OneOf0( ): - class MetaOapg: + class Schema_: # any type required = { "bar", @@ -57,10 +57,10 @@ class Properties: } - bar: MetaOapg.Properties.Bar + bar: Schema_.Properties.Bar @typing.overload - def __getitem__(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... + def __getitem__(self, name: typing_extensions.Literal["bar"]) -> Schema_.Properties.Bar: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -76,7 +76,7 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... + def get_item_(self, name: typing_extensions.Literal["bar"]) -> Schema_.Properties.Bar: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -93,7 +93,7 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - bar: typing.Union[MetaOapg.Properties.Bar, decimal.Decimal, int, ], + bar: typing.Union[Schema_.Properties.Bar, decimal.Decimal, int, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneOf0': @@ -111,7 +111,7 @@ class OneOf1( ): - class MetaOapg: + class Schema_: # any type required = { "foo", @@ -124,10 +124,10 @@ class Properties: } - foo: MetaOapg.Properties.Foo + foo: Schema_.Properties.Foo @typing.overload - def __getitem__(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... + def __getitem__(self, name: typing_extensions.Literal["foo"]) -> Schema_.Properties.Foo: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -143,7 +143,7 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> Schema_.Properties.Foo: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -160,7 +160,7 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - foo: typing.Union[MetaOapg.Properties.Foo, str, ], + foo: typing.Union[Schema_.Properties.Foo, str, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneOf1': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_complex_types.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_complex_types.pyi index 1dab1072e81..ff35be6f3e5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_complex_types.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_complex_types.pyi @@ -33,7 +33,7 @@ class OneofComplexTypes( """ - class MetaOapg: + class Schema_: # any type class OneOf: @@ -44,7 +44,7 @@ class OneofComplexTypes( ): - class MetaOapg: + class Schema_: # any type required = { "bar", @@ -57,10 +57,10 @@ class OneofComplexTypes( } - bar: MetaOapg.Properties.Bar + bar: Schema_.Properties.Bar @typing.overload - def __getitem__(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... + def __getitem__(self, name: typing_extensions.Literal["bar"]) -> Schema_.Properties.Bar: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -76,7 +76,7 @@ class OneofComplexTypes( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... + def get_item_(self, name: typing_extensions.Literal["bar"]) -> Schema_.Properties.Bar: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -93,7 +93,7 @@ class OneofComplexTypes( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - bar: typing.Union[MetaOapg.Properties.Bar, decimal.Decimal, int, ], + bar: typing.Union[Schema_.Properties.Bar, decimal.Decimal, int, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneOf0': @@ -111,7 +111,7 @@ class OneofComplexTypes( ): - class MetaOapg: + class Schema_: # any type required = { "foo", @@ -124,10 +124,10 @@ class OneofComplexTypes( } - foo: MetaOapg.Properties.Foo + foo: Schema_.Properties.Foo @typing.overload - def __getitem__(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... + def __getitem__(self, name: typing_extensions.Literal["foo"]) -> Schema_.Properties.Foo: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -143,7 +143,7 @@ class OneofComplexTypes( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> Schema_.Properties.Foo: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -160,7 +160,7 @@ class OneofComplexTypes( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - foo: typing.Union[MetaOapg.Properties.Foo, str, ], + foo: typing.Union[Schema_.Properties.Foo, str, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneOf1': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_base_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_base_schema.py index cc54985b56d..2f505acaf30 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_base_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_base_schema.py @@ -33,7 +33,7 @@ class OneofWithBaseSchema( """ - class MetaOapg: + class Schema_: types = { str, } @@ -46,7 +46,7 @@ class OneOf0( ): - class MetaOapg: + class Schema_: # any type min_length = 2 @@ -70,7 +70,7 @@ class OneOf1( ): - class MetaOapg: + class Schema_: # any type max_length = 4 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_base_schema.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_base_schema.pyi index 5795d8e3b7b..d6b69340075 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_base_schema.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_base_schema.pyi @@ -33,7 +33,7 @@ class OneofWithBaseSchema( """ - class MetaOapg: + class Schema_: types = { str, } @@ -46,7 +46,7 @@ class OneofWithBaseSchema( ): - class MetaOapg: + class Schema_: # any type @@ -69,7 +69,7 @@ class OneofWithBaseSchema( ): - class MetaOapg: + class Schema_: # any type diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_empty_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_empty_schema.py index d4fb4670a0e..e4ce8fbe949 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_empty_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_empty_schema.py @@ -33,7 +33,7 @@ class OneofWithEmptySchema( """ - class MetaOapg: + class Schema_: # any type class OneOf: diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_empty_schema.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_empty_schema.pyi index d4fb4670a0e..e4ce8fbe949 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_empty_schema.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_empty_schema.pyi @@ -33,7 +33,7 @@ class OneofWithEmptySchema( """ - class MetaOapg: + class Schema_: # any type class OneOf: diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_required.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_required.py index a146ac156df..56e76adea88 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_required.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_required.py @@ -33,7 +33,7 @@ class OneofWithRequired( """ - class MetaOapg: + class Schema_: types = { frozendict.frozendict, } @@ -46,7 +46,7 @@ class OneOf0( ): - class MetaOapg: + class Schema_: # any type required = { "bar", @@ -119,7 +119,7 @@ class OneOf1( ): - class MetaOapg: + class Schema_: # any type required = { "baz", diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_required.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_required.pyi index a146ac156df..56e76adea88 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_required.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_required.pyi @@ -33,7 +33,7 @@ class OneofWithRequired( """ - class MetaOapg: + class Schema_: types = { frozendict.frozendict, } @@ -46,7 +46,7 @@ class OneofWithRequired( ): - class MetaOapg: + class Schema_: # any type required = { "bar", @@ -119,7 +119,7 @@ class OneofWithRequired( ): - class MetaOapg: + class Schema_: # any type required = { "baz", diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/pattern_is_not_anchored.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/pattern_is_not_anchored.py index 2d79aff606a..97ef9065b85 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/pattern_is_not_anchored.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/pattern_is_not_anchored.py @@ -33,7 +33,7 @@ class PatternIsNotAnchored( """ - class MetaOapg: + class Schema_: # any type regex={ 'pattern': r'a+', # noqa: E501 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/pattern_is_not_anchored.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/pattern_is_not_anchored.pyi index 1bf851858bc..a24801fec73 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/pattern_is_not_anchored.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/pattern_is_not_anchored.pyi @@ -33,7 +33,7 @@ class PatternIsNotAnchored( """ - class MetaOapg: + class Schema_: # any type diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/pattern_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/pattern_validation.py index a6e4ee132d6..951b97cde43 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/pattern_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/pattern_validation.py @@ -33,7 +33,7 @@ class PatternValidation( """ - class MetaOapg: + class Schema_: # any type regex={ 'pattern': r'^a*$', # noqa: E501 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/pattern_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/pattern_validation.pyi index 496e4a106bf..d2cf5e0c772 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/pattern_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/pattern_validation.pyi @@ -33,7 +33,7 @@ class PatternValidation( """ - class MetaOapg: + class Schema_: # any type diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/properties_with_escaped_characters.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/properties_with_escaped_characters.py index b9eb8c11ac8..f4af14e4082 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/properties_with_escaped_characters.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/properties_with_escaped_characters.py @@ -33,7 +33,7 @@ class PropertiesWithEscapedCharacters( """ - class MetaOapg: + class Schema_: # any type class Properties: @@ -54,22 +54,22 @@ class Properties: @typing.overload - def __getitem__(self, name: typing_extensions.Literal["foo\nbar"]) -> MetaOapg.Properties.FooNbar: ... + def __getitem__(self, name: typing_extensions.Literal["foo\nbar"]) -> Schema_.Properties.FooNbar: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["foo\"bar"]) -> MetaOapg.Properties.FooBar: ... + def __getitem__(self, name: typing_extensions.Literal["foo\"bar"]) -> Schema_.Properties.FooBar: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["foo\\bar"]) -> MetaOapg.Properties.FooBar: ... + def __getitem__(self, name: typing_extensions.Literal["foo\\bar"]) -> Schema_.Properties.FooBar: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["foo\rbar"]) -> MetaOapg.Properties.FooRbar: ... + def __getitem__(self, name: typing_extensions.Literal["foo\rbar"]) -> Schema_.Properties.FooRbar: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["foo\tbar"]) -> MetaOapg.Properties.FooTbar: ... + def __getitem__(self, name: typing_extensions.Literal["foo\tbar"]) -> Schema_.Properties.FooTbar: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["foo\fbar"]) -> MetaOapg.Properties.FooFbar: ... + def __getitem__(self, name: typing_extensions.Literal["foo\fbar"]) -> Schema_.Properties.FooFbar: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -90,22 +90,22 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["foo\nbar"]) -> typing.Union[MetaOapg.Properties.FooNbar, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo\nbar"]) -> typing.Union[Schema_.Properties.FooNbar, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["foo\"bar"]) -> typing.Union[MetaOapg.Properties.FooBar, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo\"bar"]) -> typing.Union[Schema_.Properties.FooBar, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["foo\\bar"]) -> typing.Union[MetaOapg.Properties.FooBar, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo\\bar"]) -> typing.Union[Schema_.Properties.FooBar, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["foo\rbar"]) -> typing.Union[MetaOapg.Properties.FooRbar, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo\rbar"]) -> typing.Union[Schema_.Properties.FooRbar, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["foo\tbar"]) -> typing.Union[MetaOapg.Properties.FooTbar, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo\tbar"]) -> typing.Union[Schema_.Properties.FooTbar, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["foo\fbar"]) -> typing.Union[MetaOapg.Properties.FooFbar, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo\fbar"]) -> typing.Union[Schema_.Properties.FooFbar, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/properties_with_escaped_characters.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/properties_with_escaped_characters.pyi index b9eb8c11ac8..f4af14e4082 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/properties_with_escaped_characters.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/properties_with_escaped_characters.pyi @@ -33,7 +33,7 @@ class PropertiesWithEscapedCharacters( """ - class MetaOapg: + class Schema_: # any type class Properties: @@ -54,22 +54,22 @@ class PropertiesWithEscapedCharacters( @typing.overload - def __getitem__(self, name: typing_extensions.Literal["foo\nbar"]) -> MetaOapg.Properties.FooNbar: ... + def __getitem__(self, name: typing_extensions.Literal["foo\nbar"]) -> Schema_.Properties.FooNbar: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["foo\"bar"]) -> MetaOapg.Properties.FooBar: ... + def __getitem__(self, name: typing_extensions.Literal["foo\"bar"]) -> Schema_.Properties.FooBar: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["foo\\bar"]) -> MetaOapg.Properties.FooBar: ... + def __getitem__(self, name: typing_extensions.Literal["foo\\bar"]) -> Schema_.Properties.FooBar: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["foo\rbar"]) -> MetaOapg.Properties.FooRbar: ... + def __getitem__(self, name: typing_extensions.Literal["foo\rbar"]) -> Schema_.Properties.FooRbar: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["foo\tbar"]) -> MetaOapg.Properties.FooTbar: ... + def __getitem__(self, name: typing_extensions.Literal["foo\tbar"]) -> Schema_.Properties.FooTbar: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["foo\fbar"]) -> MetaOapg.Properties.FooFbar: ... + def __getitem__(self, name: typing_extensions.Literal["foo\fbar"]) -> Schema_.Properties.FooFbar: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -90,22 +90,22 @@ class PropertiesWithEscapedCharacters( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["foo\nbar"]) -> typing.Union[MetaOapg.Properties.FooNbar, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo\nbar"]) -> typing.Union[Schema_.Properties.FooNbar, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["foo\"bar"]) -> typing.Union[MetaOapg.Properties.FooBar, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo\"bar"]) -> typing.Union[Schema_.Properties.FooBar, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["foo\\bar"]) -> typing.Union[MetaOapg.Properties.FooBar, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo\\bar"]) -> typing.Union[Schema_.Properties.FooBar, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["foo\rbar"]) -> typing.Union[MetaOapg.Properties.FooRbar, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo\rbar"]) -> typing.Union[Schema_.Properties.FooRbar, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["foo\tbar"]) -> typing.Union[MetaOapg.Properties.FooTbar, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo\tbar"]) -> typing.Union[Schema_.Properties.FooTbar, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["foo\fbar"]) -> typing.Union[MetaOapg.Properties.FooFbar, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo\fbar"]) -> typing.Union[Schema_.Properties.FooFbar, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/property_named_ref_that_is_not_a_reference.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/property_named_ref_that_is_not_a_reference.py index c207c4db3bb..06e6e8b2c8a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/property_named_ref_that_is_not_a_reference.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/property_named_ref_that_is_not_a_reference.py @@ -33,7 +33,7 @@ class PropertyNamedRefThatIsNotAReference( """ - class MetaOapg: + class Schema_: # any type class Properties: @@ -44,7 +44,7 @@ class Properties: @typing.overload - def __getitem__(self, name: typing_extensions.Literal["$ref"]) -> MetaOapg.Properties.Ref: ... + def __getitem__(self, name: typing_extensions.Literal["$ref"]) -> Schema_.Properties.Ref: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -60,7 +60,7 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["$ref"]) -> typing.Union[MetaOapg.Properties.Ref, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["$ref"]) -> typing.Union[Schema_.Properties.Ref, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/property_named_ref_that_is_not_a_reference.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/property_named_ref_that_is_not_a_reference.pyi index c207c4db3bb..06e6e8b2c8a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/property_named_ref_that_is_not_a_reference.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/property_named_ref_that_is_not_a_reference.pyi @@ -33,7 +33,7 @@ class PropertyNamedRefThatIsNotAReference( """ - class MetaOapg: + class Schema_: # any type class Properties: @@ -44,7 +44,7 @@ class PropertyNamedRefThatIsNotAReference( @typing.overload - def __getitem__(self, name: typing_extensions.Literal["$ref"]) -> MetaOapg.Properties.Ref: ... + def __getitem__(self, name: typing_extensions.Literal["$ref"]) -> Schema_.Properties.Ref: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -60,7 +60,7 @@ class PropertyNamedRefThatIsNotAReference( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["$ref"]) -> typing.Union[MetaOapg.Properties.Ref, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["$ref"]) -> typing.Union[Schema_.Properties.Ref, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_additionalproperties.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_additionalproperties.py index 218290c0cde..d660ceb5fcb 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_additionalproperties.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_additionalproperties.py @@ -33,7 +33,7 @@ class RefInAdditionalproperties( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} @staticmethod diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_additionalproperties.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_additionalproperties.pyi index 623993bb140..3444021c315 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_additionalproperties.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_additionalproperties.pyi @@ -33,7 +33,7 @@ class RefInAdditionalproperties( """ - class MetaOapg: + class Schema_: @staticmethod def additional_properties() -> typing.Type['property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference']: diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_allof.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_allof.py index f4aa63e7a0e..6277a3af987 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_allof.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_allof.py @@ -33,7 +33,7 @@ class RefInAllof( """ - class MetaOapg: + class Schema_: # any type class AllOf: diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_allof.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_allof.pyi index f4aa63e7a0e..6277a3af987 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_allof.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_allof.pyi @@ -33,7 +33,7 @@ class RefInAllof( """ - class MetaOapg: + class Schema_: # any type class AllOf: diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_anyof.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_anyof.py index 63fdd70a404..890010bd4b4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_anyof.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_anyof.py @@ -33,7 +33,7 @@ class RefInAnyof( """ - class MetaOapg: + class Schema_: # any type class AnyOf: diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_anyof.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_anyof.pyi index 63fdd70a404..890010bd4b4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_anyof.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_anyof.pyi @@ -33,7 +33,7 @@ class RefInAnyof( """ - class MetaOapg: + class Schema_: # any type class AnyOf: diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_items.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_items.py index 686ac9fb997..1c831f910e4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_items.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_items.py @@ -33,7 +33,7 @@ class RefInItems( """ - class MetaOapg: + class Schema_: types = {tuple} @staticmethod diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_items.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_items.pyi index 686ac9fb997..1c831f910e4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_items.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_items.pyi @@ -33,7 +33,7 @@ class RefInItems( """ - class MetaOapg: + class Schema_: types = {tuple} @staticmethod diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_not.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_not.py index 05c084218b5..f054c1e5155 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_not.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_not.py @@ -33,7 +33,7 @@ class RefInNot( """ - class MetaOapg: + class Schema_: # any type @staticmethod diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_not.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_not.pyi index 05c084218b5..f054c1e5155 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_not.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_not.pyi @@ -33,7 +33,7 @@ class RefInNot( """ - class MetaOapg: + class Schema_: # any type @staticmethod diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_oneof.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_oneof.py index a227ab116e7..ef3ff3fade3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_oneof.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_oneof.py @@ -33,7 +33,7 @@ class RefInOneof( """ - class MetaOapg: + class Schema_: # any type class OneOf: diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_oneof.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_oneof.pyi index a227ab116e7..ef3ff3fade3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_oneof.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_oneof.pyi @@ -33,7 +33,7 @@ class RefInOneof( """ - class MetaOapg: + class Schema_: # any type class OneOf: diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_property.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_property.py index 27b0603abe1..4938e137e38 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_property.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_property.py @@ -33,7 +33,7 @@ class RefInProperty( """ - class MetaOapg: + class Schema_: # any type class Properties: diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_property.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_property.pyi index 27b0603abe1..4938e137e38 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_property.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_property.pyi @@ -33,7 +33,7 @@ class RefInProperty( """ - class MetaOapg: + class Schema_: # any type class Properties: diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_default_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_default_validation.py index 0a0246e3490..149680ecb86 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_default_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_default_validation.py @@ -33,7 +33,7 @@ class RequiredDefaultValidation( """ - class MetaOapg: + class Schema_: # any type class Properties: @@ -44,7 +44,7 @@ class Properties: @typing.overload - def __getitem__(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... + def __getitem__(self, name: typing_extensions.Literal["foo"]) -> Schema_.Properties.Foo: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -60,7 +60,7 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[Schema_.Properties.Foo, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -77,7 +77,7 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - foo: typing.Union[MetaOapg.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'RequiredDefaultValidation': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_default_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_default_validation.pyi index 0a0246e3490..149680ecb86 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_default_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_default_validation.pyi @@ -33,7 +33,7 @@ class RequiredDefaultValidation( """ - class MetaOapg: + class Schema_: # any type class Properties: @@ -44,7 +44,7 @@ class RequiredDefaultValidation( @typing.overload - def __getitem__(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... + def __getitem__(self, name: typing_extensions.Literal["foo"]) -> Schema_.Properties.Foo: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -60,7 +60,7 @@ class RequiredDefaultValidation( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[Schema_.Properties.Foo, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -77,7 +77,7 @@ class RequiredDefaultValidation( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - foo: typing.Union[MetaOapg.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'RequiredDefaultValidation': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_validation.py index b0e4e31adbc..3df8ac0be10 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_validation.py @@ -33,7 +33,7 @@ class RequiredValidation( """ - class MetaOapg: + class Schema_: # any type required = { "foo", @@ -48,13 +48,13 @@ class Properties: } - foo: MetaOapg.Properties.Foo + foo: Schema_.Properties.Foo @typing.overload - def __getitem__(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... + def __getitem__(self, name: typing_extensions.Literal["foo"]) -> Schema_.Properties.Foo: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... + def __getitem__(self, name: typing_extensions.Literal["bar"]) -> Schema_.Properties.Bar: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -71,10 +71,10 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> Schema_.Properties.Foo: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["bar"]) -> typing.Union[MetaOapg.Properties.Bar, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["bar"]) -> typing.Union[Schema_.Properties.Bar, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -92,8 +92,8 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - foo: typing.Union[MetaOapg.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - bar: typing.Union[MetaOapg.Properties.Bar, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + bar: typing.Union[Schema_.Properties.Bar, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'RequiredValidation': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_validation.pyi index b0e4e31adbc..3df8ac0be10 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_validation.pyi @@ -33,7 +33,7 @@ class RequiredValidation( """ - class MetaOapg: + class Schema_: # any type required = { "foo", @@ -48,13 +48,13 @@ class RequiredValidation( } - foo: MetaOapg.Properties.Foo + foo: Schema_.Properties.Foo @typing.overload - def __getitem__(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... + def __getitem__(self, name: typing_extensions.Literal["foo"]) -> Schema_.Properties.Foo: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... + def __getitem__(self, name: typing_extensions.Literal["bar"]) -> Schema_.Properties.Bar: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -71,10 +71,10 @@ class RequiredValidation( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> Schema_.Properties.Foo: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["bar"]) -> typing.Union[MetaOapg.Properties.Bar, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["bar"]) -> typing.Union[Schema_.Properties.Bar, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -92,8 +92,8 @@ class RequiredValidation( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - foo: typing.Union[MetaOapg.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - bar: typing.Union[MetaOapg.Properties.Bar, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + bar: typing.Union[Schema_.Properties.Bar, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'RequiredValidation': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_empty_array.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_empty_array.py index e2d8a28d102..6c385ce3ec7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_empty_array.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_empty_array.py @@ -33,7 +33,7 @@ class RequiredWithEmptyArray( """ - class MetaOapg: + class Schema_: # any type class Properties: @@ -44,7 +44,7 @@ class Properties: @typing.overload - def __getitem__(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... + def __getitem__(self, name: typing_extensions.Literal["foo"]) -> Schema_.Properties.Foo: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -60,7 +60,7 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[Schema_.Properties.Foo, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -77,7 +77,7 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - foo: typing.Union[MetaOapg.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'RequiredWithEmptyArray': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_empty_array.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_empty_array.pyi index e2d8a28d102..6c385ce3ec7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_empty_array.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_empty_array.pyi @@ -33,7 +33,7 @@ class RequiredWithEmptyArray( """ - class MetaOapg: + class Schema_: # any type class Properties: @@ -44,7 +44,7 @@ class RequiredWithEmptyArray( @typing.overload - def __getitem__(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... + def __getitem__(self, name: typing_extensions.Literal["foo"]) -> Schema_.Properties.Foo: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -60,7 +60,7 @@ class RequiredWithEmptyArray( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[Schema_.Properties.Foo, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -77,7 +77,7 @@ class RequiredWithEmptyArray( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - foo: typing.Union[MetaOapg.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'RequiredWithEmptyArray': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_escaped_characters.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_escaped_characters.py index c34f637a232..f4aaf189365 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_escaped_characters.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_escaped_characters.py @@ -33,7 +33,7 @@ class RequiredWithEscapedCharacters( """ - class MetaOapg: + class Schema_: # any type required = { "foo\tbar", diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_escaped_characters.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_escaped_characters.pyi index c34f637a232..f4aaf189365 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_escaped_characters.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_escaped_characters.pyi @@ -33,7 +33,7 @@ class RequiredWithEscapedCharacters( """ - class MetaOapg: + class Schema_: # any type required = { "foo\tbar", diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/simple_enum_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/simple_enum_validation.py index 90f6799e972..6d9adb74e33 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/simple_enum_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/simple_enum_validation.py @@ -33,7 +33,7 @@ class SimpleEnumValidation( """ - class MetaOapg: + class Schema_: types = { decimal.Decimal, } diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.py index 70eace81fb3..15067095fc8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.py @@ -33,7 +33,7 @@ class TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} class Properties: @@ -44,7 +44,7 @@ class Alpha( ): - class MetaOapg: + class Schema_: types = { decimal.Decimal, } @@ -54,7 +54,7 @@ class MetaOapg: } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["alpha"]) -> MetaOapg.Properties.Alpha: ... + def __getitem__(self, name: typing_extensions.Literal["alpha"]) -> Schema_.Properties.Alpha: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -70,7 +70,7 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["alpha"]) -> typing.Union[MetaOapg.Properties.Alpha, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["alpha"]) -> typing.Union[Schema_.Properties.Alpha, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -87,7 +87,7 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - alpha: typing.Union[MetaOapg.Properties.Alpha, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, + alpha: typing.Union[Schema_.Properties.Alpha, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.pyi index ae61bc527e9..2b36264105f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.pyi @@ -33,7 +33,7 @@ class TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing( """ - class MetaOapg: + class Schema_: class Properties: @@ -47,7 +47,7 @@ class TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing( } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["alpha"]) -> MetaOapg.Properties.Alpha: ... + def __getitem__(self, name: typing_extensions.Literal["alpha"]) -> Schema_.Properties.Alpha: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -63,7 +63,7 @@ class TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["alpha"]) -> typing.Union[MetaOapg.Properties.Alpha, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["alpha"]) -> typing.Union[Schema_.Properties.Alpha, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -80,7 +80,7 @@ class TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - alpha: typing.Union[MetaOapg.Properties.Alpha, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, + alpha: typing.Union[Schema_.Properties.Alpha, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uniqueitems_false_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uniqueitems_false_validation.py index 7afeb27050b..a4b297e5706 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uniqueitems_false_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uniqueitems_false_validation.py @@ -33,7 +33,7 @@ class UniqueitemsFalseValidation( """ - class MetaOapg: + class Schema_: # any type unique_items = False diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uniqueitems_false_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uniqueitems_false_validation.pyi index 421089b8c2f..7816b80d9fd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uniqueitems_false_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uniqueitems_false_validation.pyi @@ -33,7 +33,7 @@ class UniqueitemsFalseValidation( """ - class MetaOapg: + class Schema_: # any type diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uniqueitems_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uniqueitems_validation.py index 9a4c99ab779..6f69a0d3745 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uniqueitems_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uniqueitems_validation.py @@ -33,7 +33,7 @@ class UniqueitemsValidation( """ - class MetaOapg: + class Schema_: # any type unique_items = True diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uniqueitems_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uniqueitems_validation.pyi index d061a8b935a..34b0be13f0c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uniqueitems_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uniqueitems_validation.pyi @@ -33,7 +33,7 @@ class UniqueitemsValidation( """ - class MetaOapg: + class Schema_: # any type diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_format.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_format.py index a78c3e56cd9..03dedb88938 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_format.py @@ -33,7 +33,7 @@ class UriFormat( """ - class MetaOapg: + class Schema_: # any type format = 'uri' diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_format.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_format.pyi index a78c3e56cd9..03dedb88938 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_format.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_format.pyi @@ -33,7 +33,7 @@ class UriFormat( """ - class MetaOapg: + class Schema_: # any type format = 'uri' diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_reference_format.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_reference_format.py index 057006b6575..dda31cf3fc6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_reference_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_reference_format.py @@ -33,7 +33,7 @@ class UriReferenceFormat( """ - class MetaOapg: + class Schema_: # any type format = 'uri-reference' diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_reference_format.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_reference_format.pyi index 057006b6575..dda31cf3fc6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_reference_format.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_reference_format.pyi @@ -33,7 +33,7 @@ class UriReferenceFormat( """ - class MetaOapg: + class Schema_: # any type format = 'uri-reference' diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_template_format.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_template_format.py index 56ce7d311c4..d2f4ba6cc65 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_template_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_template_format.py @@ -33,7 +33,7 @@ class UriTemplateFormat( """ - class MetaOapg: + class Schema_: # any type format = 'uri-template' diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_template_format.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_template_format.pyi index 56ce7d311c4..d2f4ba6cc65 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_template_format.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_template_format.pyi @@ -33,7 +33,7 @@ class UriTemplateFormat( """ - class MetaOapg: + class Schema_: # any type format = 'uri-template' diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py index c2374b52eb8..10023d9ca20 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py @@ -218,7 +218,7 @@ def __bool__(self) -> bool: raise ValueError('Unable to find the boolean value of this instance') -class MetaOapgTyped: +class SchemaTyped: types: typing.Optional[typing.Set[typing.Type]] exclusive_maximum: typing.Union[int, float] inclusive_maximum: typing.Union[int, float] @@ -827,7 +827,7 @@ def validate_additional_properties( return None schema = _get_class(additional_properties_schema) path_to_schemas = {} - properties_annotations = cls.MetaOapg.Properties.__annotations__ if hasattr(cls.MetaOapg, 'Properties') else {} + properties_annotations = cls.Schema_.Properties.__annotations__ if hasattr(cls.Schema_, 'Properties') else {} present_additional_properties = {k: v for k, v, in arg.items() if k not in properties_annotations} for property_name, value in present_additional_properties.items(): path_to_item = validation_metadata.path_to_item + (property_name,) @@ -992,37 +992,37 @@ def __get_discriminated_class(cls, disc_property_name: str, disc_payload_value: """ Used in schemas with discriminators """ - if not hasattr(cls.MetaOapg, 'discriminator'): + if not hasattr(cls.Schema_, 'discriminator'): return None - disc = cls.MetaOapg.discriminator() + disc = cls.Schema_.discriminator() if disc_property_name not in disc: return None discriminated_cls = disc[disc_property_name].get(disc_payload_value) if discriminated_cls is not None: return discriminated_cls if not ( - hasattr(cls.MetaOapg, 'AllOf') or - hasattr(cls.MetaOapg, 'OneOf') or - hasattr(cls.MetaOapg, 'AnyOf') + hasattr(cls.Schema_, 'AllOf') or + hasattr(cls.Schema_, 'OneOf') or + hasattr(cls.Schema_, 'AnyOf') ): return None # TODO stop traveling if a cycle is hit - if hasattr(cls.MetaOapg, 'AllOf'): - for allof_cls in cls.MetaOapg.AllOf.classes: + if hasattr(cls.Schema_, 'AllOf'): + for allof_cls in cls.Schema_.AllOf.classes: allof_cls = _get_class(allof_cls) discriminated_cls = __get_discriminated_class( allof_cls, disc_property_name=disc_property_name, disc_payload_value=disc_payload_value) if discriminated_cls is not None: return discriminated_cls - if hasattr(cls.MetaOapg, 'OneOf'): - for oneof_cls in cls.MetaOapg.OneOf.classes: + if hasattr(cls.Schema_, 'OneOf'): + for oneof_cls in cls.Schema_.OneOf.classes: oneof_cls = _get_class(oneof_cls) discriminated_cls = __get_discriminated_class( oneof_cls, disc_property_name=disc_property_name, disc_payload_value=disc_payload_value) if discriminated_cls is not None: return discriminated_cls - if hasattr(cls.MetaOapg, 'AnyOf'): - for anyof_cls in cls.MetaOapg.AnyOf.classes: + if hasattr(cls.Schema_, 'AnyOf'): + for anyof_cls in cls.Schema_.AnyOf.classes: anyof_cls = _get_class(anyof_cls) discriminated_cls = __get_discriminated_class( anyof_cls, disc_property_name=disc_property_name, disc_payload_value=disc_payload_value) @@ -1111,7 +1111,7 @@ class Schema: the base class of all swagger/openapi schemas/models """ __inheritable_primitive_types_set = {decimal.Decimal, str, tuple, frozendict.frozendict, FileIO, bytes, BoolClass, NoneClass} - MetaOapg: MetaOapgTyped + Schema_: SchemaTyped __excluded_cls_properties = { '__module__', '__dict__', @@ -1132,7 +1132,7 @@ def _validate( """ json_schema_data = { k: v - for k, v in vars(cls.MetaOapg).items() + for k, v in vars(cls.Schema_).items() if k not in cls.__excluded_cls_properties and k not in validation_metadata.configuration.disabled_json_schema_python_keywords @@ -1237,7 +1237,7 @@ def __get_new_cls( """ cls._process_schema_classes(schema_classes) enum_schema = any( - issubclass(this_cls, Schema) and hasattr(this_cls.MetaOapg, "enum_value_to_name") + issubclass(this_cls, Schema) and hasattr(this_cls.Schema_, "enum_value_to_name") for this_cls in schema_classes ) inheritable_primitive_type = schema_classes.intersection(cls.__inheritable_primitive_types_set) @@ -1763,7 +1763,7 @@ def is_none_(self) -> bool: class StrBase: - MetaOapg: MetaOapgTyped + Schema_: SchemaTyped @property def as_str_(self) -> str: @@ -1821,7 +1821,7 @@ def as_decimal_(self) -> decimal.Decimal: class NumberBase: - MetaOapg: MetaOapgTyped + Schema_: SchemaTyped @property def as_int_(self) -> int: @@ -1855,7 +1855,7 @@ def as_float_(self) -> float: class ListBase: - MetaOapg: MetaOapgTyped + Schema_: SchemaTyped @classmethod def _get_items( @@ -2085,7 +2085,7 @@ class ListSchema( Schema, TupleMixin ): - class MetaOapg: + class Schema_: types = {tuple} @classmethod @@ -2101,7 +2101,7 @@ class NoneSchema( Schema, NoneMixin ): - class MetaOapg: + class Schema_: types = {NoneClass} @classmethod @@ -2121,7 +2121,7 @@ class NumberSchema( This is used for type: number with no format Both integers AND floats are accepted """ - class MetaOapg: + class Schema_: types = {decimal.Decimal} @classmethod @@ -2143,7 +2143,7 @@ def as_int_(self) -> int: class IntSchema(IntBase, NumberSchema): - class MetaOapg: + class Schema_: types = {decimal.Decimal} format = 'int' @@ -2158,7 +2158,7 @@ def __new__(cls, _arg: typing.Union[decimal.Decimal, int], **kwargs: configurati class Int32Schema( IntSchema ): - class MetaOapg: + class Schema_: types = {decimal.Decimal} format = 'int32' @@ -2166,7 +2166,7 @@ class MetaOapg: class Int64Schema( IntSchema ): - class MetaOapg: + class Schema_: types = {decimal.Decimal} format = 'int64' @@ -2174,7 +2174,7 @@ class MetaOapg: class Float32Schema( NumberSchema ): - class MetaOapg: + class Schema_: types = {decimal.Decimal} format = 'float' @@ -2186,7 +2186,7 @@ def from_openapi_data_(cls, arg: float, _configuration: typing.Optional[configur class Float64Schema( NumberSchema ): - class MetaOapg: + class Schema_: types = {decimal.Decimal} format = 'double' @@ -2206,7 +2206,7 @@ class StrSchema( - type: string (format unset) - type: string, format: date """ - class MetaOapg: + class Schema_: types = {str} @classmethod @@ -2218,7 +2218,7 @@ def __new__(cls, _arg: typing.Union[str, datetime.date, datetime.datetime, uuid. class UUIDSchema(UUIDBase, StrSchema): - class MetaOapg: + class Schema_: types = {str} format = 'uuid' @@ -2227,7 +2227,7 @@ def __new__(cls, _arg: typing.Union[str, uuid.UUID], **kwargs: configuration_mod class DateSchema(DateBase, StrSchema): - class MetaOapg: + class Schema_: types = {str} format = 'date' @@ -2236,7 +2236,7 @@ def __new__(cls, _arg: typing.Union[str, datetime.date], **kwargs: configuration class DateTimeSchema(DateTimeBase, StrSchema): - class MetaOapg: + class Schema_: types = {str} format = 'date-time' @@ -2245,7 +2245,7 @@ def __new__(cls, _arg: typing.Union[str, datetime.datetime], **kwargs: configura class DecimalSchema(DecimalBase, StrSchema): - class MetaOapg: + class Schema_: types = {str} format = 'number' @@ -2268,7 +2268,7 @@ class BytesSchema( """ this class will subclass bytes and is immutable """ - class MetaOapg: + class Schema_: types = {bytes} def __new__(cls, _arg: bytes, **kwargs: configuration_module.Configuration): @@ -2295,7 +2295,7 @@ class FileSchema( - to allow file reading and writing to disk - to be able to preserve file name info """ - class MetaOapg: + class Schema_: types = {FileIO} def __new__(cls, _arg: typing.Union[io.FileIO, io.BufferedReader], **kwargs: configuration_module.Configuration): @@ -2306,7 +2306,7 @@ class BinarySchema( Schema, BinaryMixin ): - class MetaOapg: + class Schema_: types = {FileIO, bytes} format = 'binary' @@ -2325,7 +2325,7 @@ class BoolSchema( Schema, BoolMixin ): - class MetaOapg: + class Schema_: types = {BoolClass} @classmethod @@ -2347,7 +2347,7 @@ class AnyTypeSchema( NoneFrozenDictTupleStrDecimalBoolFileBytesMixin ): # Python representation of a schema defined as true or {} - class MetaOapg: + class Schema_: pass @@ -2363,7 +2363,7 @@ class NotAnyTypeSchema(AnyTypeSchema): Note: validations on this class are never run because the code knows that no inputs will ever validate """ - class MetaOapg: + class Schema_: _not = AnyTypeSchema def __new__( @@ -2383,7 +2383,7 @@ class DictSchema( Schema, FrozenDictMixin ): - class MetaOapg: + class Schema_: types = {frozendict.frozendict} @classmethod diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/addition_operator.py b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/addition_operator.py index 071995ccb54..110810b8a14 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/addition_operator.py +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/addition_operator.py @@ -33,7 +33,7 @@ class AdditionOperator( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} required = { "a", @@ -52,18 +52,18 @@ class Properties: } AdditionalProperties = schemas.NotAnyTypeSchema - a: MetaOapg.Properties.A - b: MetaOapg.Properties.B - operator_id: MetaOapg.Properties.OperatorId + a: Schema_.Properties.A + b: Schema_.Properties.B + operator_id: Schema_.Properties.OperatorId @typing.overload - def __getitem__(self, name: typing_extensions.Literal["a"]) -> MetaOapg.Properties.A: ... + def __getitem__(self, name: typing_extensions.Literal["a"]) -> Schema_.Properties.A: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["b"]) -> MetaOapg.Properties.B: ... + def __getitem__(self, name: typing_extensions.Literal["b"]) -> Schema_.Properties.B: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["operator_id"]) -> MetaOapg.Properties.OperatorId: ... + def __getitem__(self, name: typing_extensions.Literal["operator_id"]) -> Schema_.Properties.OperatorId: ... def __getitem__( self, @@ -77,13 +77,13 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["a"]) -> MetaOapg.Properties.A: ... + def get_item_(self, name: typing_extensions.Literal["a"]) -> Schema_.Properties.A: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["b"]) -> MetaOapg.Properties.B: ... + def get_item_(self, name: typing_extensions.Literal["b"]) -> Schema_.Properties.B: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["operator_id"]) -> MetaOapg.Properties.OperatorId: ... + def get_item_(self, name: typing_extensions.Literal["operator_id"]) -> Schema_.Properties.OperatorId: ... def get_item_( self, @@ -98,9 +98,9 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - a: typing.Union[MetaOapg.Properties.A, decimal.Decimal, int, float, ], - b: typing.Union[MetaOapg.Properties.B, decimal.Decimal, int, float, ], - operator_id: typing.Union[MetaOapg.Properties.OperatorId, str, ], + a: typing.Union[Schema_.Properties.A, decimal.Decimal, int, float, ], + b: typing.Union[Schema_.Properties.B, decimal.Decimal, int, float, ], + operator_id: typing.Union[Schema_.Properties.OperatorId, str, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'AdditionOperator': return super().__new__( diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/addition_operator.pyi b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/addition_operator.pyi index c8aadd41bc6..4803837ddab 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/addition_operator.pyi +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/addition_operator.pyi @@ -33,7 +33,7 @@ class AdditionOperator( """ - class MetaOapg: + class Schema_: required = { "a", "b", @@ -51,18 +51,18 @@ class AdditionOperator( } AdditionalProperties = schemas.NotAnyTypeSchema - a: MetaOapg.Properties.A - b: MetaOapg.Properties.B - operator_id: MetaOapg.Properties.OperatorId + a: Schema_.Properties.A + b: Schema_.Properties.B + operator_id: Schema_.Properties.OperatorId @typing.overload - def __getitem__(self, name: typing_extensions.Literal["a"]) -> MetaOapg.Properties.A: ... + def __getitem__(self, name: typing_extensions.Literal["a"]) -> Schema_.Properties.A: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["b"]) -> MetaOapg.Properties.B: ... + def __getitem__(self, name: typing_extensions.Literal["b"]) -> Schema_.Properties.B: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["operator_id"]) -> MetaOapg.Properties.OperatorId: ... + def __getitem__(self, name: typing_extensions.Literal["operator_id"]) -> Schema_.Properties.OperatorId: ... def __getitem__( self, @@ -76,13 +76,13 @@ class AdditionOperator( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["a"]) -> MetaOapg.Properties.A: ... + def get_item_(self, name: typing_extensions.Literal["a"]) -> Schema_.Properties.A: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["b"]) -> MetaOapg.Properties.B: ... + def get_item_(self, name: typing_extensions.Literal["b"]) -> Schema_.Properties.B: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["operator_id"]) -> MetaOapg.Properties.OperatorId: ... + def get_item_(self, name: typing_extensions.Literal["operator_id"]) -> Schema_.Properties.OperatorId: ... def get_item_( self, @@ -97,9 +97,9 @@ class AdditionOperator( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - a: typing.Union[MetaOapg.Properties.A, decimal.Decimal, int, float, ], - b: typing.Union[MetaOapg.Properties.B, decimal.Decimal, int, float, ], - operator_id: typing.Union[MetaOapg.Properties.OperatorId, str, ], + a: typing.Union[Schema_.Properties.A, decimal.Decimal, int, float, ], + b: typing.Union[Schema_.Properties.B, decimal.Decimal, int, float, ], + operator_id: typing.Union[Schema_.Properties.OperatorId, str, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'AdditionOperator': return super().__new__( diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/operator.py b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/operator.py index fc34b9b4973..da02ca18019 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/operator.py +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/operator.py @@ -33,7 +33,7 @@ class Operator( """ - class MetaOapg: + class Schema_: # any type @staticmethod diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/operator.pyi b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/operator.pyi index fc34b9b4973..da02ca18019 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/operator.pyi +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/operator.pyi @@ -33,7 +33,7 @@ class Operator( """ - class MetaOapg: + class Schema_: # any type @staticmethod diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/subtraction_operator.py b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/subtraction_operator.py index 4fe3cb6d21e..a4c3a4dd959 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/subtraction_operator.py +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/subtraction_operator.py @@ -33,7 +33,7 @@ class SubtractionOperator( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} required = { "a", @@ -52,18 +52,18 @@ class Properties: } AdditionalProperties = schemas.NotAnyTypeSchema - a: MetaOapg.Properties.A - b: MetaOapg.Properties.B - operator_id: MetaOapg.Properties.OperatorId + a: Schema_.Properties.A + b: Schema_.Properties.B + operator_id: Schema_.Properties.OperatorId @typing.overload - def __getitem__(self, name: typing_extensions.Literal["a"]) -> MetaOapg.Properties.A: ... + def __getitem__(self, name: typing_extensions.Literal["a"]) -> Schema_.Properties.A: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["b"]) -> MetaOapg.Properties.B: ... + def __getitem__(self, name: typing_extensions.Literal["b"]) -> Schema_.Properties.B: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["operator_id"]) -> MetaOapg.Properties.OperatorId: ... + def __getitem__(self, name: typing_extensions.Literal["operator_id"]) -> Schema_.Properties.OperatorId: ... def __getitem__( self, @@ -77,13 +77,13 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["a"]) -> MetaOapg.Properties.A: ... + def get_item_(self, name: typing_extensions.Literal["a"]) -> Schema_.Properties.A: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["b"]) -> MetaOapg.Properties.B: ... + def get_item_(self, name: typing_extensions.Literal["b"]) -> Schema_.Properties.B: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["operator_id"]) -> MetaOapg.Properties.OperatorId: ... + def get_item_(self, name: typing_extensions.Literal["operator_id"]) -> Schema_.Properties.OperatorId: ... def get_item_( self, @@ -98,9 +98,9 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - a: typing.Union[MetaOapg.Properties.A, decimal.Decimal, int, float, ], - b: typing.Union[MetaOapg.Properties.B, decimal.Decimal, int, float, ], - operator_id: typing.Union[MetaOapg.Properties.OperatorId, str, ], + a: typing.Union[Schema_.Properties.A, decimal.Decimal, int, float, ], + b: typing.Union[Schema_.Properties.B, decimal.Decimal, int, float, ], + operator_id: typing.Union[Schema_.Properties.OperatorId, str, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'SubtractionOperator': return super().__new__( diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/subtraction_operator.pyi b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/subtraction_operator.pyi index a0a444f4866..5bb25218494 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/subtraction_operator.pyi +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/subtraction_operator.pyi @@ -33,7 +33,7 @@ class SubtractionOperator( """ - class MetaOapg: + class Schema_: required = { "a", "b", @@ -51,18 +51,18 @@ class SubtractionOperator( } AdditionalProperties = schemas.NotAnyTypeSchema - a: MetaOapg.Properties.A - b: MetaOapg.Properties.B - operator_id: MetaOapg.Properties.OperatorId + a: Schema_.Properties.A + b: Schema_.Properties.B + operator_id: Schema_.Properties.OperatorId @typing.overload - def __getitem__(self, name: typing_extensions.Literal["a"]) -> MetaOapg.Properties.A: ... + def __getitem__(self, name: typing_extensions.Literal["a"]) -> Schema_.Properties.A: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["b"]) -> MetaOapg.Properties.B: ... + def __getitem__(self, name: typing_extensions.Literal["b"]) -> Schema_.Properties.B: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["operator_id"]) -> MetaOapg.Properties.OperatorId: ... + def __getitem__(self, name: typing_extensions.Literal["operator_id"]) -> Schema_.Properties.OperatorId: ... def __getitem__( self, @@ -76,13 +76,13 @@ class SubtractionOperator( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["a"]) -> MetaOapg.Properties.A: ... + def get_item_(self, name: typing_extensions.Literal["a"]) -> Schema_.Properties.A: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["b"]) -> MetaOapg.Properties.B: ... + def get_item_(self, name: typing_extensions.Literal["b"]) -> Schema_.Properties.B: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["operator_id"]) -> MetaOapg.Properties.OperatorId: ... + def get_item_(self, name: typing_extensions.Literal["operator_id"]) -> Schema_.Properties.OperatorId: ... def get_item_( self, @@ -97,9 +97,9 @@ class SubtractionOperator( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - a: typing.Union[MetaOapg.Properties.A, decimal.Decimal, int, float, ], - b: typing.Union[MetaOapg.Properties.B, decimal.Decimal, int, float, ], - operator_id: typing.Union[MetaOapg.Properties.OperatorId, str, ], + a: typing.Union[Schema_.Properties.A, decimal.Decimal, int, float, ], + b: typing.Union[Schema_.Properties.B, decimal.Decimal, int, float, ], + operator_id: typing.Union[Schema_.Properties.OperatorId, str, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'SubtractionOperator': return super().__new__( diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py index 97d599f3bc8..d31ab928e19 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py @@ -218,7 +218,7 @@ def __bool__(self) -> bool: raise ValueError('Unable to find the boolean value of this instance') -class MetaOapgTyped: +class SchemaTyped: types: typing.Optional[typing.Set[typing.Type]] exclusive_maximum: typing.Union[int, float] inclusive_maximum: typing.Union[int, float] @@ -847,7 +847,7 @@ def validate_additional_properties( return None schema = _get_class(additional_properties_schema) path_to_schemas = {} - properties_annotations = cls.MetaOapg.Properties.__annotations__ if hasattr(cls.MetaOapg, 'Properties') else {} + properties_annotations = cls.Schema_.Properties.__annotations__ if hasattr(cls.Schema_, 'Properties') else {} present_additional_properties = {k: v for k, v, in arg.items() if k not in properties_annotations} for property_name, value in present_additional_properties.items(): path_to_item = validation_metadata.path_to_item + (property_name,) @@ -1036,37 +1036,37 @@ def __get_discriminated_class(cls, disc_property_name: str, disc_payload_value: """ Used in schemas with discriminators """ - if not hasattr(cls.MetaOapg, 'discriminator'): + if not hasattr(cls.Schema_, 'discriminator'): return None - disc = cls.MetaOapg.discriminator() + disc = cls.Schema_.discriminator() if disc_property_name not in disc: return None discriminated_cls = disc[disc_property_name].get(disc_payload_value) if discriminated_cls is not None: return discriminated_cls if not ( - hasattr(cls.MetaOapg, 'AllOf') or - hasattr(cls.MetaOapg, 'OneOf') or - hasattr(cls.MetaOapg, 'AnyOf') + hasattr(cls.Schema_, 'AllOf') or + hasattr(cls.Schema_, 'OneOf') or + hasattr(cls.Schema_, 'AnyOf') ): return None # TODO stop traveling if a cycle is hit - if hasattr(cls.MetaOapg, 'AllOf'): - for allof_cls in cls.MetaOapg.AllOf.classes: + if hasattr(cls.Schema_, 'AllOf'): + for allof_cls in cls.Schema_.AllOf.classes: allof_cls = _get_class(allof_cls) discriminated_cls = __get_discriminated_class( allof_cls, disc_property_name=disc_property_name, disc_payload_value=disc_payload_value) if discriminated_cls is not None: return discriminated_cls - if hasattr(cls.MetaOapg, 'OneOf'): - for oneof_cls in cls.MetaOapg.OneOf.classes: + if hasattr(cls.Schema_, 'OneOf'): + for oneof_cls in cls.Schema_.OneOf.classes: oneof_cls = _get_class(oneof_cls) discriminated_cls = __get_discriminated_class( oneof_cls, disc_property_name=disc_property_name, disc_payload_value=disc_payload_value) if discriminated_cls is not None: return discriminated_cls - if hasattr(cls.MetaOapg, 'AnyOf'): - for anyof_cls in cls.MetaOapg.AnyOf.classes: + if hasattr(cls.Schema_, 'AnyOf'): + for anyof_cls in cls.Schema_.AnyOf.classes: anyof_cls = _get_class(anyof_cls) discriminated_cls = __get_discriminated_class( anyof_cls, disc_property_name=disc_property_name, disc_payload_value=disc_payload_value) @@ -1081,7 +1081,7 @@ def _get_discriminated_class_and_exception( ) -> typing.Tuple[typing.Optional['Schema'], typing.Optional[Exception]]: if not isinstance(arg, frozendict.frozendict): return None, None - discriminator = cls.MetaOapg.discriminator() + discriminator = cls.Schema_.discriminator() disc_prop_name = list(discriminator.keys())[0] try: __ensure_discriminator_value_present(disc_prop_name, validation_metadata, arg) @@ -1175,7 +1175,7 @@ class Schema: the base class of all swagger/openapi schemas/models """ __inheritable_primitive_types_set = {decimal.Decimal, str, tuple, frozendict.frozendict, FileIO, bytes, BoolClass, NoneClass} - MetaOapg: MetaOapgTyped + Schema_: SchemaTyped __excluded_cls_properties = { '__module__', '__dict__', @@ -1196,7 +1196,7 @@ def _validate( """ json_schema_data = { k: v - for k, v in vars(cls.MetaOapg).items() + for k, v in vars(cls.Schema_).items() if k not in cls.__excluded_cls_properties and k not in validation_metadata.configuration.disabled_json_schema_python_keywords @@ -1313,7 +1313,7 @@ def __get_new_cls( """ cls._process_schema_classes(schema_classes) enum_schema = any( - issubclass(this_cls, Schema) and hasattr(this_cls.MetaOapg, "enum_value_to_name") + issubclass(this_cls, Schema) and hasattr(this_cls.Schema_, "enum_value_to_name") for this_cls in schema_classes ) inheritable_primitive_type = schema_classes.intersection(cls.__inheritable_primitive_types_set) @@ -1839,7 +1839,7 @@ def is_none_(self) -> bool: class StrBase: - MetaOapg: MetaOapgTyped + Schema_: SchemaTyped @property def as_str_(self) -> str: @@ -1897,7 +1897,7 @@ def as_decimal_(self) -> decimal.Decimal: class NumberBase: - MetaOapg: MetaOapgTyped + Schema_: SchemaTyped @property def as_int_(self) -> int: @@ -1931,7 +1931,7 @@ def as_float_(self) -> float: class ListBase: - MetaOapg: MetaOapgTyped + Schema_: SchemaTyped @classmethod def _get_items( @@ -2161,7 +2161,7 @@ class ListSchema( Schema, TupleMixin ): - class MetaOapg: + class Schema_: types = {tuple} @classmethod @@ -2177,7 +2177,7 @@ class NoneSchema( Schema, NoneMixin ): - class MetaOapg: + class Schema_: types = {NoneClass} @classmethod @@ -2197,7 +2197,7 @@ class NumberSchema( This is used for type: number with no format Both integers AND floats are accepted """ - class MetaOapg: + class Schema_: types = {decimal.Decimal} @classmethod @@ -2219,7 +2219,7 @@ def as_int_(self) -> int: class IntSchema(IntBase, NumberSchema): - class MetaOapg: + class Schema_: types = {decimal.Decimal} format = 'int' @@ -2234,7 +2234,7 @@ def __new__(cls, _arg: typing.Union[decimal.Decimal, int], **kwargs: configurati class Int32Schema( IntSchema ): - class MetaOapg: + class Schema_: types = {decimal.Decimal} format = 'int32' @@ -2242,7 +2242,7 @@ class MetaOapg: class Int64Schema( IntSchema ): - class MetaOapg: + class Schema_: types = {decimal.Decimal} format = 'int64' @@ -2250,7 +2250,7 @@ class MetaOapg: class Float32Schema( NumberSchema ): - class MetaOapg: + class Schema_: types = {decimal.Decimal} format = 'float' @@ -2262,7 +2262,7 @@ def from_openapi_data_(cls, arg: float, _configuration: typing.Optional[configur class Float64Schema( NumberSchema ): - class MetaOapg: + class Schema_: types = {decimal.Decimal} format = 'double' @@ -2282,7 +2282,7 @@ class StrSchema( - type: string (format unset) - type: string, format: date """ - class MetaOapg: + class Schema_: types = {str} @classmethod @@ -2294,7 +2294,7 @@ def __new__(cls, _arg: typing.Union[str, datetime.date, datetime.datetime, uuid. class UUIDSchema(UUIDBase, StrSchema): - class MetaOapg: + class Schema_: types = {str} format = 'uuid' @@ -2303,7 +2303,7 @@ def __new__(cls, _arg: typing.Union[str, uuid.UUID], **kwargs: configuration_mod class DateSchema(DateBase, StrSchema): - class MetaOapg: + class Schema_: types = {str} format = 'date' @@ -2312,7 +2312,7 @@ def __new__(cls, _arg: typing.Union[str, datetime.date], **kwargs: configuration class DateTimeSchema(DateTimeBase, StrSchema): - class MetaOapg: + class Schema_: types = {str} format = 'date-time' @@ -2321,7 +2321,7 @@ def __new__(cls, _arg: typing.Union[str, datetime.datetime], **kwargs: configura class DecimalSchema(DecimalBase, StrSchema): - class MetaOapg: + class Schema_: types = {str} format = 'number' @@ -2344,7 +2344,7 @@ class BytesSchema( """ this class will subclass bytes and is immutable """ - class MetaOapg: + class Schema_: types = {bytes} def __new__(cls, _arg: bytes, **kwargs: configuration_module.Configuration): @@ -2371,7 +2371,7 @@ class FileSchema( - to allow file reading and writing to disk - to be able to preserve file name info """ - class MetaOapg: + class Schema_: types = {FileIO} def __new__(cls, _arg: typing.Union[io.FileIO, io.BufferedReader], **kwargs: configuration_module.Configuration): @@ -2382,7 +2382,7 @@ class BinarySchema( Schema, BinaryMixin ): - class MetaOapg: + class Schema_: types = {FileIO, bytes} format = 'binary' @@ -2401,7 +2401,7 @@ class BoolSchema( Schema, BoolMixin ): - class MetaOapg: + class Schema_: types = {BoolClass} @classmethod @@ -2423,7 +2423,7 @@ class AnyTypeSchema( NoneFrozenDictTupleStrDecimalBoolFileBytesMixin ): # Python representation of a schema defined as true or {} - class MetaOapg: + class Schema_: pass @@ -2439,7 +2439,7 @@ class NotAnyTypeSchema(AnyTypeSchema): Note: validations on this class are never run because the code knows that no inputs will ever validate """ - class MetaOapg: + class Schema_: _not = AnyTypeSchema def __new__( @@ -2459,7 +2459,7 @@ class DictSchema( Schema, FrozenDictMixin ): - class MetaOapg: + class Schema_: types = {frozendict.frozendict} @classmethod diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/request_bodies/request_body_user_array/application_json.py b/samples/openapi3/client/petstore/python/petstore_api/components/request_bodies/request_body_user_array/application_json.py index bf4e3166c76..074a341ade3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/request_bodies/request_body_user_array/application_json.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/request_bodies/request_body_user_array/application_json.py @@ -28,7 +28,7 @@ class ApplicationJson( ): - class MetaOapg: + class Schema_: types = {tuple} @staticmethod diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/request_bodies/request_body_user_array/application_json.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/request_bodies/request_body_user_array/application_json.pyi index bf4e3166c76..074a341ade3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/request_bodies/request_body_user_array/application_json.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/request_bodies/request_body_user_array/application_json.pyi @@ -28,7 +28,7 @@ class ApplicationJson( ): - class MetaOapg: + class Schema_: types = {tuple} @staticmethod diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/responses/response_success_inline_content_and_header/application_json.py b/samples/openapi3/client/petstore/python/petstore_api/components/responses/response_success_inline_content_and_header/application_json.py index 2fd6de8f6d5..eb4d14630bd 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/responses/response_success_inline_content_and_header/application_json.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/responses/response_success_inline_content_and_header/application_json.py @@ -28,22 +28,22 @@ class ApplicationJson( ): - class MetaOapg: + class Schema_: types = {frozendict.frozendict} AdditionalProperties = schemas.Int32Schema - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + def get_item_(self, name: str) -> Schema_.AdditionalProperties: return super().get_item_(name) def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, decimal.Decimal, int, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, decimal.Decimal, int, ], ) -> 'ApplicationJson': return super().__new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/responses/response_success_inline_content_and_header/application_json.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/responses/response_success_inline_content_and_header/application_json.pyi index 48ec478b1a9..5be40d9fb37 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/responses/response_success_inline_content_and_header/application_json.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/responses/response_success_inline_content_and_header/application_json.pyi @@ -28,21 +28,21 @@ class ApplicationJson( ): - class MetaOapg: + class Schema_: AdditionalProperties = schemas.Int32Schema - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + def get_item_(self, name: str) -> Schema_.AdditionalProperties: return super().get_item_(name) def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, decimal.Decimal, int, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, decimal.Decimal, int, ], ) -> 'ApplicationJson': return super().__new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/_200_response.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/_200_response.py index fb32af9fe63..0f19e9ce618 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/_200_response.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/_200_response.py @@ -35,7 +35,7 @@ class _200Response( """ - class MetaOapg: + class Schema_: # any type class Properties: @@ -48,10 +48,10 @@ class Properties: @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.Properties.Name: ... + def __getitem__(self, name: typing_extensions.Literal["name"]) -> Schema_.Properties.Name: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["class"]) -> MetaOapg.Properties._Class: ... + def __getitem__(self, name: typing_extensions.Literal["class"]) -> Schema_.Properties._Class: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -68,10 +68,10 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.Properties.Name, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["name"]) -> typing.Union[Schema_.Properties.Name, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["class"]) -> typing.Union[MetaOapg.Properties._Class, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["class"]) -> typing.Union[Schema_.Properties._Class, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -89,7 +89,7 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - name: typing.Union[MetaOapg.Properties.Name, decimal.Decimal, int, schemas.Unset] = schemas.unset, + name: typing.Union[Schema_.Properties.Name, decimal.Decimal, int, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_200Response': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/_200_response.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/_200_response.pyi index fb32af9fe63..0f19e9ce618 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/_200_response.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/_200_response.pyi @@ -35,7 +35,7 @@ class _200Response( """ - class MetaOapg: + class Schema_: # any type class Properties: @@ -48,10 +48,10 @@ class _200Response( @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.Properties.Name: ... + def __getitem__(self, name: typing_extensions.Literal["name"]) -> Schema_.Properties.Name: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["class"]) -> MetaOapg.Properties._Class: ... + def __getitem__(self, name: typing_extensions.Literal["class"]) -> Schema_.Properties._Class: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -68,10 +68,10 @@ class _200Response( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.Properties.Name, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["name"]) -> typing.Union[Schema_.Properties.Name, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["class"]) -> typing.Union[MetaOapg.Properties._Class, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["class"]) -> typing.Union[Schema_.Properties._Class, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -89,7 +89,7 @@ class _200Response( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - name: typing.Union[MetaOapg.Properties.Name, decimal.Decimal, int, schemas.Unset] = schemas.unset, + name: typing.Union[Schema_.Properties.Name, decimal.Decimal, int, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_200Response': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/_return.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/_return.py index 498b44ad432..cc20979a62c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/_return.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/_return.py @@ -35,7 +35,7 @@ class _Return( """ - class MetaOapg: + class Schema_: # any type class Properties: @@ -46,7 +46,7 @@ class Properties: @typing.overload - def __getitem__(self, name: typing_extensions.Literal["return"]) -> MetaOapg.Properties._Return: ... + def __getitem__(self, name: typing_extensions.Literal["return"]) -> Schema_.Properties._Return: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -62,7 +62,7 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["return"]) -> typing.Union[MetaOapg.Properties._Return, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["return"]) -> typing.Union[Schema_.Properties._Return, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/_return.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/_return.pyi index 498b44ad432..cc20979a62c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/_return.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/_return.pyi @@ -35,7 +35,7 @@ class _Return( """ - class MetaOapg: + class Schema_: # any type class Properties: @@ -46,7 +46,7 @@ class _Return( @typing.overload - def __getitem__(self, name: typing_extensions.Literal["return"]) -> MetaOapg.Properties._Return: ... + def __getitem__(self, name: typing_extensions.Literal["return"]) -> Schema_.Properties._Return: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -62,7 +62,7 @@ class _Return( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["return"]) -> typing.Union[MetaOapg.Properties._Return, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["return"]) -> typing.Union[Schema_.Properties._Return, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/abstract_step_message.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/abstract_step_message.py index 68a612e5767..09969f92207 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/abstract_step_message.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/abstract_step_message.py @@ -35,7 +35,7 @@ class AbstractStepMessage( """ - class MetaOapg: + class Schema_: types = { frozendict.frozendict, } @@ -70,14 +70,14 @@ def any_of0() -> typing.Type['AbstractStepMessage']: description: schemas.AnyTypeSchema - discriminator: MetaOapg.Properties.Discriminator + discriminator: Schema_.Properties.Discriminator sequenceNumber: schemas.AnyTypeSchema @typing.overload def __getitem__(self, name: typing_extensions.Literal["description"]) -> schemas.AnyTypeSchema: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["discriminator"]) -> MetaOapg.Properties.Discriminator: ... + def __getitem__(self, name: typing_extensions.Literal["discriminator"]) -> Schema_.Properties.Discriminator: ... @typing.overload def __getitem__(self, name: typing_extensions.Literal["sequenceNumber"]) -> schemas.AnyTypeSchema: ... @@ -101,7 +101,7 @@ def __getitem__( def get_item_(self, name: typing_extensions.Literal["description"]) -> schemas.AnyTypeSchema: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["discriminator"]) -> MetaOapg.Properties.Discriminator: ... + def get_item_(self, name: typing_extensions.Literal["discriminator"]) -> Schema_.Properties.Discriminator: ... @typing.overload def get_item_(self, name: typing_extensions.Literal["sequenceNumber"]) -> schemas.AnyTypeSchema: ... @@ -124,7 +124,7 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], description: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - discriminator: typing.Union[MetaOapg.Properties.Discriminator, str, ], + discriminator: typing.Union[Schema_.Properties.Discriminator, str, ], sequenceNumber: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/abstract_step_message.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/abstract_step_message.pyi index 68a612e5767..09969f92207 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/abstract_step_message.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/abstract_step_message.pyi @@ -35,7 +35,7 @@ class AbstractStepMessage( """ - class MetaOapg: + class Schema_: types = { frozendict.frozendict, } @@ -70,14 +70,14 @@ class AbstractStepMessage( description: schemas.AnyTypeSchema - discriminator: MetaOapg.Properties.Discriminator + discriminator: Schema_.Properties.Discriminator sequenceNumber: schemas.AnyTypeSchema @typing.overload def __getitem__(self, name: typing_extensions.Literal["description"]) -> schemas.AnyTypeSchema: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["discriminator"]) -> MetaOapg.Properties.Discriminator: ... + def __getitem__(self, name: typing_extensions.Literal["discriminator"]) -> Schema_.Properties.Discriminator: ... @typing.overload def __getitem__(self, name: typing_extensions.Literal["sequenceNumber"]) -> schemas.AnyTypeSchema: ... @@ -101,7 +101,7 @@ class AbstractStepMessage( def get_item_(self, name: typing_extensions.Literal["description"]) -> schemas.AnyTypeSchema: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["discriminator"]) -> MetaOapg.Properties.Discriminator: ... + def get_item_(self, name: typing_extensions.Literal["discriminator"]) -> Schema_.Properties.Discriminator: ... @typing.overload def get_item_(self, name: typing_extensions.Literal["sequenceNumber"]) -> schemas.AnyTypeSchema: ... @@ -124,7 +124,7 @@ class AbstractStepMessage( cls, *_args: typing.Union[dict, frozendict.frozendict, ], description: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - discriminator: typing.Union[MetaOapg.Properties.Discriminator, str, ], + discriminator: typing.Union[Schema_.Properties.Discriminator, str, ], sequenceNumber: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_class.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_class.py index 03bb12f417e..a5ed20d6c8a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_class.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_class.py @@ -33,7 +33,7 @@ class AdditionalPropertiesClass( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} class Properties: @@ -44,22 +44,22 @@ class MapProperty( ): - class MetaOapg: + class Schema_: types = {frozendict.frozendict} AdditionalProperties = schemas.StrSchema - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + def get_item_(self, name: str) -> Schema_.AdditionalProperties: return super().get_item_(name) def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, str, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], ) -> 'MapProperty': return super().__new__( cls, @@ -74,7 +74,7 @@ class MapOfMapProperty( ): - class MetaOapg: + class Schema_: types = {frozendict.frozendict} @@ -83,22 +83,22 @@ class AdditionalProperties( ): - class MetaOapg: + class Schema_: types = {frozendict.frozendict} AdditionalProperties = schemas.StrSchema - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + def get_item_(self, name: str) -> Schema_.AdditionalProperties: return super().get_item_(name) def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, str, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], ) -> 'AdditionalProperties': return super().__new__( cls, @@ -107,18 +107,18 @@ def __new__( **kwargs, ) - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + def get_item_(self, name: str) -> Schema_.AdditionalProperties: return super().get_item_(name) def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, dict, frozendict.frozendict, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, ], ) -> 'MapOfMapProperty': return super().__new__( cls, @@ -136,22 +136,22 @@ class MapWithUndeclaredPropertiesAnytype3( ): - class MetaOapg: + class Schema_: types = {frozendict.frozendict} AdditionalProperties = schemas.AnyTypeSchema - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + def get_item_(self, name: str) -> Schema_.AdditionalProperties: return super().get_item_(name) def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], ) -> 'MapWithUndeclaredPropertiesAnytype3': return super().__new__( cls, @@ -166,7 +166,7 @@ class EmptyMap( ): - class MetaOapg: + class Schema_: types = {frozendict.frozendict} AdditionalProperties = schemas.NotAnyTypeSchema @@ -187,22 +187,22 @@ class MapWithUndeclaredPropertiesString( ): - class MetaOapg: + class Schema_: types = {frozendict.frozendict} AdditionalProperties = schemas.StrSchema - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + def get_item_(self, name: str) -> Schema_.AdditionalProperties: return super().get_item_(name) def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, str, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], ) -> 'MapWithUndeclaredPropertiesString': return super().__new__( cls, @@ -222,28 +222,28 @@ def __new__( } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["map_property"]) -> MetaOapg.Properties.MapProperty: ... + def __getitem__(self, name: typing_extensions.Literal["map_property"]) -> Schema_.Properties.MapProperty: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["map_of_map_property"]) -> MetaOapg.Properties.MapOfMapProperty: ... + def __getitem__(self, name: typing_extensions.Literal["map_of_map_property"]) -> Schema_.Properties.MapOfMapProperty: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["anytype_1"]) -> MetaOapg.Properties.Anytype1: ... + def __getitem__(self, name: typing_extensions.Literal["anytype_1"]) -> Schema_.Properties.Anytype1: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["map_with_undeclared_properties_anytype_1"]) -> MetaOapg.Properties.MapWithUndeclaredPropertiesAnytype1: ... + def __getitem__(self, name: typing_extensions.Literal["map_with_undeclared_properties_anytype_1"]) -> Schema_.Properties.MapWithUndeclaredPropertiesAnytype1: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["map_with_undeclared_properties_anytype_2"]) -> MetaOapg.Properties.MapWithUndeclaredPropertiesAnytype2: ... + def __getitem__(self, name: typing_extensions.Literal["map_with_undeclared_properties_anytype_2"]) -> Schema_.Properties.MapWithUndeclaredPropertiesAnytype2: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["map_with_undeclared_properties_anytype_3"]) -> MetaOapg.Properties.MapWithUndeclaredPropertiesAnytype3: ... + def __getitem__(self, name: typing_extensions.Literal["map_with_undeclared_properties_anytype_3"]) -> Schema_.Properties.MapWithUndeclaredPropertiesAnytype3: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["empty_map"]) -> MetaOapg.Properties.EmptyMap: ... + def __getitem__(self, name: typing_extensions.Literal["empty_map"]) -> Schema_.Properties.EmptyMap: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["map_with_undeclared_properties_string"]) -> MetaOapg.Properties.MapWithUndeclaredPropertiesString: ... + def __getitem__(self, name: typing_extensions.Literal["map_with_undeclared_properties_string"]) -> Schema_.Properties.MapWithUndeclaredPropertiesString: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -266,28 +266,28 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["map_property"]) -> typing.Union[MetaOapg.Properties.MapProperty, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["map_property"]) -> typing.Union[Schema_.Properties.MapProperty, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["map_of_map_property"]) -> typing.Union[MetaOapg.Properties.MapOfMapProperty, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["map_of_map_property"]) -> typing.Union[Schema_.Properties.MapOfMapProperty, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["anytype_1"]) -> typing.Union[MetaOapg.Properties.Anytype1, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["anytype_1"]) -> typing.Union[Schema_.Properties.Anytype1, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["map_with_undeclared_properties_anytype_1"]) -> typing.Union[MetaOapg.Properties.MapWithUndeclaredPropertiesAnytype1, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["map_with_undeclared_properties_anytype_1"]) -> typing.Union[Schema_.Properties.MapWithUndeclaredPropertiesAnytype1, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["map_with_undeclared_properties_anytype_2"]) -> typing.Union[MetaOapg.Properties.MapWithUndeclaredPropertiesAnytype2, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["map_with_undeclared_properties_anytype_2"]) -> typing.Union[Schema_.Properties.MapWithUndeclaredPropertiesAnytype2, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["map_with_undeclared_properties_anytype_3"]) -> typing.Union[MetaOapg.Properties.MapWithUndeclaredPropertiesAnytype3, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["map_with_undeclared_properties_anytype_3"]) -> typing.Union[Schema_.Properties.MapWithUndeclaredPropertiesAnytype3, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["empty_map"]) -> typing.Union[MetaOapg.Properties.EmptyMap, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["empty_map"]) -> typing.Union[Schema_.Properties.EmptyMap, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["map_with_undeclared_properties_string"]) -> typing.Union[MetaOapg.Properties.MapWithUndeclaredPropertiesString, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["map_with_undeclared_properties_string"]) -> typing.Union[Schema_.Properties.MapWithUndeclaredPropertiesString, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -311,14 +311,14 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - map_property: typing.Union[MetaOapg.Properties.MapProperty, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - map_of_map_property: typing.Union[MetaOapg.Properties.MapOfMapProperty, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - anytype_1: typing.Union[MetaOapg.Properties.Anytype1, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - map_with_undeclared_properties_anytype_1: typing.Union[MetaOapg.Properties.MapWithUndeclaredPropertiesAnytype1, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - map_with_undeclared_properties_anytype_2: typing.Union[MetaOapg.Properties.MapWithUndeclaredPropertiesAnytype2, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - map_with_undeclared_properties_anytype_3: typing.Union[MetaOapg.Properties.MapWithUndeclaredPropertiesAnytype3, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - empty_map: typing.Union[MetaOapg.Properties.EmptyMap, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - map_with_undeclared_properties_string: typing.Union[MetaOapg.Properties.MapWithUndeclaredPropertiesString, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + map_property: typing.Union[Schema_.Properties.MapProperty, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + map_of_map_property: typing.Union[Schema_.Properties.MapOfMapProperty, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + anytype_1: typing.Union[Schema_.Properties.Anytype1, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + map_with_undeclared_properties_anytype_1: typing.Union[Schema_.Properties.MapWithUndeclaredPropertiesAnytype1, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + map_with_undeclared_properties_anytype_2: typing.Union[Schema_.Properties.MapWithUndeclaredPropertiesAnytype2, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + map_with_undeclared_properties_anytype_3: typing.Union[Schema_.Properties.MapWithUndeclaredPropertiesAnytype3, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + empty_map: typing.Union[Schema_.Properties.EmptyMap, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + map_with_undeclared_properties_string: typing.Union[Schema_.Properties.MapWithUndeclaredPropertiesString, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AdditionalPropertiesClass': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_class.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_class.pyi index c8373cc92b0..de73396b565 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_class.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_class.pyi @@ -33,7 +33,7 @@ class AdditionalPropertiesClass( """ - class MetaOapg: + class Schema_: class Properties: @@ -43,21 +43,21 @@ class AdditionalPropertiesClass( ): - class MetaOapg: + class Schema_: AdditionalProperties = schemas.StrSchema - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + def get_item_(self, name: str) -> Schema_.AdditionalProperties: return super().get_item_(name) def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, str, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], ) -> 'MapProperty': return super().__new__( cls, @@ -72,7 +72,7 @@ class AdditionalPropertiesClass( ): - class MetaOapg: + class Schema_: class AdditionalProperties( @@ -80,21 +80,21 @@ class AdditionalPropertiesClass( ): - class MetaOapg: + class Schema_: AdditionalProperties = schemas.StrSchema - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + def get_item_(self, name: str) -> Schema_.AdditionalProperties: return super().get_item_(name) def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, str, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], ) -> 'AdditionalProperties': return super().__new__( cls, @@ -103,18 +103,18 @@ class AdditionalPropertiesClass( **kwargs, ) - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + def get_item_(self, name: str) -> Schema_.AdditionalProperties: return super().get_item_(name) def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, dict, frozendict.frozendict, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, ], ) -> 'MapOfMapProperty': return super().__new__( cls, @@ -132,21 +132,21 @@ class AdditionalPropertiesClass( ): - class MetaOapg: + class Schema_: AdditionalProperties = schemas.AnyTypeSchema - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + def get_item_(self, name: str) -> Schema_.AdditionalProperties: return super().get_item_(name) def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], ) -> 'MapWithUndeclaredPropertiesAnytype3': return super().__new__( cls, @@ -161,7 +161,7 @@ class AdditionalPropertiesClass( ): - class MetaOapg: + class Schema_: AdditionalProperties = schemas.NotAnyTypeSchema def __new__( @@ -181,21 +181,21 @@ class AdditionalPropertiesClass( ): - class MetaOapg: + class Schema_: AdditionalProperties = schemas.StrSchema - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + def get_item_(self, name: str) -> Schema_.AdditionalProperties: return super().get_item_(name) def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, str, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], ) -> 'MapWithUndeclaredPropertiesString': return super().__new__( cls, @@ -215,28 +215,28 @@ class AdditionalPropertiesClass( } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["map_property"]) -> MetaOapg.Properties.MapProperty: ... + def __getitem__(self, name: typing_extensions.Literal["map_property"]) -> Schema_.Properties.MapProperty: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["map_of_map_property"]) -> MetaOapg.Properties.MapOfMapProperty: ... + def __getitem__(self, name: typing_extensions.Literal["map_of_map_property"]) -> Schema_.Properties.MapOfMapProperty: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["anytype_1"]) -> MetaOapg.Properties.Anytype1: ... + def __getitem__(self, name: typing_extensions.Literal["anytype_1"]) -> Schema_.Properties.Anytype1: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["map_with_undeclared_properties_anytype_1"]) -> MetaOapg.Properties.MapWithUndeclaredPropertiesAnytype1: ... + def __getitem__(self, name: typing_extensions.Literal["map_with_undeclared_properties_anytype_1"]) -> Schema_.Properties.MapWithUndeclaredPropertiesAnytype1: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["map_with_undeclared_properties_anytype_2"]) -> MetaOapg.Properties.MapWithUndeclaredPropertiesAnytype2: ... + def __getitem__(self, name: typing_extensions.Literal["map_with_undeclared_properties_anytype_2"]) -> Schema_.Properties.MapWithUndeclaredPropertiesAnytype2: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["map_with_undeclared_properties_anytype_3"]) -> MetaOapg.Properties.MapWithUndeclaredPropertiesAnytype3: ... + def __getitem__(self, name: typing_extensions.Literal["map_with_undeclared_properties_anytype_3"]) -> Schema_.Properties.MapWithUndeclaredPropertiesAnytype3: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["empty_map"]) -> MetaOapg.Properties.EmptyMap: ... + def __getitem__(self, name: typing_extensions.Literal["empty_map"]) -> Schema_.Properties.EmptyMap: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["map_with_undeclared_properties_string"]) -> MetaOapg.Properties.MapWithUndeclaredPropertiesString: ... + def __getitem__(self, name: typing_extensions.Literal["map_with_undeclared_properties_string"]) -> Schema_.Properties.MapWithUndeclaredPropertiesString: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -259,28 +259,28 @@ class AdditionalPropertiesClass( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["map_property"]) -> typing.Union[MetaOapg.Properties.MapProperty, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["map_property"]) -> typing.Union[Schema_.Properties.MapProperty, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["map_of_map_property"]) -> typing.Union[MetaOapg.Properties.MapOfMapProperty, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["map_of_map_property"]) -> typing.Union[Schema_.Properties.MapOfMapProperty, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["anytype_1"]) -> typing.Union[MetaOapg.Properties.Anytype1, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["anytype_1"]) -> typing.Union[Schema_.Properties.Anytype1, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["map_with_undeclared_properties_anytype_1"]) -> typing.Union[MetaOapg.Properties.MapWithUndeclaredPropertiesAnytype1, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["map_with_undeclared_properties_anytype_1"]) -> typing.Union[Schema_.Properties.MapWithUndeclaredPropertiesAnytype1, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["map_with_undeclared_properties_anytype_2"]) -> typing.Union[MetaOapg.Properties.MapWithUndeclaredPropertiesAnytype2, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["map_with_undeclared_properties_anytype_2"]) -> typing.Union[Schema_.Properties.MapWithUndeclaredPropertiesAnytype2, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["map_with_undeclared_properties_anytype_3"]) -> typing.Union[MetaOapg.Properties.MapWithUndeclaredPropertiesAnytype3, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["map_with_undeclared_properties_anytype_3"]) -> typing.Union[Schema_.Properties.MapWithUndeclaredPropertiesAnytype3, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["empty_map"]) -> typing.Union[MetaOapg.Properties.EmptyMap, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["empty_map"]) -> typing.Union[Schema_.Properties.EmptyMap, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["map_with_undeclared_properties_string"]) -> typing.Union[MetaOapg.Properties.MapWithUndeclaredPropertiesString, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["map_with_undeclared_properties_string"]) -> typing.Union[Schema_.Properties.MapWithUndeclaredPropertiesString, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -304,14 +304,14 @@ class AdditionalPropertiesClass( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - map_property: typing.Union[MetaOapg.Properties.MapProperty, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - map_of_map_property: typing.Union[MetaOapg.Properties.MapOfMapProperty, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - anytype_1: typing.Union[MetaOapg.Properties.Anytype1, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - map_with_undeclared_properties_anytype_1: typing.Union[MetaOapg.Properties.MapWithUndeclaredPropertiesAnytype1, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - map_with_undeclared_properties_anytype_2: typing.Union[MetaOapg.Properties.MapWithUndeclaredPropertiesAnytype2, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - map_with_undeclared_properties_anytype_3: typing.Union[MetaOapg.Properties.MapWithUndeclaredPropertiesAnytype3, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - empty_map: typing.Union[MetaOapg.Properties.EmptyMap, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - map_with_undeclared_properties_string: typing.Union[MetaOapg.Properties.MapWithUndeclaredPropertiesString, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + map_property: typing.Union[Schema_.Properties.MapProperty, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + map_of_map_property: typing.Union[Schema_.Properties.MapOfMapProperty, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + anytype_1: typing.Union[Schema_.Properties.Anytype1, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + map_with_undeclared_properties_anytype_1: typing.Union[Schema_.Properties.MapWithUndeclaredPropertiesAnytype1, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + map_with_undeclared_properties_anytype_2: typing.Union[Schema_.Properties.MapWithUndeclaredPropertiesAnytype2, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + map_with_undeclared_properties_anytype_3: typing.Union[Schema_.Properties.MapWithUndeclaredPropertiesAnytype3, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + empty_map: typing.Union[Schema_.Properties.EmptyMap, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + map_with_undeclared_properties_string: typing.Union[Schema_.Properties.MapWithUndeclaredPropertiesString, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AdditionalPropertiesClass': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_validator.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_validator.py index 96ed081268f..4481563bb3a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_validator.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_validator.py @@ -33,7 +33,7 @@ class AdditionalPropertiesValidator( """ - class MetaOapg: + class Schema_: types = { frozendict.frozendict, } @@ -46,22 +46,22 @@ class AllOf0( ): - class MetaOapg: + class Schema_: types = {frozendict.frozendict} AdditionalProperties = schemas.AnyTypeSchema - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + def get_item_(self, name: str) -> Schema_.AdditionalProperties: return super().get_item_(name) def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], ) -> 'AllOf0': return super().__new__( cls, @@ -76,7 +76,7 @@ class AllOf1( ): - class MetaOapg: + class Schema_: types = {frozendict.frozendict} @@ -85,7 +85,7 @@ class AdditionalProperties( ): - class MetaOapg: + class Schema_: # any type min_length = 3 @@ -103,18 +103,18 @@ def __new__( **kwargs, ) - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + def get_item_(self, name: str) -> Schema_.AdditionalProperties: return super().get_item_(name) def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], ) -> 'AllOf1': return super().__new__( cls, @@ -129,7 +129,7 @@ class AllOf2( ): - class MetaOapg: + class Schema_: types = {frozendict.frozendict} @@ -138,7 +138,7 @@ class AdditionalProperties( ): - class MetaOapg: + class Schema_: # any type max_length = 5 @@ -156,18 +156,18 @@ def __new__( **kwargs, ) - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + def get_item_(self, name: str) -> Schema_.AdditionalProperties: return super().get_item_(name) def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], ) -> 'AllOf2': return super().__new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_validator.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_validator.pyi index 2788c7de273..b7831b52f15 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_validator.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_validator.pyi @@ -33,7 +33,7 @@ class AdditionalPropertiesValidator( """ - class MetaOapg: + class Schema_: types = { frozendict.frozendict, } @@ -46,21 +46,21 @@ class AdditionalPropertiesValidator( ): - class MetaOapg: + class Schema_: AdditionalProperties = schemas.AnyTypeSchema - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + def get_item_(self, name: str) -> Schema_.AdditionalProperties: return super().get_item_(name) def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], ) -> 'AllOf0': return super().__new__( cls, @@ -75,7 +75,7 @@ class AdditionalPropertiesValidator( ): - class MetaOapg: + class Schema_: class AdditionalProperties( @@ -83,7 +83,7 @@ class AdditionalPropertiesValidator( ): - class MetaOapg: + class Schema_: # any type @@ -100,18 +100,18 @@ class AdditionalPropertiesValidator( **kwargs, ) - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + def get_item_(self, name: str) -> Schema_.AdditionalProperties: return super().get_item_(name) def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], ) -> 'AllOf1': return super().__new__( cls, @@ -126,7 +126,7 @@ class AdditionalPropertiesValidator( ): - class MetaOapg: + class Schema_: class AdditionalProperties( @@ -134,7 +134,7 @@ class AdditionalPropertiesValidator( ): - class MetaOapg: + class Schema_: # any type @@ -151,18 +151,18 @@ class AdditionalPropertiesValidator( **kwargs, ) - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + def get_item_(self, name: str) -> Schema_.AdditionalProperties: return super().get_item_(name) def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], ) -> 'AllOf2': return super().__new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_with_array_of_enums.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_with_array_of_enums.py index ca598804741..ed698ab4939 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_with_array_of_enums.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_with_array_of_enums.py @@ -33,7 +33,7 @@ class AdditionalPropertiesWithArrayOfEnums( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} @@ -42,7 +42,7 @@ class AdditionalProperties( ): - class MetaOapg: + class Schema_: types = {tuple} @staticmethod @@ -63,18 +63,18 @@ def __new__( def __getitem__(self, i: int) -> 'enum_class.EnumClass': return super().__getitem__(i) - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + def get_item_(self, name: str) -> Schema_.AdditionalProperties: return super().get_item_(name) def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, list, tuple, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, list, tuple, ], ) -> 'AdditionalPropertiesWithArrayOfEnums': return super().__new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_with_array_of_enums.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_with_array_of_enums.pyi index 4520f82cda7..774eb6a98b9 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_with_array_of_enums.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_with_array_of_enums.pyi @@ -33,7 +33,7 @@ class AdditionalPropertiesWithArrayOfEnums( """ - class MetaOapg: + class Schema_: class AdditionalProperties( @@ -41,7 +41,7 @@ class AdditionalPropertiesWithArrayOfEnums( ): - class MetaOapg: + class Schema_: types = {tuple} @staticmethod @@ -62,18 +62,18 @@ class AdditionalPropertiesWithArrayOfEnums( def __getitem__(self, i: int) -> 'enum_class.EnumClass': return super().__getitem__(i) - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + def get_item_(self, name: str) -> Schema_.AdditionalProperties: return super().get_item_(name) def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, list, tuple, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, list, tuple, ], ) -> 'AdditionalPropertiesWithArrayOfEnums': return super().__new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/address.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/address.py index a8602037196..f432d918efd 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/address.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/address.py @@ -33,22 +33,22 @@ class Address( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} AdditionalProperties = schemas.IntSchema - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + def get_item_(self, name: str) -> Schema_.AdditionalProperties: return super().get_item_(name) def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, decimal.Decimal, int, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, decimal.Decimal, int, ], ) -> 'Address': return super().__new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/address.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/address.pyi index 2442369b27f..ec0cc65282e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/address.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/address.pyi @@ -33,21 +33,21 @@ class Address( """ - class MetaOapg: + class Schema_: AdditionalProperties = schemas.IntSchema - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + def get_item_(self, name: str) -> Schema_.AdditionalProperties: return super().get_item_(name) def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, decimal.Decimal, int, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, decimal.Decimal, int, ], ) -> 'Address': return super().__new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal.py index 522c7ae0690..a1c1a8aff24 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal.py @@ -33,7 +33,7 @@ class Animal( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} required = { "className", @@ -56,13 +56,13 @@ class Properties: "color": Color, } - className: MetaOapg.Properties.ClassName + className: Schema_.Properties.ClassName @typing.overload - def __getitem__(self, name: typing_extensions.Literal["className"]) -> MetaOapg.Properties.ClassName: ... + def __getitem__(self, name: typing_extensions.Literal["className"]) -> Schema_.Properties.ClassName: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["color"]) -> MetaOapg.Properties.Color: ... + def __getitem__(self, name: typing_extensions.Literal["color"]) -> Schema_.Properties.Color: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -79,10 +79,10 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["className"]) -> MetaOapg.Properties.ClassName: ... + def get_item_(self, name: typing_extensions.Literal["className"]) -> Schema_.Properties.ClassName: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["color"]) -> typing.Union[MetaOapg.Properties.Color, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["color"]) -> typing.Union[Schema_.Properties.Color, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -100,8 +100,8 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - className: typing.Union[MetaOapg.Properties.ClassName, str, ], - color: typing.Union[MetaOapg.Properties.Color, str, schemas.Unset] = schemas.unset, + className: typing.Union[Schema_.Properties.ClassName, str, ], + color: typing.Union[Schema_.Properties.Color, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Animal': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal.pyi index 3652a22ef94..c947d25dc1b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal.pyi @@ -33,7 +33,7 @@ class Animal( """ - class MetaOapg: + class Schema_: required = { "className", } @@ -55,13 +55,13 @@ class Animal( "color": Color, } - className: MetaOapg.Properties.ClassName + className: Schema_.Properties.ClassName @typing.overload - def __getitem__(self, name: typing_extensions.Literal["className"]) -> MetaOapg.Properties.ClassName: ... + def __getitem__(self, name: typing_extensions.Literal["className"]) -> Schema_.Properties.ClassName: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["color"]) -> MetaOapg.Properties.Color: ... + def __getitem__(self, name: typing_extensions.Literal["color"]) -> Schema_.Properties.Color: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -78,10 +78,10 @@ class Animal( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["className"]) -> MetaOapg.Properties.ClassName: ... + def get_item_(self, name: typing_extensions.Literal["className"]) -> Schema_.Properties.ClassName: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["color"]) -> typing.Union[MetaOapg.Properties.Color, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["color"]) -> typing.Union[Schema_.Properties.Color, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -99,8 +99,8 @@ class Animal( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - className: typing.Union[MetaOapg.Properties.ClassName, str, ], - color: typing.Union[MetaOapg.Properties.Color, str, schemas.Unset] = schemas.unset, + className: typing.Union[Schema_.Properties.ClassName, str, ], + color: typing.Union[Schema_.Properties.Color, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Animal': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal_farm.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal_farm.py index 2299ea27b78..318feb7d59b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal_farm.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal_farm.py @@ -33,7 +33,7 @@ class AnimalFarm( """ - class MetaOapg: + class Schema_: types = {tuple} @staticmethod diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal_farm.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal_farm.pyi index 2299ea27b78..318feb7d59b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal_farm.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal_farm.pyi @@ -33,7 +33,7 @@ class AnimalFarm( """ - class MetaOapg: + class Schema_: types = {tuple} @staticmethod diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_and_format.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_and_format.py index c20b8e719e0..dfa0276738f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_and_format.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_and_format.py @@ -33,7 +33,7 @@ class AnyTypeAndFormat( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} class Properties: @@ -45,7 +45,7 @@ class Uuid( ): - class MetaOapg: + class Schema_: # any type format = 'uuid' @@ -70,7 +70,7 @@ class Date( ): - class MetaOapg: + class Schema_: # any type format = 'date' @@ -95,7 +95,7 @@ class DateTime( ): - class MetaOapg: + class Schema_: # any type format = 'date-time' @@ -120,7 +120,7 @@ class Number( ): - class MetaOapg: + class Schema_: # any type format = 'number' @@ -144,7 +144,7 @@ class Binary( ): - class MetaOapg: + class Schema_: # any type format = 'binary' @@ -168,7 +168,7 @@ class Int32( ): - class MetaOapg: + class Schema_: # any type format = 'int32' @@ -192,7 +192,7 @@ class Int64( ): - class MetaOapg: + class Schema_: # any type format = 'int64' @@ -216,7 +216,7 @@ class Double( ): - class MetaOapg: + class Schema_: # any type format = 'double' @@ -240,7 +240,7 @@ class _Float( ): - class MetaOapg: + class Schema_: # any type format = 'float' @@ -270,31 +270,31 @@ def __new__( } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["uuid"]) -> MetaOapg.Properties.Uuid: ... + def __getitem__(self, name: typing_extensions.Literal["uuid"]) -> Schema_.Properties.Uuid: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["date"]) -> MetaOapg.Properties.Date: ... + def __getitem__(self, name: typing_extensions.Literal["date"]) -> Schema_.Properties.Date: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["date-time"]) -> MetaOapg.Properties.DateTime: ... + def __getitem__(self, name: typing_extensions.Literal["date-time"]) -> Schema_.Properties.DateTime: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["number"]) -> MetaOapg.Properties.Number: ... + def __getitem__(self, name: typing_extensions.Literal["number"]) -> Schema_.Properties.Number: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["binary"]) -> MetaOapg.Properties.Binary: ... + def __getitem__(self, name: typing_extensions.Literal["binary"]) -> Schema_.Properties.Binary: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["int32"]) -> MetaOapg.Properties.Int32: ... + def __getitem__(self, name: typing_extensions.Literal["int32"]) -> Schema_.Properties.Int32: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["int64"]) -> MetaOapg.Properties.Int64: ... + def __getitem__(self, name: typing_extensions.Literal["int64"]) -> Schema_.Properties.Int64: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["double"]) -> MetaOapg.Properties.Double: ... + def __getitem__(self, name: typing_extensions.Literal["double"]) -> Schema_.Properties.Double: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["float"]) -> MetaOapg.Properties._Float: ... + def __getitem__(self, name: typing_extensions.Literal["float"]) -> Schema_.Properties._Float: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -318,31 +318,31 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["uuid"]) -> typing.Union[MetaOapg.Properties.Uuid, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["uuid"]) -> typing.Union[Schema_.Properties.Uuid, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["date"]) -> typing.Union[MetaOapg.Properties.Date, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["date"]) -> typing.Union[Schema_.Properties.Date, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["date-time"]) -> typing.Union[MetaOapg.Properties.DateTime, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["date-time"]) -> typing.Union[Schema_.Properties.DateTime, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["number"]) -> typing.Union[MetaOapg.Properties.Number, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["number"]) -> typing.Union[Schema_.Properties.Number, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["binary"]) -> typing.Union[MetaOapg.Properties.Binary, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["binary"]) -> typing.Union[Schema_.Properties.Binary, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["int32"]) -> typing.Union[MetaOapg.Properties.Int32, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["int32"]) -> typing.Union[Schema_.Properties.Int32, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["int64"]) -> typing.Union[MetaOapg.Properties.Int64, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["int64"]) -> typing.Union[Schema_.Properties.Int64, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["double"]) -> typing.Union[MetaOapg.Properties.Double, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["double"]) -> typing.Union[Schema_.Properties.Double, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["float"]) -> typing.Union[MetaOapg.Properties._Float, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["float"]) -> typing.Union[Schema_.Properties._Float, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -367,13 +367,13 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - uuid: typing.Union[MetaOapg.Properties.Uuid, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - date: typing.Union[MetaOapg.Properties.Date, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - number: typing.Union[MetaOapg.Properties.Number, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - binary: typing.Union[MetaOapg.Properties.Binary, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - int32: typing.Union[MetaOapg.Properties.Int32, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - int64: typing.Union[MetaOapg.Properties.Int64, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - double: typing.Union[MetaOapg.Properties.Double, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + uuid: typing.Union[Schema_.Properties.Uuid, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + date: typing.Union[Schema_.Properties.Date, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + number: typing.Union[Schema_.Properties.Number, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + binary: typing.Union[Schema_.Properties.Binary, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + int32: typing.Union[Schema_.Properties.Int32, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + int64: typing.Union[Schema_.Properties.Int64, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + double: typing.Union[Schema_.Properties.Double, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyTypeAndFormat': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_and_format.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_and_format.pyi index e25e838e055..441ade97b24 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_and_format.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_and_format.pyi @@ -33,7 +33,7 @@ class AnyTypeAndFormat( """ - class MetaOapg: + class Schema_: class Properties: @@ -44,7 +44,7 @@ class AnyTypeAndFormat( ): - class MetaOapg: + class Schema_: # any type format = 'uuid' @@ -69,7 +69,7 @@ class AnyTypeAndFormat( ): - class MetaOapg: + class Schema_: # any type format = 'date' @@ -94,7 +94,7 @@ class AnyTypeAndFormat( ): - class MetaOapg: + class Schema_: # any type format = 'date-time' @@ -119,7 +119,7 @@ class AnyTypeAndFormat( ): - class MetaOapg: + class Schema_: # any type format = 'number' @@ -143,7 +143,7 @@ class AnyTypeAndFormat( ): - class MetaOapg: + class Schema_: # any type format = 'binary' @@ -167,7 +167,7 @@ class AnyTypeAndFormat( ): - class MetaOapg: + class Schema_: # any type format = 'int32' @@ -191,7 +191,7 @@ class AnyTypeAndFormat( ): - class MetaOapg: + class Schema_: # any type format = 'int64' @@ -215,7 +215,7 @@ class AnyTypeAndFormat( ): - class MetaOapg: + class Schema_: # any type format = 'double' @@ -239,7 +239,7 @@ class AnyTypeAndFormat( ): - class MetaOapg: + class Schema_: # any type format = 'float' @@ -269,31 +269,31 @@ class AnyTypeAndFormat( } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["uuid"]) -> MetaOapg.Properties.Uuid: ... + def __getitem__(self, name: typing_extensions.Literal["uuid"]) -> Schema_.Properties.Uuid: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["date"]) -> MetaOapg.Properties.Date: ... + def __getitem__(self, name: typing_extensions.Literal["date"]) -> Schema_.Properties.Date: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["date-time"]) -> MetaOapg.Properties.DateTime: ... + def __getitem__(self, name: typing_extensions.Literal["date-time"]) -> Schema_.Properties.DateTime: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["number"]) -> MetaOapg.Properties.Number: ... + def __getitem__(self, name: typing_extensions.Literal["number"]) -> Schema_.Properties.Number: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["binary"]) -> MetaOapg.Properties.Binary: ... + def __getitem__(self, name: typing_extensions.Literal["binary"]) -> Schema_.Properties.Binary: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["int32"]) -> MetaOapg.Properties.Int32: ... + def __getitem__(self, name: typing_extensions.Literal["int32"]) -> Schema_.Properties.Int32: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["int64"]) -> MetaOapg.Properties.Int64: ... + def __getitem__(self, name: typing_extensions.Literal["int64"]) -> Schema_.Properties.Int64: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["double"]) -> MetaOapg.Properties.Double: ... + def __getitem__(self, name: typing_extensions.Literal["double"]) -> Schema_.Properties.Double: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["float"]) -> MetaOapg.Properties._Float: ... + def __getitem__(self, name: typing_extensions.Literal["float"]) -> Schema_.Properties._Float: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -317,31 +317,31 @@ class AnyTypeAndFormat( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["uuid"]) -> typing.Union[MetaOapg.Properties.Uuid, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["uuid"]) -> typing.Union[Schema_.Properties.Uuid, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["date"]) -> typing.Union[MetaOapg.Properties.Date, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["date"]) -> typing.Union[Schema_.Properties.Date, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["date-time"]) -> typing.Union[MetaOapg.Properties.DateTime, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["date-time"]) -> typing.Union[Schema_.Properties.DateTime, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["number"]) -> typing.Union[MetaOapg.Properties.Number, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["number"]) -> typing.Union[Schema_.Properties.Number, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["binary"]) -> typing.Union[MetaOapg.Properties.Binary, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["binary"]) -> typing.Union[Schema_.Properties.Binary, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["int32"]) -> typing.Union[MetaOapg.Properties.Int32, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["int32"]) -> typing.Union[Schema_.Properties.Int32, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["int64"]) -> typing.Union[MetaOapg.Properties.Int64, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["int64"]) -> typing.Union[Schema_.Properties.Int64, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["double"]) -> typing.Union[MetaOapg.Properties.Double, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["double"]) -> typing.Union[Schema_.Properties.Double, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["float"]) -> typing.Union[MetaOapg.Properties._Float, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["float"]) -> typing.Union[Schema_.Properties._Float, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -366,13 +366,13 @@ class AnyTypeAndFormat( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - uuid: typing.Union[MetaOapg.Properties.Uuid, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - date: typing.Union[MetaOapg.Properties.Date, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - number: typing.Union[MetaOapg.Properties.Number, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - binary: typing.Union[MetaOapg.Properties.Binary, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - int32: typing.Union[MetaOapg.Properties.Int32, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - int64: typing.Union[MetaOapg.Properties.Int64, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - double: typing.Union[MetaOapg.Properties.Double, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + uuid: typing.Union[Schema_.Properties.Uuid, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + date: typing.Union[Schema_.Properties.Date, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + number: typing.Union[Schema_.Properties.Number, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + binary: typing.Union[Schema_.Properties.Binary, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + int32: typing.Union[Schema_.Properties.Int32, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + int64: typing.Union[Schema_.Properties.Int64, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + double: typing.Union[Schema_.Properties.Double, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyTypeAndFormat': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_not_string.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_not_string.py index e380ed0088b..f8a6aa9cc0a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_not_string.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_not_string.py @@ -33,7 +33,7 @@ class AnyTypeNotString( """ - class MetaOapg: + class Schema_: # any type _Not = schemas.StrSchema diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_not_string.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_not_string.pyi index e380ed0088b..f8a6aa9cc0a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_not_string.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_not_string.pyi @@ -33,7 +33,7 @@ class AnyTypeNotString( """ - class MetaOapg: + class Schema_: # any type _Not = schemas.StrSchema diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/api_response.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/api_response.py index 90445e25679..19655969541 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/api_response.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/api_response.py @@ -33,7 +33,7 @@ class ApiResponse( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} class Properties: @@ -47,13 +47,13 @@ class Properties: } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["code"]) -> MetaOapg.Properties.Code: ... + def __getitem__(self, name: typing_extensions.Literal["code"]) -> Schema_.Properties.Code: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.Properties.Type: ... + def __getitem__(self, name: typing_extensions.Literal["type"]) -> Schema_.Properties.Type: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["message"]) -> MetaOapg.Properties.Message: ... + def __getitem__(self, name: typing_extensions.Literal["message"]) -> Schema_.Properties.Message: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -71,13 +71,13 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["code"]) -> typing.Union[MetaOapg.Properties.Code, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["code"]) -> typing.Union[Schema_.Properties.Code, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["type"]) -> typing.Union[MetaOapg.Properties.Type, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["type"]) -> typing.Union[Schema_.Properties.Type, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["message"]) -> typing.Union[MetaOapg.Properties.Message, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["message"]) -> typing.Union[Schema_.Properties.Message, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -96,9 +96,9 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - code: typing.Union[MetaOapg.Properties.Code, decimal.Decimal, int, schemas.Unset] = schemas.unset, - type: typing.Union[MetaOapg.Properties.Type, str, schemas.Unset] = schemas.unset, - message: typing.Union[MetaOapg.Properties.Message, str, schemas.Unset] = schemas.unset, + code: typing.Union[Schema_.Properties.Code, decimal.Decimal, int, schemas.Unset] = schemas.unset, + type: typing.Union[Schema_.Properties.Type, str, schemas.Unset] = schemas.unset, + message: typing.Union[Schema_.Properties.Message, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ApiResponse': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/api_response.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/api_response.pyi index ec385bc42e1..a32498e0766 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/api_response.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/api_response.pyi @@ -33,7 +33,7 @@ class ApiResponse( """ - class MetaOapg: + class Schema_: class Properties: Code = schemas.Int32Schema @@ -46,13 +46,13 @@ class ApiResponse( } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["code"]) -> MetaOapg.Properties.Code: ... + def __getitem__(self, name: typing_extensions.Literal["code"]) -> Schema_.Properties.Code: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.Properties.Type: ... + def __getitem__(self, name: typing_extensions.Literal["type"]) -> Schema_.Properties.Type: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["message"]) -> MetaOapg.Properties.Message: ... + def __getitem__(self, name: typing_extensions.Literal["message"]) -> Schema_.Properties.Message: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -70,13 +70,13 @@ class ApiResponse( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["code"]) -> typing.Union[MetaOapg.Properties.Code, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["code"]) -> typing.Union[Schema_.Properties.Code, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["type"]) -> typing.Union[MetaOapg.Properties.Type, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["type"]) -> typing.Union[Schema_.Properties.Type, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["message"]) -> typing.Union[MetaOapg.Properties.Message, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["message"]) -> typing.Union[Schema_.Properties.Message, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -95,9 +95,9 @@ class ApiResponse( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - code: typing.Union[MetaOapg.Properties.Code, decimal.Decimal, int, schemas.Unset] = schemas.unset, - type: typing.Union[MetaOapg.Properties.Type, str, schemas.Unset] = schemas.unset, - message: typing.Union[MetaOapg.Properties.Message, str, schemas.Unset] = schemas.unset, + code: typing.Union[Schema_.Properties.Code, decimal.Decimal, int, schemas.Unset] = schemas.unset, + type: typing.Union[Schema_.Properties.Type, str, schemas.Unset] = schemas.unset, + message: typing.Union[Schema_.Properties.Message, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ApiResponse': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple.py index 7c532df28f9..b9f180f78b5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple.py @@ -36,7 +36,7 @@ class Apple( """ - class MetaOapg: + class Schema_: types = { schemas.NoneClass, frozendict.frozendict, @@ -53,7 +53,7 @@ class Cultivar( ): - class MetaOapg: + class Schema_: types = { str, } @@ -67,7 +67,7 @@ class Origin( ): - class MetaOapg: + class Schema_: types = { str, } @@ -83,13 +83,13 @@ class MetaOapg: } - cultivar: MetaOapg.Properties.Cultivar + cultivar: Schema_.Properties.Cultivar @typing.overload - def __getitem__(self, name: typing_extensions.Literal["cultivar"]) -> MetaOapg.Properties.Cultivar: ... + def __getitem__(self, name: typing_extensions.Literal["cultivar"]) -> Schema_.Properties.Cultivar: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["origin"]) -> MetaOapg.Properties.Origin: ... + def __getitem__(self, name: typing_extensions.Literal["origin"]) -> Schema_.Properties.Origin: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -106,10 +106,10 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["cultivar"]) -> MetaOapg.Properties.Cultivar: ... + def get_item_(self, name: typing_extensions.Literal["cultivar"]) -> Schema_.Properties.Cultivar: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["origin"]) -> typing.Union[MetaOapg.Properties.Origin, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["origin"]) -> typing.Union[Schema_.Properties.Origin, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -127,7 +127,7 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, None, ], - origin: typing.Union[MetaOapg.Properties.Origin, str, schemas.Unset] = schemas.unset, + origin: typing.Union[Schema_.Properties.Origin, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Apple': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple.pyi index 3971df4c724..4bf3173ea2f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple.pyi @@ -36,7 +36,7 @@ class Apple( """ - class MetaOapg: + class Schema_: types = { schemas.NoneClass, frozendict.frozendict, @@ -64,13 +64,13 @@ class Apple( } - cultivar: MetaOapg.Properties.Cultivar + cultivar: Schema_.Properties.Cultivar @typing.overload - def __getitem__(self, name: typing_extensions.Literal["cultivar"]) -> MetaOapg.Properties.Cultivar: ... + def __getitem__(self, name: typing_extensions.Literal["cultivar"]) -> Schema_.Properties.Cultivar: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["origin"]) -> MetaOapg.Properties.Origin: ... + def __getitem__(self, name: typing_extensions.Literal["origin"]) -> Schema_.Properties.Origin: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -87,10 +87,10 @@ class Apple( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["cultivar"]) -> MetaOapg.Properties.Cultivar: ... + def get_item_(self, name: typing_extensions.Literal["cultivar"]) -> Schema_.Properties.Cultivar: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["origin"]) -> typing.Union[MetaOapg.Properties.Origin, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["origin"]) -> typing.Union[Schema_.Properties.Origin, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -108,7 +108,7 @@ class Apple( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, None, ], - origin: typing.Union[MetaOapg.Properties.Origin, str, schemas.Unset] = schemas.unset, + origin: typing.Union[Schema_.Properties.Origin, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Apple': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple_req.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple_req.py index 96e0cd82b04..1b7c1159901 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple_req.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple_req.py @@ -33,7 +33,7 @@ class AppleReq( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} required = { "cultivar", @@ -48,13 +48,13 @@ class Properties: } AdditionalProperties = schemas.NotAnyTypeSchema - cultivar: MetaOapg.Properties.Cultivar + cultivar: Schema_.Properties.Cultivar @typing.overload - def __getitem__(self, name: typing_extensions.Literal["cultivar"]) -> MetaOapg.Properties.Cultivar: ... + def __getitem__(self, name: typing_extensions.Literal["cultivar"]) -> Schema_.Properties.Cultivar: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["mealy"]) -> MetaOapg.Properties.Mealy: ... + def __getitem__(self, name: typing_extensions.Literal["mealy"]) -> Schema_.Properties.Mealy: ... def __getitem__( self, @@ -67,10 +67,10 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["cultivar"]) -> MetaOapg.Properties.Cultivar: ... + def get_item_(self, name: typing_extensions.Literal["cultivar"]) -> Schema_.Properties.Cultivar: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["mealy"]) -> typing.Union[MetaOapg.Properties.Mealy, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["mealy"]) -> typing.Union[Schema_.Properties.Mealy, schemas.Unset]: ... def get_item_( self, @@ -84,8 +84,8 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - cultivar: typing.Union[MetaOapg.Properties.Cultivar, str, ], - mealy: typing.Union[MetaOapg.Properties.Mealy, bool, schemas.Unset] = schemas.unset, + cultivar: typing.Union[Schema_.Properties.Cultivar, str, ], + mealy: typing.Union[Schema_.Properties.Mealy, bool, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'AppleReq': return super().__new__( diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple_req.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple_req.pyi index 27d491c9bec..2ee4fbf3d27 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple_req.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple_req.pyi @@ -33,7 +33,7 @@ class AppleReq( """ - class MetaOapg: + class Schema_: required = { "cultivar", } @@ -47,13 +47,13 @@ class AppleReq( } AdditionalProperties = schemas.NotAnyTypeSchema - cultivar: MetaOapg.Properties.Cultivar + cultivar: Schema_.Properties.Cultivar @typing.overload - def __getitem__(self, name: typing_extensions.Literal["cultivar"]) -> MetaOapg.Properties.Cultivar: ... + def __getitem__(self, name: typing_extensions.Literal["cultivar"]) -> Schema_.Properties.Cultivar: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["mealy"]) -> MetaOapg.Properties.Mealy: ... + def __getitem__(self, name: typing_extensions.Literal["mealy"]) -> Schema_.Properties.Mealy: ... def __getitem__( self, @@ -66,10 +66,10 @@ class AppleReq( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["cultivar"]) -> MetaOapg.Properties.Cultivar: ... + def get_item_(self, name: typing_extensions.Literal["cultivar"]) -> Schema_.Properties.Cultivar: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["mealy"]) -> typing.Union[MetaOapg.Properties.Mealy, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["mealy"]) -> typing.Union[Schema_.Properties.Mealy, schemas.Unset]: ... def get_item_( self, @@ -83,8 +83,8 @@ class AppleReq( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - cultivar: typing.Union[MetaOapg.Properties.Cultivar, str, ], - mealy: typing.Union[MetaOapg.Properties.Mealy, bool, schemas.Unset] = schemas.unset, + cultivar: typing.Union[Schema_.Properties.Cultivar, str, ], + mealy: typing.Union[Schema_.Properties.Mealy, bool, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'AppleReq': return super().__new__( diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_holding_any_type.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_holding_any_type.py index e1307304692..310927ba17b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_holding_any_type.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_holding_any_type.py @@ -33,13 +33,13 @@ class ArrayHoldingAnyType( """ - class MetaOapg: + class Schema_: types = {tuple} Items = schemas.AnyTypeSchema def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[MetaOapg.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayHoldingAnyType': return super().__new__( @@ -48,5 +48,5 @@ def __new__( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_holding_any_type.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_holding_any_type.pyi index e1307304692..310927ba17b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_holding_any_type.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_holding_any_type.pyi @@ -33,13 +33,13 @@ class ArrayHoldingAnyType( """ - class MetaOapg: + class Schema_: types = {tuple} Items = schemas.AnyTypeSchema def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[MetaOapg.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayHoldingAnyType': return super().__new__( @@ -48,5 +48,5 @@ class ArrayHoldingAnyType( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_array_of_number_only.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_array_of_number_only.py index 49d4af04a15..60f7f95dd4f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_array_of_number_only.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_array_of_number_only.py @@ -33,7 +33,7 @@ class ArrayOfArrayOfNumberOnly( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} class Properties: @@ -44,7 +44,7 @@ class ArrayArrayNumber( ): - class MetaOapg: + class Schema_: types = {tuple} @@ -53,13 +53,13 @@ class Items( ): - class MetaOapg: + class Schema_: types = {tuple} Items = schemas.NumberSchema def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, decimal.Decimal, int, float, ]], typing.List[typing.Union[MetaOapg.Items, decimal.Decimal, int, float, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]], typing.List[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Items': return super().__new__( @@ -68,12 +68,12 @@ def __new__( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, list, tuple, ]], typing.List[typing.Union[MetaOapg.Items, list, tuple, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, list, tuple, ]], typing.List[typing.Union[Schema_.Items, list, tuple, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayArrayNumber': return super().__new__( @@ -82,14 +82,14 @@ def __new__( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) __annotations__ = { "ArrayArrayNumber": ArrayArrayNumber, } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["ArrayArrayNumber"]) -> MetaOapg.Properties.ArrayArrayNumber: ... + def __getitem__(self, name: typing_extensions.Literal["ArrayArrayNumber"]) -> Schema_.Properties.ArrayArrayNumber: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -105,7 +105,7 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["ArrayArrayNumber"]) -> typing.Union[MetaOapg.Properties.ArrayArrayNumber, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["ArrayArrayNumber"]) -> typing.Union[Schema_.Properties.ArrayArrayNumber, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -122,7 +122,7 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - ArrayArrayNumber: typing.Union[MetaOapg.Properties.ArrayArrayNumber, list, tuple, schemas.Unset] = schemas.unset, + ArrayArrayNumber: typing.Union[Schema_.Properties.ArrayArrayNumber, list, tuple, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ArrayOfArrayOfNumberOnly': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_array_of_number_only.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_array_of_number_only.pyi index 64922d90e85..1bb875e4395 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_array_of_number_only.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_array_of_number_only.pyi @@ -33,7 +33,7 @@ class ArrayOfArrayOfNumberOnly( """ - class MetaOapg: + class Schema_: class Properties: @@ -43,7 +43,7 @@ class ArrayOfArrayOfNumberOnly( ): - class MetaOapg: + class Schema_: types = {tuple} @@ -52,13 +52,13 @@ class ArrayOfArrayOfNumberOnly( ): - class MetaOapg: + class Schema_: types = {tuple} Items = schemas.NumberSchema def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, decimal.Decimal, int, float, ]], typing.List[typing.Union[MetaOapg.Items, decimal.Decimal, int, float, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]], typing.List[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Items': return super().__new__( @@ -67,12 +67,12 @@ class ArrayOfArrayOfNumberOnly( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, list, tuple, ]], typing.List[typing.Union[MetaOapg.Items, list, tuple, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, list, tuple, ]], typing.List[typing.Union[Schema_.Items, list, tuple, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayArrayNumber': return super().__new__( @@ -81,14 +81,14 @@ class ArrayOfArrayOfNumberOnly( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) __annotations__ = { "ArrayArrayNumber": ArrayArrayNumber, } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["ArrayArrayNumber"]) -> MetaOapg.Properties.ArrayArrayNumber: ... + def __getitem__(self, name: typing_extensions.Literal["ArrayArrayNumber"]) -> Schema_.Properties.ArrayArrayNumber: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -104,7 +104,7 @@ class ArrayOfArrayOfNumberOnly( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["ArrayArrayNumber"]) -> typing.Union[MetaOapg.Properties.ArrayArrayNumber, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["ArrayArrayNumber"]) -> typing.Union[Schema_.Properties.ArrayArrayNumber, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -121,7 +121,7 @@ class ArrayOfArrayOfNumberOnly( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - ArrayArrayNumber: typing.Union[MetaOapg.Properties.ArrayArrayNumber, list, tuple, schemas.Unset] = schemas.unset, + ArrayArrayNumber: typing.Union[Schema_.Properties.ArrayArrayNumber, list, tuple, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ArrayOfArrayOfNumberOnly': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_enums.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_enums.py index 516af70228b..ebc25921c91 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_enums.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_enums.py @@ -33,7 +33,7 @@ class ArrayOfEnums( """ - class MetaOapg: + class Schema_: types = {tuple} @staticmethod diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_enums.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_enums.pyi index 516af70228b..ebc25921c91 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_enums.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_enums.pyi @@ -33,7 +33,7 @@ class ArrayOfEnums( """ - class MetaOapg: + class Schema_: types = {tuple} @staticmethod diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_number_only.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_number_only.py index 7751e0b4e6d..753fa3e9116 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_number_only.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_number_only.py @@ -33,7 +33,7 @@ class ArrayOfNumberOnly( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} class Properties: @@ -44,13 +44,13 @@ class ArrayNumber( ): - class MetaOapg: + class Schema_: types = {tuple} Items = schemas.NumberSchema def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, decimal.Decimal, int, float, ]], typing.List[typing.Union[MetaOapg.Items, decimal.Decimal, int, float, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]], typing.List[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayNumber': return super().__new__( @@ -59,14 +59,14 @@ def __new__( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) __annotations__ = { "ArrayNumber": ArrayNumber, } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["ArrayNumber"]) -> MetaOapg.Properties.ArrayNumber: ... + def __getitem__(self, name: typing_extensions.Literal["ArrayNumber"]) -> Schema_.Properties.ArrayNumber: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -82,7 +82,7 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["ArrayNumber"]) -> typing.Union[MetaOapg.Properties.ArrayNumber, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["ArrayNumber"]) -> typing.Union[Schema_.Properties.ArrayNumber, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -99,7 +99,7 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - ArrayNumber: typing.Union[MetaOapg.Properties.ArrayNumber, list, tuple, schemas.Unset] = schemas.unset, + ArrayNumber: typing.Union[Schema_.Properties.ArrayNumber, list, tuple, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ArrayOfNumberOnly': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_number_only.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_number_only.pyi index 03841142b90..bb375952824 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_number_only.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_number_only.pyi @@ -33,7 +33,7 @@ class ArrayOfNumberOnly( """ - class MetaOapg: + class Schema_: class Properties: @@ -43,13 +43,13 @@ class ArrayOfNumberOnly( ): - class MetaOapg: + class Schema_: types = {tuple} Items = schemas.NumberSchema def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, decimal.Decimal, int, float, ]], typing.List[typing.Union[MetaOapg.Items, decimal.Decimal, int, float, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]], typing.List[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayNumber': return super().__new__( @@ -58,14 +58,14 @@ class ArrayOfNumberOnly( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) __annotations__ = { "ArrayNumber": ArrayNumber, } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["ArrayNumber"]) -> MetaOapg.Properties.ArrayNumber: ... + def __getitem__(self, name: typing_extensions.Literal["ArrayNumber"]) -> Schema_.Properties.ArrayNumber: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -81,7 +81,7 @@ class ArrayOfNumberOnly( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["ArrayNumber"]) -> typing.Union[MetaOapg.Properties.ArrayNumber, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["ArrayNumber"]) -> typing.Union[Schema_.Properties.ArrayNumber, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -98,7 +98,7 @@ class ArrayOfNumberOnly( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - ArrayNumber: typing.Union[MetaOapg.Properties.ArrayNumber, list, tuple, schemas.Unset] = schemas.unset, + ArrayNumber: typing.Union[Schema_.Properties.ArrayNumber, list, tuple, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ArrayOfNumberOnly': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_test.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_test.py index 4550a804b34..7cc52c42a65 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_test.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_test.py @@ -33,7 +33,7 @@ class ArrayTest( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} class Properties: @@ -44,13 +44,13 @@ class ArrayOfString( ): - class MetaOapg: + class Schema_: types = {tuple} Items = schemas.StrSchema def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, str, ]], typing.List[typing.Union[MetaOapg.Items, str, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayOfString': return super().__new__( @@ -59,7 +59,7 @@ def __new__( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) @@ -68,7 +68,7 @@ class ArrayArrayOfInteger( ): - class MetaOapg: + class Schema_: types = {tuple} @@ -77,13 +77,13 @@ class Items( ): - class MetaOapg: + class Schema_: types = {tuple} Items = schemas.Int64Schema def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, decimal.Decimal, int, ]], typing.List[typing.Union[MetaOapg.Items, decimal.Decimal, int, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, decimal.Decimal, int, ]], typing.List[typing.Union[Schema_.Items, decimal.Decimal, int, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Items': return super().__new__( @@ -92,12 +92,12 @@ def __new__( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, list, tuple, ]], typing.List[typing.Union[MetaOapg.Items, list, tuple, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, list, tuple, ]], typing.List[typing.Union[Schema_.Items, list, tuple, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayArrayOfInteger': return super().__new__( @@ -106,7 +106,7 @@ def __new__( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) @@ -115,7 +115,7 @@ class ArrayArrayOfModel( ): - class MetaOapg: + class Schema_: types = {tuple} @@ -124,7 +124,7 @@ class Items( ): - class MetaOapg: + class Schema_: types = {tuple} @staticmethod @@ -147,7 +147,7 @@ def __getitem__(self, i: int) -> 'read_only_first.ReadOnlyFirst': def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, list, tuple, ]], typing.List[typing.Union[MetaOapg.Items, list, tuple, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, list, tuple, ]], typing.List[typing.Union[Schema_.Items, list, tuple, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayArrayOfModel': return super().__new__( @@ -156,7 +156,7 @@ def __new__( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) __annotations__ = { "array_of_string": ArrayOfString, @@ -165,13 +165,13 @@ def __getitem__(self, i: int) -> MetaOapg.Items: } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["array_of_string"]) -> MetaOapg.Properties.ArrayOfString: ... + def __getitem__(self, name: typing_extensions.Literal["array_of_string"]) -> Schema_.Properties.ArrayOfString: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["array_array_of_integer"]) -> MetaOapg.Properties.ArrayArrayOfInteger: ... + def __getitem__(self, name: typing_extensions.Literal["array_array_of_integer"]) -> Schema_.Properties.ArrayArrayOfInteger: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["array_array_of_model"]) -> MetaOapg.Properties.ArrayArrayOfModel: ... + def __getitem__(self, name: typing_extensions.Literal["array_array_of_model"]) -> Schema_.Properties.ArrayArrayOfModel: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -189,13 +189,13 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["array_of_string"]) -> typing.Union[MetaOapg.Properties.ArrayOfString, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["array_of_string"]) -> typing.Union[Schema_.Properties.ArrayOfString, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["array_array_of_integer"]) -> typing.Union[MetaOapg.Properties.ArrayArrayOfInteger, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["array_array_of_integer"]) -> typing.Union[Schema_.Properties.ArrayArrayOfInteger, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["array_array_of_model"]) -> typing.Union[MetaOapg.Properties.ArrayArrayOfModel, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["array_array_of_model"]) -> typing.Union[Schema_.Properties.ArrayArrayOfModel, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -214,9 +214,9 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - array_of_string: typing.Union[MetaOapg.Properties.ArrayOfString, list, tuple, schemas.Unset] = schemas.unset, - array_array_of_integer: typing.Union[MetaOapg.Properties.ArrayArrayOfInteger, list, tuple, schemas.Unset] = schemas.unset, - array_array_of_model: typing.Union[MetaOapg.Properties.ArrayArrayOfModel, list, tuple, schemas.Unset] = schemas.unset, + array_of_string: typing.Union[Schema_.Properties.ArrayOfString, list, tuple, schemas.Unset] = schemas.unset, + array_array_of_integer: typing.Union[Schema_.Properties.ArrayArrayOfInteger, list, tuple, schemas.Unset] = schemas.unset, + array_array_of_model: typing.Union[Schema_.Properties.ArrayArrayOfModel, list, tuple, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ArrayTest': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_test.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_test.pyi index 67ec41c48d1..36420d0bc8e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_test.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_test.pyi @@ -33,7 +33,7 @@ class ArrayTest( """ - class MetaOapg: + class Schema_: class Properties: @@ -43,13 +43,13 @@ class ArrayTest( ): - class MetaOapg: + class Schema_: types = {tuple} Items = schemas.StrSchema def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, str, ]], typing.List[typing.Union[MetaOapg.Items, str, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayOfString': return super().__new__( @@ -58,7 +58,7 @@ class ArrayTest( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) @@ -67,7 +67,7 @@ class ArrayTest( ): - class MetaOapg: + class Schema_: types = {tuple} @@ -76,13 +76,13 @@ class ArrayTest( ): - class MetaOapg: + class Schema_: types = {tuple} Items = schemas.Int64Schema def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, decimal.Decimal, int, ]], typing.List[typing.Union[MetaOapg.Items, decimal.Decimal, int, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, decimal.Decimal, int, ]], typing.List[typing.Union[Schema_.Items, decimal.Decimal, int, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Items': return super().__new__( @@ -91,12 +91,12 @@ class ArrayTest( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, list, tuple, ]], typing.List[typing.Union[MetaOapg.Items, list, tuple, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, list, tuple, ]], typing.List[typing.Union[Schema_.Items, list, tuple, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayArrayOfInteger': return super().__new__( @@ -105,7 +105,7 @@ class ArrayTest( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) @@ -114,7 +114,7 @@ class ArrayTest( ): - class MetaOapg: + class Schema_: types = {tuple} @@ -123,7 +123,7 @@ class ArrayTest( ): - class MetaOapg: + class Schema_: types = {tuple} @staticmethod @@ -146,7 +146,7 @@ class ArrayTest( def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, list, tuple, ]], typing.List[typing.Union[MetaOapg.Items, list, tuple, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, list, tuple, ]], typing.List[typing.Union[Schema_.Items, list, tuple, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayArrayOfModel': return super().__new__( @@ -155,7 +155,7 @@ class ArrayTest( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) __annotations__ = { "array_of_string": ArrayOfString, @@ -164,13 +164,13 @@ class ArrayTest( } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["array_of_string"]) -> MetaOapg.Properties.ArrayOfString: ... + def __getitem__(self, name: typing_extensions.Literal["array_of_string"]) -> Schema_.Properties.ArrayOfString: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["array_array_of_integer"]) -> MetaOapg.Properties.ArrayArrayOfInteger: ... + def __getitem__(self, name: typing_extensions.Literal["array_array_of_integer"]) -> Schema_.Properties.ArrayArrayOfInteger: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["array_array_of_model"]) -> MetaOapg.Properties.ArrayArrayOfModel: ... + def __getitem__(self, name: typing_extensions.Literal["array_array_of_model"]) -> Schema_.Properties.ArrayArrayOfModel: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -188,13 +188,13 @@ class ArrayTest( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["array_of_string"]) -> typing.Union[MetaOapg.Properties.ArrayOfString, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["array_of_string"]) -> typing.Union[Schema_.Properties.ArrayOfString, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["array_array_of_integer"]) -> typing.Union[MetaOapg.Properties.ArrayArrayOfInteger, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["array_array_of_integer"]) -> typing.Union[Schema_.Properties.ArrayArrayOfInteger, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["array_array_of_model"]) -> typing.Union[MetaOapg.Properties.ArrayArrayOfModel, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["array_array_of_model"]) -> typing.Union[Schema_.Properties.ArrayArrayOfModel, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -213,9 +213,9 @@ class ArrayTest( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - array_of_string: typing.Union[MetaOapg.Properties.ArrayOfString, list, tuple, schemas.Unset] = schemas.unset, - array_array_of_integer: typing.Union[MetaOapg.Properties.ArrayArrayOfInteger, list, tuple, schemas.Unset] = schemas.unset, - array_array_of_model: typing.Union[MetaOapg.Properties.ArrayArrayOfModel, list, tuple, schemas.Unset] = schemas.unset, + array_of_string: typing.Union[Schema_.Properties.ArrayOfString, list, tuple, schemas.Unset] = schemas.unset, + array_array_of_integer: typing.Union[Schema_.Properties.ArrayArrayOfInteger, list, tuple, schemas.Unset] = schemas.unset, + array_array_of_model: typing.Union[Schema_.Properties.ArrayArrayOfModel, list, tuple, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ArrayTest': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_with_validations_in_items.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_with_validations_in_items.py index 215d30bbaef..29c45b0b9e2 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_with_validations_in_items.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_with_validations_in_items.py @@ -33,7 +33,7 @@ class ArrayWithValidationsInItems( """ - class MetaOapg: + class Schema_: types = {tuple} max_items = 2 @@ -43,7 +43,7 @@ class Items( ): - class MetaOapg: + class Schema_: types = { decimal.Decimal, } @@ -52,7 +52,7 @@ class MetaOapg: def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, decimal.Decimal, int, ]], typing.List[typing.Union[MetaOapg.Items, decimal.Decimal, int, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, decimal.Decimal, int, ]], typing.List[typing.Union[Schema_.Items, decimal.Decimal, int, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayWithValidationsInItems': return super().__new__( @@ -61,5 +61,5 @@ def __new__( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_with_validations_in_items.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_with_validations_in_items.pyi index 67f330186df..5e9340d5610 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_with_validations_in_items.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_with_validations_in_items.pyi @@ -33,7 +33,7 @@ class ArrayWithValidationsInItems( """ - class MetaOapg: + class Schema_: types = {tuple} max_items = 2 @@ -45,7 +45,7 @@ class ArrayWithValidationsInItems( def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, decimal.Decimal, int, ]], typing.List[typing.Union[MetaOapg.Items, decimal.Decimal, int, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, decimal.Decimal, int, ]], typing.List[typing.Union[Schema_.Items, decimal.Decimal, int, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayWithValidationsInItems': return super().__new__( @@ -54,5 +54,5 @@ class ArrayWithValidationsInItems( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana.py index 7e371496787..73ab574a1a8 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana.py @@ -33,7 +33,7 @@ class Banana( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} required = { "lengthCm", @@ -45,10 +45,10 @@ class Properties: "lengthCm": LengthCm, } - lengthCm: MetaOapg.Properties.LengthCm + lengthCm: Schema_.Properties.LengthCm @typing.overload - def __getitem__(self, name: typing_extensions.Literal["lengthCm"]) -> MetaOapg.Properties.LengthCm: ... + def __getitem__(self, name: typing_extensions.Literal["lengthCm"]) -> Schema_.Properties.LengthCm: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -64,7 +64,7 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["lengthCm"]) -> MetaOapg.Properties.LengthCm: ... + def get_item_(self, name: typing_extensions.Literal["lengthCm"]) -> Schema_.Properties.LengthCm: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -81,7 +81,7 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - lengthCm: typing.Union[MetaOapg.Properties.LengthCm, decimal.Decimal, int, float, ], + lengthCm: typing.Union[Schema_.Properties.LengthCm, decimal.Decimal, int, float, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Banana': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana.pyi index be555b5431c..ea1041ee11a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana.pyi @@ -33,7 +33,7 @@ class Banana( """ - class MetaOapg: + class Schema_: required = { "lengthCm", } @@ -44,10 +44,10 @@ class Banana( "lengthCm": LengthCm, } - lengthCm: MetaOapg.Properties.LengthCm + lengthCm: Schema_.Properties.LengthCm @typing.overload - def __getitem__(self, name: typing_extensions.Literal["lengthCm"]) -> MetaOapg.Properties.LengthCm: ... + def __getitem__(self, name: typing_extensions.Literal["lengthCm"]) -> Schema_.Properties.LengthCm: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -63,7 +63,7 @@ class Banana( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["lengthCm"]) -> MetaOapg.Properties.LengthCm: ... + def get_item_(self, name: typing_extensions.Literal["lengthCm"]) -> Schema_.Properties.LengthCm: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -80,7 +80,7 @@ class Banana( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - lengthCm: typing.Union[MetaOapg.Properties.LengthCm, decimal.Decimal, int, float, ], + lengthCm: typing.Union[Schema_.Properties.LengthCm, decimal.Decimal, int, float, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Banana': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana_req.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana_req.py index 9ce372ac5fa..cf5c097778b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana_req.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana_req.py @@ -33,7 +33,7 @@ class BananaReq( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} required = { "lengthCm", @@ -48,13 +48,13 @@ class Properties: } AdditionalProperties = schemas.NotAnyTypeSchema - lengthCm: MetaOapg.Properties.LengthCm + lengthCm: Schema_.Properties.LengthCm @typing.overload - def __getitem__(self, name: typing_extensions.Literal["lengthCm"]) -> MetaOapg.Properties.LengthCm: ... + def __getitem__(self, name: typing_extensions.Literal["lengthCm"]) -> Schema_.Properties.LengthCm: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["sweet"]) -> MetaOapg.Properties.Sweet: ... + def __getitem__(self, name: typing_extensions.Literal["sweet"]) -> Schema_.Properties.Sweet: ... def __getitem__( self, @@ -67,10 +67,10 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["lengthCm"]) -> MetaOapg.Properties.LengthCm: ... + def get_item_(self, name: typing_extensions.Literal["lengthCm"]) -> Schema_.Properties.LengthCm: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["sweet"]) -> typing.Union[MetaOapg.Properties.Sweet, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["sweet"]) -> typing.Union[Schema_.Properties.Sweet, schemas.Unset]: ... def get_item_( self, @@ -84,8 +84,8 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - lengthCm: typing.Union[MetaOapg.Properties.LengthCm, decimal.Decimal, int, float, ], - sweet: typing.Union[MetaOapg.Properties.Sweet, bool, schemas.Unset] = schemas.unset, + lengthCm: typing.Union[Schema_.Properties.LengthCm, decimal.Decimal, int, float, ], + sweet: typing.Union[Schema_.Properties.Sweet, bool, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'BananaReq': return super().__new__( diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana_req.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana_req.pyi index becc20807c4..b17b27f15a5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana_req.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana_req.pyi @@ -33,7 +33,7 @@ class BananaReq( """ - class MetaOapg: + class Schema_: required = { "lengthCm", } @@ -47,13 +47,13 @@ class BananaReq( } AdditionalProperties = schemas.NotAnyTypeSchema - lengthCm: MetaOapg.Properties.LengthCm + lengthCm: Schema_.Properties.LengthCm @typing.overload - def __getitem__(self, name: typing_extensions.Literal["lengthCm"]) -> MetaOapg.Properties.LengthCm: ... + def __getitem__(self, name: typing_extensions.Literal["lengthCm"]) -> Schema_.Properties.LengthCm: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["sweet"]) -> MetaOapg.Properties.Sweet: ... + def __getitem__(self, name: typing_extensions.Literal["sweet"]) -> Schema_.Properties.Sweet: ... def __getitem__( self, @@ -66,10 +66,10 @@ class BananaReq( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["lengthCm"]) -> MetaOapg.Properties.LengthCm: ... + def get_item_(self, name: typing_extensions.Literal["lengthCm"]) -> Schema_.Properties.LengthCm: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["sweet"]) -> typing.Union[MetaOapg.Properties.Sweet, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["sweet"]) -> typing.Union[Schema_.Properties.Sweet, schemas.Unset]: ... def get_item_( self, @@ -83,8 +83,8 @@ class BananaReq( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - lengthCm: typing.Union[MetaOapg.Properties.LengthCm, decimal.Decimal, int, float, ], - sweet: typing.Union[MetaOapg.Properties.Sweet, bool, schemas.Unset] = schemas.unset, + lengthCm: typing.Union[Schema_.Properties.LengthCm, decimal.Decimal, int, float, ], + sweet: typing.Union[Schema_.Properties.Sweet, bool, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'BananaReq': return super().__new__( diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/basque_pig.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/basque_pig.py index 8bfbcbc411f..035a925db60 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/basque_pig.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/basque_pig.py @@ -33,7 +33,7 @@ class BasquePig( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} required = { "className", @@ -47,7 +47,7 @@ class ClassName( ): - class MetaOapg: + class Schema_: types = { str, } @@ -62,10 +62,10 @@ def BASQUE_PIG(cls): "className": ClassName, } - className: MetaOapg.Properties.ClassName + className: Schema_.Properties.ClassName @typing.overload - def __getitem__(self, name: typing_extensions.Literal["className"]) -> MetaOapg.Properties.ClassName: ... + def __getitem__(self, name: typing_extensions.Literal["className"]) -> Schema_.Properties.ClassName: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -81,7 +81,7 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["className"]) -> MetaOapg.Properties.ClassName: ... + def get_item_(self, name: typing_extensions.Literal["className"]) -> Schema_.Properties.ClassName: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -98,7 +98,7 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - className: typing.Union[MetaOapg.Properties.ClassName, str, ], + className: typing.Union[Schema_.Properties.ClassName, str, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'BasquePig': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/basque_pig.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/basque_pig.pyi index 851bc6e2043..77cc8f985a0 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/basque_pig.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/basque_pig.pyi @@ -33,7 +33,7 @@ class BasquePig( """ - class MetaOapg: + class Schema_: required = { "className", } @@ -52,10 +52,10 @@ class BasquePig( "className": ClassName, } - className: MetaOapg.Properties.ClassName + className: Schema_.Properties.ClassName @typing.overload - def __getitem__(self, name: typing_extensions.Literal["className"]) -> MetaOapg.Properties.ClassName: ... + def __getitem__(self, name: typing_extensions.Literal["className"]) -> Schema_.Properties.ClassName: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -71,7 +71,7 @@ class BasquePig( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["className"]) -> MetaOapg.Properties.ClassName: ... + def get_item_(self, name: typing_extensions.Literal["className"]) -> Schema_.Properties.ClassName: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -88,7 +88,7 @@ class BasquePig( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - className: typing.Union[MetaOapg.Properties.ClassName, str, ], + className: typing.Union[Schema_.Properties.ClassName, str, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'BasquePig': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/boolean_enum.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/boolean_enum.py index 1ba57ab9c2b..9baac884b4f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/boolean_enum.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/boolean_enum.py @@ -33,7 +33,7 @@ class BooleanEnum( """ - class MetaOapg: + class Schema_: types = { schemas.BoolClass, } diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/capitalization.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/capitalization.py index 8c16f4ed7d2..335f8a19e30 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/capitalization.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/capitalization.py @@ -33,7 +33,7 @@ class Capitalization( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} class Properties: @@ -53,22 +53,22 @@ class Properties: } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["smallCamel"]) -> MetaOapg.Properties.SmallCamel: ... + def __getitem__(self, name: typing_extensions.Literal["smallCamel"]) -> Schema_.Properties.SmallCamel: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["CapitalCamel"]) -> MetaOapg.Properties.CapitalCamel: ... + def __getitem__(self, name: typing_extensions.Literal["CapitalCamel"]) -> Schema_.Properties.CapitalCamel: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["small_Snake"]) -> MetaOapg.Properties.SmallSnake: ... + def __getitem__(self, name: typing_extensions.Literal["small_Snake"]) -> Schema_.Properties.SmallSnake: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["Capital_Snake"]) -> MetaOapg.Properties.CapitalSnake: ... + def __getitem__(self, name: typing_extensions.Literal["Capital_Snake"]) -> Schema_.Properties.CapitalSnake: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["SCA_ETH_Flow_Points"]) -> MetaOapg.Properties.SCAETHFlowPoints: ... + def __getitem__(self, name: typing_extensions.Literal["SCA_ETH_Flow_Points"]) -> Schema_.Properties.SCAETHFlowPoints: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["ATT_NAME"]) -> MetaOapg.Properties.ATTNAME: ... + def __getitem__(self, name: typing_extensions.Literal["ATT_NAME"]) -> Schema_.Properties.ATTNAME: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -89,22 +89,22 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["smallCamel"]) -> typing.Union[MetaOapg.Properties.SmallCamel, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["smallCamel"]) -> typing.Union[Schema_.Properties.SmallCamel, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["CapitalCamel"]) -> typing.Union[MetaOapg.Properties.CapitalCamel, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["CapitalCamel"]) -> typing.Union[Schema_.Properties.CapitalCamel, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["small_Snake"]) -> typing.Union[MetaOapg.Properties.SmallSnake, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["small_Snake"]) -> typing.Union[Schema_.Properties.SmallSnake, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["Capital_Snake"]) -> typing.Union[MetaOapg.Properties.CapitalSnake, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["Capital_Snake"]) -> typing.Union[Schema_.Properties.CapitalSnake, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["SCA_ETH_Flow_Points"]) -> typing.Union[MetaOapg.Properties.SCAETHFlowPoints, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["SCA_ETH_Flow_Points"]) -> typing.Union[Schema_.Properties.SCAETHFlowPoints, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["ATT_NAME"]) -> typing.Union[MetaOapg.Properties.ATTNAME, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["ATT_NAME"]) -> typing.Union[Schema_.Properties.ATTNAME, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -126,12 +126,12 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - smallCamel: typing.Union[MetaOapg.Properties.SmallCamel, str, schemas.Unset] = schemas.unset, - CapitalCamel: typing.Union[MetaOapg.Properties.CapitalCamel, str, schemas.Unset] = schemas.unset, - small_Snake: typing.Union[MetaOapg.Properties.SmallSnake, str, schemas.Unset] = schemas.unset, - Capital_Snake: typing.Union[MetaOapg.Properties.CapitalSnake, str, schemas.Unset] = schemas.unset, - SCA_ETH_Flow_Points: typing.Union[MetaOapg.Properties.SCAETHFlowPoints, str, schemas.Unset] = schemas.unset, - ATT_NAME: typing.Union[MetaOapg.Properties.ATTNAME, str, schemas.Unset] = schemas.unset, + smallCamel: typing.Union[Schema_.Properties.SmallCamel, str, schemas.Unset] = schemas.unset, + CapitalCamel: typing.Union[Schema_.Properties.CapitalCamel, str, schemas.Unset] = schemas.unset, + small_Snake: typing.Union[Schema_.Properties.SmallSnake, str, schemas.Unset] = schemas.unset, + Capital_Snake: typing.Union[Schema_.Properties.CapitalSnake, str, schemas.Unset] = schemas.unset, + SCA_ETH_Flow_Points: typing.Union[Schema_.Properties.SCAETHFlowPoints, str, schemas.Unset] = schemas.unset, + ATT_NAME: typing.Union[Schema_.Properties.ATTNAME, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Capitalization': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/capitalization.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/capitalization.pyi index 694d3649d9d..3fc3006af66 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/capitalization.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/capitalization.pyi @@ -33,7 +33,7 @@ class Capitalization( """ - class MetaOapg: + class Schema_: class Properties: SmallCamel = schemas.StrSchema @@ -52,22 +52,22 @@ class Capitalization( } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["smallCamel"]) -> MetaOapg.Properties.SmallCamel: ... + def __getitem__(self, name: typing_extensions.Literal["smallCamel"]) -> Schema_.Properties.SmallCamel: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["CapitalCamel"]) -> MetaOapg.Properties.CapitalCamel: ... + def __getitem__(self, name: typing_extensions.Literal["CapitalCamel"]) -> Schema_.Properties.CapitalCamel: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["small_Snake"]) -> MetaOapg.Properties.SmallSnake: ... + def __getitem__(self, name: typing_extensions.Literal["small_Snake"]) -> Schema_.Properties.SmallSnake: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["Capital_Snake"]) -> MetaOapg.Properties.CapitalSnake: ... + def __getitem__(self, name: typing_extensions.Literal["Capital_Snake"]) -> Schema_.Properties.CapitalSnake: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["SCA_ETH_Flow_Points"]) -> MetaOapg.Properties.SCAETHFlowPoints: ... + def __getitem__(self, name: typing_extensions.Literal["SCA_ETH_Flow_Points"]) -> Schema_.Properties.SCAETHFlowPoints: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["ATT_NAME"]) -> MetaOapg.Properties.ATTNAME: ... + def __getitem__(self, name: typing_extensions.Literal["ATT_NAME"]) -> Schema_.Properties.ATTNAME: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -88,22 +88,22 @@ class Capitalization( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["smallCamel"]) -> typing.Union[MetaOapg.Properties.SmallCamel, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["smallCamel"]) -> typing.Union[Schema_.Properties.SmallCamel, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["CapitalCamel"]) -> typing.Union[MetaOapg.Properties.CapitalCamel, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["CapitalCamel"]) -> typing.Union[Schema_.Properties.CapitalCamel, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["small_Snake"]) -> typing.Union[MetaOapg.Properties.SmallSnake, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["small_Snake"]) -> typing.Union[Schema_.Properties.SmallSnake, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["Capital_Snake"]) -> typing.Union[MetaOapg.Properties.CapitalSnake, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["Capital_Snake"]) -> typing.Union[Schema_.Properties.CapitalSnake, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["SCA_ETH_Flow_Points"]) -> typing.Union[MetaOapg.Properties.SCAETHFlowPoints, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["SCA_ETH_Flow_Points"]) -> typing.Union[Schema_.Properties.SCAETHFlowPoints, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["ATT_NAME"]) -> typing.Union[MetaOapg.Properties.ATTNAME, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["ATT_NAME"]) -> typing.Union[Schema_.Properties.ATTNAME, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -125,12 +125,12 @@ class Capitalization( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - smallCamel: typing.Union[MetaOapg.Properties.SmallCamel, str, schemas.Unset] = schemas.unset, - CapitalCamel: typing.Union[MetaOapg.Properties.CapitalCamel, str, schemas.Unset] = schemas.unset, - small_Snake: typing.Union[MetaOapg.Properties.SmallSnake, str, schemas.Unset] = schemas.unset, - Capital_Snake: typing.Union[MetaOapg.Properties.CapitalSnake, str, schemas.Unset] = schemas.unset, - SCA_ETH_Flow_Points: typing.Union[MetaOapg.Properties.SCAETHFlowPoints, str, schemas.Unset] = schemas.unset, - ATT_NAME: typing.Union[MetaOapg.Properties.ATTNAME, str, schemas.Unset] = schemas.unset, + smallCamel: typing.Union[Schema_.Properties.SmallCamel, str, schemas.Unset] = schemas.unset, + CapitalCamel: typing.Union[Schema_.Properties.CapitalCamel, str, schemas.Unset] = schemas.unset, + small_Snake: typing.Union[Schema_.Properties.SmallSnake, str, schemas.Unset] = schemas.unset, + Capital_Snake: typing.Union[Schema_.Properties.CapitalSnake, str, schemas.Unset] = schemas.unset, + SCA_ETH_Flow_Points: typing.Union[Schema_.Properties.SCAETHFlowPoints, str, schemas.Unset] = schemas.unset, + ATT_NAME: typing.Union[Schema_.Properties.ATTNAME, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Capitalization': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/cat.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/cat.py index 9c21ac7a72d..b3b2f7a8c99 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/cat.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/cat.py @@ -33,7 +33,7 @@ class Cat( """ - class MetaOapg: + class Schema_: # any type class AllOf: @@ -48,7 +48,7 @@ class AllOf1( ): - class MetaOapg: + class Schema_: types = {frozendict.frozendict} class Properties: @@ -58,7 +58,7 @@ class Properties: } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["declawed"]) -> MetaOapg.Properties.Declawed: ... + def __getitem__(self, name: typing_extensions.Literal["declawed"]) -> Schema_.Properties.Declawed: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -74,7 +74,7 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["declawed"]) -> typing.Union[MetaOapg.Properties.Declawed, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["declawed"]) -> typing.Union[Schema_.Properties.Declawed, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -91,7 +91,7 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - declawed: typing.Union[MetaOapg.Properties.Declawed, bool, schemas.Unset] = schemas.unset, + declawed: typing.Union[Schema_.Properties.Declawed, bool, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/cat.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/cat.pyi index ffaf653183a..723503db76f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/cat.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/cat.pyi @@ -33,7 +33,7 @@ class Cat( """ - class MetaOapg: + class Schema_: # any type class AllOf: @@ -48,7 +48,7 @@ class Cat( ): - class MetaOapg: + class Schema_: class Properties: Declawed = schemas.BoolSchema @@ -57,7 +57,7 @@ class Cat( } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["declawed"]) -> MetaOapg.Properties.Declawed: ... + def __getitem__(self, name: typing_extensions.Literal["declawed"]) -> Schema_.Properties.Declawed: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -73,7 +73,7 @@ class Cat( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["declawed"]) -> typing.Union[MetaOapg.Properties.Declawed, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["declawed"]) -> typing.Union[Schema_.Properties.Declawed, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -90,7 +90,7 @@ class Cat( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - declawed: typing.Union[MetaOapg.Properties.Declawed, bool, schemas.Unset] = schemas.unset, + declawed: typing.Union[Schema_.Properties.Declawed, bool, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/category.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/category.py index 2d4f84deff5..2b52c6642f2 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/category.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/category.py @@ -33,7 +33,7 @@ class Category( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} required = { "name", @@ -47,13 +47,13 @@ class Properties: "name": Name, } - name: MetaOapg.Properties.Name + name: Schema_.Properties.Name @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.Properties.Name: ... + def __getitem__(self, name: typing_extensions.Literal["name"]) -> Schema_.Properties.Name: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.Properties.Id: ... + def __getitem__(self, name: typing_extensions.Literal["id"]) -> Schema_.Properties.Id: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -70,10 +70,10 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["name"]) -> MetaOapg.Properties.Name: ... + def get_item_(self, name: typing_extensions.Literal["name"]) -> Schema_.Properties.Name: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["id"]) -> typing.Union[MetaOapg.Properties.Id, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["id"]) -> typing.Union[Schema_.Properties.Id, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -91,8 +91,8 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - name: typing.Union[MetaOapg.Properties.Name, str, ], - id: typing.Union[MetaOapg.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, + name: typing.Union[Schema_.Properties.Name, str, ], + id: typing.Union[Schema_.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Category': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/category.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/category.pyi index f3d0202a7f1..4868a9e52d0 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/category.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/category.pyi @@ -33,7 +33,7 @@ class Category( """ - class MetaOapg: + class Schema_: required = { "name", } @@ -46,13 +46,13 @@ class Category( "name": Name, } - name: MetaOapg.Properties.Name + name: Schema_.Properties.Name @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.Properties.Name: ... + def __getitem__(self, name: typing_extensions.Literal["name"]) -> Schema_.Properties.Name: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.Properties.Id: ... + def __getitem__(self, name: typing_extensions.Literal["id"]) -> Schema_.Properties.Id: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -69,10 +69,10 @@ class Category( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["name"]) -> MetaOapg.Properties.Name: ... + def get_item_(self, name: typing_extensions.Literal["name"]) -> Schema_.Properties.Name: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["id"]) -> typing.Union[MetaOapg.Properties.Id, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["id"]) -> typing.Union[Schema_.Properties.Id, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -90,8 +90,8 @@ class Category( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - name: typing.Union[MetaOapg.Properties.Name, str, ], - id: typing.Union[MetaOapg.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, + name: typing.Union[Schema_.Properties.Name, str, ], + id: typing.Union[Schema_.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Category': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/child_cat.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/child_cat.py index be4da253f9d..dc63899c877 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/child_cat.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/child_cat.py @@ -33,7 +33,7 @@ class ChildCat( """ - class MetaOapg: + class Schema_: # any type class AllOf: @@ -48,7 +48,7 @@ class AllOf1( ): - class MetaOapg: + class Schema_: types = {frozendict.frozendict} class Properties: @@ -58,7 +58,7 @@ class Properties: } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.Properties.Name: ... + def __getitem__(self, name: typing_extensions.Literal["name"]) -> Schema_.Properties.Name: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -74,7 +74,7 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.Properties.Name, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["name"]) -> typing.Union[Schema_.Properties.Name, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -91,7 +91,7 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - name: typing.Union[MetaOapg.Properties.Name, str, schemas.Unset] = schemas.unset, + name: typing.Union[Schema_.Properties.Name, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/child_cat.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/child_cat.pyi index d949494c795..4b084f5b66f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/child_cat.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/child_cat.pyi @@ -33,7 +33,7 @@ class ChildCat( """ - class MetaOapg: + class Schema_: # any type class AllOf: @@ -48,7 +48,7 @@ class ChildCat( ): - class MetaOapg: + class Schema_: class Properties: Name = schemas.StrSchema @@ -57,7 +57,7 @@ class ChildCat( } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.Properties.Name: ... + def __getitem__(self, name: typing_extensions.Literal["name"]) -> Schema_.Properties.Name: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -73,7 +73,7 @@ class ChildCat( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.Properties.Name, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["name"]) -> typing.Union[Schema_.Properties.Name, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -90,7 +90,7 @@ class ChildCat( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - name: typing.Union[MetaOapg.Properties.Name, str, schemas.Unset] = schemas.unset, + name: typing.Union[Schema_.Properties.Name, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/class_model.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/class_model.py index b26f55c723b..759f4754965 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/class_model.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/class_model.py @@ -35,7 +35,7 @@ class ClassModel( """ - class MetaOapg: + class Schema_: # any type class Properties: @@ -46,7 +46,7 @@ class Properties: @typing.overload - def __getitem__(self, name: typing_extensions.Literal["_class"]) -> MetaOapg.Properties._Class: ... + def __getitem__(self, name: typing_extensions.Literal["_class"]) -> Schema_.Properties._Class: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -62,7 +62,7 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["_class"]) -> typing.Union[MetaOapg.Properties._Class, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["_class"]) -> typing.Union[Schema_.Properties._Class, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -79,7 +79,7 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _class: typing.Union[MetaOapg.Properties._Class, str, schemas.Unset] = schemas.unset, + _class: typing.Union[Schema_.Properties._Class, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ClassModel': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/class_model.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/class_model.pyi index b26f55c723b..759f4754965 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/class_model.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/class_model.pyi @@ -35,7 +35,7 @@ class ClassModel( """ - class MetaOapg: + class Schema_: # any type class Properties: @@ -46,7 +46,7 @@ class ClassModel( @typing.overload - def __getitem__(self, name: typing_extensions.Literal["_class"]) -> MetaOapg.Properties._Class: ... + def __getitem__(self, name: typing_extensions.Literal["_class"]) -> Schema_.Properties._Class: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -62,7 +62,7 @@ class ClassModel( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["_class"]) -> typing.Union[MetaOapg.Properties._Class, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["_class"]) -> typing.Union[Schema_.Properties._Class, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -79,7 +79,7 @@ class ClassModel( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _class: typing.Union[MetaOapg.Properties._Class, str, schemas.Unset] = schemas.unset, + _class: typing.Union[Schema_.Properties._Class, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ClassModel': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/client.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/client.py index d7e5f9e0e41..3741fdda39a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/client.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/client.py @@ -33,7 +33,7 @@ class Client( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} class Properties: @@ -43,7 +43,7 @@ class Properties: } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["client"]) -> MetaOapg.Properties.Client: ... + def __getitem__(self, name: typing_extensions.Literal["client"]) -> Schema_.Properties.Client: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -59,7 +59,7 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["client"]) -> typing.Union[MetaOapg.Properties.Client, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["client"]) -> typing.Union[Schema_.Properties.Client, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -76,7 +76,7 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - client: typing.Union[MetaOapg.Properties.Client, str, schemas.Unset] = schemas.unset, + client: typing.Union[Schema_.Properties.Client, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Client': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/client.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/client.pyi index 8fed206d125..1ebf77a48c1 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/client.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/client.pyi @@ -33,7 +33,7 @@ class Client( """ - class MetaOapg: + class Schema_: class Properties: Client = schemas.StrSchema @@ -42,7 +42,7 @@ class Client( } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["client"]) -> MetaOapg.Properties.Client: ... + def __getitem__(self, name: typing_extensions.Literal["client"]) -> Schema_.Properties.Client: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -58,7 +58,7 @@ class Client( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["client"]) -> typing.Union[MetaOapg.Properties.Client, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["client"]) -> typing.Union[Schema_.Properties.Client, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -75,7 +75,7 @@ class Client( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - client: typing.Union[MetaOapg.Properties.Client, str, schemas.Unset] = schemas.unset, + client: typing.Union[Schema_.Properties.Client, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Client': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/complex_quadrilateral.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/complex_quadrilateral.py index 489158fd0f7..39d6818dc15 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/complex_quadrilateral.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/complex_quadrilateral.py @@ -33,7 +33,7 @@ class ComplexQuadrilateral( """ - class MetaOapg: + class Schema_: # any type class AllOf: @@ -48,7 +48,7 @@ class AllOf1( ): - class MetaOapg: + class Schema_: types = {frozendict.frozendict} class Properties: @@ -59,7 +59,7 @@ class QuadrilateralType( ): - class MetaOapg: + class Schema_: types = { str, } @@ -75,7 +75,7 @@ def COMPLEX_QUADRILATERAL(cls): } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["quadrilateralType"]) -> MetaOapg.Properties.QuadrilateralType: ... + def __getitem__(self, name: typing_extensions.Literal["quadrilateralType"]) -> Schema_.Properties.QuadrilateralType: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -91,7 +91,7 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["quadrilateralType"]) -> typing.Union[MetaOapg.Properties.QuadrilateralType, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["quadrilateralType"]) -> typing.Union[Schema_.Properties.QuadrilateralType, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -108,7 +108,7 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - quadrilateralType: typing.Union[MetaOapg.Properties.QuadrilateralType, str, schemas.Unset] = schemas.unset, + quadrilateralType: typing.Union[Schema_.Properties.QuadrilateralType, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/complex_quadrilateral.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/complex_quadrilateral.pyi index eab6d621565..396dee02f8d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/complex_quadrilateral.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/complex_quadrilateral.pyi @@ -33,7 +33,7 @@ class ComplexQuadrilateral( """ - class MetaOapg: + class Schema_: # any type class AllOf: @@ -48,7 +48,7 @@ class ComplexQuadrilateral( ): - class MetaOapg: + class Schema_: class Properties: @@ -65,7 +65,7 @@ class ComplexQuadrilateral( } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["quadrilateralType"]) -> MetaOapg.Properties.QuadrilateralType: ... + def __getitem__(self, name: typing_extensions.Literal["quadrilateralType"]) -> Schema_.Properties.QuadrilateralType: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -81,7 +81,7 @@ class ComplexQuadrilateral( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["quadrilateralType"]) -> typing.Union[MetaOapg.Properties.QuadrilateralType, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["quadrilateralType"]) -> typing.Union[Schema_.Properties.QuadrilateralType, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -98,7 +98,7 @@ class ComplexQuadrilateral( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - quadrilateralType: typing.Union[MetaOapg.Properties.QuadrilateralType, str, schemas.Unset] = schemas.unset, + quadrilateralType: typing.Union[Schema_.Properties.QuadrilateralType, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_any_of_different_types_no_validations.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_any_of_different_types_no_validations.py index 065872e46cd..342829abe15 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_any_of_different_types_no_validations.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_any_of_different_types_no_validations.py @@ -33,7 +33,7 @@ class ComposedAnyOfDifferentTypesNoValidations( """ - class MetaOapg: + class Schema_: # any type class AnyOf: @@ -53,13 +53,13 @@ class AnyOf9( ): - class MetaOapg: + class Schema_: types = {tuple} Items = schemas.AnyTypeSchema def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[MetaOapg.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'AnyOf9': return super().__new__( @@ -68,7 +68,7 @@ def __new__( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) AnyOf10 = schemas.NumberSchema AnyOf11 = schemas.Float32Schema diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_any_of_different_types_no_validations.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_any_of_different_types_no_validations.pyi index 065872e46cd..342829abe15 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_any_of_different_types_no_validations.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_any_of_different_types_no_validations.pyi @@ -33,7 +33,7 @@ class ComposedAnyOfDifferentTypesNoValidations( """ - class MetaOapg: + class Schema_: # any type class AnyOf: @@ -53,13 +53,13 @@ class ComposedAnyOfDifferentTypesNoValidations( ): - class MetaOapg: + class Schema_: types = {tuple} Items = schemas.AnyTypeSchema def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[MetaOapg.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'AnyOf9': return super().__new__( @@ -68,7 +68,7 @@ class ComposedAnyOfDifferentTypesNoValidations( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) AnyOf10 = schemas.NumberSchema AnyOf11 = schemas.Float32Schema diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_array.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_array.py index 5a5c901be67..b8a4d355033 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_array.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_array.py @@ -33,13 +33,13 @@ class ComposedArray( """ - class MetaOapg: + class Schema_: types = {tuple} Items = schemas.AnyTypeSchema def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[MetaOapg.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ComposedArray': return super().__new__( @@ -48,5 +48,5 @@ def __new__( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_array.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_array.pyi index 5a5c901be67..b8a4d355033 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_array.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_array.pyi @@ -33,13 +33,13 @@ class ComposedArray( """ - class MetaOapg: + class Schema_: types = {tuple} Items = schemas.AnyTypeSchema def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[MetaOapg.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ComposedArray': return super().__new__( @@ -48,5 +48,5 @@ class ComposedArray( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_bool.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_bool.py index 107fa816d49..c1bdc656e79 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_bool.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_bool.py @@ -33,7 +33,7 @@ class ComposedBool( """ - class MetaOapg: + class Schema_: types = { schemas.BoolClass, } diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_bool.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_bool.pyi index 107fa816d49..c1bdc656e79 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_bool.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_bool.pyi @@ -33,7 +33,7 @@ class ComposedBool( """ - class MetaOapg: + class Schema_: types = { schemas.BoolClass, } diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_none.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_none.py index 1b529217df0..8ad887e42be 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_none.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_none.py @@ -33,7 +33,7 @@ class ComposedNone( """ - class MetaOapg: + class Schema_: types = { schemas.NoneClass, } diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_none.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_none.pyi index 1b529217df0..8ad887e42be 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_none.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_none.pyi @@ -33,7 +33,7 @@ class ComposedNone( """ - class MetaOapg: + class Schema_: types = { schemas.NoneClass, } diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_number.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_number.py index d571665659d..09bc9ac18c8 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_number.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_number.py @@ -33,7 +33,7 @@ class ComposedNumber( """ - class MetaOapg: + class Schema_: types = { decimal.Decimal, } diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_number.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_number.pyi index d571665659d..09bc9ac18c8 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_number.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_number.pyi @@ -33,7 +33,7 @@ class ComposedNumber( """ - class MetaOapg: + class Schema_: types = { decimal.Decimal, } diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_object.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_object.py index 0fef1d0a45b..bfb8d1268d0 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_object.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_object.py @@ -33,7 +33,7 @@ class ComposedObject( """ - class MetaOapg: + class Schema_: types = { frozendict.frozendict, } diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_object.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_object.pyi index 0fef1d0a45b..bfb8d1268d0 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_object.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_object.pyi @@ -33,7 +33,7 @@ class ComposedObject( """ - class MetaOapg: + class Schema_: types = { frozendict.frozendict, } diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_one_of_different_types.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_one_of_different_types.py index 8dcfd9d12c3..d71e2e33fea 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_one_of_different_types.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_one_of_different_types.py @@ -35,7 +35,7 @@ class ComposedOneOfDifferentTypes( """ - class MetaOapg: + class Schema_: # any type class OneOf: @@ -56,7 +56,7 @@ class OneOf4( ): - class MetaOapg: + class Schema_: types = {frozendict.frozendict} max_properties = 4 min_properties = 4 @@ -80,7 +80,7 @@ class OneOf5( ): - class MetaOapg: + class Schema_: types = {tuple} max_items = 4 min_items = 4 @@ -88,7 +88,7 @@ class MetaOapg: def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[MetaOapg.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'OneOf5': return super().__new__( @@ -97,7 +97,7 @@ def __new__( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) @@ -106,7 +106,7 @@ class OneOf6( ): - class MetaOapg: + class Schema_: types = { str, } diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_one_of_different_types.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_one_of_different_types.pyi index a471f465468..60a300c50b9 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_one_of_different_types.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_one_of_different_types.pyi @@ -35,7 +35,7 @@ class ComposedOneOfDifferentTypes( """ - class MetaOapg: + class Schema_: # any type class OneOf: @@ -74,7 +74,7 @@ class ComposedOneOfDifferentTypes( ): - class MetaOapg: + class Schema_: types = {tuple} max_items = 4 min_items = 4 @@ -82,7 +82,7 @@ class ComposedOneOfDifferentTypes( def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[MetaOapg.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'OneOf5': return super().__new__( @@ -91,7 +91,7 @@ class ComposedOneOfDifferentTypes( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_string.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_string.py index 6dce303c18d..0e1dae2a237 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_string.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_string.py @@ -33,7 +33,7 @@ class ComposedString( """ - class MetaOapg: + class Schema_: types = { str, } diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_string.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_string.pyi index 6dce303c18d..0e1dae2a237 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_string.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_string.pyi @@ -33,7 +33,7 @@ class ComposedString( """ - class MetaOapg: + class Schema_: types = { str, } diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/currency.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/currency.py index 0c27f94a4fe..aef2ac12b58 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/currency.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/currency.py @@ -33,7 +33,7 @@ class Currency( """ - class MetaOapg: + class Schema_: types = { str, } diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/danish_pig.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/danish_pig.py index 1d2a82a19af..36a42a84bd2 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/danish_pig.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/danish_pig.py @@ -33,7 +33,7 @@ class DanishPig( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} required = { "className", @@ -47,7 +47,7 @@ class ClassName( ): - class MetaOapg: + class Schema_: types = { str, } @@ -62,10 +62,10 @@ def DANISH_PIG(cls): "className": ClassName, } - className: MetaOapg.Properties.ClassName + className: Schema_.Properties.ClassName @typing.overload - def __getitem__(self, name: typing_extensions.Literal["className"]) -> MetaOapg.Properties.ClassName: ... + def __getitem__(self, name: typing_extensions.Literal["className"]) -> Schema_.Properties.ClassName: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -81,7 +81,7 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["className"]) -> MetaOapg.Properties.ClassName: ... + def get_item_(self, name: typing_extensions.Literal["className"]) -> Schema_.Properties.ClassName: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -98,7 +98,7 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - className: typing.Union[MetaOapg.Properties.ClassName, str, ], + className: typing.Union[Schema_.Properties.ClassName, str, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'DanishPig': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/danish_pig.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/danish_pig.pyi index 30b50ee5990..e5cafacb9da 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/danish_pig.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/danish_pig.pyi @@ -33,7 +33,7 @@ class DanishPig( """ - class MetaOapg: + class Schema_: required = { "className", } @@ -52,10 +52,10 @@ class DanishPig( "className": ClassName, } - className: MetaOapg.Properties.ClassName + className: Schema_.Properties.ClassName @typing.overload - def __getitem__(self, name: typing_extensions.Literal["className"]) -> MetaOapg.Properties.ClassName: ... + def __getitem__(self, name: typing_extensions.Literal["className"]) -> Schema_.Properties.ClassName: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -71,7 +71,7 @@ class DanishPig( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["className"]) -> MetaOapg.Properties.ClassName: ... + def get_item_(self, name: typing_extensions.Literal["className"]) -> Schema_.Properties.ClassName: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -88,7 +88,7 @@ class DanishPig( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - className: typing.Union[MetaOapg.Properties.ClassName, str, ], + className: typing.Union[Schema_.Properties.ClassName, str, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'DanishPig': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/date_time_with_validations.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/date_time_with_validations.py index b5512ae1451..dc8ad2a89ad 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/date_time_with_validations.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/date_time_with_validations.py @@ -33,7 +33,7 @@ class DateTimeWithValidations( """ - class MetaOapg: + class Schema_: types = { str, } diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/date_with_validations.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/date_with_validations.py index 304f319bcab..a8da79d3bc3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/date_with_validations.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/date_with_validations.py @@ -33,7 +33,7 @@ class DateWithValidations( """ - class MetaOapg: + class Schema_: types = { str, } diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/dog.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/dog.py index 540259ffa0d..8020f8c99d7 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/dog.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/dog.py @@ -33,7 +33,7 @@ class Dog( """ - class MetaOapg: + class Schema_: # any type class AllOf: @@ -48,7 +48,7 @@ class AllOf1( ): - class MetaOapg: + class Schema_: types = {frozendict.frozendict} class Properties: @@ -58,7 +58,7 @@ class Properties: } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["breed"]) -> MetaOapg.Properties.Breed: ... + def __getitem__(self, name: typing_extensions.Literal["breed"]) -> Schema_.Properties.Breed: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -74,7 +74,7 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["breed"]) -> typing.Union[MetaOapg.Properties.Breed, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["breed"]) -> typing.Union[Schema_.Properties.Breed, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -91,7 +91,7 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - breed: typing.Union[MetaOapg.Properties.Breed, str, schemas.Unset] = schemas.unset, + breed: typing.Union[Schema_.Properties.Breed, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/dog.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/dog.pyi index a2f1ca62e12..842cd345137 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/dog.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/dog.pyi @@ -33,7 +33,7 @@ class Dog( """ - class MetaOapg: + class Schema_: # any type class AllOf: @@ -48,7 +48,7 @@ class Dog( ): - class MetaOapg: + class Schema_: class Properties: Breed = schemas.StrSchema @@ -57,7 +57,7 @@ class Dog( } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["breed"]) -> MetaOapg.Properties.Breed: ... + def __getitem__(self, name: typing_extensions.Literal["breed"]) -> Schema_.Properties.Breed: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -73,7 +73,7 @@ class Dog( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["breed"]) -> typing.Union[MetaOapg.Properties.Breed, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["breed"]) -> typing.Union[Schema_.Properties.Breed, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -90,7 +90,7 @@ class Dog( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - breed: typing.Union[MetaOapg.Properties.Breed, str, schemas.Unset] = schemas.unset, + breed: typing.Union[Schema_.Properties.Breed, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/drawing.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/drawing.py index 0c497636572..e62a633d951 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/drawing.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/drawing.py @@ -33,7 +33,7 @@ class Drawing( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} class Properties: @@ -56,7 +56,7 @@ class Shapes( ): - class MetaOapg: + class Schema_: types = {tuple} @staticmethod @@ -97,7 +97,7 @@ def __getitem__(self, name: typing_extensions.Literal["shapeOrNull"]) -> 'shape_ def __getitem__(self, name: typing_extensions.Literal["nullableShape"]) -> 'nullable_shape.NullableShape': ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["shapes"]) -> MetaOapg.Properties.Shapes: ... + def __getitem__(self, name: typing_extensions.Literal["shapes"]) -> Schema_.Properties.Shapes: ... @typing.overload def __getitem__(self, name: str) -> 'fruit.Fruit': ... @@ -125,7 +125,7 @@ def get_item_(self, name: typing_extensions.Literal["shapeOrNull"]) -> typing.Un def get_item_(self, name: typing_extensions.Literal["nullableShape"]) -> typing.Union['nullable_shape.NullableShape', schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["shapes"]) -> typing.Union[MetaOapg.Properties.Shapes, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["shapes"]) -> typing.Union[Schema_.Properties.Shapes, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union['fruit.Fruit', schemas.Unset]: ... @@ -148,7 +148,7 @@ def __new__( mainShape: typing.Union['shape.Shape', schemas.Unset] = schemas.unset, shapeOrNull: typing.Union['shape_or_null.ShapeOrNull', schemas.Unset] = schemas.unset, nullableShape: typing.Union['nullable_shape.NullableShape', schemas.Unset] = schemas.unset, - shapes: typing.Union[MetaOapg.Properties.Shapes, list, tuple, schemas.Unset] = schemas.unset, + shapes: typing.Union[Schema_.Properties.Shapes, list, tuple, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: 'fruit.Fruit', ) -> 'Drawing': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/drawing.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/drawing.pyi index ee1eb34f577..e21d660fafd 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/drawing.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/drawing.pyi @@ -33,7 +33,7 @@ class Drawing( """ - class MetaOapg: + class Schema_: class Properties: @@ -55,7 +55,7 @@ class Drawing( ): - class MetaOapg: + class Schema_: types = {tuple} @staticmethod @@ -96,7 +96,7 @@ class Drawing( def __getitem__(self, name: typing_extensions.Literal["nullableShape"]) -> 'nullable_shape.NullableShape': ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["shapes"]) -> MetaOapg.Properties.Shapes: ... + def __getitem__(self, name: typing_extensions.Literal["shapes"]) -> Schema_.Properties.Shapes: ... @typing.overload def __getitem__(self, name: str) -> 'fruit.Fruit': ... @@ -124,7 +124,7 @@ class Drawing( def get_item_(self, name: typing_extensions.Literal["nullableShape"]) -> typing.Union['nullable_shape.NullableShape', schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["shapes"]) -> typing.Union[MetaOapg.Properties.Shapes, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["shapes"]) -> typing.Union[Schema_.Properties.Shapes, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union['fruit.Fruit', schemas.Unset]: ... @@ -147,7 +147,7 @@ class Drawing( mainShape: typing.Union['shape.Shape', schemas.Unset] = schemas.unset, shapeOrNull: typing.Union['shape_or_null.ShapeOrNull', schemas.Unset] = schemas.unset, nullableShape: typing.Union['nullable_shape.NullableShape', schemas.Unset] = schemas.unset, - shapes: typing.Union[MetaOapg.Properties.Shapes, list, tuple, schemas.Unset] = schemas.unset, + shapes: typing.Union[Schema_.Properties.Shapes, list, tuple, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: 'fruit.Fruit', ) -> 'Drawing': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_arrays.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_arrays.py index 34b4ff39b84..d4b8d48c9ae 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_arrays.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_arrays.py @@ -33,7 +33,7 @@ class EnumArrays( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} class Properties: @@ -44,7 +44,7 @@ class JustSymbol( ): - class MetaOapg: + class Schema_: types = { str, } @@ -67,7 +67,7 @@ class ArrayEnum( ): - class MetaOapg: + class Schema_: types = {tuple} @@ -76,7 +76,7 @@ class Items( ): - class MetaOapg: + class Schema_: types = { str, } @@ -95,7 +95,7 @@ def CRAB(cls): def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, str, ]], typing.List[typing.Union[MetaOapg.Items, str, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayEnum': return super().__new__( @@ -104,7 +104,7 @@ def __new__( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) __annotations__ = { "just_symbol": JustSymbol, @@ -112,10 +112,10 @@ def __getitem__(self, i: int) -> MetaOapg.Items: } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["just_symbol"]) -> MetaOapg.Properties.JustSymbol: ... + def __getitem__(self, name: typing_extensions.Literal["just_symbol"]) -> Schema_.Properties.JustSymbol: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["array_enum"]) -> MetaOapg.Properties.ArrayEnum: ... + def __getitem__(self, name: typing_extensions.Literal["array_enum"]) -> Schema_.Properties.ArrayEnum: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -132,10 +132,10 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["just_symbol"]) -> typing.Union[MetaOapg.Properties.JustSymbol, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["just_symbol"]) -> typing.Union[Schema_.Properties.JustSymbol, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["array_enum"]) -> typing.Union[MetaOapg.Properties.ArrayEnum, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["array_enum"]) -> typing.Union[Schema_.Properties.ArrayEnum, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -153,8 +153,8 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - just_symbol: typing.Union[MetaOapg.Properties.JustSymbol, str, schemas.Unset] = schemas.unset, - array_enum: typing.Union[MetaOapg.Properties.ArrayEnum, list, tuple, schemas.Unset] = schemas.unset, + just_symbol: typing.Union[Schema_.Properties.JustSymbol, str, schemas.Unset] = schemas.unset, + array_enum: typing.Union[Schema_.Properties.ArrayEnum, list, tuple, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'EnumArrays': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_arrays.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_arrays.pyi index 268f92411ec..f97e08aa400 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_arrays.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_arrays.pyi @@ -33,7 +33,7 @@ class EnumArrays( """ - class MetaOapg: + class Schema_: class Properties: @@ -56,7 +56,7 @@ class EnumArrays( ): - class MetaOapg: + class Schema_: types = {tuple} @@ -74,7 +74,7 @@ class EnumArrays( def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, str, ]], typing.List[typing.Union[MetaOapg.Items, str, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayEnum': return super().__new__( @@ -83,7 +83,7 @@ class EnumArrays( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) __annotations__ = { "just_symbol": JustSymbol, @@ -91,10 +91,10 @@ class EnumArrays( } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["just_symbol"]) -> MetaOapg.Properties.JustSymbol: ... + def __getitem__(self, name: typing_extensions.Literal["just_symbol"]) -> Schema_.Properties.JustSymbol: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["array_enum"]) -> MetaOapg.Properties.ArrayEnum: ... + def __getitem__(self, name: typing_extensions.Literal["array_enum"]) -> Schema_.Properties.ArrayEnum: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -111,10 +111,10 @@ class EnumArrays( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["just_symbol"]) -> typing.Union[MetaOapg.Properties.JustSymbol, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["just_symbol"]) -> typing.Union[Schema_.Properties.JustSymbol, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["array_enum"]) -> typing.Union[MetaOapg.Properties.ArrayEnum, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["array_enum"]) -> typing.Union[Schema_.Properties.ArrayEnum, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -132,8 +132,8 @@ class EnumArrays( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - just_symbol: typing.Union[MetaOapg.Properties.JustSymbol, str, schemas.Unset] = schemas.unset, - array_enum: typing.Union[MetaOapg.Properties.ArrayEnum, list, tuple, schemas.Unset] = schemas.unset, + just_symbol: typing.Union[Schema_.Properties.JustSymbol, str, schemas.Unset] = schemas.unset, + array_enum: typing.Union[Schema_.Properties.ArrayEnum, list, tuple, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'EnumArrays': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_class.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_class.py index 9dbc6e2bb7d..4c8e771f338 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_class.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_class.py @@ -33,7 +33,7 @@ class EnumClass( """ - class MetaOapg: + class Schema_: types = { str, } diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_test.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_test.py index d12fd1da772..13c09dfca5b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_test.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_test.py @@ -33,7 +33,7 @@ class EnumTest( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} required = { "enum_string_required", @@ -47,7 +47,7 @@ class EnumString( ): - class MetaOapg: + class Schema_: types = { str, } @@ -75,7 +75,7 @@ class EnumStringRequired( ): - class MetaOapg: + class Schema_: types = { str, } @@ -103,7 +103,7 @@ class EnumInteger( ): - class MetaOapg: + class Schema_: types = { decimal.Decimal, } @@ -127,7 +127,7 @@ class EnumNumber( ): - class MetaOapg: + class Schema_: types = { decimal.Decimal, } @@ -176,19 +176,19 @@ def integer_enum_one_value() -> typing.Type['integer_enum_one_value.IntegerEnumO "IntegerEnumOneValue": integer_enum_one_value, } - enum_string_required: MetaOapg.Properties.EnumStringRequired + enum_string_required: Schema_.Properties.EnumStringRequired @typing.overload - def __getitem__(self, name: typing_extensions.Literal["enum_string_required"]) -> MetaOapg.Properties.EnumStringRequired: ... + def __getitem__(self, name: typing_extensions.Literal["enum_string_required"]) -> Schema_.Properties.EnumStringRequired: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["enum_string"]) -> MetaOapg.Properties.EnumString: ... + def __getitem__(self, name: typing_extensions.Literal["enum_string"]) -> Schema_.Properties.EnumString: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["enum_integer"]) -> MetaOapg.Properties.EnumInteger: ... + def __getitem__(self, name: typing_extensions.Literal["enum_integer"]) -> Schema_.Properties.EnumInteger: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["enum_number"]) -> MetaOapg.Properties.EnumNumber: ... + def __getitem__(self, name: typing_extensions.Literal["enum_number"]) -> Schema_.Properties.EnumNumber: ... @typing.overload def __getitem__(self, name: typing_extensions.Literal["stringEnum"]) -> 'string_enum.StringEnum': ... @@ -227,16 +227,16 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["enum_string_required"]) -> MetaOapg.Properties.EnumStringRequired: ... + def get_item_(self, name: typing_extensions.Literal["enum_string_required"]) -> Schema_.Properties.EnumStringRequired: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["enum_string"]) -> typing.Union[MetaOapg.Properties.EnumString, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["enum_string"]) -> typing.Union[Schema_.Properties.EnumString, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["enum_integer"]) -> typing.Union[MetaOapg.Properties.EnumInteger, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["enum_integer"]) -> typing.Union[Schema_.Properties.EnumInteger, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["enum_number"]) -> typing.Union[MetaOapg.Properties.EnumNumber, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["enum_number"]) -> typing.Union[Schema_.Properties.EnumNumber, schemas.Unset]: ... @typing.overload def get_item_(self, name: typing_extensions.Literal["stringEnum"]) -> typing.Union['string_enum.StringEnum', schemas.Unset]: ... @@ -276,10 +276,10 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - enum_string_required: typing.Union[MetaOapg.Properties.EnumStringRequired, str, ], - enum_string: typing.Union[MetaOapg.Properties.EnumString, str, schemas.Unset] = schemas.unset, - enum_integer: typing.Union[MetaOapg.Properties.EnumInteger, decimal.Decimal, int, schemas.Unset] = schemas.unset, - enum_number: typing.Union[MetaOapg.Properties.EnumNumber, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, + enum_string_required: typing.Union[Schema_.Properties.EnumStringRequired, str, ], + enum_string: typing.Union[Schema_.Properties.EnumString, str, schemas.Unset] = schemas.unset, + enum_integer: typing.Union[Schema_.Properties.EnumInteger, decimal.Decimal, int, schemas.Unset] = schemas.unset, + enum_number: typing.Union[Schema_.Properties.EnumNumber, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, stringEnum: typing.Union['string_enum.StringEnum', schemas.Unset] = schemas.unset, IntegerEnum: typing.Union['integer_enum.IntegerEnum', schemas.Unset] = schemas.unset, StringEnumWithDefaultValue: typing.Union['string_enum_with_default_value.StringEnumWithDefaultValue', schemas.Unset] = schemas.unset, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_test.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_test.pyi index 289344f5d69..caf51a27046 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_test.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_test.pyi @@ -33,7 +33,7 @@ class EnumTest( """ - class MetaOapg: + class Schema_: required = { "enum_string_required", } @@ -131,19 +131,19 @@ class EnumTest( "IntegerEnumOneValue": integer_enum_one_value, } - enum_string_required: MetaOapg.Properties.EnumStringRequired + enum_string_required: Schema_.Properties.EnumStringRequired @typing.overload - def __getitem__(self, name: typing_extensions.Literal["enum_string_required"]) -> MetaOapg.Properties.EnumStringRequired: ... + def __getitem__(self, name: typing_extensions.Literal["enum_string_required"]) -> Schema_.Properties.EnumStringRequired: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["enum_string"]) -> MetaOapg.Properties.EnumString: ... + def __getitem__(self, name: typing_extensions.Literal["enum_string"]) -> Schema_.Properties.EnumString: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["enum_integer"]) -> MetaOapg.Properties.EnumInteger: ... + def __getitem__(self, name: typing_extensions.Literal["enum_integer"]) -> Schema_.Properties.EnumInteger: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["enum_number"]) -> MetaOapg.Properties.EnumNumber: ... + def __getitem__(self, name: typing_extensions.Literal["enum_number"]) -> Schema_.Properties.EnumNumber: ... @typing.overload def __getitem__(self, name: typing_extensions.Literal["stringEnum"]) -> 'string_enum.StringEnum': ... @@ -182,16 +182,16 @@ class EnumTest( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["enum_string_required"]) -> MetaOapg.Properties.EnumStringRequired: ... + def get_item_(self, name: typing_extensions.Literal["enum_string_required"]) -> Schema_.Properties.EnumStringRequired: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["enum_string"]) -> typing.Union[MetaOapg.Properties.EnumString, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["enum_string"]) -> typing.Union[Schema_.Properties.EnumString, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["enum_integer"]) -> typing.Union[MetaOapg.Properties.EnumInteger, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["enum_integer"]) -> typing.Union[Schema_.Properties.EnumInteger, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["enum_number"]) -> typing.Union[MetaOapg.Properties.EnumNumber, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["enum_number"]) -> typing.Union[Schema_.Properties.EnumNumber, schemas.Unset]: ... @typing.overload def get_item_(self, name: typing_extensions.Literal["stringEnum"]) -> typing.Union['string_enum.StringEnum', schemas.Unset]: ... @@ -231,10 +231,10 @@ class EnumTest( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - enum_string_required: typing.Union[MetaOapg.Properties.EnumStringRequired, str, ], - enum_string: typing.Union[MetaOapg.Properties.EnumString, str, schemas.Unset] = schemas.unset, - enum_integer: typing.Union[MetaOapg.Properties.EnumInteger, decimal.Decimal, int, schemas.Unset] = schemas.unset, - enum_number: typing.Union[MetaOapg.Properties.EnumNumber, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, + enum_string_required: typing.Union[Schema_.Properties.EnumStringRequired, str, ], + enum_string: typing.Union[Schema_.Properties.EnumString, str, schemas.Unset] = schemas.unset, + enum_integer: typing.Union[Schema_.Properties.EnumInteger, decimal.Decimal, int, schemas.Unset] = schemas.unset, + enum_number: typing.Union[Schema_.Properties.EnumNumber, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, stringEnum: typing.Union['string_enum.StringEnum', schemas.Unset] = schemas.unset, IntegerEnum: typing.Union['integer_enum.IntegerEnum', schemas.Unset] = schemas.unset, StringEnumWithDefaultValue: typing.Union['string_enum_with_default_value.StringEnumWithDefaultValue', schemas.Unset] = schemas.unset, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/equilateral_triangle.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/equilateral_triangle.py index 64815656686..858fddbdbdc 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/equilateral_triangle.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/equilateral_triangle.py @@ -33,7 +33,7 @@ class EquilateralTriangle( """ - class MetaOapg: + class Schema_: # any type class AllOf: @@ -48,7 +48,7 @@ class AllOf1( ): - class MetaOapg: + class Schema_: types = {frozendict.frozendict} class Properties: @@ -59,7 +59,7 @@ class TriangleType( ): - class MetaOapg: + class Schema_: types = { str, } @@ -75,7 +75,7 @@ def EQUILATERAL_TRIANGLE(cls): } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["triangleType"]) -> MetaOapg.Properties.TriangleType: ... + def __getitem__(self, name: typing_extensions.Literal["triangleType"]) -> Schema_.Properties.TriangleType: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -91,7 +91,7 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["triangleType"]) -> typing.Union[MetaOapg.Properties.TriangleType, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["triangleType"]) -> typing.Union[Schema_.Properties.TriangleType, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -108,7 +108,7 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - triangleType: typing.Union[MetaOapg.Properties.TriangleType, str, schemas.Unset] = schemas.unset, + triangleType: typing.Union[Schema_.Properties.TriangleType, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/equilateral_triangle.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/equilateral_triangle.pyi index c9670f51ec4..f82ac7ffcda 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/equilateral_triangle.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/equilateral_triangle.pyi @@ -33,7 +33,7 @@ class EquilateralTriangle( """ - class MetaOapg: + class Schema_: # any type class AllOf: @@ -48,7 +48,7 @@ class EquilateralTriangle( ): - class MetaOapg: + class Schema_: class Properties: @@ -65,7 +65,7 @@ class EquilateralTriangle( } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["triangleType"]) -> MetaOapg.Properties.TriangleType: ... + def __getitem__(self, name: typing_extensions.Literal["triangleType"]) -> Schema_.Properties.TriangleType: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -81,7 +81,7 @@ class EquilateralTriangle( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["triangleType"]) -> typing.Union[MetaOapg.Properties.TriangleType, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["triangleType"]) -> typing.Union[Schema_.Properties.TriangleType, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -98,7 +98,7 @@ class EquilateralTriangle( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - triangleType: typing.Union[MetaOapg.Properties.TriangleType, str, schemas.Unset] = schemas.unset, + triangleType: typing.Union[Schema_.Properties.TriangleType, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/file.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/file.py index 4d928078042..017a0936d3e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/file.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/file.py @@ -35,7 +35,7 @@ class File( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} class Properties: @@ -45,7 +45,7 @@ class Properties: } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["sourceURI"]) -> MetaOapg.Properties.SourceURI: ... + def __getitem__(self, name: typing_extensions.Literal["sourceURI"]) -> Schema_.Properties.SourceURI: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -61,7 +61,7 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["sourceURI"]) -> typing.Union[MetaOapg.Properties.SourceURI, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["sourceURI"]) -> typing.Union[Schema_.Properties.SourceURI, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -78,7 +78,7 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - sourceURI: typing.Union[MetaOapg.Properties.SourceURI, str, schemas.Unset] = schemas.unset, + sourceURI: typing.Union[Schema_.Properties.SourceURI, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'File': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/file.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/file.pyi index 752c6d49d93..b5ed8cd8b66 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/file.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/file.pyi @@ -35,7 +35,7 @@ class File( """ - class MetaOapg: + class Schema_: class Properties: SourceURI = schemas.StrSchema @@ -44,7 +44,7 @@ class File( } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["sourceURI"]) -> MetaOapg.Properties.SourceURI: ... + def __getitem__(self, name: typing_extensions.Literal["sourceURI"]) -> Schema_.Properties.SourceURI: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -60,7 +60,7 @@ class File( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["sourceURI"]) -> typing.Union[MetaOapg.Properties.SourceURI, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["sourceURI"]) -> typing.Union[Schema_.Properties.SourceURI, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -77,7 +77,7 @@ class File( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - sourceURI: typing.Union[MetaOapg.Properties.SourceURI, str, schemas.Unset] = schemas.unset, + sourceURI: typing.Union[Schema_.Properties.SourceURI, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'File': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/file_schema_test_class.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/file_schema_test_class.py index db98f6360d8..169b661c76e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/file_schema_test_class.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/file_schema_test_class.py @@ -33,7 +33,7 @@ class FileSchemaTestClass( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} class Properties: @@ -48,7 +48,7 @@ class Files( ): - class MetaOapg: + class Schema_: types = {tuple} @staticmethod @@ -77,7 +77,7 @@ def __getitem__(self, i: int) -> 'file.File': def __getitem__(self, name: typing_extensions.Literal["file"]) -> 'file.File': ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["files"]) -> MetaOapg.Properties.Files: ... + def __getitem__(self, name: typing_extensions.Literal["files"]) -> Schema_.Properties.Files: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -97,7 +97,7 @@ def __getitem__( def get_item_(self, name: typing_extensions.Literal["file"]) -> typing.Union['file.File', schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["files"]) -> typing.Union[MetaOapg.Properties.Files, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["files"]) -> typing.Union[Schema_.Properties.Files, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -116,7 +116,7 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], file: typing.Union['file.File', schemas.Unset] = schemas.unset, - files: typing.Union[MetaOapg.Properties.Files, list, tuple, schemas.Unset] = schemas.unset, + files: typing.Union[Schema_.Properties.Files, list, tuple, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'FileSchemaTestClass': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/file_schema_test_class.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/file_schema_test_class.pyi index 36db8a9061d..b9310a72509 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/file_schema_test_class.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/file_schema_test_class.pyi @@ -33,7 +33,7 @@ class FileSchemaTestClass( """ - class MetaOapg: + class Schema_: class Properties: @@ -47,7 +47,7 @@ class FileSchemaTestClass( ): - class MetaOapg: + class Schema_: types = {tuple} @staticmethod @@ -76,7 +76,7 @@ class FileSchemaTestClass( def __getitem__(self, name: typing_extensions.Literal["file"]) -> 'file.File': ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["files"]) -> MetaOapg.Properties.Files: ... + def __getitem__(self, name: typing_extensions.Literal["files"]) -> Schema_.Properties.Files: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -96,7 +96,7 @@ class FileSchemaTestClass( def get_item_(self, name: typing_extensions.Literal["file"]) -> typing.Union['file.File', schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["files"]) -> typing.Union[MetaOapg.Properties.Files, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["files"]) -> typing.Union[Schema_.Properties.Files, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -115,7 +115,7 @@ class FileSchemaTestClass( cls, *_args: typing.Union[dict, frozendict.frozendict, ], file: typing.Union['file.File', schemas.Unset] = schemas.unset, - files: typing.Union[MetaOapg.Properties.Files, list, tuple, schemas.Unset] = schemas.unset, + files: typing.Union[Schema_.Properties.Files, list, tuple, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'FileSchemaTestClass': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/foo.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/foo.py index b20f5987b8f..77ca0dc3e06 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/foo.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/foo.py @@ -33,7 +33,7 @@ class Foo( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} class Properties: diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/foo.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/foo.pyi index 49f784adc35..a8501b5b3c6 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/foo.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/foo.pyi @@ -33,7 +33,7 @@ class Foo( """ - class MetaOapg: + class Schema_: class Properties: diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/format_test.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/format_test.py index a79c8598cb7..70a839bf543 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/format_test.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/format_test.py @@ -33,7 +33,7 @@ class FormatTest( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} required = { "byte", @@ -50,7 +50,7 @@ class Integer( ): - class MetaOapg: + class Schema_: types = { decimal.Decimal, } @@ -66,7 +66,7 @@ class Int32withValidations( ): - class MetaOapg: + class Schema_: types = { decimal.Decimal, } @@ -81,7 +81,7 @@ class Number( ): - class MetaOapg: + class Schema_: types = { decimal.Decimal, } @@ -95,7 +95,7 @@ class _Float( ): - class MetaOapg: + class Schema_: types = { decimal.Decimal, } @@ -110,7 +110,7 @@ class Double( ): - class MetaOapg: + class Schema_: types = { decimal.Decimal, } @@ -125,14 +125,14 @@ class ArrayWithUniqueItems( ): - class MetaOapg: + class Schema_: types = {tuple} unique_items = True Items = schemas.NumberSchema def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, decimal.Decimal, int, float, ]], typing.List[typing.Union[MetaOapg.Items, decimal.Decimal, int, float, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]], typing.List[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayWithUniqueItems': return super().__new__( @@ -141,7 +141,7 @@ def __new__( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) @@ -150,7 +150,7 @@ class String( ): - class MetaOapg: + class Schema_: types = { str, } @@ -173,7 +173,7 @@ class Password( ): - class MetaOapg: + class Schema_: types = { str, } @@ -187,7 +187,7 @@ class PatternWithDigits( ): - class MetaOapg: + class Schema_: types = { str, } @@ -201,7 +201,7 @@ class PatternWithDigitsAndDelimiter( ): - class MetaOapg: + class Schema_: types = { str, } @@ -236,73 +236,73 @@ class MetaOapg: "noneProp": NoneProp, } - byte: MetaOapg.Properties.Byte - date: MetaOapg.Properties.Date - number: MetaOapg.Properties.Number - password: MetaOapg.Properties.Password + byte: Schema_.Properties.Byte + date: Schema_.Properties.Date + number: Schema_.Properties.Number + password: Schema_.Properties.Password @typing.overload - def __getitem__(self, name: typing_extensions.Literal["byte"]) -> MetaOapg.Properties.Byte: ... + def __getitem__(self, name: typing_extensions.Literal["byte"]) -> Schema_.Properties.Byte: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["date"]) -> MetaOapg.Properties.Date: ... + def __getitem__(self, name: typing_extensions.Literal["date"]) -> Schema_.Properties.Date: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["number"]) -> MetaOapg.Properties.Number: ... + def __getitem__(self, name: typing_extensions.Literal["number"]) -> Schema_.Properties.Number: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["password"]) -> MetaOapg.Properties.Password: ... + def __getitem__(self, name: typing_extensions.Literal["password"]) -> Schema_.Properties.Password: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["integer"]) -> MetaOapg.Properties.Integer: ... + def __getitem__(self, name: typing_extensions.Literal["integer"]) -> Schema_.Properties.Integer: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["int32"]) -> MetaOapg.Properties.Int32: ... + def __getitem__(self, name: typing_extensions.Literal["int32"]) -> Schema_.Properties.Int32: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["int32withValidations"]) -> MetaOapg.Properties.Int32withValidations: ... + def __getitem__(self, name: typing_extensions.Literal["int32withValidations"]) -> Schema_.Properties.Int32withValidations: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["int64"]) -> MetaOapg.Properties.Int64: ... + def __getitem__(self, name: typing_extensions.Literal["int64"]) -> Schema_.Properties.Int64: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["float"]) -> MetaOapg.Properties._Float: ... + def __getitem__(self, name: typing_extensions.Literal["float"]) -> Schema_.Properties._Float: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["float32"]) -> MetaOapg.Properties.Float32: ... + def __getitem__(self, name: typing_extensions.Literal["float32"]) -> Schema_.Properties.Float32: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["double"]) -> MetaOapg.Properties.Double: ... + def __getitem__(self, name: typing_extensions.Literal["double"]) -> Schema_.Properties.Double: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["float64"]) -> MetaOapg.Properties.Float64: ... + def __getitem__(self, name: typing_extensions.Literal["float64"]) -> Schema_.Properties.Float64: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["arrayWithUniqueItems"]) -> MetaOapg.Properties.ArrayWithUniqueItems: ... + def __getitem__(self, name: typing_extensions.Literal["arrayWithUniqueItems"]) -> Schema_.Properties.ArrayWithUniqueItems: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["string"]) -> MetaOapg.Properties.String: ... + def __getitem__(self, name: typing_extensions.Literal["string"]) -> Schema_.Properties.String: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["binary"]) -> MetaOapg.Properties.Binary: ... + def __getitem__(self, name: typing_extensions.Literal["binary"]) -> Schema_.Properties.Binary: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["dateTime"]) -> MetaOapg.Properties.DateTime: ... + def __getitem__(self, name: typing_extensions.Literal["dateTime"]) -> Schema_.Properties.DateTime: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["uuid"]) -> MetaOapg.Properties.Uuid: ... + def __getitem__(self, name: typing_extensions.Literal["uuid"]) -> Schema_.Properties.Uuid: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["uuidNoExample"]) -> MetaOapg.Properties.UuidNoExample: ... + def __getitem__(self, name: typing_extensions.Literal["uuidNoExample"]) -> Schema_.Properties.UuidNoExample: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["pattern_with_digits"]) -> MetaOapg.Properties.PatternWithDigits: ... + def __getitem__(self, name: typing_extensions.Literal["pattern_with_digits"]) -> Schema_.Properties.PatternWithDigits: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["pattern_with_digits_and_delimiter"]) -> MetaOapg.Properties.PatternWithDigitsAndDelimiter: ... + def __getitem__(self, name: typing_extensions.Literal["pattern_with_digits_and_delimiter"]) -> Schema_.Properties.PatternWithDigitsAndDelimiter: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["noneProp"]) -> MetaOapg.Properties.NoneProp: ... + def __getitem__(self, name: typing_extensions.Literal["noneProp"]) -> Schema_.Properties.NoneProp: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -338,67 +338,67 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["byte"]) -> MetaOapg.Properties.Byte: ... + def get_item_(self, name: typing_extensions.Literal["byte"]) -> Schema_.Properties.Byte: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["date"]) -> MetaOapg.Properties.Date: ... + def get_item_(self, name: typing_extensions.Literal["date"]) -> Schema_.Properties.Date: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["number"]) -> MetaOapg.Properties.Number: ... + def get_item_(self, name: typing_extensions.Literal["number"]) -> Schema_.Properties.Number: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["password"]) -> MetaOapg.Properties.Password: ... + def get_item_(self, name: typing_extensions.Literal["password"]) -> Schema_.Properties.Password: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["integer"]) -> typing.Union[MetaOapg.Properties.Integer, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["integer"]) -> typing.Union[Schema_.Properties.Integer, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["int32"]) -> typing.Union[MetaOapg.Properties.Int32, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["int32"]) -> typing.Union[Schema_.Properties.Int32, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["int32withValidations"]) -> typing.Union[MetaOapg.Properties.Int32withValidations, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["int32withValidations"]) -> typing.Union[Schema_.Properties.Int32withValidations, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["int64"]) -> typing.Union[MetaOapg.Properties.Int64, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["int64"]) -> typing.Union[Schema_.Properties.Int64, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["float"]) -> typing.Union[MetaOapg.Properties._Float, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["float"]) -> typing.Union[Schema_.Properties._Float, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["float32"]) -> typing.Union[MetaOapg.Properties.Float32, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["float32"]) -> typing.Union[Schema_.Properties.Float32, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["double"]) -> typing.Union[MetaOapg.Properties.Double, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["double"]) -> typing.Union[Schema_.Properties.Double, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["float64"]) -> typing.Union[MetaOapg.Properties.Float64, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["float64"]) -> typing.Union[Schema_.Properties.Float64, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["arrayWithUniqueItems"]) -> typing.Union[MetaOapg.Properties.ArrayWithUniqueItems, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["arrayWithUniqueItems"]) -> typing.Union[Schema_.Properties.ArrayWithUniqueItems, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["string"]) -> typing.Union[MetaOapg.Properties.String, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["string"]) -> typing.Union[Schema_.Properties.String, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["binary"]) -> typing.Union[MetaOapg.Properties.Binary, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["binary"]) -> typing.Union[Schema_.Properties.Binary, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["dateTime"]) -> typing.Union[MetaOapg.Properties.DateTime, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["dateTime"]) -> typing.Union[Schema_.Properties.DateTime, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["uuid"]) -> typing.Union[MetaOapg.Properties.Uuid, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["uuid"]) -> typing.Union[Schema_.Properties.Uuid, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["uuidNoExample"]) -> typing.Union[MetaOapg.Properties.UuidNoExample, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["uuidNoExample"]) -> typing.Union[Schema_.Properties.UuidNoExample, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["pattern_with_digits"]) -> typing.Union[MetaOapg.Properties.PatternWithDigits, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["pattern_with_digits"]) -> typing.Union[Schema_.Properties.PatternWithDigits, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["pattern_with_digits_and_delimiter"]) -> typing.Union[MetaOapg.Properties.PatternWithDigitsAndDelimiter, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["pattern_with_digits_and_delimiter"]) -> typing.Union[Schema_.Properties.PatternWithDigitsAndDelimiter, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["noneProp"]) -> typing.Union[MetaOapg.Properties.NoneProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["noneProp"]) -> typing.Union[Schema_.Properties.NoneProp, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -435,26 +435,26 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - byte: typing.Union[MetaOapg.Properties.Byte, str, ], - date: typing.Union[MetaOapg.Properties.Date, str, datetime.date, ], - number: typing.Union[MetaOapg.Properties.Number, decimal.Decimal, int, float, ], - password: typing.Union[MetaOapg.Properties.Password, str, ], - integer: typing.Union[MetaOapg.Properties.Integer, decimal.Decimal, int, schemas.Unset] = schemas.unset, - int32: typing.Union[MetaOapg.Properties.Int32, decimal.Decimal, int, schemas.Unset] = schemas.unset, - int32withValidations: typing.Union[MetaOapg.Properties.Int32withValidations, decimal.Decimal, int, schemas.Unset] = schemas.unset, - int64: typing.Union[MetaOapg.Properties.Int64, decimal.Decimal, int, schemas.Unset] = schemas.unset, - float32: typing.Union[MetaOapg.Properties.Float32, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, - double: typing.Union[MetaOapg.Properties.Double, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, - float64: typing.Union[MetaOapg.Properties.Float64, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, - arrayWithUniqueItems: typing.Union[MetaOapg.Properties.ArrayWithUniqueItems, list, tuple, schemas.Unset] = schemas.unset, - string: typing.Union[MetaOapg.Properties.String, str, schemas.Unset] = schemas.unset, - binary: typing.Union[MetaOapg.Properties.Binary, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - dateTime: typing.Union[MetaOapg.Properties.DateTime, str, datetime.datetime, schemas.Unset] = schemas.unset, - uuid: typing.Union[MetaOapg.Properties.Uuid, str, uuid.UUID, schemas.Unset] = schemas.unset, - uuidNoExample: typing.Union[MetaOapg.Properties.UuidNoExample, str, uuid.UUID, schemas.Unset] = schemas.unset, - pattern_with_digits: typing.Union[MetaOapg.Properties.PatternWithDigits, str, schemas.Unset] = schemas.unset, - pattern_with_digits_and_delimiter: typing.Union[MetaOapg.Properties.PatternWithDigitsAndDelimiter, str, schemas.Unset] = schemas.unset, - noneProp: typing.Union[MetaOapg.Properties.NoneProp, None, schemas.Unset] = schemas.unset, + byte: typing.Union[Schema_.Properties.Byte, str, ], + date: typing.Union[Schema_.Properties.Date, str, datetime.date, ], + number: typing.Union[Schema_.Properties.Number, decimal.Decimal, int, float, ], + password: typing.Union[Schema_.Properties.Password, str, ], + integer: typing.Union[Schema_.Properties.Integer, decimal.Decimal, int, schemas.Unset] = schemas.unset, + int32: typing.Union[Schema_.Properties.Int32, decimal.Decimal, int, schemas.Unset] = schemas.unset, + int32withValidations: typing.Union[Schema_.Properties.Int32withValidations, decimal.Decimal, int, schemas.Unset] = schemas.unset, + int64: typing.Union[Schema_.Properties.Int64, decimal.Decimal, int, schemas.Unset] = schemas.unset, + float32: typing.Union[Schema_.Properties.Float32, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, + double: typing.Union[Schema_.Properties.Double, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, + float64: typing.Union[Schema_.Properties.Float64, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, + arrayWithUniqueItems: typing.Union[Schema_.Properties.ArrayWithUniqueItems, list, tuple, schemas.Unset] = schemas.unset, + string: typing.Union[Schema_.Properties.String, str, schemas.Unset] = schemas.unset, + binary: typing.Union[Schema_.Properties.Binary, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + dateTime: typing.Union[Schema_.Properties.DateTime, str, datetime.datetime, schemas.Unset] = schemas.unset, + uuid: typing.Union[Schema_.Properties.Uuid, str, uuid.UUID, schemas.Unset] = schemas.unset, + uuidNoExample: typing.Union[Schema_.Properties.UuidNoExample, str, uuid.UUID, schemas.Unset] = schemas.unset, + pattern_with_digits: typing.Union[Schema_.Properties.PatternWithDigits, str, schemas.Unset] = schemas.unset, + pattern_with_digits_and_delimiter: typing.Union[Schema_.Properties.PatternWithDigitsAndDelimiter, str, schemas.Unset] = schemas.unset, + noneProp: typing.Union[Schema_.Properties.NoneProp, None, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'FormatTest': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/format_test.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/format_test.pyi index 97b5c5acaa8..7abbc650997 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/format_test.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/format_test.pyi @@ -33,7 +33,7 @@ class FormatTest( """ - class MetaOapg: + class Schema_: required = { "byte", "date", @@ -83,14 +83,14 @@ class FormatTest( ): - class MetaOapg: + class Schema_: types = {tuple} unique_items = True Items = schemas.NumberSchema def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, decimal.Decimal, int, float, ]], typing.List[typing.Union[MetaOapg.Items, decimal.Decimal, int, float, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]], typing.List[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayWithUniqueItems': return super().__new__( @@ -99,7 +99,7 @@ class FormatTest( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) @@ -156,73 +156,73 @@ class FormatTest( "noneProp": NoneProp, } - byte: MetaOapg.Properties.Byte - date: MetaOapg.Properties.Date - number: MetaOapg.Properties.Number - password: MetaOapg.Properties.Password + byte: Schema_.Properties.Byte + date: Schema_.Properties.Date + number: Schema_.Properties.Number + password: Schema_.Properties.Password @typing.overload - def __getitem__(self, name: typing_extensions.Literal["byte"]) -> MetaOapg.Properties.Byte: ... + def __getitem__(self, name: typing_extensions.Literal["byte"]) -> Schema_.Properties.Byte: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["date"]) -> MetaOapg.Properties.Date: ... + def __getitem__(self, name: typing_extensions.Literal["date"]) -> Schema_.Properties.Date: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["number"]) -> MetaOapg.Properties.Number: ... + def __getitem__(self, name: typing_extensions.Literal["number"]) -> Schema_.Properties.Number: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["password"]) -> MetaOapg.Properties.Password: ... + def __getitem__(self, name: typing_extensions.Literal["password"]) -> Schema_.Properties.Password: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["integer"]) -> MetaOapg.Properties.Integer: ... + def __getitem__(self, name: typing_extensions.Literal["integer"]) -> Schema_.Properties.Integer: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["int32"]) -> MetaOapg.Properties.Int32: ... + def __getitem__(self, name: typing_extensions.Literal["int32"]) -> Schema_.Properties.Int32: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["int32withValidations"]) -> MetaOapg.Properties.Int32withValidations: ... + def __getitem__(self, name: typing_extensions.Literal["int32withValidations"]) -> Schema_.Properties.Int32withValidations: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["int64"]) -> MetaOapg.Properties.Int64: ... + def __getitem__(self, name: typing_extensions.Literal["int64"]) -> Schema_.Properties.Int64: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["float"]) -> MetaOapg.Properties._Float: ... + def __getitem__(self, name: typing_extensions.Literal["float"]) -> Schema_.Properties._Float: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["float32"]) -> MetaOapg.Properties.Float32: ... + def __getitem__(self, name: typing_extensions.Literal["float32"]) -> Schema_.Properties.Float32: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["double"]) -> MetaOapg.Properties.Double: ... + def __getitem__(self, name: typing_extensions.Literal["double"]) -> Schema_.Properties.Double: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["float64"]) -> MetaOapg.Properties.Float64: ... + def __getitem__(self, name: typing_extensions.Literal["float64"]) -> Schema_.Properties.Float64: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["arrayWithUniqueItems"]) -> MetaOapg.Properties.ArrayWithUniqueItems: ... + def __getitem__(self, name: typing_extensions.Literal["arrayWithUniqueItems"]) -> Schema_.Properties.ArrayWithUniqueItems: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["string"]) -> MetaOapg.Properties.String: ... + def __getitem__(self, name: typing_extensions.Literal["string"]) -> Schema_.Properties.String: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["binary"]) -> MetaOapg.Properties.Binary: ... + def __getitem__(self, name: typing_extensions.Literal["binary"]) -> Schema_.Properties.Binary: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["dateTime"]) -> MetaOapg.Properties.DateTime: ... + def __getitem__(self, name: typing_extensions.Literal["dateTime"]) -> Schema_.Properties.DateTime: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["uuid"]) -> MetaOapg.Properties.Uuid: ... + def __getitem__(self, name: typing_extensions.Literal["uuid"]) -> Schema_.Properties.Uuid: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["uuidNoExample"]) -> MetaOapg.Properties.UuidNoExample: ... + def __getitem__(self, name: typing_extensions.Literal["uuidNoExample"]) -> Schema_.Properties.UuidNoExample: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["pattern_with_digits"]) -> MetaOapg.Properties.PatternWithDigits: ... + def __getitem__(self, name: typing_extensions.Literal["pattern_with_digits"]) -> Schema_.Properties.PatternWithDigits: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["pattern_with_digits_and_delimiter"]) -> MetaOapg.Properties.PatternWithDigitsAndDelimiter: ... + def __getitem__(self, name: typing_extensions.Literal["pattern_with_digits_and_delimiter"]) -> Schema_.Properties.PatternWithDigitsAndDelimiter: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["noneProp"]) -> MetaOapg.Properties.NoneProp: ... + def __getitem__(self, name: typing_extensions.Literal["noneProp"]) -> Schema_.Properties.NoneProp: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -258,67 +258,67 @@ class FormatTest( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["byte"]) -> MetaOapg.Properties.Byte: ... + def get_item_(self, name: typing_extensions.Literal["byte"]) -> Schema_.Properties.Byte: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["date"]) -> MetaOapg.Properties.Date: ... + def get_item_(self, name: typing_extensions.Literal["date"]) -> Schema_.Properties.Date: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["number"]) -> MetaOapg.Properties.Number: ... + def get_item_(self, name: typing_extensions.Literal["number"]) -> Schema_.Properties.Number: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["password"]) -> MetaOapg.Properties.Password: ... + def get_item_(self, name: typing_extensions.Literal["password"]) -> Schema_.Properties.Password: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["integer"]) -> typing.Union[MetaOapg.Properties.Integer, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["integer"]) -> typing.Union[Schema_.Properties.Integer, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["int32"]) -> typing.Union[MetaOapg.Properties.Int32, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["int32"]) -> typing.Union[Schema_.Properties.Int32, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["int32withValidations"]) -> typing.Union[MetaOapg.Properties.Int32withValidations, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["int32withValidations"]) -> typing.Union[Schema_.Properties.Int32withValidations, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["int64"]) -> typing.Union[MetaOapg.Properties.Int64, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["int64"]) -> typing.Union[Schema_.Properties.Int64, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["float"]) -> typing.Union[MetaOapg.Properties._Float, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["float"]) -> typing.Union[Schema_.Properties._Float, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["float32"]) -> typing.Union[MetaOapg.Properties.Float32, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["float32"]) -> typing.Union[Schema_.Properties.Float32, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["double"]) -> typing.Union[MetaOapg.Properties.Double, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["double"]) -> typing.Union[Schema_.Properties.Double, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["float64"]) -> typing.Union[MetaOapg.Properties.Float64, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["float64"]) -> typing.Union[Schema_.Properties.Float64, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["arrayWithUniqueItems"]) -> typing.Union[MetaOapg.Properties.ArrayWithUniqueItems, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["arrayWithUniqueItems"]) -> typing.Union[Schema_.Properties.ArrayWithUniqueItems, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["string"]) -> typing.Union[MetaOapg.Properties.String, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["string"]) -> typing.Union[Schema_.Properties.String, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["binary"]) -> typing.Union[MetaOapg.Properties.Binary, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["binary"]) -> typing.Union[Schema_.Properties.Binary, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["dateTime"]) -> typing.Union[MetaOapg.Properties.DateTime, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["dateTime"]) -> typing.Union[Schema_.Properties.DateTime, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["uuid"]) -> typing.Union[MetaOapg.Properties.Uuid, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["uuid"]) -> typing.Union[Schema_.Properties.Uuid, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["uuidNoExample"]) -> typing.Union[MetaOapg.Properties.UuidNoExample, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["uuidNoExample"]) -> typing.Union[Schema_.Properties.UuidNoExample, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["pattern_with_digits"]) -> typing.Union[MetaOapg.Properties.PatternWithDigits, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["pattern_with_digits"]) -> typing.Union[Schema_.Properties.PatternWithDigits, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["pattern_with_digits_and_delimiter"]) -> typing.Union[MetaOapg.Properties.PatternWithDigitsAndDelimiter, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["pattern_with_digits_and_delimiter"]) -> typing.Union[Schema_.Properties.PatternWithDigitsAndDelimiter, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["noneProp"]) -> typing.Union[MetaOapg.Properties.NoneProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["noneProp"]) -> typing.Union[Schema_.Properties.NoneProp, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -355,26 +355,26 @@ class FormatTest( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - byte: typing.Union[MetaOapg.Properties.Byte, str, ], - date: typing.Union[MetaOapg.Properties.Date, str, datetime.date, ], - number: typing.Union[MetaOapg.Properties.Number, decimal.Decimal, int, float, ], - password: typing.Union[MetaOapg.Properties.Password, str, ], - integer: typing.Union[MetaOapg.Properties.Integer, decimal.Decimal, int, schemas.Unset] = schemas.unset, - int32: typing.Union[MetaOapg.Properties.Int32, decimal.Decimal, int, schemas.Unset] = schemas.unset, - int32withValidations: typing.Union[MetaOapg.Properties.Int32withValidations, decimal.Decimal, int, schemas.Unset] = schemas.unset, - int64: typing.Union[MetaOapg.Properties.Int64, decimal.Decimal, int, schemas.Unset] = schemas.unset, - float32: typing.Union[MetaOapg.Properties.Float32, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, - double: typing.Union[MetaOapg.Properties.Double, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, - float64: typing.Union[MetaOapg.Properties.Float64, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, - arrayWithUniqueItems: typing.Union[MetaOapg.Properties.ArrayWithUniqueItems, list, tuple, schemas.Unset] = schemas.unset, - string: typing.Union[MetaOapg.Properties.String, str, schemas.Unset] = schemas.unset, - binary: typing.Union[MetaOapg.Properties.Binary, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - dateTime: typing.Union[MetaOapg.Properties.DateTime, str, datetime.datetime, schemas.Unset] = schemas.unset, - uuid: typing.Union[MetaOapg.Properties.Uuid, str, uuid.UUID, schemas.Unset] = schemas.unset, - uuidNoExample: typing.Union[MetaOapg.Properties.UuidNoExample, str, uuid.UUID, schemas.Unset] = schemas.unset, - pattern_with_digits: typing.Union[MetaOapg.Properties.PatternWithDigits, str, schemas.Unset] = schemas.unset, - pattern_with_digits_and_delimiter: typing.Union[MetaOapg.Properties.PatternWithDigitsAndDelimiter, str, schemas.Unset] = schemas.unset, - noneProp: typing.Union[MetaOapg.Properties.NoneProp, None, schemas.Unset] = schemas.unset, + byte: typing.Union[Schema_.Properties.Byte, str, ], + date: typing.Union[Schema_.Properties.Date, str, datetime.date, ], + number: typing.Union[Schema_.Properties.Number, decimal.Decimal, int, float, ], + password: typing.Union[Schema_.Properties.Password, str, ], + integer: typing.Union[Schema_.Properties.Integer, decimal.Decimal, int, schemas.Unset] = schemas.unset, + int32: typing.Union[Schema_.Properties.Int32, decimal.Decimal, int, schemas.Unset] = schemas.unset, + int32withValidations: typing.Union[Schema_.Properties.Int32withValidations, decimal.Decimal, int, schemas.Unset] = schemas.unset, + int64: typing.Union[Schema_.Properties.Int64, decimal.Decimal, int, schemas.Unset] = schemas.unset, + float32: typing.Union[Schema_.Properties.Float32, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, + double: typing.Union[Schema_.Properties.Double, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, + float64: typing.Union[Schema_.Properties.Float64, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, + arrayWithUniqueItems: typing.Union[Schema_.Properties.ArrayWithUniqueItems, list, tuple, schemas.Unset] = schemas.unset, + string: typing.Union[Schema_.Properties.String, str, schemas.Unset] = schemas.unset, + binary: typing.Union[Schema_.Properties.Binary, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + dateTime: typing.Union[Schema_.Properties.DateTime, str, datetime.datetime, schemas.Unset] = schemas.unset, + uuid: typing.Union[Schema_.Properties.Uuid, str, uuid.UUID, schemas.Unset] = schemas.unset, + uuidNoExample: typing.Union[Schema_.Properties.UuidNoExample, str, uuid.UUID, schemas.Unset] = schemas.unset, + pattern_with_digits: typing.Union[Schema_.Properties.PatternWithDigits, str, schemas.Unset] = schemas.unset, + pattern_with_digits_and_delimiter: typing.Union[Schema_.Properties.PatternWithDigitsAndDelimiter, str, schemas.Unset] = schemas.unset, + noneProp: typing.Union[Schema_.Properties.NoneProp, None, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'FormatTest': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/from_schema.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/from_schema.py index 76e5606ebee..146adcbb42f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/from_schema.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/from_schema.py @@ -33,7 +33,7 @@ class FromSchema( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} class Properties: @@ -45,10 +45,10 @@ class Properties: } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> MetaOapg.Properties.Data: ... + def __getitem__(self, name: typing_extensions.Literal["data"]) -> Schema_.Properties.Data: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.Properties.Id: ... + def __getitem__(self, name: typing_extensions.Literal["id"]) -> Schema_.Properties.Id: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -65,10 +65,10 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["data"]) -> typing.Union[MetaOapg.Properties.Data, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["data"]) -> typing.Union[Schema_.Properties.Data, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["id"]) -> typing.Union[MetaOapg.Properties.Id, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["id"]) -> typing.Union[Schema_.Properties.Id, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -86,8 +86,8 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - data: typing.Union[MetaOapg.Properties.Data, str, schemas.Unset] = schemas.unset, - id: typing.Union[MetaOapg.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, + data: typing.Union[Schema_.Properties.Data, str, schemas.Unset] = schemas.unset, + id: typing.Union[Schema_.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'FromSchema': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/from_schema.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/from_schema.pyi index 9ffdabde3f5..aeb7b95772b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/from_schema.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/from_schema.pyi @@ -33,7 +33,7 @@ class FromSchema( """ - class MetaOapg: + class Schema_: class Properties: Data = schemas.StrSchema @@ -44,10 +44,10 @@ class FromSchema( } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> MetaOapg.Properties.Data: ... + def __getitem__(self, name: typing_extensions.Literal["data"]) -> Schema_.Properties.Data: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.Properties.Id: ... + def __getitem__(self, name: typing_extensions.Literal["id"]) -> Schema_.Properties.Id: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -64,10 +64,10 @@ class FromSchema( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["data"]) -> typing.Union[MetaOapg.Properties.Data, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["data"]) -> typing.Union[Schema_.Properties.Data, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["id"]) -> typing.Union[MetaOapg.Properties.Id, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["id"]) -> typing.Union[Schema_.Properties.Id, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -85,8 +85,8 @@ class FromSchema( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - data: typing.Union[MetaOapg.Properties.Data, str, schemas.Unset] = schemas.unset, - id: typing.Union[MetaOapg.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, + data: typing.Union[Schema_.Properties.Data, str, schemas.Unset] = schemas.unset, + id: typing.Union[Schema_.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'FromSchema': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit.py index 48e7fd99631..50cae3168aa 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit.py @@ -33,7 +33,7 @@ class Fruit( """ - class MetaOapg: + class Schema_: # any type class Properties: @@ -58,7 +58,7 @@ def one_of1() -> typing.Type['banana.Banana']: @typing.overload - def __getitem__(self, name: typing_extensions.Literal["color"]) -> MetaOapg.Properties.Color: ... + def __getitem__(self, name: typing_extensions.Literal["color"]) -> Schema_.Properties.Color: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -74,7 +74,7 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["color"]) -> typing.Union[MetaOapg.Properties.Color, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["color"]) -> typing.Union[Schema_.Properties.Color, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -91,7 +91,7 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - color: typing.Union[MetaOapg.Properties.Color, str, schemas.Unset] = schemas.unset, + color: typing.Union[Schema_.Properties.Color, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Fruit': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit.pyi index 48e7fd99631..50cae3168aa 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit.pyi @@ -33,7 +33,7 @@ class Fruit( """ - class MetaOapg: + class Schema_: # any type class Properties: @@ -58,7 +58,7 @@ class Fruit( @typing.overload - def __getitem__(self, name: typing_extensions.Literal["color"]) -> MetaOapg.Properties.Color: ... + def __getitem__(self, name: typing_extensions.Literal["color"]) -> Schema_.Properties.Color: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -74,7 +74,7 @@ class Fruit( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["color"]) -> typing.Union[MetaOapg.Properties.Color, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["color"]) -> typing.Union[Schema_.Properties.Color, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -91,7 +91,7 @@ class Fruit( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - color: typing.Union[MetaOapg.Properties.Color, str, schemas.Unset] = schemas.unset, + color: typing.Union[Schema_.Properties.Color, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Fruit': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit_req.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit_req.py index 59f6564223e..d10ed9f0923 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit_req.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit_req.py @@ -33,7 +33,7 @@ class FruitReq( """ - class MetaOapg: + class Schema_: # any type class OneOf: diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit_req.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit_req.pyi index 59f6564223e..d10ed9f0923 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit_req.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit_req.pyi @@ -33,7 +33,7 @@ class FruitReq( """ - class MetaOapg: + class Schema_: # any type class OneOf: diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/gm_fruit.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/gm_fruit.py index 307f2bdf23e..5ad1abac4c7 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/gm_fruit.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/gm_fruit.py @@ -33,7 +33,7 @@ class GmFruit( """ - class MetaOapg: + class Schema_: # any type class Properties: @@ -58,7 +58,7 @@ def any_of1() -> typing.Type['banana.Banana']: @typing.overload - def __getitem__(self, name: typing_extensions.Literal["color"]) -> MetaOapg.Properties.Color: ... + def __getitem__(self, name: typing_extensions.Literal["color"]) -> Schema_.Properties.Color: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -74,7 +74,7 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["color"]) -> typing.Union[MetaOapg.Properties.Color, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["color"]) -> typing.Union[Schema_.Properties.Color, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -91,7 +91,7 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - color: typing.Union[MetaOapg.Properties.Color, str, schemas.Unset] = schemas.unset, + color: typing.Union[Schema_.Properties.Color, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'GmFruit': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/gm_fruit.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/gm_fruit.pyi index 307f2bdf23e..5ad1abac4c7 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/gm_fruit.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/gm_fruit.pyi @@ -33,7 +33,7 @@ class GmFruit( """ - class MetaOapg: + class Schema_: # any type class Properties: @@ -58,7 +58,7 @@ class GmFruit( @typing.overload - def __getitem__(self, name: typing_extensions.Literal["color"]) -> MetaOapg.Properties.Color: ... + def __getitem__(self, name: typing_extensions.Literal["color"]) -> Schema_.Properties.Color: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -74,7 +74,7 @@ class GmFruit( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["color"]) -> typing.Union[MetaOapg.Properties.Color, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["color"]) -> typing.Union[Schema_.Properties.Color, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -91,7 +91,7 @@ class GmFruit( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - color: typing.Union[MetaOapg.Properties.Color, str, schemas.Unset] = schemas.unset, + color: typing.Union[Schema_.Properties.Color, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'GmFruit': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/grandparent_animal.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/grandparent_animal.py index 620613fd15b..2bd20d41acf 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/grandparent_animal.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/grandparent_animal.py @@ -33,7 +33,7 @@ class GrandparentAnimal( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} required = { "pet_type", @@ -54,10 +54,10 @@ class Properties: "pet_type": PetType, } - pet_type: MetaOapg.Properties.PetType + pet_type: Schema_.Properties.PetType @typing.overload - def __getitem__(self, name: typing_extensions.Literal["pet_type"]) -> MetaOapg.Properties.PetType: ... + def __getitem__(self, name: typing_extensions.Literal["pet_type"]) -> Schema_.Properties.PetType: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -73,7 +73,7 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["pet_type"]) -> MetaOapg.Properties.PetType: ... + def get_item_(self, name: typing_extensions.Literal["pet_type"]) -> Schema_.Properties.PetType: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -90,7 +90,7 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - pet_type: typing.Union[MetaOapg.Properties.PetType, str, ], + pet_type: typing.Union[Schema_.Properties.PetType, str, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'GrandparentAnimal': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/grandparent_animal.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/grandparent_animal.pyi index b54269d39dc..41817d90ceb 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/grandparent_animal.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/grandparent_animal.pyi @@ -33,7 +33,7 @@ class GrandparentAnimal( """ - class MetaOapg: + class Schema_: required = { "pet_type", } @@ -53,10 +53,10 @@ class GrandparentAnimal( "pet_type": PetType, } - pet_type: MetaOapg.Properties.PetType + pet_type: Schema_.Properties.PetType @typing.overload - def __getitem__(self, name: typing_extensions.Literal["pet_type"]) -> MetaOapg.Properties.PetType: ... + def __getitem__(self, name: typing_extensions.Literal["pet_type"]) -> Schema_.Properties.PetType: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -72,7 +72,7 @@ class GrandparentAnimal( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["pet_type"]) -> MetaOapg.Properties.PetType: ... + def get_item_(self, name: typing_extensions.Literal["pet_type"]) -> Schema_.Properties.PetType: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -89,7 +89,7 @@ class GrandparentAnimal( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - pet_type: typing.Union[MetaOapg.Properties.PetType, str, ], + pet_type: typing.Union[Schema_.Properties.PetType, str, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'GrandparentAnimal': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/has_only_read_only.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/has_only_read_only.py index 47e06fac72d..c98f66e88f5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/has_only_read_only.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/has_only_read_only.py @@ -33,7 +33,7 @@ class HasOnlyReadOnly( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} class Properties: @@ -45,10 +45,10 @@ class Properties: } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... + def __getitem__(self, name: typing_extensions.Literal["bar"]) -> Schema_.Properties.Bar: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... + def __getitem__(self, name: typing_extensions.Literal["foo"]) -> Schema_.Properties.Foo: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -65,10 +65,10 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["bar"]) -> typing.Union[MetaOapg.Properties.Bar, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["bar"]) -> typing.Union[Schema_.Properties.Bar, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[Schema_.Properties.Foo, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -86,8 +86,8 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - bar: typing.Union[MetaOapg.Properties.Bar, str, schemas.Unset] = schemas.unset, - foo: typing.Union[MetaOapg.Properties.Foo, str, schemas.Unset] = schemas.unset, + bar: typing.Union[Schema_.Properties.Bar, str, schemas.Unset] = schemas.unset, + foo: typing.Union[Schema_.Properties.Foo, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'HasOnlyReadOnly': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/has_only_read_only.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/has_only_read_only.pyi index c8f52c8afa2..99ec0499095 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/has_only_read_only.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/has_only_read_only.pyi @@ -33,7 +33,7 @@ class HasOnlyReadOnly( """ - class MetaOapg: + class Schema_: class Properties: Bar = schemas.StrSchema @@ -44,10 +44,10 @@ class HasOnlyReadOnly( } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... + def __getitem__(self, name: typing_extensions.Literal["bar"]) -> Schema_.Properties.Bar: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["foo"]) -> MetaOapg.Properties.Foo: ... + def __getitem__(self, name: typing_extensions.Literal["foo"]) -> Schema_.Properties.Foo: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -64,10 +64,10 @@ class HasOnlyReadOnly( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["bar"]) -> typing.Union[MetaOapg.Properties.Bar, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["bar"]) -> typing.Union[Schema_.Properties.Bar, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[MetaOapg.Properties.Foo, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["foo"]) -> typing.Union[Schema_.Properties.Foo, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -85,8 +85,8 @@ class HasOnlyReadOnly( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - bar: typing.Union[MetaOapg.Properties.Bar, str, schemas.Unset] = schemas.unset, - foo: typing.Union[MetaOapg.Properties.Foo, str, schemas.Unset] = schemas.unset, + bar: typing.Union[Schema_.Properties.Bar, str, schemas.Unset] = schemas.unset, + foo: typing.Union[Schema_.Properties.Foo, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'HasOnlyReadOnly': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/health_check_result.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/health_check_result.py index 151b5c9eceb..d34d060149c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/health_check_result.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/health_check_result.py @@ -35,7 +35,7 @@ class HealthCheckResult( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} class Properties: @@ -49,7 +49,7 @@ class NullableMessage( ): - class MetaOapg: + class Schema_: types = { schemas.NoneClass, str, @@ -71,7 +71,7 @@ def __new__( } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["NullableMessage"]) -> MetaOapg.Properties.NullableMessage: ... + def __getitem__(self, name: typing_extensions.Literal["NullableMessage"]) -> Schema_.Properties.NullableMessage: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -87,7 +87,7 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["NullableMessage"]) -> typing.Union[MetaOapg.Properties.NullableMessage, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["NullableMessage"]) -> typing.Union[Schema_.Properties.NullableMessage, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -104,7 +104,7 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - NullableMessage: typing.Union[MetaOapg.Properties.NullableMessage, None, str, schemas.Unset] = schemas.unset, + NullableMessage: typing.Union[Schema_.Properties.NullableMessage, None, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'HealthCheckResult': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/health_check_result.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/health_check_result.pyi index 63c61550ae6..7f8fa9bf6d8 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/health_check_result.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/health_check_result.pyi @@ -35,7 +35,7 @@ class HealthCheckResult( """ - class MetaOapg: + class Schema_: class Properties: @@ -48,7 +48,7 @@ class HealthCheckResult( ): - class MetaOapg: + class Schema_: types = { schemas.NoneClass, str, @@ -70,7 +70,7 @@ class HealthCheckResult( } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["NullableMessage"]) -> MetaOapg.Properties.NullableMessage: ... + def __getitem__(self, name: typing_extensions.Literal["NullableMessage"]) -> Schema_.Properties.NullableMessage: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -86,7 +86,7 @@ class HealthCheckResult( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["NullableMessage"]) -> typing.Union[MetaOapg.Properties.NullableMessage, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["NullableMessage"]) -> typing.Union[Schema_.Properties.NullableMessage, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -103,7 +103,7 @@ class HealthCheckResult( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - NullableMessage: typing.Union[MetaOapg.Properties.NullableMessage, None, str, schemas.Unset] = schemas.unset, + NullableMessage: typing.Union[Schema_.Properties.NullableMessage, None, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'HealthCheckResult': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/integer_enum.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/integer_enum.py index c16ac136b6c..6e0ff3b8ca6 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/integer_enum.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/integer_enum.py @@ -33,7 +33,7 @@ class IntegerEnum( """ - class MetaOapg: + class Schema_: types = { decimal.Decimal, } diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/integer_enum_big.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/integer_enum_big.py index 19fbd172b05..9e5c9df7395 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/integer_enum_big.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/integer_enum_big.py @@ -33,7 +33,7 @@ class IntegerEnumBig( """ - class MetaOapg: + class Schema_: types = { decimal.Decimal, } diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/integer_enum_one_value.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/integer_enum_one_value.py index d28f7f0fe02..9199b6cc796 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/integer_enum_one_value.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/integer_enum_one_value.py @@ -33,7 +33,7 @@ class IntegerEnumOneValue( """ - class MetaOapg: + class Schema_: types = { decimal.Decimal, } diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/integer_enum_with_default_value.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/integer_enum_with_default_value.py index e0e51df9600..58ee4033d63 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/integer_enum_with_default_value.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/integer_enum_with_default_value.py @@ -33,7 +33,7 @@ class IntegerEnumWithDefaultValue( """ - class MetaOapg: + class Schema_: types = { decimal.Decimal, } diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/integer_max10.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/integer_max10.py index d48a571dfd8..ec446098276 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/integer_max10.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/integer_max10.py @@ -33,7 +33,7 @@ class IntegerMax10( """ - class MetaOapg: + class Schema_: types = { decimal.Decimal, } diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/integer_min15.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/integer_min15.py index 2be4d93900b..0b0842e8b9e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/integer_min15.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/integer_min15.py @@ -33,7 +33,7 @@ class IntegerMin15( """ - class MetaOapg: + class Schema_: types = { decimal.Decimal, } diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/isosceles_triangle.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/isosceles_triangle.py index 87b51cc22fc..d78b50f6ace 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/isosceles_triangle.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/isosceles_triangle.py @@ -33,7 +33,7 @@ class IsoscelesTriangle( """ - class MetaOapg: + class Schema_: # any type class AllOf: @@ -48,7 +48,7 @@ class AllOf1( ): - class MetaOapg: + class Schema_: types = {frozendict.frozendict} class Properties: @@ -59,7 +59,7 @@ class TriangleType( ): - class MetaOapg: + class Schema_: types = { str, } @@ -75,7 +75,7 @@ def ISOSCELES_TRIANGLE(cls): } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["triangleType"]) -> MetaOapg.Properties.TriangleType: ... + def __getitem__(self, name: typing_extensions.Literal["triangleType"]) -> Schema_.Properties.TriangleType: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -91,7 +91,7 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["triangleType"]) -> typing.Union[MetaOapg.Properties.TriangleType, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["triangleType"]) -> typing.Union[Schema_.Properties.TriangleType, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -108,7 +108,7 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - triangleType: typing.Union[MetaOapg.Properties.TriangleType, str, schemas.Unset] = schemas.unset, + triangleType: typing.Union[Schema_.Properties.TriangleType, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/isosceles_triangle.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/isosceles_triangle.pyi index 728c090c7f4..d9020cfd5b7 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/isosceles_triangle.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/isosceles_triangle.pyi @@ -33,7 +33,7 @@ class IsoscelesTriangle( """ - class MetaOapg: + class Schema_: # any type class AllOf: @@ -48,7 +48,7 @@ class IsoscelesTriangle( ): - class MetaOapg: + class Schema_: class Properties: @@ -65,7 +65,7 @@ class IsoscelesTriangle( } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["triangleType"]) -> MetaOapg.Properties.TriangleType: ... + def __getitem__(self, name: typing_extensions.Literal["triangleType"]) -> Schema_.Properties.TriangleType: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -81,7 +81,7 @@ class IsoscelesTriangle( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["triangleType"]) -> typing.Union[MetaOapg.Properties.TriangleType, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["triangleType"]) -> typing.Union[Schema_.Properties.TriangleType, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -98,7 +98,7 @@ class IsoscelesTriangle( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - triangleType: typing.Union[MetaOapg.Properties.TriangleType, str, schemas.Unset] = schemas.unset, + triangleType: typing.Union[Schema_.Properties.TriangleType, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request.py index f077592790f..03fd042041d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request.py @@ -33,7 +33,7 @@ class JSONPatchRequest( """ - class MetaOapg: + class Schema_: types = {tuple} @@ -42,7 +42,7 @@ class Items( ): - class MetaOapg: + class Schema_: # any type class OneOf: @@ -80,7 +80,7 @@ def __new__( def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[MetaOapg.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'JSONPatchRequest': return super().__new__( @@ -89,7 +89,7 @@ def __new__( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) from petstore_api.components.schema import json_patch_request_add_replace_test diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request.pyi index f077592790f..03fd042041d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request.pyi @@ -33,7 +33,7 @@ class JSONPatchRequest( """ - class MetaOapg: + class Schema_: types = {tuple} @@ -42,7 +42,7 @@ class JSONPatchRequest( ): - class MetaOapg: + class Schema_: # any type class OneOf: @@ -80,7 +80,7 @@ class JSONPatchRequest( def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[MetaOapg.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'JSONPatchRequest': return super().__new__( @@ -89,7 +89,7 @@ class JSONPatchRequest( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) from petstore_api.components.schema import json_patch_request_add_replace_test diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_add_replace_test.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_add_replace_test.py index 8bfc228dc23..104ca709a8a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_add_replace_test.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_add_replace_test.py @@ -33,7 +33,7 @@ class JSONPatchRequestAddReplaceTest( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} required = { "op", @@ -51,7 +51,7 @@ class Op( ): - class MetaOapg: + class Schema_: types = { str, } @@ -79,18 +79,18 @@ def TEST(cls): } AdditionalProperties = schemas.NotAnyTypeSchema - op: MetaOapg.Properties.Op - path: MetaOapg.Properties.Path - value: MetaOapg.Properties.Value + op: Schema_.Properties.Op + path: Schema_.Properties.Path + value: Schema_.Properties.Value @typing.overload - def __getitem__(self, name: typing_extensions.Literal["op"]) -> MetaOapg.Properties.Op: ... + def __getitem__(self, name: typing_extensions.Literal["op"]) -> Schema_.Properties.Op: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["path"]) -> MetaOapg.Properties.Path: ... + def __getitem__(self, name: typing_extensions.Literal["path"]) -> Schema_.Properties.Path: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["value"]) -> MetaOapg.Properties.Value: ... + def __getitem__(self, name: typing_extensions.Literal["value"]) -> Schema_.Properties.Value: ... def __getitem__( self, @@ -104,13 +104,13 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["op"]) -> MetaOapg.Properties.Op: ... + def get_item_(self, name: typing_extensions.Literal["op"]) -> Schema_.Properties.Op: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["path"]) -> MetaOapg.Properties.Path: ... + def get_item_(self, name: typing_extensions.Literal["path"]) -> Schema_.Properties.Path: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["value"]) -> MetaOapg.Properties.Value: ... + def get_item_(self, name: typing_extensions.Literal["value"]) -> Schema_.Properties.Value: ... def get_item_( self, @@ -125,9 +125,9 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - op: typing.Union[MetaOapg.Properties.Op, str, ], - path: typing.Union[MetaOapg.Properties.Path, str, ], - value: typing.Union[MetaOapg.Properties.Value, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + op: typing.Union[Schema_.Properties.Op, str, ], + path: typing.Union[Schema_.Properties.Path, str, ], + value: typing.Union[Schema_.Properties.Value, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'JSONPatchRequestAddReplaceTest': return super().__new__( diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_add_replace_test.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_add_replace_test.pyi index e45031be93f..67deb3e9b76 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_add_replace_test.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_add_replace_test.pyi @@ -33,7 +33,7 @@ class JSONPatchRequestAddReplaceTest( """ - class MetaOapg: + class Schema_: required = { "op", "path", @@ -67,18 +67,18 @@ class JSONPatchRequestAddReplaceTest( } AdditionalProperties = schemas.NotAnyTypeSchema - op: MetaOapg.Properties.Op - path: MetaOapg.Properties.Path - value: MetaOapg.Properties.Value + op: Schema_.Properties.Op + path: Schema_.Properties.Path + value: Schema_.Properties.Value @typing.overload - def __getitem__(self, name: typing_extensions.Literal["op"]) -> MetaOapg.Properties.Op: ... + def __getitem__(self, name: typing_extensions.Literal["op"]) -> Schema_.Properties.Op: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["path"]) -> MetaOapg.Properties.Path: ... + def __getitem__(self, name: typing_extensions.Literal["path"]) -> Schema_.Properties.Path: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["value"]) -> MetaOapg.Properties.Value: ... + def __getitem__(self, name: typing_extensions.Literal["value"]) -> Schema_.Properties.Value: ... def __getitem__( self, @@ -92,13 +92,13 @@ class JSONPatchRequestAddReplaceTest( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["op"]) -> MetaOapg.Properties.Op: ... + def get_item_(self, name: typing_extensions.Literal["op"]) -> Schema_.Properties.Op: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["path"]) -> MetaOapg.Properties.Path: ... + def get_item_(self, name: typing_extensions.Literal["path"]) -> Schema_.Properties.Path: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["value"]) -> MetaOapg.Properties.Value: ... + def get_item_(self, name: typing_extensions.Literal["value"]) -> Schema_.Properties.Value: ... def get_item_( self, @@ -113,9 +113,9 @@ class JSONPatchRequestAddReplaceTest( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - op: typing.Union[MetaOapg.Properties.Op, str, ], - path: typing.Union[MetaOapg.Properties.Path, str, ], - value: typing.Union[MetaOapg.Properties.Value, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + op: typing.Union[Schema_.Properties.Op, str, ], + path: typing.Union[Schema_.Properties.Path, str, ], + value: typing.Union[Schema_.Properties.Value, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'JSONPatchRequestAddReplaceTest': return super().__new__( diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_move_copy.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_move_copy.py index dff96412226..44955843751 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_move_copy.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_move_copy.py @@ -33,7 +33,7 @@ class JSONPatchRequestMoveCopy( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} required = { "from", @@ -51,7 +51,7 @@ class Op( ): - class MetaOapg: + class Schema_: types = { str, } @@ -74,17 +74,17 @@ def COPY(cls): } AdditionalProperties = schemas.NotAnyTypeSchema - op: MetaOapg.Properties.Op - path: MetaOapg.Properties.Path + op: Schema_.Properties.Op + path: Schema_.Properties.Path @typing.overload - def __getitem__(self, name: typing_extensions.Literal["from"]) -> MetaOapg.Properties._From: ... + def __getitem__(self, name: typing_extensions.Literal["from"]) -> Schema_.Properties._From: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["op"]) -> MetaOapg.Properties.Op: ... + def __getitem__(self, name: typing_extensions.Literal["op"]) -> Schema_.Properties.Op: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["path"]) -> MetaOapg.Properties.Path: ... + def __getitem__(self, name: typing_extensions.Literal["path"]) -> Schema_.Properties.Path: ... def __getitem__( self, @@ -98,13 +98,13 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["from"]) -> MetaOapg.Properties._From: ... + def get_item_(self, name: typing_extensions.Literal["from"]) -> Schema_.Properties._From: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["op"]) -> MetaOapg.Properties.Op: ... + def get_item_(self, name: typing_extensions.Literal["op"]) -> Schema_.Properties.Op: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["path"]) -> MetaOapg.Properties.Path: ... + def get_item_(self, name: typing_extensions.Literal["path"]) -> Schema_.Properties.Path: ... def get_item_( self, @@ -119,8 +119,8 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - op: typing.Union[MetaOapg.Properties.Op, str, ], - path: typing.Union[MetaOapg.Properties.Path, str, ], + op: typing.Union[Schema_.Properties.Op, str, ], + path: typing.Union[Schema_.Properties.Path, str, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'JSONPatchRequestMoveCopy': return super().__new__( diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_move_copy.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_move_copy.pyi index 9da31559943..49a7bf18e70 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_move_copy.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_move_copy.pyi @@ -33,7 +33,7 @@ class JSONPatchRequestMoveCopy( """ - class MetaOapg: + class Schema_: required = { "from", "op", @@ -63,17 +63,17 @@ class JSONPatchRequestMoveCopy( } AdditionalProperties = schemas.NotAnyTypeSchema - op: MetaOapg.Properties.Op - path: MetaOapg.Properties.Path + op: Schema_.Properties.Op + path: Schema_.Properties.Path @typing.overload - def __getitem__(self, name: typing_extensions.Literal["from"]) -> MetaOapg.Properties._From: ... + def __getitem__(self, name: typing_extensions.Literal["from"]) -> Schema_.Properties._From: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["op"]) -> MetaOapg.Properties.Op: ... + def __getitem__(self, name: typing_extensions.Literal["op"]) -> Schema_.Properties.Op: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["path"]) -> MetaOapg.Properties.Path: ... + def __getitem__(self, name: typing_extensions.Literal["path"]) -> Schema_.Properties.Path: ... def __getitem__( self, @@ -87,13 +87,13 @@ class JSONPatchRequestMoveCopy( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["from"]) -> MetaOapg.Properties._From: ... + def get_item_(self, name: typing_extensions.Literal["from"]) -> Schema_.Properties._From: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["op"]) -> MetaOapg.Properties.Op: ... + def get_item_(self, name: typing_extensions.Literal["op"]) -> Schema_.Properties.Op: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["path"]) -> MetaOapg.Properties.Path: ... + def get_item_(self, name: typing_extensions.Literal["path"]) -> Schema_.Properties.Path: ... def get_item_( self, @@ -108,8 +108,8 @@ class JSONPatchRequestMoveCopy( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - op: typing.Union[MetaOapg.Properties.Op, str, ], - path: typing.Union[MetaOapg.Properties.Path, str, ], + op: typing.Union[Schema_.Properties.Op, str, ], + path: typing.Union[Schema_.Properties.Path, str, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'JSONPatchRequestMoveCopy': return super().__new__( diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_remove.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_remove.py index ab7b34cbff8..5295da46620 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_remove.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_remove.py @@ -33,7 +33,7 @@ class JSONPatchRequestRemove( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} required = { "op", @@ -49,7 +49,7 @@ class Op( ): - class MetaOapg: + class Schema_: types = { str, } @@ -66,14 +66,14 @@ def REMOVE(cls): } AdditionalProperties = schemas.NotAnyTypeSchema - op: MetaOapg.Properties.Op - path: MetaOapg.Properties.Path + op: Schema_.Properties.Op + path: Schema_.Properties.Path @typing.overload - def __getitem__(self, name: typing_extensions.Literal["op"]) -> MetaOapg.Properties.Op: ... + def __getitem__(self, name: typing_extensions.Literal["op"]) -> Schema_.Properties.Op: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["path"]) -> MetaOapg.Properties.Path: ... + def __getitem__(self, name: typing_extensions.Literal["path"]) -> Schema_.Properties.Path: ... def __getitem__( self, @@ -86,10 +86,10 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["op"]) -> MetaOapg.Properties.Op: ... + def get_item_(self, name: typing_extensions.Literal["op"]) -> Schema_.Properties.Op: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["path"]) -> MetaOapg.Properties.Path: ... + def get_item_(self, name: typing_extensions.Literal["path"]) -> Schema_.Properties.Path: ... def get_item_( self, @@ -103,8 +103,8 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - op: typing.Union[MetaOapg.Properties.Op, str, ], - path: typing.Union[MetaOapg.Properties.Path, str, ], + op: typing.Union[Schema_.Properties.Op, str, ], + path: typing.Union[Schema_.Properties.Path, str, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'JSONPatchRequestRemove': return super().__new__( diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_remove.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_remove.pyi index f8900d44ea5..2b46cb3026a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_remove.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_remove.pyi @@ -33,7 +33,7 @@ class JSONPatchRequestRemove( """ - class MetaOapg: + class Schema_: required = { "op", "path", @@ -56,14 +56,14 @@ class JSONPatchRequestRemove( } AdditionalProperties = schemas.NotAnyTypeSchema - op: MetaOapg.Properties.Op - path: MetaOapg.Properties.Path + op: Schema_.Properties.Op + path: Schema_.Properties.Path @typing.overload - def __getitem__(self, name: typing_extensions.Literal["op"]) -> MetaOapg.Properties.Op: ... + def __getitem__(self, name: typing_extensions.Literal["op"]) -> Schema_.Properties.Op: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["path"]) -> MetaOapg.Properties.Path: ... + def __getitem__(self, name: typing_extensions.Literal["path"]) -> Schema_.Properties.Path: ... def __getitem__( self, @@ -76,10 +76,10 @@ class JSONPatchRequestRemove( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["op"]) -> MetaOapg.Properties.Op: ... + def get_item_(self, name: typing_extensions.Literal["op"]) -> Schema_.Properties.Op: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["path"]) -> MetaOapg.Properties.Path: ... + def get_item_(self, name: typing_extensions.Literal["path"]) -> Schema_.Properties.Path: ... def get_item_( self, @@ -93,8 +93,8 @@ class JSONPatchRequestRemove( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - op: typing.Union[MetaOapg.Properties.Op, str, ], - path: typing.Union[MetaOapg.Properties.Path, str, ], + op: typing.Union[Schema_.Properties.Op, str, ], + path: typing.Union[Schema_.Properties.Path, str, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'JSONPatchRequestRemove': return super().__new__( diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/mammal.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/mammal.py index 51da6f7e3cb..413456d409f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/mammal.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/mammal.py @@ -33,7 +33,7 @@ class Mammal( """ - class MetaOapg: + class Schema_: # any type @staticmethod diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/mammal.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/mammal.pyi index 51da6f7e3cb..413456d409f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/mammal.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/mammal.pyi @@ -33,7 +33,7 @@ class Mammal( """ - class MetaOapg: + class Schema_: # any type @staticmethod diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/map_test.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/map_test.py index ea92c262605..e489afe01be 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/map_test.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/map_test.py @@ -33,7 +33,7 @@ class MapTest( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} class Properties: @@ -44,7 +44,7 @@ class MapMapOfString( ): - class MetaOapg: + class Schema_: types = {frozendict.frozendict} @@ -53,22 +53,22 @@ class AdditionalProperties( ): - class MetaOapg: + class Schema_: types = {frozendict.frozendict} AdditionalProperties = schemas.StrSchema - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + def get_item_(self, name: str) -> Schema_.AdditionalProperties: return super().get_item_(name) def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, str, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], ) -> 'AdditionalProperties': return super().__new__( cls, @@ -77,18 +77,18 @@ def __new__( **kwargs, ) - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + def get_item_(self, name: str) -> Schema_.AdditionalProperties: return super().get_item_(name) def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, dict, frozendict.frozendict, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, ], ) -> 'MapMapOfString': return super().__new__( cls, @@ -103,7 +103,7 @@ class MapOfEnumString( ): - class MetaOapg: + class Schema_: types = {frozendict.frozendict} @@ -112,7 +112,7 @@ class AdditionalProperties( ): - class MetaOapg: + class Schema_: types = { str, } @@ -129,18 +129,18 @@ def UPPER(cls): def LOWER(cls): return cls("lower") - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + def get_item_(self, name: str) -> Schema_.AdditionalProperties: return super().get_item_(name) def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, str, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], ) -> 'MapOfEnumString': return super().__new__( cls, @@ -155,22 +155,22 @@ class DirectMap( ): - class MetaOapg: + class Schema_: types = {frozendict.frozendict} AdditionalProperties = schemas.BoolSchema - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + def get_item_(self, name: str) -> Schema_.AdditionalProperties: return super().get_item_(name) def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, bool, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, bool, ], ) -> 'DirectMap': return super().__new__( cls, @@ -190,13 +190,13 @@ def indirect_map() -> typing.Type['string_boolean_map.StringBooleanMap']: } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["map_map_of_string"]) -> MetaOapg.Properties.MapMapOfString: ... + def __getitem__(self, name: typing_extensions.Literal["map_map_of_string"]) -> Schema_.Properties.MapMapOfString: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["map_of_enum_string"]) -> MetaOapg.Properties.MapOfEnumString: ... + def __getitem__(self, name: typing_extensions.Literal["map_of_enum_string"]) -> Schema_.Properties.MapOfEnumString: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["direct_map"]) -> MetaOapg.Properties.DirectMap: ... + def __getitem__(self, name: typing_extensions.Literal["direct_map"]) -> Schema_.Properties.DirectMap: ... @typing.overload def __getitem__(self, name: typing_extensions.Literal["indirect_map"]) -> 'string_boolean_map.StringBooleanMap': ... @@ -218,13 +218,13 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["map_map_of_string"]) -> typing.Union[MetaOapg.Properties.MapMapOfString, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["map_map_of_string"]) -> typing.Union[Schema_.Properties.MapMapOfString, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["map_of_enum_string"]) -> typing.Union[MetaOapg.Properties.MapOfEnumString, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["map_of_enum_string"]) -> typing.Union[Schema_.Properties.MapOfEnumString, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["direct_map"]) -> typing.Union[MetaOapg.Properties.DirectMap, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["direct_map"]) -> typing.Union[Schema_.Properties.DirectMap, schemas.Unset]: ... @typing.overload def get_item_(self, name: typing_extensions.Literal["indirect_map"]) -> typing.Union['string_boolean_map.StringBooleanMap', schemas.Unset]: ... @@ -247,9 +247,9 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - map_map_of_string: typing.Union[MetaOapg.Properties.MapMapOfString, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - map_of_enum_string: typing.Union[MetaOapg.Properties.MapOfEnumString, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - direct_map: typing.Union[MetaOapg.Properties.DirectMap, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + map_map_of_string: typing.Union[Schema_.Properties.MapMapOfString, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + map_of_enum_string: typing.Union[Schema_.Properties.MapOfEnumString, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + direct_map: typing.Union[Schema_.Properties.DirectMap, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, indirect_map: typing.Union['string_boolean_map.StringBooleanMap', schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/map_test.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/map_test.pyi index 6a2df6be388..e4e53a6ce1f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/map_test.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/map_test.pyi @@ -33,7 +33,7 @@ class MapTest( """ - class MetaOapg: + class Schema_: class Properties: @@ -43,7 +43,7 @@ class MapTest( ): - class MetaOapg: + class Schema_: class AdditionalProperties( @@ -51,21 +51,21 @@ class MapTest( ): - class MetaOapg: + class Schema_: AdditionalProperties = schemas.StrSchema - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + def get_item_(self, name: str) -> Schema_.AdditionalProperties: return super().get_item_(name) def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, str, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], ) -> 'AdditionalProperties': return super().__new__( cls, @@ -74,18 +74,18 @@ class MapTest( **kwargs, ) - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + def get_item_(self, name: str) -> Schema_.AdditionalProperties: return super().get_item_(name) def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, dict, frozendict.frozendict, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, ], ) -> 'MapMapOfString': return super().__new__( cls, @@ -100,7 +100,7 @@ class MapTest( ): - class MetaOapg: + class Schema_: class AdditionalProperties( @@ -115,18 +115,18 @@ class MapTest( def LOWER(cls): return cls("lower") - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + def get_item_(self, name: str) -> Schema_.AdditionalProperties: return super().get_item_(name) def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, str, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], ) -> 'MapOfEnumString': return super().__new__( cls, @@ -141,21 +141,21 @@ class MapTest( ): - class MetaOapg: + class Schema_: AdditionalProperties = schemas.BoolSchema - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + def get_item_(self, name: str) -> Schema_.AdditionalProperties: return super().get_item_(name) def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, bool, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, bool, ], ) -> 'DirectMap': return super().__new__( cls, @@ -175,13 +175,13 @@ class MapTest( } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["map_map_of_string"]) -> MetaOapg.Properties.MapMapOfString: ... + def __getitem__(self, name: typing_extensions.Literal["map_map_of_string"]) -> Schema_.Properties.MapMapOfString: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["map_of_enum_string"]) -> MetaOapg.Properties.MapOfEnumString: ... + def __getitem__(self, name: typing_extensions.Literal["map_of_enum_string"]) -> Schema_.Properties.MapOfEnumString: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["direct_map"]) -> MetaOapg.Properties.DirectMap: ... + def __getitem__(self, name: typing_extensions.Literal["direct_map"]) -> Schema_.Properties.DirectMap: ... @typing.overload def __getitem__(self, name: typing_extensions.Literal["indirect_map"]) -> 'string_boolean_map.StringBooleanMap': ... @@ -203,13 +203,13 @@ class MapTest( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["map_map_of_string"]) -> typing.Union[MetaOapg.Properties.MapMapOfString, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["map_map_of_string"]) -> typing.Union[Schema_.Properties.MapMapOfString, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["map_of_enum_string"]) -> typing.Union[MetaOapg.Properties.MapOfEnumString, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["map_of_enum_string"]) -> typing.Union[Schema_.Properties.MapOfEnumString, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["direct_map"]) -> typing.Union[MetaOapg.Properties.DirectMap, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["direct_map"]) -> typing.Union[Schema_.Properties.DirectMap, schemas.Unset]: ... @typing.overload def get_item_(self, name: typing_extensions.Literal["indirect_map"]) -> typing.Union['string_boolean_map.StringBooleanMap', schemas.Unset]: ... @@ -232,9 +232,9 @@ class MapTest( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - map_map_of_string: typing.Union[MetaOapg.Properties.MapMapOfString, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - map_of_enum_string: typing.Union[MetaOapg.Properties.MapOfEnumString, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - direct_map: typing.Union[MetaOapg.Properties.DirectMap, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + map_map_of_string: typing.Union[Schema_.Properties.MapMapOfString, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + map_of_enum_string: typing.Union[Schema_.Properties.MapOfEnumString, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + direct_map: typing.Union[Schema_.Properties.DirectMap, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, indirect_map: typing.Union['string_boolean_map.StringBooleanMap', schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/mixed_properties_and_additional_properties_class.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/mixed_properties_and_additional_properties_class.py index 145e1bd8594..4eeb795c2b1 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/mixed_properties_and_additional_properties_class.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/mixed_properties_and_additional_properties_class.py @@ -33,7 +33,7 @@ class MixedPropertiesAndAdditionalPropertiesClass( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} class Properties: @@ -46,7 +46,7 @@ class Map( ): - class MetaOapg: + class Schema_: types = {frozendict.frozendict} @staticmethod @@ -79,13 +79,13 @@ def __new__( } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["uuid"]) -> MetaOapg.Properties.Uuid: ... + def __getitem__(self, name: typing_extensions.Literal["uuid"]) -> Schema_.Properties.Uuid: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["dateTime"]) -> MetaOapg.Properties.DateTime: ... + def __getitem__(self, name: typing_extensions.Literal["dateTime"]) -> Schema_.Properties.DateTime: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["map"]) -> MetaOapg.Properties.Map: ... + def __getitem__(self, name: typing_extensions.Literal["map"]) -> Schema_.Properties.Map: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -103,13 +103,13 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["uuid"]) -> typing.Union[MetaOapg.Properties.Uuid, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["uuid"]) -> typing.Union[Schema_.Properties.Uuid, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["dateTime"]) -> typing.Union[MetaOapg.Properties.DateTime, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["dateTime"]) -> typing.Union[Schema_.Properties.DateTime, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["map"]) -> typing.Union[MetaOapg.Properties.Map, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["map"]) -> typing.Union[Schema_.Properties.Map, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -128,9 +128,9 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - uuid: typing.Union[MetaOapg.Properties.Uuid, str, uuid.UUID, schemas.Unset] = schemas.unset, - dateTime: typing.Union[MetaOapg.Properties.DateTime, str, datetime.datetime, schemas.Unset] = schemas.unset, - map: typing.Union[MetaOapg.Properties.Map, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + uuid: typing.Union[Schema_.Properties.Uuid, str, uuid.UUID, schemas.Unset] = schemas.unset, + dateTime: typing.Union[Schema_.Properties.DateTime, str, datetime.datetime, schemas.Unset] = schemas.unset, + map: typing.Union[Schema_.Properties.Map, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MixedPropertiesAndAdditionalPropertiesClass': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/mixed_properties_and_additional_properties_class.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/mixed_properties_and_additional_properties_class.pyi index 18356232288..1880db13d0e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/mixed_properties_and_additional_properties_class.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/mixed_properties_and_additional_properties_class.pyi @@ -33,7 +33,7 @@ class MixedPropertiesAndAdditionalPropertiesClass( """ - class MetaOapg: + class Schema_: class Properties: Uuid = schemas.UUIDSchema @@ -45,7 +45,7 @@ class MixedPropertiesAndAdditionalPropertiesClass( ): - class MetaOapg: + class Schema_: @staticmethod def additional_properties() -> typing.Type['animal.Animal']: @@ -77,13 +77,13 @@ class MixedPropertiesAndAdditionalPropertiesClass( } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["uuid"]) -> MetaOapg.Properties.Uuid: ... + def __getitem__(self, name: typing_extensions.Literal["uuid"]) -> Schema_.Properties.Uuid: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["dateTime"]) -> MetaOapg.Properties.DateTime: ... + def __getitem__(self, name: typing_extensions.Literal["dateTime"]) -> Schema_.Properties.DateTime: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["map"]) -> MetaOapg.Properties.Map: ... + def __getitem__(self, name: typing_extensions.Literal["map"]) -> Schema_.Properties.Map: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -101,13 +101,13 @@ class MixedPropertiesAndAdditionalPropertiesClass( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["uuid"]) -> typing.Union[MetaOapg.Properties.Uuid, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["uuid"]) -> typing.Union[Schema_.Properties.Uuid, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["dateTime"]) -> typing.Union[MetaOapg.Properties.DateTime, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["dateTime"]) -> typing.Union[Schema_.Properties.DateTime, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["map"]) -> typing.Union[MetaOapg.Properties.Map, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["map"]) -> typing.Union[Schema_.Properties.Map, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -126,9 +126,9 @@ class MixedPropertiesAndAdditionalPropertiesClass( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - uuid: typing.Union[MetaOapg.Properties.Uuid, str, uuid.UUID, schemas.Unset] = schemas.unset, - dateTime: typing.Union[MetaOapg.Properties.DateTime, str, datetime.datetime, schemas.Unset] = schemas.unset, - map: typing.Union[MetaOapg.Properties.Map, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + uuid: typing.Union[Schema_.Properties.Uuid, str, uuid.UUID, schemas.Unset] = schemas.unset, + dateTime: typing.Union[Schema_.Properties.DateTime, str, datetime.datetime, schemas.Unset] = schemas.unset, + map: typing.Union[Schema_.Properties.Map, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MixedPropertiesAndAdditionalPropertiesClass': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/money.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/money.py index 01905b5a68b..b2ca71729a8 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/money.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/money.py @@ -33,7 +33,7 @@ class Money( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} required = { "amount", @@ -51,11 +51,11 @@ def currency() -> typing.Type['currency.Currency']: "currency": currency, } - amount: MetaOapg.Properties.Amount + amount: Schema_.Properties.Amount currency: 'currency.Currency' @typing.overload - def __getitem__(self, name: typing_extensions.Literal["amount"]) -> MetaOapg.Properties.Amount: ... + def __getitem__(self, name: typing_extensions.Literal["amount"]) -> Schema_.Properties.Amount: ... @typing.overload def __getitem__(self, name: typing_extensions.Literal["currency"]) -> 'currency.Currency': ... @@ -75,7 +75,7 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["amount"]) -> MetaOapg.Properties.Amount: ... + def get_item_(self, name: typing_extensions.Literal["amount"]) -> Schema_.Properties.Amount: ... @typing.overload def get_item_(self, name: typing_extensions.Literal["currency"]) -> 'currency.Currency': ... @@ -96,7 +96,7 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - amount: typing.Union[MetaOapg.Properties.Amount, str, ], + amount: typing.Union[Schema_.Properties.Amount, str, ], currency: 'currency.Currency', _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/money.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/money.pyi index 1206ee0d80d..cefad06ccf1 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/money.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/money.pyi @@ -33,7 +33,7 @@ class Money( """ - class MetaOapg: + class Schema_: required = { "amount", "currency", @@ -50,11 +50,11 @@ class Money( "currency": currency, } - amount: MetaOapg.Properties.Amount + amount: Schema_.Properties.Amount currency: 'currency.Currency' @typing.overload - def __getitem__(self, name: typing_extensions.Literal["amount"]) -> MetaOapg.Properties.Amount: ... + def __getitem__(self, name: typing_extensions.Literal["amount"]) -> Schema_.Properties.Amount: ... @typing.overload def __getitem__(self, name: typing_extensions.Literal["currency"]) -> 'currency.Currency': ... @@ -74,7 +74,7 @@ class Money( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["amount"]) -> MetaOapg.Properties.Amount: ... + def get_item_(self, name: typing_extensions.Literal["amount"]) -> Schema_.Properties.Amount: ... @typing.overload def get_item_(self, name: typing_extensions.Literal["currency"]) -> 'currency.Currency': ... @@ -95,7 +95,7 @@ class Money( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - amount: typing.Union[MetaOapg.Properties.Amount, str, ], + amount: typing.Union[Schema_.Properties.Amount, str, ], currency: 'currency.Currency', _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/name.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/name.py index 64437a5b168..50a756ea332 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/name.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/name.py @@ -35,7 +35,7 @@ class Name( """ - class MetaOapg: + class Schema_: # any type required = { "name", @@ -52,16 +52,16 @@ class Properties: } - name: MetaOapg.Properties.Name + name: Schema_.Properties.Name @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.Properties.Name: ... + def __getitem__(self, name: typing_extensions.Literal["name"]) -> Schema_.Properties.Name: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["snake_case"]) -> MetaOapg.Properties.SnakeCase: ... + def __getitem__(self, name: typing_extensions.Literal["snake_case"]) -> Schema_.Properties.SnakeCase: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["property"]) -> MetaOapg.Properties._Property: ... + def __getitem__(self, name: typing_extensions.Literal["property"]) -> Schema_.Properties._Property: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -79,13 +79,13 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["name"]) -> MetaOapg.Properties.Name: ... + def get_item_(self, name: typing_extensions.Literal["name"]) -> Schema_.Properties.Name: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["snake_case"]) -> typing.Union[MetaOapg.Properties.SnakeCase, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["snake_case"]) -> typing.Union[Schema_.Properties.SnakeCase, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["property"]) -> typing.Union[MetaOapg.Properties._Property, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["property"]) -> typing.Union[Schema_.Properties._Property, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -104,8 +104,8 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - name: typing.Union[MetaOapg.Properties.Name, decimal.Decimal, int, ], - snake_case: typing.Union[MetaOapg.Properties.SnakeCase, decimal.Decimal, int, schemas.Unset] = schemas.unset, + name: typing.Union[Schema_.Properties.Name, decimal.Decimal, int, ], + snake_case: typing.Union[Schema_.Properties.SnakeCase, decimal.Decimal, int, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Name': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/name.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/name.pyi index 64437a5b168..50a756ea332 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/name.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/name.pyi @@ -35,7 +35,7 @@ class Name( """ - class MetaOapg: + class Schema_: # any type required = { "name", @@ -52,16 +52,16 @@ class Name( } - name: MetaOapg.Properties.Name + name: Schema_.Properties.Name @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.Properties.Name: ... + def __getitem__(self, name: typing_extensions.Literal["name"]) -> Schema_.Properties.Name: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["snake_case"]) -> MetaOapg.Properties.SnakeCase: ... + def __getitem__(self, name: typing_extensions.Literal["snake_case"]) -> Schema_.Properties.SnakeCase: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["property"]) -> MetaOapg.Properties._Property: ... + def __getitem__(self, name: typing_extensions.Literal["property"]) -> Schema_.Properties._Property: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -79,13 +79,13 @@ class Name( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["name"]) -> MetaOapg.Properties.Name: ... + def get_item_(self, name: typing_extensions.Literal["name"]) -> Schema_.Properties.Name: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["snake_case"]) -> typing.Union[MetaOapg.Properties.SnakeCase, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["snake_case"]) -> typing.Union[Schema_.Properties.SnakeCase, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["property"]) -> typing.Union[MetaOapg.Properties._Property, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["property"]) -> typing.Union[Schema_.Properties._Property, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -104,8 +104,8 @@ class Name( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - name: typing.Union[MetaOapg.Properties.Name, decimal.Decimal, int, ], - snake_case: typing.Union[MetaOapg.Properties.SnakeCase, decimal.Decimal, int, schemas.Unset] = schemas.unset, + name: typing.Union[Schema_.Properties.Name, decimal.Decimal, int, ], + snake_case: typing.Union[Schema_.Properties.SnakeCase, decimal.Decimal, int, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Name': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/no_additional_properties.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/no_additional_properties.py index 08137c2eeb7..d9d3639eb1b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/no_additional_properties.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/no_additional_properties.py @@ -33,7 +33,7 @@ class NoAdditionalProperties( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} required = { "id", @@ -48,13 +48,13 @@ class Properties: } AdditionalProperties = schemas.NotAnyTypeSchema - id: MetaOapg.Properties.Id + id: Schema_.Properties.Id @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.Properties.Id: ... + def __getitem__(self, name: typing_extensions.Literal["id"]) -> Schema_.Properties.Id: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["petId"]) -> MetaOapg.Properties.PetId: ... + def __getitem__(self, name: typing_extensions.Literal["petId"]) -> Schema_.Properties.PetId: ... def __getitem__( self, @@ -67,10 +67,10 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["id"]) -> MetaOapg.Properties.Id: ... + def get_item_(self, name: typing_extensions.Literal["id"]) -> Schema_.Properties.Id: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["petId"]) -> typing.Union[MetaOapg.Properties.PetId, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["petId"]) -> typing.Union[Schema_.Properties.PetId, schemas.Unset]: ... def get_item_( self, @@ -84,8 +84,8 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.Properties.Id, decimal.Decimal, int, ], - petId: typing.Union[MetaOapg.Properties.PetId, decimal.Decimal, int, schemas.Unset] = schemas.unset, + id: typing.Union[Schema_.Properties.Id, decimal.Decimal, int, ], + petId: typing.Union[Schema_.Properties.PetId, decimal.Decimal, int, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'NoAdditionalProperties': return super().__new__( diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/no_additional_properties.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/no_additional_properties.pyi index 852de1a76d6..578b215435c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/no_additional_properties.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/no_additional_properties.pyi @@ -33,7 +33,7 @@ class NoAdditionalProperties( """ - class MetaOapg: + class Schema_: required = { "id", } @@ -47,13 +47,13 @@ class NoAdditionalProperties( } AdditionalProperties = schemas.NotAnyTypeSchema - id: MetaOapg.Properties.Id + id: Schema_.Properties.Id @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.Properties.Id: ... + def __getitem__(self, name: typing_extensions.Literal["id"]) -> Schema_.Properties.Id: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["petId"]) -> MetaOapg.Properties.PetId: ... + def __getitem__(self, name: typing_extensions.Literal["petId"]) -> Schema_.Properties.PetId: ... def __getitem__( self, @@ -66,10 +66,10 @@ class NoAdditionalProperties( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["id"]) -> MetaOapg.Properties.Id: ... + def get_item_(self, name: typing_extensions.Literal["id"]) -> Schema_.Properties.Id: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["petId"]) -> typing.Union[MetaOapg.Properties.PetId, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["petId"]) -> typing.Union[Schema_.Properties.PetId, schemas.Unset]: ... def get_item_( self, @@ -83,8 +83,8 @@ class NoAdditionalProperties( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.Properties.Id, decimal.Decimal, int, ], - petId: typing.Union[MetaOapg.Properties.PetId, decimal.Decimal, int, schemas.Unset] = schemas.unset, + id: typing.Union[Schema_.Properties.Id, decimal.Decimal, int, ], + petId: typing.Union[Schema_.Properties.PetId, decimal.Decimal, int, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'NoAdditionalProperties': return super().__new__( diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_class.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_class.py index 08f23d8f581..0e28f6eb8be 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_class.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_class.py @@ -33,7 +33,7 @@ class NullableClass( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} class Properties: @@ -47,7 +47,7 @@ class IntegerProp( ): - class MetaOapg: + class Schema_: types = { schemas.NoneClass, decimal.Decimal, @@ -75,7 +75,7 @@ class NumberProp( ): - class MetaOapg: + class Schema_: types = { schemas.NoneClass, decimal.Decimal, @@ -102,7 +102,7 @@ class BooleanProp( ): - class MetaOapg: + class Schema_: types = { schemas.NoneClass, schemas.BoolClass, @@ -129,7 +129,7 @@ class StringProp( ): - class MetaOapg: + class Schema_: types = { schemas.NoneClass, str, @@ -157,7 +157,7 @@ class DateProp( ): - class MetaOapg: + class Schema_: types = { schemas.NoneClass, str, @@ -186,7 +186,7 @@ class DatetimeProp( ): - class MetaOapg: + class Schema_: types = { schemas.NoneClass, str, @@ -214,7 +214,7 @@ class ArrayNullableProp( ): - class MetaOapg: + class Schema_: types = { schemas.NoneClass, tuple, @@ -242,7 +242,7 @@ class ArrayAndItemsNullableProp( ): - class MetaOapg: + class Schema_: types = { schemas.NoneClass, tuple, @@ -257,7 +257,7 @@ class Items( ): - class MetaOapg: + class Schema_: types = { schemas.NoneClass, frozendict.frozendict, @@ -295,7 +295,7 @@ class ArrayItemsNullable( ): - class MetaOapg: + class Schema_: types = {tuple} @@ -307,7 +307,7 @@ class Items( ): - class MetaOapg: + class Schema_: types = { schemas.NoneClass, frozendict.frozendict, @@ -329,7 +329,7 @@ def __new__( def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, dict, frozendict.frozendict, None, ]], typing.List[typing.Union[MetaOapg.Items, dict, frozendict.frozendict, None, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, None, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, None, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayItemsNullable': return super().__new__( @@ -338,7 +338,7 @@ def __new__( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) @@ -350,7 +350,7 @@ class ObjectNullableProp( ): - class MetaOapg: + class Schema_: types = { schemas.NoneClass, frozendict.frozendict, @@ -358,18 +358,18 @@ class MetaOapg: AdditionalProperties = schemas.DictSchema - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + def get_item_(self, name: str) -> Schema_.AdditionalProperties: return super().get_item_(name) def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, None, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, dict, frozendict.frozendict, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, ], ) -> 'ObjectNullableProp': return super().__new__( cls, @@ -387,7 +387,7 @@ class ObjectAndItemsNullableProp( ): - class MetaOapg: + class Schema_: types = { schemas.NoneClass, frozendict.frozendict, @@ -402,7 +402,7 @@ class AdditionalProperties( ): - class MetaOapg: + class Schema_: types = { schemas.NoneClass, frozendict.frozendict, @@ -423,18 +423,18 @@ def __new__( ) - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + def get_item_(self, name: str) -> Schema_.AdditionalProperties: return super().get_item_(name) def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, None, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, dict, frozendict.frozendict, None, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, None, ], ) -> 'ObjectAndItemsNullableProp': return super().__new__( cls, @@ -449,7 +449,7 @@ class ObjectItemsNullable( ): - class MetaOapg: + class Schema_: types = {frozendict.frozendict} @@ -461,7 +461,7 @@ class AdditionalProperties( ): - class MetaOapg: + class Schema_: types = { schemas.NoneClass, frozendict.frozendict, @@ -481,18 +481,18 @@ def __new__( **kwargs, ) - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + def get_item_(self, name: str) -> Schema_.AdditionalProperties: return super().get_item_(name) def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, dict, frozendict.frozendict, None, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, None, ], ) -> 'ObjectItemsNullable': return super().__new__( cls, @@ -524,7 +524,7 @@ class AdditionalProperties( ): - class MetaOapg: + class Schema_: types = { schemas.NoneClass, frozendict.frozendict, @@ -545,43 +545,43 @@ def __new__( ) @typing.overload - def __getitem__(self, name: typing_extensions.Literal["integer_prop"]) -> MetaOapg.Properties.IntegerProp: ... + def __getitem__(self, name: typing_extensions.Literal["integer_prop"]) -> Schema_.Properties.IntegerProp: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["number_prop"]) -> MetaOapg.Properties.NumberProp: ... + def __getitem__(self, name: typing_extensions.Literal["number_prop"]) -> Schema_.Properties.NumberProp: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["boolean_prop"]) -> MetaOapg.Properties.BooleanProp: ... + def __getitem__(self, name: typing_extensions.Literal["boolean_prop"]) -> Schema_.Properties.BooleanProp: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["string_prop"]) -> MetaOapg.Properties.StringProp: ... + def __getitem__(self, name: typing_extensions.Literal["string_prop"]) -> Schema_.Properties.StringProp: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["date_prop"]) -> MetaOapg.Properties.DateProp: ... + def __getitem__(self, name: typing_extensions.Literal["date_prop"]) -> Schema_.Properties.DateProp: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["datetime_prop"]) -> MetaOapg.Properties.DatetimeProp: ... + def __getitem__(self, name: typing_extensions.Literal["datetime_prop"]) -> Schema_.Properties.DatetimeProp: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["array_nullable_prop"]) -> MetaOapg.Properties.ArrayNullableProp: ... + def __getitem__(self, name: typing_extensions.Literal["array_nullable_prop"]) -> Schema_.Properties.ArrayNullableProp: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["array_and_items_nullable_prop"]) -> MetaOapg.Properties.ArrayAndItemsNullableProp: ... + def __getitem__(self, name: typing_extensions.Literal["array_and_items_nullable_prop"]) -> Schema_.Properties.ArrayAndItemsNullableProp: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["array_items_nullable"]) -> MetaOapg.Properties.ArrayItemsNullable: ... + def __getitem__(self, name: typing_extensions.Literal["array_items_nullable"]) -> Schema_.Properties.ArrayItemsNullable: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["object_nullable_prop"]) -> MetaOapg.Properties.ObjectNullableProp: ... + def __getitem__(self, name: typing_extensions.Literal["object_nullable_prop"]) -> Schema_.Properties.ObjectNullableProp: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["object_and_items_nullable_prop"]) -> MetaOapg.Properties.ObjectAndItemsNullableProp: ... + def __getitem__(self, name: typing_extensions.Literal["object_and_items_nullable_prop"]) -> Schema_.Properties.ObjectAndItemsNullableProp: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["object_items_nullable"]) -> MetaOapg.Properties.ObjectItemsNullable: ... + def __getitem__(self, name: typing_extensions.Literal["object_items_nullable"]) -> Schema_.Properties.ObjectItemsNullable: ... @typing.overload - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: ... + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: ... def __getitem__( self, @@ -605,43 +605,43 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["integer_prop"]) -> typing.Union[MetaOapg.Properties.IntegerProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["integer_prop"]) -> typing.Union[Schema_.Properties.IntegerProp, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["number_prop"]) -> typing.Union[MetaOapg.Properties.NumberProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["number_prop"]) -> typing.Union[Schema_.Properties.NumberProp, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["boolean_prop"]) -> typing.Union[MetaOapg.Properties.BooleanProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["boolean_prop"]) -> typing.Union[Schema_.Properties.BooleanProp, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["string_prop"]) -> typing.Union[MetaOapg.Properties.StringProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["string_prop"]) -> typing.Union[Schema_.Properties.StringProp, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["date_prop"]) -> typing.Union[MetaOapg.Properties.DateProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["date_prop"]) -> typing.Union[Schema_.Properties.DateProp, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["datetime_prop"]) -> typing.Union[MetaOapg.Properties.DatetimeProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["datetime_prop"]) -> typing.Union[Schema_.Properties.DatetimeProp, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["array_nullable_prop"]) -> typing.Union[MetaOapg.Properties.ArrayNullableProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["array_nullable_prop"]) -> typing.Union[Schema_.Properties.ArrayNullableProp, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["array_and_items_nullable_prop"]) -> typing.Union[MetaOapg.Properties.ArrayAndItemsNullableProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["array_and_items_nullable_prop"]) -> typing.Union[Schema_.Properties.ArrayAndItemsNullableProp, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["array_items_nullable"]) -> typing.Union[MetaOapg.Properties.ArrayItemsNullable, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["array_items_nullable"]) -> typing.Union[Schema_.Properties.ArrayItemsNullable, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["object_nullable_prop"]) -> typing.Union[MetaOapg.Properties.ObjectNullableProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["object_nullable_prop"]) -> typing.Union[Schema_.Properties.ObjectNullableProp, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["object_and_items_nullable_prop"]) -> typing.Union[MetaOapg.Properties.ObjectAndItemsNullableProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["object_and_items_nullable_prop"]) -> typing.Union[Schema_.Properties.ObjectAndItemsNullableProp, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["object_items_nullable"]) -> typing.Union[MetaOapg.Properties.ObjectItemsNullable, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["object_items_nullable"]) -> typing.Union[Schema_.Properties.ObjectItemsNullable, schemas.Unset]: ... @typing.overload - def get_item_(self, name: str) -> typing.Union[MetaOapg.AdditionalProperties, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[Schema_.AdditionalProperties, schemas.Unset]: ... def get_item_( self, @@ -666,20 +666,20 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - integer_prop: typing.Union[MetaOapg.Properties.IntegerProp, None, decimal.Decimal, int, schemas.Unset] = schemas.unset, - number_prop: typing.Union[MetaOapg.Properties.NumberProp, None, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, - boolean_prop: typing.Union[MetaOapg.Properties.BooleanProp, None, bool, schemas.Unset] = schemas.unset, - string_prop: typing.Union[MetaOapg.Properties.StringProp, None, str, schemas.Unset] = schemas.unset, - date_prop: typing.Union[MetaOapg.Properties.DateProp, None, str, datetime.date, schemas.Unset] = schemas.unset, - datetime_prop: typing.Union[MetaOapg.Properties.DatetimeProp, None, str, datetime.datetime, schemas.Unset] = schemas.unset, - array_nullable_prop: typing.Union[MetaOapg.Properties.ArrayNullableProp, list, tuple, None, schemas.Unset] = schemas.unset, - array_and_items_nullable_prop: typing.Union[MetaOapg.Properties.ArrayAndItemsNullableProp, list, tuple, None, schemas.Unset] = schemas.unset, - array_items_nullable: typing.Union[MetaOapg.Properties.ArrayItemsNullable, list, tuple, schemas.Unset] = schemas.unset, - object_nullable_prop: typing.Union[MetaOapg.Properties.ObjectNullableProp, dict, frozendict.frozendict, None, schemas.Unset] = schemas.unset, - object_and_items_nullable_prop: typing.Union[MetaOapg.Properties.ObjectAndItemsNullableProp, dict, frozendict.frozendict, None, schemas.Unset] = schemas.unset, - object_items_nullable: typing.Union[MetaOapg.Properties.ObjectItemsNullable, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + integer_prop: typing.Union[Schema_.Properties.IntegerProp, None, decimal.Decimal, int, schemas.Unset] = schemas.unset, + number_prop: typing.Union[Schema_.Properties.NumberProp, None, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, + boolean_prop: typing.Union[Schema_.Properties.BooleanProp, None, bool, schemas.Unset] = schemas.unset, + string_prop: typing.Union[Schema_.Properties.StringProp, None, str, schemas.Unset] = schemas.unset, + date_prop: typing.Union[Schema_.Properties.DateProp, None, str, datetime.date, schemas.Unset] = schemas.unset, + datetime_prop: typing.Union[Schema_.Properties.DatetimeProp, None, str, datetime.datetime, schemas.Unset] = schemas.unset, + array_nullable_prop: typing.Union[Schema_.Properties.ArrayNullableProp, list, tuple, None, schemas.Unset] = schemas.unset, + array_and_items_nullable_prop: typing.Union[Schema_.Properties.ArrayAndItemsNullableProp, list, tuple, None, schemas.Unset] = schemas.unset, + array_items_nullable: typing.Union[Schema_.Properties.ArrayItemsNullable, list, tuple, schemas.Unset] = schemas.unset, + object_nullable_prop: typing.Union[Schema_.Properties.ObjectNullableProp, dict, frozendict.frozendict, None, schemas.Unset] = schemas.unset, + object_and_items_nullable_prop: typing.Union[Schema_.Properties.ObjectAndItemsNullableProp, dict, frozendict.frozendict, None, schemas.Unset] = schemas.unset, + object_items_nullable: typing.Union[Schema_.Properties.ObjectItemsNullable, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, dict, frozendict.frozendict, None, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, None, ], ) -> 'NullableClass': return super().__new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_class.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_class.pyi index 2fe73db23fd..78ff81df900 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_class.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_class.pyi @@ -33,7 +33,7 @@ class NullableClass( """ - class MetaOapg: + class Schema_: class Properties: @@ -46,7 +46,7 @@ class NullableClass( ): - class MetaOapg: + class Schema_: types = { schemas.NoneClass, decimal.Decimal, @@ -74,7 +74,7 @@ class NullableClass( ): - class MetaOapg: + class Schema_: types = { schemas.NoneClass, decimal.Decimal, @@ -101,7 +101,7 @@ class NullableClass( ): - class MetaOapg: + class Schema_: types = { schemas.NoneClass, schemas.BoolClass, @@ -128,7 +128,7 @@ class NullableClass( ): - class MetaOapg: + class Schema_: types = { schemas.NoneClass, str, @@ -156,7 +156,7 @@ class NullableClass( ): - class MetaOapg: + class Schema_: types = { schemas.NoneClass, str, @@ -185,7 +185,7 @@ class NullableClass( ): - class MetaOapg: + class Schema_: types = { schemas.NoneClass, str, @@ -213,7 +213,7 @@ class NullableClass( ): - class MetaOapg: + class Schema_: types = { schemas.NoneClass, tuple, @@ -241,7 +241,7 @@ class NullableClass( ): - class MetaOapg: + class Schema_: types = { schemas.NoneClass, tuple, @@ -256,7 +256,7 @@ class NullableClass( ): - class MetaOapg: + class Schema_: types = { schemas.NoneClass, frozendict.frozendict, @@ -294,7 +294,7 @@ class NullableClass( ): - class MetaOapg: + class Schema_: types = {tuple} @@ -306,7 +306,7 @@ class NullableClass( ): - class MetaOapg: + class Schema_: types = { schemas.NoneClass, frozendict.frozendict, @@ -328,7 +328,7 @@ class NullableClass( def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, dict, frozendict.frozendict, None, ]], typing.List[typing.Union[MetaOapg.Items, dict, frozendict.frozendict, None, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, None, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, None, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayItemsNullable': return super().__new__( @@ -337,7 +337,7 @@ class NullableClass( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) @@ -349,7 +349,7 @@ class NullableClass( ): - class MetaOapg: + class Schema_: types = { schemas.NoneClass, frozendict.frozendict, @@ -357,18 +357,18 @@ class NullableClass( AdditionalProperties = schemas.DictSchema - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + def get_item_(self, name: str) -> Schema_.AdditionalProperties: return super().get_item_(name) def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, None, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, dict, frozendict.frozendict, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, ], ) -> 'ObjectNullableProp': return super().__new__( cls, @@ -386,7 +386,7 @@ class NullableClass( ): - class MetaOapg: + class Schema_: types = { schemas.NoneClass, frozendict.frozendict, @@ -401,7 +401,7 @@ class NullableClass( ): - class MetaOapg: + class Schema_: types = { schemas.NoneClass, frozendict.frozendict, @@ -422,18 +422,18 @@ class NullableClass( ) - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + def get_item_(self, name: str) -> Schema_.AdditionalProperties: return super().get_item_(name) def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, None, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, dict, frozendict.frozendict, None, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, None, ], ) -> 'ObjectAndItemsNullableProp': return super().__new__( cls, @@ -448,7 +448,7 @@ class NullableClass( ): - class MetaOapg: + class Schema_: class AdditionalProperties( @@ -459,7 +459,7 @@ class NullableClass( ): - class MetaOapg: + class Schema_: types = { schemas.NoneClass, frozendict.frozendict, @@ -479,18 +479,18 @@ class NullableClass( **kwargs, ) - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + def get_item_(self, name: str) -> Schema_.AdditionalProperties: return super().get_item_(name) def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, dict, frozendict.frozendict, None, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, None, ], ) -> 'ObjectItemsNullable': return super().__new__( cls, @@ -522,7 +522,7 @@ class NullableClass( ): - class MetaOapg: + class Schema_: types = { schemas.NoneClass, frozendict.frozendict, @@ -543,43 +543,43 @@ class NullableClass( ) @typing.overload - def __getitem__(self, name: typing_extensions.Literal["integer_prop"]) -> MetaOapg.Properties.IntegerProp: ... + def __getitem__(self, name: typing_extensions.Literal["integer_prop"]) -> Schema_.Properties.IntegerProp: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["number_prop"]) -> MetaOapg.Properties.NumberProp: ... + def __getitem__(self, name: typing_extensions.Literal["number_prop"]) -> Schema_.Properties.NumberProp: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["boolean_prop"]) -> MetaOapg.Properties.BooleanProp: ... + def __getitem__(self, name: typing_extensions.Literal["boolean_prop"]) -> Schema_.Properties.BooleanProp: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["string_prop"]) -> MetaOapg.Properties.StringProp: ... + def __getitem__(self, name: typing_extensions.Literal["string_prop"]) -> Schema_.Properties.StringProp: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["date_prop"]) -> MetaOapg.Properties.DateProp: ... + def __getitem__(self, name: typing_extensions.Literal["date_prop"]) -> Schema_.Properties.DateProp: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["datetime_prop"]) -> MetaOapg.Properties.DatetimeProp: ... + def __getitem__(self, name: typing_extensions.Literal["datetime_prop"]) -> Schema_.Properties.DatetimeProp: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["array_nullable_prop"]) -> MetaOapg.Properties.ArrayNullableProp: ... + def __getitem__(self, name: typing_extensions.Literal["array_nullable_prop"]) -> Schema_.Properties.ArrayNullableProp: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["array_and_items_nullable_prop"]) -> MetaOapg.Properties.ArrayAndItemsNullableProp: ... + def __getitem__(self, name: typing_extensions.Literal["array_and_items_nullable_prop"]) -> Schema_.Properties.ArrayAndItemsNullableProp: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["array_items_nullable"]) -> MetaOapg.Properties.ArrayItemsNullable: ... + def __getitem__(self, name: typing_extensions.Literal["array_items_nullable"]) -> Schema_.Properties.ArrayItemsNullable: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["object_nullable_prop"]) -> MetaOapg.Properties.ObjectNullableProp: ... + def __getitem__(self, name: typing_extensions.Literal["object_nullable_prop"]) -> Schema_.Properties.ObjectNullableProp: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["object_and_items_nullable_prop"]) -> MetaOapg.Properties.ObjectAndItemsNullableProp: ... + def __getitem__(self, name: typing_extensions.Literal["object_and_items_nullable_prop"]) -> Schema_.Properties.ObjectAndItemsNullableProp: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["object_items_nullable"]) -> MetaOapg.Properties.ObjectItemsNullable: ... + def __getitem__(self, name: typing_extensions.Literal["object_items_nullable"]) -> Schema_.Properties.ObjectItemsNullable: ... @typing.overload - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: ... + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: ... def __getitem__( self, @@ -603,43 +603,43 @@ class NullableClass( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["integer_prop"]) -> typing.Union[MetaOapg.Properties.IntegerProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["integer_prop"]) -> typing.Union[Schema_.Properties.IntegerProp, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["number_prop"]) -> typing.Union[MetaOapg.Properties.NumberProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["number_prop"]) -> typing.Union[Schema_.Properties.NumberProp, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["boolean_prop"]) -> typing.Union[MetaOapg.Properties.BooleanProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["boolean_prop"]) -> typing.Union[Schema_.Properties.BooleanProp, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["string_prop"]) -> typing.Union[MetaOapg.Properties.StringProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["string_prop"]) -> typing.Union[Schema_.Properties.StringProp, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["date_prop"]) -> typing.Union[MetaOapg.Properties.DateProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["date_prop"]) -> typing.Union[Schema_.Properties.DateProp, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["datetime_prop"]) -> typing.Union[MetaOapg.Properties.DatetimeProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["datetime_prop"]) -> typing.Union[Schema_.Properties.DatetimeProp, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["array_nullable_prop"]) -> typing.Union[MetaOapg.Properties.ArrayNullableProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["array_nullable_prop"]) -> typing.Union[Schema_.Properties.ArrayNullableProp, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["array_and_items_nullable_prop"]) -> typing.Union[MetaOapg.Properties.ArrayAndItemsNullableProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["array_and_items_nullable_prop"]) -> typing.Union[Schema_.Properties.ArrayAndItemsNullableProp, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["array_items_nullable"]) -> typing.Union[MetaOapg.Properties.ArrayItemsNullable, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["array_items_nullable"]) -> typing.Union[Schema_.Properties.ArrayItemsNullable, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["object_nullable_prop"]) -> typing.Union[MetaOapg.Properties.ObjectNullableProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["object_nullable_prop"]) -> typing.Union[Schema_.Properties.ObjectNullableProp, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["object_and_items_nullable_prop"]) -> typing.Union[MetaOapg.Properties.ObjectAndItemsNullableProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["object_and_items_nullable_prop"]) -> typing.Union[Schema_.Properties.ObjectAndItemsNullableProp, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["object_items_nullable"]) -> typing.Union[MetaOapg.Properties.ObjectItemsNullable, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["object_items_nullable"]) -> typing.Union[Schema_.Properties.ObjectItemsNullable, schemas.Unset]: ... @typing.overload - def get_item_(self, name: str) -> typing.Union[MetaOapg.AdditionalProperties, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[Schema_.AdditionalProperties, schemas.Unset]: ... def get_item_( self, @@ -664,20 +664,20 @@ class NullableClass( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - integer_prop: typing.Union[MetaOapg.Properties.IntegerProp, None, decimal.Decimal, int, schemas.Unset] = schemas.unset, - number_prop: typing.Union[MetaOapg.Properties.NumberProp, None, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, - boolean_prop: typing.Union[MetaOapg.Properties.BooleanProp, None, bool, schemas.Unset] = schemas.unset, - string_prop: typing.Union[MetaOapg.Properties.StringProp, None, str, schemas.Unset] = schemas.unset, - date_prop: typing.Union[MetaOapg.Properties.DateProp, None, str, datetime.date, schemas.Unset] = schemas.unset, - datetime_prop: typing.Union[MetaOapg.Properties.DatetimeProp, None, str, datetime.datetime, schemas.Unset] = schemas.unset, - array_nullable_prop: typing.Union[MetaOapg.Properties.ArrayNullableProp, list, tuple, None, schemas.Unset] = schemas.unset, - array_and_items_nullable_prop: typing.Union[MetaOapg.Properties.ArrayAndItemsNullableProp, list, tuple, None, schemas.Unset] = schemas.unset, - array_items_nullable: typing.Union[MetaOapg.Properties.ArrayItemsNullable, list, tuple, schemas.Unset] = schemas.unset, - object_nullable_prop: typing.Union[MetaOapg.Properties.ObjectNullableProp, dict, frozendict.frozendict, None, schemas.Unset] = schemas.unset, - object_and_items_nullable_prop: typing.Union[MetaOapg.Properties.ObjectAndItemsNullableProp, dict, frozendict.frozendict, None, schemas.Unset] = schemas.unset, - object_items_nullable: typing.Union[MetaOapg.Properties.ObjectItemsNullable, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + integer_prop: typing.Union[Schema_.Properties.IntegerProp, None, decimal.Decimal, int, schemas.Unset] = schemas.unset, + number_prop: typing.Union[Schema_.Properties.NumberProp, None, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, + boolean_prop: typing.Union[Schema_.Properties.BooleanProp, None, bool, schemas.Unset] = schemas.unset, + string_prop: typing.Union[Schema_.Properties.StringProp, None, str, schemas.Unset] = schemas.unset, + date_prop: typing.Union[Schema_.Properties.DateProp, None, str, datetime.date, schemas.Unset] = schemas.unset, + datetime_prop: typing.Union[Schema_.Properties.DatetimeProp, None, str, datetime.datetime, schemas.Unset] = schemas.unset, + array_nullable_prop: typing.Union[Schema_.Properties.ArrayNullableProp, list, tuple, None, schemas.Unset] = schemas.unset, + array_and_items_nullable_prop: typing.Union[Schema_.Properties.ArrayAndItemsNullableProp, list, tuple, None, schemas.Unset] = schemas.unset, + array_items_nullable: typing.Union[Schema_.Properties.ArrayItemsNullable, list, tuple, schemas.Unset] = schemas.unset, + object_nullable_prop: typing.Union[Schema_.Properties.ObjectNullableProp, dict, frozendict.frozendict, None, schemas.Unset] = schemas.unset, + object_and_items_nullable_prop: typing.Union[Schema_.Properties.ObjectAndItemsNullableProp, dict, frozendict.frozendict, None, schemas.Unset] = schemas.unset, + object_items_nullable: typing.Union[Schema_.Properties.ObjectItemsNullable, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, dict, frozendict.frozendict, None, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, None, ], ) -> 'NullableClass': return super().__new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_shape.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_shape.py index 00b66370d97..db40181e789 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_shape.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_shape.py @@ -35,7 +35,7 @@ class NullableShape( """ - class MetaOapg: + class Schema_: # any type class OneOf: diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_shape.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_shape.pyi index 00b66370d97..db40181e789 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_shape.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_shape.pyi @@ -35,7 +35,7 @@ class NullableShape( """ - class MetaOapg: + class Schema_: # any type class OneOf: diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_string.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_string.py index 310a7b67cd8..9b42a9af606 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_string.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_string.py @@ -36,7 +36,7 @@ class NullableString( """ - class MetaOapg: + class Schema_: types = { schemas.NoneClass, str, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_string.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_string.pyi index 310a7b67cd8..9b42a9af606 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_string.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_string.pyi @@ -36,7 +36,7 @@ class NullableString( """ - class MetaOapg: + class Schema_: types = { schemas.NoneClass, str, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/number_only.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/number_only.py index 0260c2e6195..efb04ab4dfa 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/number_only.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/number_only.py @@ -33,7 +33,7 @@ class NumberOnly( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} class Properties: @@ -43,7 +43,7 @@ class Properties: } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["JustNumber"]) -> MetaOapg.Properties.JustNumber: ... + def __getitem__(self, name: typing_extensions.Literal["JustNumber"]) -> Schema_.Properties.JustNumber: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -59,7 +59,7 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["JustNumber"]) -> typing.Union[MetaOapg.Properties.JustNumber, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["JustNumber"]) -> typing.Union[Schema_.Properties.JustNumber, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -76,7 +76,7 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - JustNumber: typing.Union[MetaOapg.Properties.JustNumber, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, + JustNumber: typing.Union[Schema_.Properties.JustNumber, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'NumberOnly': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/number_only.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/number_only.pyi index 9bb7c4c4263..87ba6e01255 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/number_only.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/number_only.pyi @@ -33,7 +33,7 @@ class NumberOnly( """ - class MetaOapg: + class Schema_: class Properties: JustNumber = schemas.NumberSchema @@ -42,7 +42,7 @@ class NumberOnly( } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["JustNumber"]) -> MetaOapg.Properties.JustNumber: ... + def __getitem__(self, name: typing_extensions.Literal["JustNumber"]) -> Schema_.Properties.JustNumber: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -58,7 +58,7 @@ class NumberOnly( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["JustNumber"]) -> typing.Union[MetaOapg.Properties.JustNumber, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["JustNumber"]) -> typing.Union[Schema_.Properties.JustNumber, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -75,7 +75,7 @@ class NumberOnly( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - JustNumber: typing.Union[MetaOapg.Properties.JustNumber, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, + JustNumber: typing.Union[Schema_.Properties.JustNumber, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'NumberOnly': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/number_with_validations.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/number_with_validations.py index 14d3f6dfbb6..893890e6661 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/number_with_validations.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/number_with_validations.py @@ -33,7 +33,7 @@ class NumberWithValidations( """ - class MetaOapg: + class Schema_: types = { decimal.Decimal, } diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_arg_and_args_properties.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_arg_and_args_properties.py index fe398b5939c..084f1ec3221 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_arg_and_args_properties.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_arg_and_args_properties.py @@ -33,7 +33,7 @@ class ObjectModelWithArgAndArgsProperties( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} required = { "arg", @@ -48,14 +48,14 @@ class Properties: "args": Args, } - arg: MetaOapg.Properties.Arg - args: MetaOapg.Properties.Args + arg: Schema_.Properties.Arg + args: Schema_.Properties.Args @typing.overload - def __getitem__(self, name: typing_extensions.Literal["arg"]) -> MetaOapg.Properties.Arg: ... + def __getitem__(self, name: typing_extensions.Literal["arg"]) -> Schema_.Properties.Arg: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["args"]) -> MetaOapg.Properties.Args: ... + def __getitem__(self, name: typing_extensions.Literal["args"]) -> Schema_.Properties.Args: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -72,10 +72,10 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["arg"]) -> MetaOapg.Properties.Arg: ... + def get_item_(self, name: typing_extensions.Literal["arg"]) -> Schema_.Properties.Arg: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["args"]) -> MetaOapg.Properties.Args: ... + def get_item_(self, name: typing_extensions.Literal["args"]) -> Schema_.Properties.Args: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -93,8 +93,8 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - arg: typing.Union[MetaOapg.Properties.Arg, str, ], - args: typing.Union[MetaOapg.Properties.Args, str, ], + arg: typing.Union[Schema_.Properties.Arg, str, ], + args: typing.Union[Schema_.Properties.Args, str, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectModelWithArgAndArgsProperties': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_arg_and_args_properties.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_arg_and_args_properties.pyi index a1bc22dba28..e9ef6cf30c7 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_arg_and_args_properties.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_arg_and_args_properties.pyi @@ -33,7 +33,7 @@ class ObjectModelWithArgAndArgsProperties( """ - class MetaOapg: + class Schema_: required = { "arg", "args", @@ -47,14 +47,14 @@ class ObjectModelWithArgAndArgsProperties( "args": Args, } - arg: MetaOapg.Properties.Arg - args: MetaOapg.Properties.Args + arg: Schema_.Properties.Arg + args: Schema_.Properties.Args @typing.overload - def __getitem__(self, name: typing_extensions.Literal["arg"]) -> MetaOapg.Properties.Arg: ... + def __getitem__(self, name: typing_extensions.Literal["arg"]) -> Schema_.Properties.Arg: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["args"]) -> MetaOapg.Properties.Args: ... + def __getitem__(self, name: typing_extensions.Literal["args"]) -> Schema_.Properties.Args: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -71,10 +71,10 @@ class ObjectModelWithArgAndArgsProperties( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["arg"]) -> MetaOapg.Properties.Arg: ... + def get_item_(self, name: typing_extensions.Literal["arg"]) -> Schema_.Properties.Arg: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["args"]) -> MetaOapg.Properties.Args: ... + def get_item_(self, name: typing_extensions.Literal["args"]) -> Schema_.Properties.Args: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -92,8 +92,8 @@ class ObjectModelWithArgAndArgsProperties( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - arg: typing.Union[MetaOapg.Properties.Arg, str, ], - args: typing.Union[MetaOapg.Properties.Args, str, ], + arg: typing.Union[Schema_.Properties.Arg, str, ], + args: typing.Union[Schema_.Properties.Args, str, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectModelWithArgAndArgsProperties': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_ref_props.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_ref_props.py index 9a876d957d5..1373de18e80 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_ref_props.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_ref_props.py @@ -35,7 +35,7 @@ class ObjectModelWithRefProps( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} class Properties: diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_ref_props.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_ref_props.pyi index 9fe40d3a4af..496b2f92f9b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_ref_props.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_ref_props.pyi @@ -35,7 +35,7 @@ class ObjectModelWithRefProps( """ - class MetaOapg: + class Schema_: class Properties: diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.py index 2c6404e2474..547c9d40cb9 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.py @@ -33,7 +33,7 @@ class ObjectWithAllOfWithReqTestPropFromUnsetAddProp( """ - class MetaOapg: + class Schema_: # any type class AllOf: @@ -48,7 +48,7 @@ class AllOf1( ): - class MetaOapg: + class Schema_: types = {frozendict.frozendict} required = { "test", @@ -66,7 +66,7 @@ class Properties: def __getitem__(self, name: typing_extensions.Literal["test"]) -> schemas.AnyTypeSchema: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.Properties.Name: ... + def __getitem__(self, name: typing_extensions.Literal["name"]) -> Schema_.Properties.Name: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -86,7 +86,7 @@ def __getitem__( def get_item_(self, name: typing_extensions.Literal["test"]) -> schemas.AnyTypeSchema: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.Properties.Name, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["name"]) -> typing.Union[Schema_.Properties.Name, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -105,7 +105,7 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], test: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - name: typing.Union[MetaOapg.Properties.Name, str, schemas.Unset] = schemas.unset, + name: typing.Union[Schema_.Properties.Name, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.pyi index 49a3a7cf9b3..01cdae1ea54 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.pyi @@ -33,7 +33,7 @@ class ObjectWithAllOfWithReqTestPropFromUnsetAddProp( """ - class MetaOapg: + class Schema_: # any type class AllOf: @@ -48,7 +48,7 @@ class ObjectWithAllOfWithReqTestPropFromUnsetAddProp( ): - class MetaOapg: + class Schema_: required = { "test", } @@ -65,7 +65,7 @@ class ObjectWithAllOfWithReqTestPropFromUnsetAddProp( def __getitem__(self, name: typing_extensions.Literal["test"]) -> schemas.AnyTypeSchema: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.Properties.Name: ... + def __getitem__(self, name: typing_extensions.Literal["name"]) -> Schema_.Properties.Name: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -85,7 +85,7 @@ class ObjectWithAllOfWithReqTestPropFromUnsetAddProp( def get_item_(self, name: typing_extensions.Literal["test"]) -> schemas.AnyTypeSchema: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.Properties.Name, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["name"]) -> typing.Union[Schema_.Properties.Name, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -104,7 +104,7 @@ class ObjectWithAllOfWithReqTestPropFromUnsetAddProp( cls, *_args: typing.Union[dict, frozendict.frozendict, ], test: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - name: typing.Union[MetaOapg.Properties.Name, str, schemas.Unset] = schemas.unset, + name: typing.Union[Schema_.Properties.Name, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_decimal_properties.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_decimal_properties.py index 04317e78dc5..f587bf6830b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_decimal_properties.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_decimal_properties.py @@ -33,7 +33,7 @@ class ObjectWithDecimalProperties( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} class Properties: @@ -56,7 +56,7 @@ def cost() -> typing.Type['money.Money']: def __getitem__(self, name: typing_extensions.Literal["length"]) -> 'decimal_payload.DecimalPayload': ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["width"]) -> MetaOapg.Properties.Width: ... + def __getitem__(self, name: typing_extensions.Literal["width"]) -> Schema_.Properties.Width: ... @typing.overload def __getitem__(self, name: typing_extensions.Literal["cost"]) -> 'money.Money': ... @@ -80,7 +80,7 @@ def __getitem__( def get_item_(self, name: typing_extensions.Literal["length"]) -> typing.Union['decimal_payload.DecimalPayload', schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["width"]) -> typing.Union[MetaOapg.Properties.Width, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["width"]) -> typing.Union[Schema_.Properties.Width, schemas.Unset]: ... @typing.overload def get_item_(self, name: typing_extensions.Literal["cost"]) -> typing.Union['money.Money', schemas.Unset]: ... @@ -103,7 +103,7 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], length: typing.Union['decimal_payload.DecimalPayload', schemas.Unset] = schemas.unset, - width: typing.Union[MetaOapg.Properties.Width, str, schemas.Unset] = schemas.unset, + width: typing.Union[Schema_.Properties.Width, str, schemas.Unset] = schemas.unset, cost: typing.Union['money.Money', schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_decimal_properties.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_decimal_properties.pyi index d475058e622..af50ba93ad1 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_decimal_properties.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_decimal_properties.pyi @@ -33,7 +33,7 @@ class ObjectWithDecimalProperties( """ - class MetaOapg: + class Schema_: class Properties: @@ -55,7 +55,7 @@ class ObjectWithDecimalProperties( def __getitem__(self, name: typing_extensions.Literal["length"]) -> 'decimal_payload.DecimalPayload': ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["width"]) -> MetaOapg.Properties.Width: ... + def __getitem__(self, name: typing_extensions.Literal["width"]) -> Schema_.Properties.Width: ... @typing.overload def __getitem__(self, name: typing_extensions.Literal["cost"]) -> 'money.Money': ... @@ -79,7 +79,7 @@ class ObjectWithDecimalProperties( def get_item_(self, name: typing_extensions.Literal["length"]) -> typing.Union['decimal_payload.DecimalPayload', schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["width"]) -> typing.Union[MetaOapg.Properties.Width, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["width"]) -> typing.Union[Schema_.Properties.Width, schemas.Unset]: ... @typing.overload def get_item_(self, name: typing_extensions.Literal["cost"]) -> typing.Union['money.Money', schemas.Unset]: ... @@ -102,7 +102,7 @@ class ObjectWithDecimalProperties( cls, *_args: typing.Union[dict, frozendict.frozendict, ], length: typing.Union['decimal_payload.DecimalPayload', schemas.Unset] = schemas.unset, - width: typing.Union[MetaOapg.Properties.Width, str, schemas.Unset] = schemas.unset, + width: typing.Union[Schema_.Properties.Width, str, schemas.Unset] = schemas.unset, cost: typing.Union['money.Money', schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_difficultly_named_props.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_difficultly_named_props.py index 03bd48e7acf..d2fdb284561 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_difficultly_named_props.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_difficultly_named_props.py @@ -35,7 +35,7 @@ class ObjectWithDifficultlyNamedProps( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} required = { "123-list", @@ -53,13 +53,13 @@ class Properties: @typing.overload - def __getitem__(self, name: typing_extensions.Literal["123-list"]) -> MetaOapg.Properties._123List: ... + def __getitem__(self, name: typing_extensions.Literal["123-list"]) -> Schema_.Properties._123List: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["$special[property.name]"]) -> MetaOapg.Properties.SpecialPropertyName: ... + def __getitem__(self, name: typing_extensions.Literal["$special[property.name]"]) -> Schema_.Properties.SpecialPropertyName: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["123Number"]) -> MetaOapg.Properties._123Number: ... + def __getitem__(self, name: typing_extensions.Literal["123Number"]) -> Schema_.Properties._123Number: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -77,13 +77,13 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["123-list"]) -> MetaOapg.Properties._123List: ... + def get_item_(self, name: typing_extensions.Literal["123-list"]) -> Schema_.Properties._123List: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["$special[property.name]"]) -> typing.Union[MetaOapg.Properties.SpecialPropertyName, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["$special[property.name]"]) -> typing.Union[Schema_.Properties.SpecialPropertyName, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["123Number"]) -> typing.Union[MetaOapg.Properties._123Number, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["123Number"]) -> typing.Union[Schema_.Properties._123Number, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_difficultly_named_props.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_difficultly_named_props.pyi index 379e0d59009..7a8bd9a10ba 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_difficultly_named_props.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_difficultly_named_props.pyi @@ -35,7 +35,7 @@ class ObjectWithDifficultlyNamedProps( """ - class MetaOapg: + class Schema_: required = { "123-list", } @@ -52,13 +52,13 @@ class ObjectWithDifficultlyNamedProps( @typing.overload - def __getitem__(self, name: typing_extensions.Literal["123-list"]) -> MetaOapg.Properties._123List: ... + def __getitem__(self, name: typing_extensions.Literal["123-list"]) -> Schema_.Properties._123List: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["$special[property.name]"]) -> MetaOapg.Properties.SpecialPropertyName: ... + def __getitem__(self, name: typing_extensions.Literal["$special[property.name]"]) -> Schema_.Properties.SpecialPropertyName: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["123Number"]) -> MetaOapg.Properties._123Number: ... + def __getitem__(self, name: typing_extensions.Literal["123Number"]) -> Schema_.Properties._123Number: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -76,13 +76,13 @@ class ObjectWithDifficultlyNamedProps( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["123-list"]) -> MetaOapg.Properties._123List: ... + def get_item_(self, name: typing_extensions.Literal["123-list"]) -> Schema_.Properties._123List: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["$special[property.name]"]) -> typing.Union[MetaOapg.Properties.SpecialPropertyName, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["$special[property.name]"]) -> typing.Union[Schema_.Properties.SpecialPropertyName, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["123Number"]) -> typing.Union[MetaOapg.Properties._123Number, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["123Number"]) -> typing.Union[Schema_.Properties._123Number, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_inline_composition_property.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_inline_composition_property.py index 59a575b2593..2db8ff8033f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_inline_composition_property.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_inline_composition_property.py @@ -33,7 +33,7 @@ class ObjectWithInlineCompositionProperty( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} class Properties: @@ -44,7 +44,7 @@ class SomeProp( ): - class MetaOapg: + class Schema_: # any type class AllOf: @@ -55,7 +55,7 @@ class AllOf0( ): - class MetaOapg: + class Schema_: types = { str, } @@ -82,7 +82,7 @@ def __new__( } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["someProp"]) -> MetaOapg.Properties.SomeProp: ... + def __getitem__(self, name: typing_extensions.Literal["someProp"]) -> Schema_.Properties.SomeProp: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -98,7 +98,7 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["someProp"]) -> typing.Union[MetaOapg.Properties.SomeProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["someProp"]) -> typing.Union[Schema_.Properties.SomeProp, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -115,7 +115,7 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - someProp: typing.Union[MetaOapg.Properties.SomeProp, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + someProp: typing.Union[Schema_.Properties.SomeProp, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectWithInlineCompositionProperty': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_inline_composition_property.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_inline_composition_property.pyi index eab846e84df..33d9769c844 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_inline_composition_property.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_inline_composition_property.pyi @@ -33,7 +33,7 @@ class ObjectWithInlineCompositionProperty( """ - class MetaOapg: + class Schema_: class Properties: @@ -43,7 +43,7 @@ class ObjectWithInlineCompositionProperty( ): - class MetaOapg: + class Schema_: # any type class AllOf: @@ -75,7 +75,7 @@ class ObjectWithInlineCompositionProperty( } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["someProp"]) -> MetaOapg.Properties.SomeProp: ... + def __getitem__(self, name: typing_extensions.Literal["someProp"]) -> Schema_.Properties.SomeProp: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -91,7 +91,7 @@ class ObjectWithInlineCompositionProperty( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["someProp"]) -> typing.Union[MetaOapg.Properties.SomeProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["someProp"]) -> typing.Union[Schema_.Properties.SomeProp, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -108,7 +108,7 @@ class ObjectWithInlineCompositionProperty( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - someProp: typing.Union[MetaOapg.Properties.SomeProp, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + someProp: typing.Union[Schema_.Properties.SomeProp, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectWithInlineCompositionProperty': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_invalid_named_refed_properties.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_invalid_named_refed_properties.py index 9fdfdfc9154..f93749d7ef3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_invalid_named_refed_properties.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_invalid_named_refed_properties.py @@ -33,7 +33,7 @@ class ObjectWithInvalidNamedRefedProperties( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} required = { "!reference", diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_invalid_named_refed_properties.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_invalid_named_refed_properties.pyi index c87323b6330..f558b07fd6a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_invalid_named_refed_properties.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_invalid_named_refed_properties.pyi @@ -33,7 +33,7 @@ class ObjectWithInvalidNamedRefedProperties( """ - class MetaOapg: + class Schema_: required = { "!reference", "from", diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_optional_test_prop.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_optional_test_prop.py index 78811165e2d..cf3dbf9c6c5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_optional_test_prop.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_optional_test_prop.py @@ -33,7 +33,7 @@ class ObjectWithOptionalTestProp( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} class Properties: @@ -43,7 +43,7 @@ class Properties: } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["test"]) -> MetaOapg.Properties.Test: ... + def __getitem__(self, name: typing_extensions.Literal["test"]) -> Schema_.Properties.Test: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -59,7 +59,7 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["test"]) -> typing.Union[MetaOapg.Properties.Test, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["test"]) -> typing.Union[Schema_.Properties.Test, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -76,7 +76,7 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - test: typing.Union[MetaOapg.Properties.Test, str, schemas.Unset] = schemas.unset, + test: typing.Union[Schema_.Properties.Test, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectWithOptionalTestProp': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_optional_test_prop.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_optional_test_prop.pyi index 543eadfaead..a672d90f347 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_optional_test_prop.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_optional_test_prop.pyi @@ -33,7 +33,7 @@ class ObjectWithOptionalTestProp( """ - class MetaOapg: + class Schema_: class Properties: Test = schemas.StrSchema @@ -42,7 +42,7 @@ class ObjectWithOptionalTestProp( } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["test"]) -> MetaOapg.Properties.Test: ... + def __getitem__(self, name: typing_extensions.Literal["test"]) -> Schema_.Properties.Test: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -58,7 +58,7 @@ class ObjectWithOptionalTestProp( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["test"]) -> typing.Union[MetaOapg.Properties.Test, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["test"]) -> typing.Union[Schema_.Properties.Test, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -75,7 +75,7 @@ class ObjectWithOptionalTestProp( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - test: typing.Union[MetaOapg.Properties.Test, str, schemas.Unset] = schemas.unset, + test: typing.Union[Schema_.Properties.Test, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectWithOptionalTestProp': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_validations.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_validations.py index 2ba22f1b3a0..1017103b4b3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_validations.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_validations.py @@ -33,7 +33,7 @@ class ObjectWithValidations( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} min_properties = 2 diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/order.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/order.py index b047e723d36..7a3ce4b136f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/order.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/order.py @@ -33,7 +33,7 @@ class Order( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} class Properties: @@ -48,7 +48,7 @@ class Status( ): - class MetaOapg: + class Schema_: types = { str, } @@ -80,22 +80,22 @@ def DELIVERED(cls): } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.Properties.Id: ... + def __getitem__(self, name: typing_extensions.Literal["id"]) -> Schema_.Properties.Id: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["petId"]) -> MetaOapg.Properties.PetId: ... + def __getitem__(self, name: typing_extensions.Literal["petId"]) -> Schema_.Properties.PetId: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["quantity"]) -> MetaOapg.Properties.Quantity: ... + def __getitem__(self, name: typing_extensions.Literal["quantity"]) -> Schema_.Properties.Quantity: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["shipDate"]) -> MetaOapg.Properties.ShipDate: ... + def __getitem__(self, name: typing_extensions.Literal["shipDate"]) -> Schema_.Properties.ShipDate: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["status"]) -> MetaOapg.Properties.Status: ... + def __getitem__(self, name: typing_extensions.Literal["status"]) -> Schema_.Properties.Status: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["complete"]) -> MetaOapg.Properties.Complete: ... + def __getitem__(self, name: typing_extensions.Literal["complete"]) -> Schema_.Properties.Complete: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -116,22 +116,22 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["id"]) -> typing.Union[MetaOapg.Properties.Id, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["id"]) -> typing.Union[Schema_.Properties.Id, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["petId"]) -> typing.Union[MetaOapg.Properties.PetId, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["petId"]) -> typing.Union[Schema_.Properties.PetId, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["quantity"]) -> typing.Union[MetaOapg.Properties.Quantity, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["quantity"]) -> typing.Union[Schema_.Properties.Quantity, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["shipDate"]) -> typing.Union[MetaOapg.Properties.ShipDate, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["shipDate"]) -> typing.Union[Schema_.Properties.ShipDate, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["status"]) -> typing.Union[MetaOapg.Properties.Status, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["status"]) -> typing.Union[Schema_.Properties.Status, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["complete"]) -> typing.Union[MetaOapg.Properties.Complete, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["complete"]) -> typing.Union[Schema_.Properties.Complete, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -153,12 +153,12 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, - petId: typing.Union[MetaOapg.Properties.PetId, decimal.Decimal, int, schemas.Unset] = schemas.unset, - quantity: typing.Union[MetaOapg.Properties.Quantity, decimal.Decimal, int, schemas.Unset] = schemas.unset, - shipDate: typing.Union[MetaOapg.Properties.ShipDate, str, datetime.datetime, schemas.Unset] = schemas.unset, - status: typing.Union[MetaOapg.Properties.Status, str, schemas.Unset] = schemas.unset, - complete: typing.Union[MetaOapg.Properties.Complete, bool, schemas.Unset] = schemas.unset, + id: typing.Union[Schema_.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, + petId: typing.Union[Schema_.Properties.PetId, decimal.Decimal, int, schemas.Unset] = schemas.unset, + quantity: typing.Union[Schema_.Properties.Quantity, decimal.Decimal, int, schemas.Unset] = schemas.unset, + shipDate: typing.Union[Schema_.Properties.ShipDate, str, datetime.datetime, schemas.Unset] = schemas.unset, + status: typing.Union[Schema_.Properties.Status, str, schemas.Unset] = schemas.unset, + complete: typing.Union[Schema_.Properties.Complete, bool, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Order': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/order.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/order.pyi index 2de9f6189b5..90bfbfaa5e6 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/order.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/order.pyi @@ -33,7 +33,7 @@ class Order( """ - class MetaOapg: + class Schema_: class Properties: Id = schemas.Int64Schema @@ -68,22 +68,22 @@ class Order( } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.Properties.Id: ... + def __getitem__(self, name: typing_extensions.Literal["id"]) -> Schema_.Properties.Id: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["petId"]) -> MetaOapg.Properties.PetId: ... + def __getitem__(self, name: typing_extensions.Literal["petId"]) -> Schema_.Properties.PetId: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["quantity"]) -> MetaOapg.Properties.Quantity: ... + def __getitem__(self, name: typing_extensions.Literal["quantity"]) -> Schema_.Properties.Quantity: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["shipDate"]) -> MetaOapg.Properties.ShipDate: ... + def __getitem__(self, name: typing_extensions.Literal["shipDate"]) -> Schema_.Properties.ShipDate: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["status"]) -> MetaOapg.Properties.Status: ... + def __getitem__(self, name: typing_extensions.Literal["status"]) -> Schema_.Properties.Status: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["complete"]) -> MetaOapg.Properties.Complete: ... + def __getitem__(self, name: typing_extensions.Literal["complete"]) -> Schema_.Properties.Complete: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -104,22 +104,22 @@ class Order( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["id"]) -> typing.Union[MetaOapg.Properties.Id, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["id"]) -> typing.Union[Schema_.Properties.Id, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["petId"]) -> typing.Union[MetaOapg.Properties.PetId, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["petId"]) -> typing.Union[Schema_.Properties.PetId, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["quantity"]) -> typing.Union[MetaOapg.Properties.Quantity, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["quantity"]) -> typing.Union[Schema_.Properties.Quantity, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["shipDate"]) -> typing.Union[MetaOapg.Properties.ShipDate, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["shipDate"]) -> typing.Union[Schema_.Properties.ShipDate, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["status"]) -> typing.Union[MetaOapg.Properties.Status, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["status"]) -> typing.Union[Schema_.Properties.Status, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["complete"]) -> typing.Union[MetaOapg.Properties.Complete, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["complete"]) -> typing.Union[Schema_.Properties.Complete, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -141,12 +141,12 @@ class Order( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, - petId: typing.Union[MetaOapg.Properties.PetId, decimal.Decimal, int, schemas.Unset] = schemas.unset, - quantity: typing.Union[MetaOapg.Properties.Quantity, decimal.Decimal, int, schemas.Unset] = schemas.unset, - shipDate: typing.Union[MetaOapg.Properties.ShipDate, str, datetime.datetime, schemas.Unset] = schemas.unset, - status: typing.Union[MetaOapg.Properties.Status, str, schemas.Unset] = schemas.unset, - complete: typing.Union[MetaOapg.Properties.Complete, bool, schemas.Unset] = schemas.unset, + id: typing.Union[Schema_.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, + petId: typing.Union[Schema_.Properties.PetId, decimal.Decimal, int, schemas.Unset] = schemas.unset, + quantity: typing.Union[Schema_.Properties.Quantity, decimal.Decimal, int, schemas.Unset] = schemas.unset, + shipDate: typing.Union[Schema_.Properties.ShipDate, str, datetime.datetime, schemas.Unset] = schemas.unset, + status: typing.Union[Schema_.Properties.Status, str, schemas.Unset] = schemas.unset, + complete: typing.Union[Schema_.Properties.Complete, bool, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Order': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/parent_pet.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/parent_pet.py index 1a2b1101b2f..480f4f0e9ca 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/parent_pet.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/parent_pet.py @@ -33,7 +33,7 @@ class ParentPet( """ - class MetaOapg: + class Schema_: types = { frozendict.frozendict, } diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/parent_pet.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/parent_pet.pyi index 1a2b1101b2f..480f4f0e9ca 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/parent_pet.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/parent_pet.pyi @@ -33,7 +33,7 @@ class ParentPet( """ - class MetaOapg: + class Schema_: types = { frozendict.frozendict, } diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/pet.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/pet.py index 70352af65d6..5a1e7d8b16a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/pet.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/pet.py @@ -35,7 +35,7 @@ class Pet( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} required = { "name", @@ -56,13 +56,13 @@ class PhotoUrls( ): - class MetaOapg: + class Schema_: types = {tuple} Items = schemas.StrSchema def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, str, ]], typing.List[typing.Union[MetaOapg.Items, str, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'PhotoUrls': return super().__new__( @@ -71,7 +71,7 @@ def __new__( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) @@ -80,7 +80,7 @@ class Tags( ): - class MetaOapg: + class Schema_: types = {tuple} @staticmethod @@ -107,7 +107,7 @@ class Status( ): - class MetaOapg: + class Schema_: types = { str, } @@ -137,26 +137,26 @@ def SOLD(cls): "status": Status, } - name: MetaOapg.Properties.Name - photoUrls: MetaOapg.Properties.PhotoUrls + name: Schema_.Properties.Name + photoUrls: Schema_.Properties.PhotoUrls @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.Properties.Name: ... + def __getitem__(self, name: typing_extensions.Literal["name"]) -> Schema_.Properties.Name: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["photoUrls"]) -> MetaOapg.Properties.PhotoUrls: ... + def __getitem__(self, name: typing_extensions.Literal["photoUrls"]) -> Schema_.Properties.PhotoUrls: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.Properties.Id: ... + def __getitem__(self, name: typing_extensions.Literal["id"]) -> Schema_.Properties.Id: ... @typing.overload def __getitem__(self, name: typing_extensions.Literal["category"]) -> 'category.Category': ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["tags"]) -> MetaOapg.Properties.Tags: ... + def __getitem__(self, name: typing_extensions.Literal["tags"]) -> Schema_.Properties.Tags: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["status"]) -> MetaOapg.Properties.Status: ... + def __getitem__(self, name: typing_extensions.Literal["status"]) -> Schema_.Properties.Status: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -177,22 +177,22 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["name"]) -> MetaOapg.Properties.Name: ... + def get_item_(self, name: typing_extensions.Literal["name"]) -> Schema_.Properties.Name: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["photoUrls"]) -> MetaOapg.Properties.PhotoUrls: ... + def get_item_(self, name: typing_extensions.Literal["photoUrls"]) -> Schema_.Properties.PhotoUrls: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["id"]) -> typing.Union[MetaOapg.Properties.Id, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["id"]) -> typing.Union[Schema_.Properties.Id, schemas.Unset]: ... @typing.overload def get_item_(self, name: typing_extensions.Literal["category"]) -> typing.Union['category.Category', schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["tags"]) -> typing.Union[MetaOapg.Properties.Tags, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["tags"]) -> typing.Union[Schema_.Properties.Tags, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["status"]) -> typing.Union[MetaOapg.Properties.Status, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["status"]) -> typing.Union[Schema_.Properties.Status, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -214,12 +214,12 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - name: typing.Union[MetaOapg.Properties.Name, str, ], - photoUrls: typing.Union[MetaOapg.Properties.PhotoUrls, list, tuple, ], - id: typing.Union[MetaOapg.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, + name: typing.Union[Schema_.Properties.Name, str, ], + photoUrls: typing.Union[Schema_.Properties.PhotoUrls, list, tuple, ], + id: typing.Union[Schema_.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, category: typing.Union['category.Category', schemas.Unset] = schemas.unset, - tags: typing.Union[MetaOapg.Properties.Tags, list, tuple, schemas.Unset] = schemas.unset, - status: typing.Union[MetaOapg.Properties.Status, str, schemas.Unset] = schemas.unset, + tags: typing.Union[Schema_.Properties.Tags, list, tuple, schemas.Unset] = schemas.unset, + status: typing.Union[Schema_.Properties.Status, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Pet': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/pet.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/pet.pyi index c7fd6054e39..401ec29f523 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/pet.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/pet.pyi @@ -35,7 +35,7 @@ class Pet( """ - class MetaOapg: + class Schema_: required = { "name", "photoUrls", @@ -55,13 +55,13 @@ class Pet( ): - class MetaOapg: + class Schema_: types = {tuple} Items = schemas.StrSchema def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, str, ]], typing.List[typing.Union[MetaOapg.Items, str, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'PhotoUrls': return super().__new__( @@ -70,7 +70,7 @@ class Pet( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) @@ -79,7 +79,7 @@ class Pet( ): - class MetaOapg: + class Schema_: types = {tuple} @staticmethod @@ -125,26 +125,26 @@ class Pet( "status": Status, } - name: MetaOapg.Properties.Name - photoUrls: MetaOapg.Properties.PhotoUrls + name: Schema_.Properties.Name + photoUrls: Schema_.Properties.PhotoUrls @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.Properties.Name: ... + def __getitem__(self, name: typing_extensions.Literal["name"]) -> Schema_.Properties.Name: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["photoUrls"]) -> MetaOapg.Properties.PhotoUrls: ... + def __getitem__(self, name: typing_extensions.Literal["photoUrls"]) -> Schema_.Properties.PhotoUrls: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.Properties.Id: ... + def __getitem__(self, name: typing_extensions.Literal["id"]) -> Schema_.Properties.Id: ... @typing.overload def __getitem__(self, name: typing_extensions.Literal["category"]) -> 'category.Category': ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["tags"]) -> MetaOapg.Properties.Tags: ... + def __getitem__(self, name: typing_extensions.Literal["tags"]) -> Schema_.Properties.Tags: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["status"]) -> MetaOapg.Properties.Status: ... + def __getitem__(self, name: typing_extensions.Literal["status"]) -> Schema_.Properties.Status: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -165,22 +165,22 @@ class Pet( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["name"]) -> MetaOapg.Properties.Name: ... + def get_item_(self, name: typing_extensions.Literal["name"]) -> Schema_.Properties.Name: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["photoUrls"]) -> MetaOapg.Properties.PhotoUrls: ... + def get_item_(self, name: typing_extensions.Literal["photoUrls"]) -> Schema_.Properties.PhotoUrls: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["id"]) -> typing.Union[MetaOapg.Properties.Id, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["id"]) -> typing.Union[Schema_.Properties.Id, schemas.Unset]: ... @typing.overload def get_item_(self, name: typing_extensions.Literal["category"]) -> typing.Union['category.Category', schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["tags"]) -> typing.Union[MetaOapg.Properties.Tags, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["tags"]) -> typing.Union[Schema_.Properties.Tags, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["status"]) -> typing.Union[MetaOapg.Properties.Status, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["status"]) -> typing.Union[Schema_.Properties.Status, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -202,12 +202,12 @@ class Pet( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - name: typing.Union[MetaOapg.Properties.Name, str, ], - photoUrls: typing.Union[MetaOapg.Properties.PhotoUrls, list, tuple, ], - id: typing.Union[MetaOapg.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, + name: typing.Union[Schema_.Properties.Name, str, ], + photoUrls: typing.Union[Schema_.Properties.PhotoUrls, list, tuple, ], + id: typing.Union[Schema_.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, category: typing.Union['category.Category', schemas.Unset] = schemas.unset, - tags: typing.Union[MetaOapg.Properties.Tags, list, tuple, schemas.Unset] = schemas.unset, - status: typing.Union[MetaOapg.Properties.Status, str, schemas.Unset] = schemas.unset, + tags: typing.Union[Schema_.Properties.Tags, list, tuple, schemas.Unset] = schemas.unset, + status: typing.Union[Schema_.Properties.Status, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Pet': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/pig.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/pig.py index d16157e29e5..c30d3d98b35 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/pig.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/pig.py @@ -33,7 +33,7 @@ class Pig( """ - class MetaOapg: + class Schema_: # any type @staticmethod diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/pig.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/pig.pyi index d16157e29e5..c30d3d98b35 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/pig.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/pig.pyi @@ -33,7 +33,7 @@ class Pig( """ - class MetaOapg: + class Schema_: # any type @staticmethod diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/player.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/player.py index 41653504a0d..fbb0c10d2b2 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/player.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/player.py @@ -35,7 +35,7 @@ class Player( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} class Properties: @@ -50,7 +50,7 @@ def enemy_player() -> typing.Type['Player']: } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.Properties.Name: ... + def __getitem__(self, name: typing_extensions.Literal["name"]) -> Schema_.Properties.Name: ... @typing.overload def __getitem__(self, name: typing_extensions.Literal["enemyPlayer"]) -> 'Player': ... @@ -70,7 +70,7 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.Properties.Name, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["name"]) -> typing.Union[Schema_.Properties.Name, schemas.Unset]: ... @typing.overload def get_item_(self, name: typing_extensions.Literal["enemyPlayer"]) -> typing.Union['Player', schemas.Unset]: ... @@ -91,7 +91,7 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - name: typing.Union[MetaOapg.Properties.Name, str, schemas.Unset] = schemas.unset, + name: typing.Union[Schema_.Properties.Name, str, schemas.Unset] = schemas.unset, enemyPlayer: typing.Union['Player', schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/player.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/player.pyi index 84ffb24946f..f78105038e0 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/player.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/player.pyi @@ -35,7 +35,7 @@ class Player( """ - class MetaOapg: + class Schema_: class Properties: Name = schemas.StrSchema @@ -49,7 +49,7 @@ class Player( } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.Properties.Name: ... + def __getitem__(self, name: typing_extensions.Literal["name"]) -> Schema_.Properties.Name: ... @typing.overload def __getitem__(self, name: typing_extensions.Literal["enemyPlayer"]) -> 'Player': ... @@ -69,7 +69,7 @@ class Player( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.Properties.Name, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["name"]) -> typing.Union[Schema_.Properties.Name, schemas.Unset]: ... @typing.overload def get_item_(self, name: typing_extensions.Literal["enemyPlayer"]) -> typing.Union['Player', schemas.Unset]: ... @@ -90,7 +90,7 @@ class Player( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - name: typing.Union[MetaOapg.Properties.Name, str, schemas.Unset] = schemas.unset, + name: typing.Union[Schema_.Properties.Name, str, schemas.Unset] = schemas.unset, enemyPlayer: typing.Union['Player', schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral.py index 9ebe7e07ca4..a94631d666d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral.py @@ -33,7 +33,7 @@ class Quadrilateral( """ - class MetaOapg: + class Schema_: # any type @staticmethod diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral.pyi index 9ebe7e07ca4..a94631d666d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral.pyi @@ -33,7 +33,7 @@ class Quadrilateral( """ - class MetaOapg: + class Schema_: # any type @staticmethod diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral_interface.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral_interface.py index cea77a8dfcf..9d7ba7da7e3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral_interface.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral_interface.py @@ -33,7 +33,7 @@ class QuadrilateralInterface( """ - class MetaOapg: + class Schema_: # any type required = { "quadrilateralType", @@ -48,7 +48,7 @@ class ShapeType( ): - class MetaOapg: + class Schema_: types = { str, } @@ -66,14 +66,14 @@ def QUADRILATERAL(cls): } - quadrilateralType: MetaOapg.Properties.QuadrilateralType - shapeType: MetaOapg.Properties.ShapeType + quadrilateralType: Schema_.Properties.QuadrilateralType + shapeType: Schema_.Properties.ShapeType @typing.overload - def __getitem__(self, name: typing_extensions.Literal["quadrilateralType"]) -> MetaOapg.Properties.QuadrilateralType: ... + def __getitem__(self, name: typing_extensions.Literal["quadrilateralType"]) -> Schema_.Properties.QuadrilateralType: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["shapeType"]) -> MetaOapg.Properties.ShapeType: ... + def __getitem__(self, name: typing_extensions.Literal["shapeType"]) -> Schema_.Properties.ShapeType: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -90,10 +90,10 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["quadrilateralType"]) -> MetaOapg.Properties.QuadrilateralType: ... + def get_item_(self, name: typing_extensions.Literal["quadrilateralType"]) -> Schema_.Properties.QuadrilateralType: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["shapeType"]) -> MetaOapg.Properties.ShapeType: ... + def get_item_(self, name: typing_extensions.Literal["shapeType"]) -> Schema_.Properties.ShapeType: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -111,8 +111,8 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - quadrilateralType: typing.Union[MetaOapg.Properties.QuadrilateralType, str, ], - shapeType: typing.Union[MetaOapg.Properties.ShapeType, str, ], + quadrilateralType: typing.Union[Schema_.Properties.QuadrilateralType, str, ], + shapeType: typing.Union[Schema_.Properties.ShapeType, str, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'QuadrilateralInterface': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral_interface.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral_interface.pyi index fb562b2fd39..bb98cc4361d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral_interface.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral_interface.pyi @@ -33,7 +33,7 @@ class QuadrilateralInterface( """ - class MetaOapg: + class Schema_: # any type required = { "quadrilateralType", @@ -57,14 +57,14 @@ class QuadrilateralInterface( } - quadrilateralType: MetaOapg.Properties.QuadrilateralType - shapeType: MetaOapg.Properties.ShapeType + quadrilateralType: Schema_.Properties.QuadrilateralType + shapeType: Schema_.Properties.ShapeType @typing.overload - def __getitem__(self, name: typing_extensions.Literal["quadrilateralType"]) -> MetaOapg.Properties.QuadrilateralType: ... + def __getitem__(self, name: typing_extensions.Literal["quadrilateralType"]) -> Schema_.Properties.QuadrilateralType: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["shapeType"]) -> MetaOapg.Properties.ShapeType: ... + def __getitem__(self, name: typing_extensions.Literal["shapeType"]) -> Schema_.Properties.ShapeType: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -81,10 +81,10 @@ class QuadrilateralInterface( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["quadrilateralType"]) -> MetaOapg.Properties.QuadrilateralType: ... + def get_item_(self, name: typing_extensions.Literal["quadrilateralType"]) -> Schema_.Properties.QuadrilateralType: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["shapeType"]) -> MetaOapg.Properties.ShapeType: ... + def get_item_(self, name: typing_extensions.Literal["shapeType"]) -> Schema_.Properties.ShapeType: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -102,8 +102,8 @@ class QuadrilateralInterface( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - quadrilateralType: typing.Union[MetaOapg.Properties.QuadrilateralType, str, ], - shapeType: typing.Union[MetaOapg.Properties.ShapeType, str, ], + quadrilateralType: typing.Union[Schema_.Properties.QuadrilateralType, str, ], + shapeType: typing.Union[Schema_.Properties.ShapeType, str, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'QuadrilateralInterface': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/read_only_first.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/read_only_first.py index 4238968f6ab..9469952acae 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/read_only_first.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/read_only_first.py @@ -33,7 +33,7 @@ class ReadOnlyFirst( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} class Properties: @@ -45,10 +45,10 @@ class Properties: } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... + def __getitem__(self, name: typing_extensions.Literal["bar"]) -> Schema_.Properties.Bar: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["baz"]) -> MetaOapg.Properties.Baz: ... + def __getitem__(self, name: typing_extensions.Literal["baz"]) -> Schema_.Properties.Baz: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -65,10 +65,10 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["bar"]) -> typing.Union[MetaOapg.Properties.Bar, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["bar"]) -> typing.Union[Schema_.Properties.Bar, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["baz"]) -> typing.Union[MetaOapg.Properties.Baz, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["baz"]) -> typing.Union[Schema_.Properties.Baz, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -86,8 +86,8 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - bar: typing.Union[MetaOapg.Properties.Bar, str, schemas.Unset] = schemas.unset, - baz: typing.Union[MetaOapg.Properties.Baz, str, schemas.Unset] = schemas.unset, + bar: typing.Union[Schema_.Properties.Bar, str, schemas.Unset] = schemas.unset, + baz: typing.Union[Schema_.Properties.Baz, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ReadOnlyFirst': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/read_only_first.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/read_only_first.pyi index c3989812d64..32e8fe86da2 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/read_only_first.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/read_only_first.pyi @@ -33,7 +33,7 @@ class ReadOnlyFirst( """ - class MetaOapg: + class Schema_: class Properties: Bar = schemas.StrSchema @@ -44,10 +44,10 @@ class ReadOnlyFirst( } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["bar"]) -> MetaOapg.Properties.Bar: ... + def __getitem__(self, name: typing_extensions.Literal["bar"]) -> Schema_.Properties.Bar: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["baz"]) -> MetaOapg.Properties.Baz: ... + def __getitem__(self, name: typing_extensions.Literal["baz"]) -> Schema_.Properties.Baz: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -64,10 +64,10 @@ class ReadOnlyFirst( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["bar"]) -> typing.Union[MetaOapg.Properties.Bar, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["bar"]) -> typing.Union[Schema_.Properties.Bar, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["baz"]) -> typing.Union[MetaOapg.Properties.Baz, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["baz"]) -> typing.Union[Schema_.Properties.Baz, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -85,8 +85,8 @@ class ReadOnlyFirst( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - bar: typing.Union[MetaOapg.Properties.Bar, str, schemas.Unset] = schemas.unset, - baz: typing.Union[MetaOapg.Properties.Baz, str, schemas.Unset] = schemas.unset, + bar: typing.Union[Schema_.Properties.Bar, str, schemas.Unset] = schemas.unset, + baz: typing.Union[Schema_.Properties.Baz, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ReadOnlyFirst': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_explicit_add_props.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_explicit_add_props.py index 88b4d479a21..2a4ad4391bf 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_explicit_add_props.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_explicit_add_props.py @@ -33,7 +33,7 @@ class ReqPropsFromExplicitAddProps( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} required = { "invalid-name", @@ -41,16 +41,16 @@ class MetaOapg: } AdditionalProperties = schemas.StrSchema - validName: MetaOapg.AdditionalProperties + validName: Schema_.AdditionalProperties @typing.overload - def __getitem__(self, name: typing_extensions.Literal["invalid-name"]) -> MetaOapg.AdditionalProperties: ... + def __getitem__(self, name: typing_extensions.Literal["invalid-name"]) -> Schema_.AdditionalProperties: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["validName"]) -> MetaOapg.AdditionalProperties: ... + def __getitem__(self, name: typing_extensions.Literal["validName"]) -> Schema_.AdditionalProperties: ... @typing.overload - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: ... + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: ... def __getitem__( self, @@ -64,13 +64,13 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["invalid-name"]) -> MetaOapg.AdditionalProperties: ... + def get_item_(self, name: typing_extensions.Literal["invalid-name"]) -> Schema_.AdditionalProperties: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["validName"]) -> MetaOapg.AdditionalProperties: ... + def get_item_(self, name: typing_extensions.Literal["validName"]) -> Schema_.AdditionalProperties: ... @typing.overload - def get_item_(self, name: str) -> typing.Union[MetaOapg.AdditionalProperties, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[Schema_.AdditionalProperties, schemas.Unset]: ... def get_item_( self, @@ -85,9 +85,9 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - validName: typing.Union[MetaOapg.AdditionalProperties, str, ], + validName: typing.Union[Schema_.AdditionalProperties, str, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, str, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], ) -> 'ReqPropsFromExplicitAddProps': return super().__new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_explicit_add_props.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_explicit_add_props.pyi index a64af029cd2..d7def74f01c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_explicit_add_props.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_explicit_add_props.pyi @@ -33,23 +33,23 @@ class ReqPropsFromExplicitAddProps( """ - class MetaOapg: + class Schema_: required = { "invalid-name", "validName", } AdditionalProperties = schemas.StrSchema - validName: MetaOapg.AdditionalProperties + validName: Schema_.AdditionalProperties @typing.overload - def __getitem__(self, name: typing_extensions.Literal["invalid-name"]) -> MetaOapg.AdditionalProperties: ... + def __getitem__(self, name: typing_extensions.Literal["invalid-name"]) -> Schema_.AdditionalProperties: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["validName"]) -> MetaOapg.AdditionalProperties: ... + def __getitem__(self, name: typing_extensions.Literal["validName"]) -> Schema_.AdditionalProperties: ... @typing.overload - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: ... + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: ... def __getitem__( self, @@ -63,13 +63,13 @@ class ReqPropsFromExplicitAddProps( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["invalid-name"]) -> MetaOapg.AdditionalProperties: ... + def get_item_(self, name: typing_extensions.Literal["invalid-name"]) -> Schema_.AdditionalProperties: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["validName"]) -> MetaOapg.AdditionalProperties: ... + def get_item_(self, name: typing_extensions.Literal["validName"]) -> Schema_.AdditionalProperties: ... @typing.overload - def get_item_(self, name: str) -> typing.Union[MetaOapg.AdditionalProperties, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[Schema_.AdditionalProperties, schemas.Unset]: ... def get_item_( self, @@ -84,9 +84,9 @@ class ReqPropsFromExplicitAddProps( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - validName: typing.Union[MetaOapg.AdditionalProperties, str, ], + validName: typing.Union[Schema_.AdditionalProperties, str, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, str, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], ) -> 'ReqPropsFromExplicitAddProps': return super().__new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_true_add_props.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_true_add_props.py index d317884adb9..4be93977383 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_true_add_props.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_true_add_props.py @@ -33,7 +33,7 @@ class ReqPropsFromTrueAddProps( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} required = { "invalid-name", @@ -41,16 +41,16 @@ class MetaOapg: } AdditionalProperties = schemas.AnyTypeSchema - validName: MetaOapg.AdditionalProperties + validName: Schema_.AdditionalProperties @typing.overload - def __getitem__(self, name: typing_extensions.Literal["invalid-name"]) -> MetaOapg.AdditionalProperties: ... + def __getitem__(self, name: typing_extensions.Literal["invalid-name"]) -> Schema_.AdditionalProperties: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["validName"]) -> MetaOapg.AdditionalProperties: ... + def __getitem__(self, name: typing_extensions.Literal["validName"]) -> Schema_.AdditionalProperties: ... @typing.overload - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: ... + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: ... def __getitem__( self, @@ -64,13 +64,13 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["invalid-name"]) -> MetaOapg.AdditionalProperties: ... + def get_item_(self, name: typing_extensions.Literal["invalid-name"]) -> Schema_.AdditionalProperties: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["validName"]) -> MetaOapg.AdditionalProperties: ... + def get_item_(self, name: typing_extensions.Literal["validName"]) -> Schema_.AdditionalProperties: ... @typing.overload - def get_item_(self, name: str) -> typing.Union[MetaOapg.AdditionalProperties, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[Schema_.AdditionalProperties, schemas.Unset]: ... def get_item_( self, @@ -85,9 +85,9 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - validName: typing.Union[MetaOapg.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + validName: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], ) -> 'ReqPropsFromTrueAddProps': return super().__new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_true_add_props.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_true_add_props.pyi index b37a8237aa0..980be902aa8 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_true_add_props.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_true_add_props.pyi @@ -33,23 +33,23 @@ class ReqPropsFromTrueAddProps( """ - class MetaOapg: + class Schema_: required = { "invalid-name", "validName", } AdditionalProperties = schemas.AnyTypeSchema - validName: MetaOapg.AdditionalProperties + validName: Schema_.AdditionalProperties @typing.overload - def __getitem__(self, name: typing_extensions.Literal["invalid-name"]) -> MetaOapg.AdditionalProperties: ... + def __getitem__(self, name: typing_extensions.Literal["invalid-name"]) -> Schema_.AdditionalProperties: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["validName"]) -> MetaOapg.AdditionalProperties: ... + def __getitem__(self, name: typing_extensions.Literal["validName"]) -> Schema_.AdditionalProperties: ... @typing.overload - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: ... + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: ... def __getitem__( self, @@ -63,13 +63,13 @@ class ReqPropsFromTrueAddProps( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["invalid-name"]) -> MetaOapg.AdditionalProperties: ... + def get_item_(self, name: typing_extensions.Literal["invalid-name"]) -> Schema_.AdditionalProperties: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["validName"]) -> MetaOapg.AdditionalProperties: ... + def get_item_(self, name: typing_extensions.Literal["validName"]) -> Schema_.AdditionalProperties: ... @typing.overload - def get_item_(self, name: str) -> typing.Union[MetaOapg.AdditionalProperties, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[Schema_.AdditionalProperties, schemas.Unset]: ... def get_item_( self, @@ -84,9 +84,9 @@ class ReqPropsFromTrueAddProps( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - validName: typing.Union[MetaOapg.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + validName: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], ) -> 'ReqPropsFromTrueAddProps': return super().__new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_unset_add_props.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_unset_add_props.py index 31edecb56d9..4b551367b88 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_unset_add_props.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_unset_add_props.py @@ -33,7 +33,7 @@ class ReqPropsFromUnsetAddProps( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} required = { "invalid-name", diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_unset_add_props.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_unset_add_props.pyi index a9b92eaf8f0..68470491b1e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_unset_add_props.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_unset_add_props.pyi @@ -33,7 +33,7 @@ class ReqPropsFromUnsetAddProps( """ - class MetaOapg: + class Schema_: required = { "invalid-name", "validName", diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/scalene_triangle.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/scalene_triangle.py index 8ba8bb1e780..3d534f88e64 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/scalene_triangle.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/scalene_triangle.py @@ -33,7 +33,7 @@ class ScaleneTriangle( """ - class MetaOapg: + class Schema_: # any type class AllOf: @@ -48,7 +48,7 @@ class AllOf1( ): - class MetaOapg: + class Schema_: types = {frozendict.frozendict} class Properties: @@ -59,7 +59,7 @@ class TriangleType( ): - class MetaOapg: + class Schema_: types = { str, } @@ -75,7 +75,7 @@ def SCALENE_TRIANGLE(cls): } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["triangleType"]) -> MetaOapg.Properties.TriangleType: ... + def __getitem__(self, name: typing_extensions.Literal["triangleType"]) -> Schema_.Properties.TriangleType: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -91,7 +91,7 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["triangleType"]) -> typing.Union[MetaOapg.Properties.TriangleType, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["triangleType"]) -> typing.Union[Schema_.Properties.TriangleType, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -108,7 +108,7 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - triangleType: typing.Union[MetaOapg.Properties.TriangleType, str, schemas.Unset] = schemas.unset, + triangleType: typing.Union[Schema_.Properties.TriangleType, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/scalene_triangle.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/scalene_triangle.pyi index 654b8b31848..7aa91a2efae 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/scalene_triangle.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/scalene_triangle.pyi @@ -33,7 +33,7 @@ class ScaleneTriangle( """ - class MetaOapg: + class Schema_: # any type class AllOf: @@ -48,7 +48,7 @@ class ScaleneTriangle( ): - class MetaOapg: + class Schema_: class Properties: @@ -65,7 +65,7 @@ class ScaleneTriangle( } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["triangleType"]) -> MetaOapg.Properties.TriangleType: ... + def __getitem__(self, name: typing_extensions.Literal["triangleType"]) -> Schema_.Properties.TriangleType: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -81,7 +81,7 @@ class ScaleneTriangle( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["triangleType"]) -> typing.Union[MetaOapg.Properties.TriangleType, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["triangleType"]) -> typing.Union[Schema_.Properties.TriangleType, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -98,7 +98,7 @@ class ScaleneTriangle( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - triangleType: typing.Union[MetaOapg.Properties.TriangleType, str, schemas.Unset] = schemas.unset, + triangleType: typing.Union[Schema_.Properties.TriangleType, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_array_model.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_array_model.py index 2c46c2d3224..a05037d7076 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_array_model.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_array_model.py @@ -33,7 +33,7 @@ class SelfReferencingArrayModel( """ - class MetaOapg: + class Schema_: types = {tuple} @staticmethod diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_array_model.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_array_model.pyi index 2c46c2d3224..a05037d7076 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_array_model.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_array_model.pyi @@ -33,7 +33,7 @@ class SelfReferencingArrayModel( """ - class MetaOapg: + class Schema_: types = {tuple} @staticmethod diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_object_model.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_object_model.py index 9e8a3f8fb92..fb1093d03ea 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_object_model.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_object_model.py @@ -33,7 +33,7 @@ class SelfReferencingObjectModel( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} class Properties: diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_object_model.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_object_model.pyi index 3d1d7a056f0..44281554daf 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_object_model.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_object_model.pyi @@ -33,7 +33,7 @@ class SelfReferencingObjectModel( """ - class MetaOapg: + class Schema_: class Properties: diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape.py index 900ca4f70e2..0a41c203bf9 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape.py @@ -33,7 +33,7 @@ class Shape( """ - class MetaOapg: + class Schema_: # any type @staticmethod diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape.pyi index 900ca4f70e2..0a41c203bf9 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape.pyi @@ -33,7 +33,7 @@ class Shape( """ - class MetaOapg: + class Schema_: # any type @staticmethod diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape_or_null.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape_or_null.py index b16abe77fac..cc735d82ce9 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape_or_null.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape_or_null.py @@ -35,7 +35,7 @@ class ShapeOrNull( """ - class MetaOapg: + class Schema_: # any type @staticmethod diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape_or_null.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape_or_null.pyi index b16abe77fac..cc735d82ce9 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape_or_null.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape_or_null.pyi @@ -35,7 +35,7 @@ class ShapeOrNull( """ - class MetaOapg: + class Schema_: # any type @staticmethod diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/simple_quadrilateral.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/simple_quadrilateral.py index 6d41018d895..cd3089e560a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/simple_quadrilateral.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/simple_quadrilateral.py @@ -33,7 +33,7 @@ class SimpleQuadrilateral( """ - class MetaOapg: + class Schema_: # any type class AllOf: @@ -48,7 +48,7 @@ class AllOf1( ): - class MetaOapg: + class Schema_: types = {frozendict.frozendict} class Properties: @@ -59,7 +59,7 @@ class QuadrilateralType( ): - class MetaOapg: + class Schema_: types = { str, } @@ -75,7 +75,7 @@ def SIMPLE_QUADRILATERAL(cls): } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["quadrilateralType"]) -> MetaOapg.Properties.QuadrilateralType: ... + def __getitem__(self, name: typing_extensions.Literal["quadrilateralType"]) -> Schema_.Properties.QuadrilateralType: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -91,7 +91,7 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["quadrilateralType"]) -> typing.Union[MetaOapg.Properties.QuadrilateralType, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["quadrilateralType"]) -> typing.Union[Schema_.Properties.QuadrilateralType, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -108,7 +108,7 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - quadrilateralType: typing.Union[MetaOapg.Properties.QuadrilateralType, str, schemas.Unset] = schemas.unset, + quadrilateralType: typing.Union[Schema_.Properties.QuadrilateralType, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/simple_quadrilateral.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/simple_quadrilateral.pyi index b7c7bf8829d..d9403621495 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/simple_quadrilateral.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/simple_quadrilateral.pyi @@ -33,7 +33,7 @@ class SimpleQuadrilateral( """ - class MetaOapg: + class Schema_: # any type class AllOf: @@ -48,7 +48,7 @@ class SimpleQuadrilateral( ): - class MetaOapg: + class Schema_: class Properties: @@ -65,7 +65,7 @@ class SimpleQuadrilateral( } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["quadrilateralType"]) -> MetaOapg.Properties.QuadrilateralType: ... + def __getitem__(self, name: typing_extensions.Literal["quadrilateralType"]) -> Schema_.Properties.QuadrilateralType: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -81,7 +81,7 @@ class SimpleQuadrilateral( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["quadrilateralType"]) -> typing.Union[MetaOapg.Properties.QuadrilateralType, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["quadrilateralType"]) -> typing.Union[Schema_.Properties.QuadrilateralType, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -98,7 +98,7 @@ class SimpleQuadrilateral( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - quadrilateralType: typing.Union[MetaOapg.Properties.QuadrilateralType, str, schemas.Unset] = schemas.unset, + quadrilateralType: typing.Union[Schema_.Properties.QuadrilateralType, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/some_object.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/some_object.py index 755856e031f..fcebbace325 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/some_object.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/some_object.py @@ -33,7 +33,7 @@ class SomeObject( """ - class MetaOapg: + class Schema_: # any type class AllOf: diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/some_object.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/some_object.pyi index 755856e031f..fcebbace325 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/some_object.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/some_object.pyi @@ -33,7 +33,7 @@ class SomeObject( """ - class MetaOapg: + class Schema_: # any type class AllOf: diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/special_model_name.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/special_model_name.py index 785211c98a8..602a8c505c7 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/special_model_name.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/special_model_name.py @@ -35,7 +35,7 @@ class SpecialModelName( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} class Properties: @@ -45,7 +45,7 @@ class Properties: } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["a"]) -> MetaOapg.Properties.A: ... + def __getitem__(self, name: typing_extensions.Literal["a"]) -> Schema_.Properties.A: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -61,7 +61,7 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["a"]) -> typing.Union[MetaOapg.Properties.A, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["a"]) -> typing.Union[Schema_.Properties.A, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -78,7 +78,7 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - a: typing.Union[MetaOapg.Properties.A, str, schemas.Unset] = schemas.unset, + a: typing.Union[Schema_.Properties.A, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'SpecialModelName': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/special_model_name.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/special_model_name.pyi index c200d76ddce..7138d365563 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/special_model_name.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/special_model_name.pyi @@ -35,7 +35,7 @@ class SpecialModelName( """ - class MetaOapg: + class Schema_: class Properties: A = schemas.StrSchema @@ -44,7 +44,7 @@ class SpecialModelName( } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["a"]) -> MetaOapg.Properties.A: ... + def __getitem__(self, name: typing_extensions.Literal["a"]) -> Schema_.Properties.A: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -60,7 +60,7 @@ class SpecialModelName( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["a"]) -> typing.Union[MetaOapg.Properties.A, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["a"]) -> typing.Union[Schema_.Properties.A, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -77,7 +77,7 @@ class SpecialModelName( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - a: typing.Union[MetaOapg.Properties.A, str, schemas.Unset] = schemas.unset, + a: typing.Union[Schema_.Properties.A, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'SpecialModelName': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_boolean_map.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_boolean_map.py index fa31ebf69c8..3f27625b087 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_boolean_map.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_boolean_map.py @@ -33,22 +33,22 @@ class StringBooleanMap( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} AdditionalProperties = schemas.BoolSchema - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + def get_item_(self, name: str) -> Schema_.AdditionalProperties: return super().get_item_(name) def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, bool, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, bool, ], ) -> 'StringBooleanMap': return super().__new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_boolean_map.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_boolean_map.pyi index 10e85c3e5bd..e1f597b94d5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_boolean_map.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_boolean_map.pyi @@ -33,21 +33,21 @@ class StringBooleanMap( """ - class MetaOapg: + class Schema_: AdditionalProperties = schemas.BoolSchema - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + def get_item_(self, name: str) -> Schema_.AdditionalProperties: return super().get_item_(name) def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, bool, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, bool, ], ) -> 'StringBooleanMap': return super().__new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_enum.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_enum.py index d039891e075..5360ed9e3fe 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_enum.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_enum.py @@ -36,7 +36,7 @@ class StringEnum( """ - class MetaOapg: + class Schema_: types = { schemas.NoneClass, str, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_enum.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_enum.pyi index d039891e075..5360ed9e3fe 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_enum.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_enum.pyi @@ -36,7 +36,7 @@ class StringEnum( """ - class MetaOapg: + class Schema_: types = { schemas.NoneClass, str, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_enum_with_default_value.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_enum_with_default_value.py index 49681f57679..ac212c04bd4 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_enum_with_default_value.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_enum_with_default_value.py @@ -33,7 +33,7 @@ class StringEnumWithDefaultValue( """ - class MetaOapg: + class Schema_: types = { str, } diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_with_validation.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_with_validation.py index 660e82a01f7..910e74e698f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_with_validation.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_with_validation.py @@ -33,7 +33,7 @@ class StringWithValidation( """ - class MetaOapg: + class Schema_: types = { str, } diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/tag.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/tag.py index 3745047fd6a..8bb8fecc1d3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/tag.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/tag.py @@ -33,7 +33,7 @@ class Tag( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} class Properties: @@ -45,10 +45,10 @@ class Properties: } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.Properties.Id: ... + def __getitem__(self, name: typing_extensions.Literal["id"]) -> Schema_.Properties.Id: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.Properties.Name: ... + def __getitem__(self, name: typing_extensions.Literal["name"]) -> Schema_.Properties.Name: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -65,10 +65,10 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["id"]) -> typing.Union[MetaOapg.Properties.Id, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["id"]) -> typing.Union[Schema_.Properties.Id, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.Properties.Name, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["name"]) -> typing.Union[Schema_.Properties.Name, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -86,8 +86,8 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, - name: typing.Union[MetaOapg.Properties.Name, str, schemas.Unset] = schemas.unset, + id: typing.Union[Schema_.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, + name: typing.Union[Schema_.Properties.Name, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Tag': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/tag.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/tag.pyi index dadf78c7e1a..b6a7ddb24e3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/tag.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/tag.pyi @@ -33,7 +33,7 @@ class Tag( """ - class MetaOapg: + class Schema_: class Properties: Id = schemas.Int64Schema @@ -44,10 +44,10 @@ class Tag( } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.Properties.Id: ... + def __getitem__(self, name: typing_extensions.Literal["id"]) -> Schema_.Properties.Id: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.Properties.Name: ... + def __getitem__(self, name: typing_extensions.Literal["name"]) -> Schema_.Properties.Name: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -64,10 +64,10 @@ class Tag( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["id"]) -> typing.Union[MetaOapg.Properties.Id, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["id"]) -> typing.Union[Schema_.Properties.Id, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.Properties.Name, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["name"]) -> typing.Union[Schema_.Properties.Name, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -85,8 +85,8 @@ class Tag( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, - name: typing.Union[MetaOapg.Properties.Name, str, schemas.Unset] = schemas.unset, + id: typing.Union[Schema_.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, + name: typing.Union[Schema_.Properties.Name, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Tag': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle.py index 1cdd2661274..61dffe725d9 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle.py @@ -33,7 +33,7 @@ class Triangle( """ - class MetaOapg: + class Schema_: # any type @staticmethod diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle.pyi index 1cdd2661274..61dffe725d9 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle.pyi @@ -33,7 +33,7 @@ class Triangle( """ - class MetaOapg: + class Schema_: # any type @staticmethod diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle_interface.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle_interface.py index 1f24020967b..aeb6d22a05d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle_interface.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle_interface.py @@ -33,7 +33,7 @@ class TriangleInterface( """ - class MetaOapg: + class Schema_: # any type required = { "shapeType", @@ -48,7 +48,7 @@ class ShapeType( ): - class MetaOapg: + class Schema_: types = { str, } @@ -66,14 +66,14 @@ def TRIANGLE(cls): } - shapeType: MetaOapg.Properties.ShapeType - triangleType: MetaOapg.Properties.TriangleType + shapeType: Schema_.Properties.ShapeType + triangleType: Schema_.Properties.TriangleType @typing.overload - def __getitem__(self, name: typing_extensions.Literal["shapeType"]) -> MetaOapg.Properties.ShapeType: ... + def __getitem__(self, name: typing_extensions.Literal["shapeType"]) -> Schema_.Properties.ShapeType: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["triangleType"]) -> MetaOapg.Properties.TriangleType: ... + def __getitem__(self, name: typing_extensions.Literal["triangleType"]) -> Schema_.Properties.TriangleType: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -90,10 +90,10 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["shapeType"]) -> MetaOapg.Properties.ShapeType: ... + def get_item_(self, name: typing_extensions.Literal["shapeType"]) -> Schema_.Properties.ShapeType: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["triangleType"]) -> MetaOapg.Properties.TriangleType: ... + def get_item_(self, name: typing_extensions.Literal["triangleType"]) -> Schema_.Properties.TriangleType: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -111,8 +111,8 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - shapeType: typing.Union[MetaOapg.Properties.ShapeType, str, ], - triangleType: typing.Union[MetaOapg.Properties.TriangleType, str, ], + shapeType: typing.Union[Schema_.Properties.ShapeType, str, ], + triangleType: typing.Union[Schema_.Properties.TriangleType, str, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'TriangleInterface': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle_interface.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle_interface.pyi index f89852ca46f..9fc92faff35 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle_interface.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle_interface.pyi @@ -33,7 +33,7 @@ class TriangleInterface( """ - class MetaOapg: + class Schema_: # any type required = { "shapeType", @@ -57,14 +57,14 @@ class TriangleInterface( } - shapeType: MetaOapg.Properties.ShapeType - triangleType: MetaOapg.Properties.TriangleType + shapeType: Schema_.Properties.ShapeType + triangleType: Schema_.Properties.TriangleType @typing.overload - def __getitem__(self, name: typing_extensions.Literal["shapeType"]) -> MetaOapg.Properties.ShapeType: ... + def __getitem__(self, name: typing_extensions.Literal["shapeType"]) -> Schema_.Properties.ShapeType: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["triangleType"]) -> MetaOapg.Properties.TriangleType: ... + def __getitem__(self, name: typing_extensions.Literal["triangleType"]) -> Schema_.Properties.TriangleType: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -81,10 +81,10 @@ class TriangleInterface( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["shapeType"]) -> MetaOapg.Properties.ShapeType: ... + def get_item_(self, name: typing_extensions.Literal["shapeType"]) -> Schema_.Properties.ShapeType: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["triangleType"]) -> MetaOapg.Properties.TriangleType: ... + def get_item_(self, name: typing_extensions.Literal["triangleType"]) -> Schema_.Properties.TriangleType: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -102,8 +102,8 @@ class TriangleInterface( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - shapeType: typing.Union[MetaOapg.Properties.ShapeType, str, ], - triangleType: typing.Union[MetaOapg.Properties.TriangleType, str, ], + shapeType: typing.Union[Schema_.Properties.ShapeType, str, ], + triangleType: typing.Union[Schema_.Properties.TriangleType, str, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'TriangleInterface': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/user.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/user.py index 81dca5df765..3e4db52f919 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/user.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/user.py @@ -33,7 +33,7 @@ class User( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} class Properties: @@ -56,7 +56,7 @@ class ObjectWithNoDeclaredPropsNullable( ): - class MetaOapg: + class Schema_: types = { schemas.NoneClass, frozendict.frozendict, @@ -83,7 +83,7 @@ class AnyTypeExceptNullProp( ): - class MetaOapg: + class Schema_: # any type _Not = schemas.NoneSchema @@ -118,43 +118,43 @@ def __new__( } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.Properties.Id: ... + def __getitem__(self, name: typing_extensions.Literal["id"]) -> Schema_.Properties.Id: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["username"]) -> MetaOapg.Properties.Username: ... + def __getitem__(self, name: typing_extensions.Literal["username"]) -> Schema_.Properties.Username: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["firstName"]) -> MetaOapg.Properties.FirstName: ... + def __getitem__(self, name: typing_extensions.Literal["firstName"]) -> Schema_.Properties.FirstName: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["lastName"]) -> MetaOapg.Properties.LastName: ... + def __getitem__(self, name: typing_extensions.Literal["lastName"]) -> Schema_.Properties.LastName: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["email"]) -> MetaOapg.Properties.Email: ... + def __getitem__(self, name: typing_extensions.Literal["email"]) -> Schema_.Properties.Email: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["password"]) -> MetaOapg.Properties.Password: ... + def __getitem__(self, name: typing_extensions.Literal["password"]) -> Schema_.Properties.Password: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["phone"]) -> MetaOapg.Properties.Phone: ... + def __getitem__(self, name: typing_extensions.Literal["phone"]) -> Schema_.Properties.Phone: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["userStatus"]) -> MetaOapg.Properties.UserStatus: ... + def __getitem__(self, name: typing_extensions.Literal["userStatus"]) -> Schema_.Properties.UserStatus: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["objectWithNoDeclaredProps"]) -> MetaOapg.Properties.ObjectWithNoDeclaredProps: ... + def __getitem__(self, name: typing_extensions.Literal["objectWithNoDeclaredProps"]) -> Schema_.Properties.ObjectWithNoDeclaredProps: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["objectWithNoDeclaredPropsNullable"]) -> MetaOapg.Properties.ObjectWithNoDeclaredPropsNullable: ... + def __getitem__(self, name: typing_extensions.Literal["objectWithNoDeclaredPropsNullable"]) -> Schema_.Properties.ObjectWithNoDeclaredPropsNullable: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["anyTypeProp"]) -> MetaOapg.Properties.AnyTypeProp: ... + def __getitem__(self, name: typing_extensions.Literal["anyTypeProp"]) -> Schema_.Properties.AnyTypeProp: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["anyTypeExceptNullProp"]) -> MetaOapg.Properties.AnyTypeExceptNullProp: ... + def __getitem__(self, name: typing_extensions.Literal["anyTypeExceptNullProp"]) -> Schema_.Properties.AnyTypeExceptNullProp: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["anyTypePropNullable"]) -> MetaOapg.Properties.AnyTypePropNullable: ... + def __getitem__(self, name: typing_extensions.Literal["anyTypePropNullable"]) -> Schema_.Properties.AnyTypePropNullable: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -182,43 +182,43 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["id"]) -> typing.Union[MetaOapg.Properties.Id, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["id"]) -> typing.Union[Schema_.Properties.Id, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["username"]) -> typing.Union[MetaOapg.Properties.Username, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["username"]) -> typing.Union[Schema_.Properties.Username, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["firstName"]) -> typing.Union[MetaOapg.Properties.FirstName, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["firstName"]) -> typing.Union[Schema_.Properties.FirstName, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["lastName"]) -> typing.Union[MetaOapg.Properties.LastName, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["lastName"]) -> typing.Union[Schema_.Properties.LastName, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["email"]) -> typing.Union[MetaOapg.Properties.Email, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["email"]) -> typing.Union[Schema_.Properties.Email, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["password"]) -> typing.Union[MetaOapg.Properties.Password, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["password"]) -> typing.Union[Schema_.Properties.Password, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["phone"]) -> typing.Union[MetaOapg.Properties.Phone, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["phone"]) -> typing.Union[Schema_.Properties.Phone, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["userStatus"]) -> typing.Union[MetaOapg.Properties.UserStatus, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["userStatus"]) -> typing.Union[Schema_.Properties.UserStatus, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["objectWithNoDeclaredProps"]) -> typing.Union[MetaOapg.Properties.ObjectWithNoDeclaredProps, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["objectWithNoDeclaredProps"]) -> typing.Union[Schema_.Properties.ObjectWithNoDeclaredProps, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["objectWithNoDeclaredPropsNullable"]) -> typing.Union[MetaOapg.Properties.ObjectWithNoDeclaredPropsNullable, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["objectWithNoDeclaredPropsNullable"]) -> typing.Union[Schema_.Properties.ObjectWithNoDeclaredPropsNullable, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["anyTypeProp"]) -> typing.Union[MetaOapg.Properties.AnyTypeProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["anyTypeProp"]) -> typing.Union[Schema_.Properties.AnyTypeProp, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["anyTypeExceptNullProp"]) -> typing.Union[MetaOapg.Properties.AnyTypeExceptNullProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["anyTypeExceptNullProp"]) -> typing.Union[Schema_.Properties.AnyTypeExceptNullProp, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["anyTypePropNullable"]) -> typing.Union[MetaOapg.Properties.AnyTypePropNullable, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["anyTypePropNullable"]) -> typing.Union[Schema_.Properties.AnyTypePropNullable, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -247,19 +247,19 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, - username: typing.Union[MetaOapg.Properties.Username, str, schemas.Unset] = schemas.unset, - firstName: typing.Union[MetaOapg.Properties.FirstName, str, schemas.Unset] = schemas.unset, - lastName: typing.Union[MetaOapg.Properties.LastName, str, schemas.Unset] = schemas.unset, - email: typing.Union[MetaOapg.Properties.Email, str, schemas.Unset] = schemas.unset, - password: typing.Union[MetaOapg.Properties.Password, str, schemas.Unset] = schemas.unset, - phone: typing.Union[MetaOapg.Properties.Phone, str, schemas.Unset] = schemas.unset, - userStatus: typing.Union[MetaOapg.Properties.UserStatus, decimal.Decimal, int, schemas.Unset] = schemas.unset, - objectWithNoDeclaredProps: typing.Union[MetaOapg.Properties.ObjectWithNoDeclaredProps, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - objectWithNoDeclaredPropsNullable: typing.Union[MetaOapg.Properties.ObjectWithNoDeclaredPropsNullable, dict, frozendict.frozendict, None, schemas.Unset] = schemas.unset, - anyTypeProp: typing.Union[MetaOapg.Properties.AnyTypeProp, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - anyTypeExceptNullProp: typing.Union[MetaOapg.Properties.AnyTypeExceptNullProp, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - anyTypePropNullable: typing.Union[MetaOapg.Properties.AnyTypePropNullable, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + id: typing.Union[Schema_.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, + username: typing.Union[Schema_.Properties.Username, str, schemas.Unset] = schemas.unset, + firstName: typing.Union[Schema_.Properties.FirstName, str, schemas.Unset] = schemas.unset, + lastName: typing.Union[Schema_.Properties.LastName, str, schemas.Unset] = schemas.unset, + email: typing.Union[Schema_.Properties.Email, str, schemas.Unset] = schemas.unset, + password: typing.Union[Schema_.Properties.Password, str, schemas.Unset] = schemas.unset, + phone: typing.Union[Schema_.Properties.Phone, str, schemas.Unset] = schemas.unset, + userStatus: typing.Union[Schema_.Properties.UserStatus, decimal.Decimal, int, schemas.Unset] = schemas.unset, + objectWithNoDeclaredProps: typing.Union[Schema_.Properties.ObjectWithNoDeclaredProps, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + objectWithNoDeclaredPropsNullable: typing.Union[Schema_.Properties.ObjectWithNoDeclaredPropsNullable, dict, frozendict.frozendict, None, schemas.Unset] = schemas.unset, + anyTypeProp: typing.Union[Schema_.Properties.AnyTypeProp, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + anyTypeExceptNullProp: typing.Union[Schema_.Properties.AnyTypeExceptNullProp, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + anyTypePropNullable: typing.Union[Schema_.Properties.AnyTypePropNullable, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'User': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/user.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/user.pyi index f6f7eca2382..a308d66a86c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/user.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/user.pyi @@ -33,7 +33,7 @@ class User( """ - class MetaOapg: + class Schema_: class Properties: Id = schemas.Int64Schema @@ -55,7 +55,7 @@ class User( ): - class MetaOapg: + class Schema_: types = { schemas.NoneClass, frozendict.frozendict, @@ -82,7 +82,7 @@ class User( ): - class MetaOapg: + class Schema_: # any type _Not = schemas.NoneSchema @@ -117,43 +117,43 @@ class User( } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.Properties.Id: ... + def __getitem__(self, name: typing_extensions.Literal["id"]) -> Schema_.Properties.Id: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["username"]) -> MetaOapg.Properties.Username: ... + def __getitem__(self, name: typing_extensions.Literal["username"]) -> Schema_.Properties.Username: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["firstName"]) -> MetaOapg.Properties.FirstName: ... + def __getitem__(self, name: typing_extensions.Literal["firstName"]) -> Schema_.Properties.FirstName: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["lastName"]) -> MetaOapg.Properties.LastName: ... + def __getitem__(self, name: typing_extensions.Literal["lastName"]) -> Schema_.Properties.LastName: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["email"]) -> MetaOapg.Properties.Email: ... + def __getitem__(self, name: typing_extensions.Literal["email"]) -> Schema_.Properties.Email: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["password"]) -> MetaOapg.Properties.Password: ... + def __getitem__(self, name: typing_extensions.Literal["password"]) -> Schema_.Properties.Password: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["phone"]) -> MetaOapg.Properties.Phone: ... + def __getitem__(self, name: typing_extensions.Literal["phone"]) -> Schema_.Properties.Phone: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["userStatus"]) -> MetaOapg.Properties.UserStatus: ... + def __getitem__(self, name: typing_extensions.Literal["userStatus"]) -> Schema_.Properties.UserStatus: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["objectWithNoDeclaredProps"]) -> MetaOapg.Properties.ObjectWithNoDeclaredProps: ... + def __getitem__(self, name: typing_extensions.Literal["objectWithNoDeclaredProps"]) -> Schema_.Properties.ObjectWithNoDeclaredProps: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["objectWithNoDeclaredPropsNullable"]) -> MetaOapg.Properties.ObjectWithNoDeclaredPropsNullable: ... + def __getitem__(self, name: typing_extensions.Literal["objectWithNoDeclaredPropsNullable"]) -> Schema_.Properties.ObjectWithNoDeclaredPropsNullable: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["anyTypeProp"]) -> MetaOapg.Properties.AnyTypeProp: ... + def __getitem__(self, name: typing_extensions.Literal["anyTypeProp"]) -> Schema_.Properties.AnyTypeProp: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["anyTypeExceptNullProp"]) -> MetaOapg.Properties.AnyTypeExceptNullProp: ... + def __getitem__(self, name: typing_extensions.Literal["anyTypeExceptNullProp"]) -> Schema_.Properties.AnyTypeExceptNullProp: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["anyTypePropNullable"]) -> MetaOapg.Properties.AnyTypePropNullable: ... + def __getitem__(self, name: typing_extensions.Literal["anyTypePropNullable"]) -> Schema_.Properties.AnyTypePropNullable: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -181,43 +181,43 @@ class User( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["id"]) -> typing.Union[MetaOapg.Properties.Id, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["id"]) -> typing.Union[Schema_.Properties.Id, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["username"]) -> typing.Union[MetaOapg.Properties.Username, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["username"]) -> typing.Union[Schema_.Properties.Username, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["firstName"]) -> typing.Union[MetaOapg.Properties.FirstName, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["firstName"]) -> typing.Union[Schema_.Properties.FirstName, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["lastName"]) -> typing.Union[MetaOapg.Properties.LastName, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["lastName"]) -> typing.Union[Schema_.Properties.LastName, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["email"]) -> typing.Union[MetaOapg.Properties.Email, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["email"]) -> typing.Union[Schema_.Properties.Email, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["password"]) -> typing.Union[MetaOapg.Properties.Password, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["password"]) -> typing.Union[Schema_.Properties.Password, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["phone"]) -> typing.Union[MetaOapg.Properties.Phone, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["phone"]) -> typing.Union[Schema_.Properties.Phone, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["userStatus"]) -> typing.Union[MetaOapg.Properties.UserStatus, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["userStatus"]) -> typing.Union[Schema_.Properties.UserStatus, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["objectWithNoDeclaredProps"]) -> typing.Union[MetaOapg.Properties.ObjectWithNoDeclaredProps, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["objectWithNoDeclaredProps"]) -> typing.Union[Schema_.Properties.ObjectWithNoDeclaredProps, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["objectWithNoDeclaredPropsNullable"]) -> typing.Union[MetaOapg.Properties.ObjectWithNoDeclaredPropsNullable, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["objectWithNoDeclaredPropsNullable"]) -> typing.Union[Schema_.Properties.ObjectWithNoDeclaredPropsNullable, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["anyTypeProp"]) -> typing.Union[MetaOapg.Properties.AnyTypeProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["anyTypeProp"]) -> typing.Union[Schema_.Properties.AnyTypeProp, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["anyTypeExceptNullProp"]) -> typing.Union[MetaOapg.Properties.AnyTypeExceptNullProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["anyTypeExceptNullProp"]) -> typing.Union[Schema_.Properties.AnyTypeExceptNullProp, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["anyTypePropNullable"]) -> typing.Union[MetaOapg.Properties.AnyTypePropNullable, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["anyTypePropNullable"]) -> typing.Union[Schema_.Properties.AnyTypePropNullable, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -246,19 +246,19 @@ class User( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, - username: typing.Union[MetaOapg.Properties.Username, str, schemas.Unset] = schemas.unset, - firstName: typing.Union[MetaOapg.Properties.FirstName, str, schemas.Unset] = schemas.unset, - lastName: typing.Union[MetaOapg.Properties.LastName, str, schemas.Unset] = schemas.unset, - email: typing.Union[MetaOapg.Properties.Email, str, schemas.Unset] = schemas.unset, - password: typing.Union[MetaOapg.Properties.Password, str, schemas.Unset] = schemas.unset, - phone: typing.Union[MetaOapg.Properties.Phone, str, schemas.Unset] = schemas.unset, - userStatus: typing.Union[MetaOapg.Properties.UserStatus, decimal.Decimal, int, schemas.Unset] = schemas.unset, - objectWithNoDeclaredProps: typing.Union[MetaOapg.Properties.ObjectWithNoDeclaredProps, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - objectWithNoDeclaredPropsNullable: typing.Union[MetaOapg.Properties.ObjectWithNoDeclaredPropsNullable, dict, frozendict.frozendict, None, schemas.Unset] = schemas.unset, - anyTypeProp: typing.Union[MetaOapg.Properties.AnyTypeProp, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - anyTypeExceptNullProp: typing.Union[MetaOapg.Properties.AnyTypeExceptNullProp, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - anyTypePropNullable: typing.Union[MetaOapg.Properties.AnyTypePropNullable, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + id: typing.Union[Schema_.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, + username: typing.Union[Schema_.Properties.Username, str, schemas.Unset] = schemas.unset, + firstName: typing.Union[Schema_.Properties.FirstName, str, schemas.Unset] = schemas.unset, + lastName: typing.Union[Schema_.Properties.LastName, str, schemas.Unset] = schemas.unset, + email: typing.Union[Schema_.Properties.Email, str, schemas.Unset] = schemas.unset, + password: typing.Union[Schema_.Properties.Password, str, schemas.Unset] = schemas.unset, + phone: typing.Union[Schema_.Properties.Phone, str, schemas.Unset] = schemas.unset, + userStatus: typing.Union[Schema_.Properties.UserStatus, decimal.Decimal, int, schemas.Unset] = schemas.unset, + objectWithNoDeclaredProps: typing.Union[Schema_.Properties.ObjectWithNoDeclaredProps, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + objectWithNoDeclaredPropsNullable: typing.Union[Schema_.Properties.ObjectWithNoDeclaredPropsNullable, dict, frozendict.frozendict, None, schemas.Unset] = schemas.unset, + anyTypeProp: typing.Union[Schema_.Properties.AnyTypeProp, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + anyTypeExceptNullProp: typing.Union[Schema_.Properties.AnyTypeExceptNullProp, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + anyTypePropNullable: typing.Union[Schema_.Properties.AnyTypePropNullable, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'User': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/uuid_string.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/uuid_string.py index 53b39215b41..73352c429dd 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/uuid_string.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/uuid_string.py @@ -33,7 +33,7 @@ class UUIDString( """ - class MetaOapg: + class Schema_: types = { str, } diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/whale.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/whale.py index 271594f125a..a95e034ecb5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/whale.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/whale.py @@ -33,7 +33,7 @@ class Whale( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} required = { "className", @@ -49,7 +49,7 @@ class ClassName( ): - class MetaOapg: + class Schema_: types = { str, } @@ -66,16 +66,16 @@ def WHALE(cls): "className": ClassName, } - className: MetaOapg.Properties.ClassName + className: Schema_.Properties.ClassName @typing.overload - def __getitem__(self, name: typing_extensions.Literal["className"]) -> MetaOapg.Properties.ClassName: ... + def __getitem__(self, name: typing_extensions.Literal["className"]) -> Schema_.Properties.ClassName: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["hasBaleen"]) -> MetaOapg.Properties.HasBaleen: ... + def __getitem__(self, name: typing_extensions.Literal["hasBaleen"]) -> Schema_.Properties.HasBaleen: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["hasTeeth"]) -> MetaOapg.Properties.HasTeeth: ... + def __getitem__(self, name: typing_extensions.Literal["hasTeeth"]) -> Schema_.Properties.HasTeeth: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -93,13 +93,13 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["className"]) -> MetaOapg.Properties.ClassName: ... + def get_item_(self, name: typing_extensions.Literal["className"]) -> Schema_.Properties.ClassName: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["hasBaleen"]) -> typing.Union[MetaOapg.Properties.HasBaleen, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["hasBaleen"]) -> typing.Union[Schema_.Properties.HasBaleen, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["hasTeeth"]) -> typing.Union[MetaOapg.Properties.HasTeeth, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["hasTeeth"]) -> typing.Union[Schema_.Properties.HasTeeth, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -118,9 +118,9 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - className: typing.Union[MetaOapg.Properties.ClassName, str, ], - hasBaleen: typing.Union[MetaOapg.Properties.HasBaleen, bool, schemas.Unset] = schemas.unset, - hasTeeth: typing.Union[MetaOapg.Properties.HasTeeth, bool, schemas.Unset] = schemas.unset, + className: typing.Union[Schema_.Properties.ClassName, str, ], + hasBaleen: typing.Union[Schema_.Properties.HasBaleen, bool, schemas.Unset] = schemas.unset, + hasTeeth: typing.Union[Schema_.Properties.HasTeeth, bool, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Whale': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/whale.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/whale.pyi index 5dafaf82fc6..a8ddc09a0a9 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/whale.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/whale.pyi @@ -33,7 +33,7 @@ class Whale( """ - class MetaOapg: + class Schema_: required = { "className", } @@ -56,16 +56,16 @@ class Whale( "className": ClassName, } - className: MetaOapg.Properties.ClassName + className: Schema_.Properties.ClassName @typing.overload - def __getitem__(self, name: typing_extensions.Literal["className"]) -> MetaOapg.Properties.ClassName: ... + def __getitem__(self, name: typing_extensions.Literal["className"]) -> Schema_.Properties.ClassName: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["hasBaleen"]) -> MetaOapg.Properties.HasBaleen: ... + def __getitem__(self, name: typing_extensions.Literal["hasBaleen"]) -> Schema_.Properties.HasBaleen: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["hasTeeth"]) -> MetaOapg.Properties.HasTeeth: ... + def __getitem__(self, name: typing_extensions.Literal["hasTeeth"]) -> Schema_.Properties.HasTeeth: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -83,13 +83,13 @@ class Whale( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["className"]) -> MetaOapg.Properties.ClassName: ... + def get_item_(self, name: typing_extensions.Literal["className"]) -> Schema_.Properties.ClassName: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["hasBaleen"]) -> typing.Union[MetaOapg.Properties.HasBaleen, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["hasBaleen"]) -> typing.Union[Schema_.Properties.HasBaleen, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["hasTeeth"]) -> typing.Union[MetaOapg.Properties.HasTeeth, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["hasTeeth"]) -> typing.Union[Schema_.Properties.HasTeeth, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -108,9 +108,9 @@ class Whale( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - className: typing.Union[MetaOapg.Properties.ClassName, str, ], - hasBaleen: typing.Union[MetaOapg.Properties.HasBaleen, bool, schemas.Unset] = schemas.unset, - hasTeeth: typing.Union[MetaOapg.Properties.HasTeeth, bool, schemas.Unset] = schemas.unset, + className: typing.Union[Schema_.Properties.ClassName, str, ], + hasBaleen: typing.Union[Schema_.Properties.HasBaleen, bool, schemas.Unset] = schemas.unset, + hasTeeth: typing.Union[Schema_.Properties.HasTeeth, bool, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Whale': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/zebra.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/zebra.py index efe42c5fafd..1fccee95e66 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/zebra.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/zebra.py @@ -33,7 +33,7 @@ class Zebra( """ - class MetaOapg: + class Schema_: types = {frozendict.frozendict} required = { "className", @@ -47,7 +47,7 @@ class Type( ): - class MetaOapg: + class Schema_: types = { str, } @@ -75,7 +75,7 @@ class ClassName( ): - class MetaOapg: + class Schema_: types = { str, } @@ -92,16 +92,16 @@ def ZEBRA(cls): } AdditionalProperties = schemas.AnyTypeSchema - className: MetaOapg.Properties.ClassName + className: Schema_.Properties.ClassName @typing.overload - def __getitem__(self, name: typing_extensions.Literal["className"]) -> MetaOapg.Properties.ClassName: ... + def __getitem__(self, name: typing_extensions.Literal["className"]) -> Schema_.Properties.ClassName: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.Properties.Type: ... + def __getitem__(self, name: typing_extensions.Literal["type"]) -> Schema_.Properties.Type: ... @typing.overload - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: ... + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: ... def __getitem__( self, @@ -115,13 +115,13 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["className"]) -> MetaOapg.Properties.ClassName: ... + def get_item_(self, name: typing_extensions.Literal["className"]) -> Schema_.Properties.ClassName: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["type"]) -> typing.Union[MetaOapg.Properties.Type, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["type"]) -> typing.Union[Schema_.Properties.Type, schemas.Unset]: ... @typing.overload - def get_item_(self, name: str) -> typing.Union[MetaOapg.AdditionalProperties, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[Schema_.AdditionalProperties, schemas.Unset]: ... def get_item_( self, @@ -136,10 +136,10 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - className: typing.Union[MetaOapg.Properties.ClassName, str, ], - type: typing.Union[MetaOapg.Properties.Type, str, schemas.Unset] = schemas.unset, + className: typing.Union[Schema_.Properties.ClassName, str, ], + type: typing.Union[Schema_.Properties.Type, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], ) -> 'Zebra': return super().__new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/zebra.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/zebra.pyi index 0f6c53fb1be..8880687652d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/zebra.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/zebra.pyi @@ -33,7 +33,7 @@ class Zebra( """ - class MetaOapg: + class Schema_: required = { "className", } @@ -71,16 +71,16 @@ class Zebra( } AdditionalProperties = schemas.AnyTypeSchema - className: MetaOapg.Properties.ClassName + className: Schema_.Properties.ClassName @typing.overload - def __getitem__(self, name: typing_extensions.Literal["className"]) -> MetaOapg.Properties.ClassName: ... + def __getitem__(self, name: typing_extensions.Literal["className"]) -> Schema_.Properties.ClassName: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.Properties.Type: ... + def __getitem__(self, name: typing_extensions.Literal["type"]) -> Schema_.Properties.Type: ... @typing.overload - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: ... + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: ... def __getitem__( self, @@ -94,13 +94,13 @@ class Zebra( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["className"]) -> MetaOapg.Properties.ClassName: ... + def get_item_(self, name: typing_extensions.Literal["className"]) -> Schema_.Properties.ClassName: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["type"]) -> typing.Union[MetaOapg.Properties.Type, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["type"]) -> typing.Union[Schema_.Properties.Type, schemas.Unset]: ... @typing.overload - def get_item_(self, name: str) -> typing.Union[MetaOapg.AdditionalProperties, schemas.Unset]: ... + def get_item_(self, name: str) -> typing.Union[Schema_.AdditionalProperties, schemas.Unset]: ... def get_item_( self, @@ -115,10 +115,10 @@ class Zebra( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - className: typing.Union[MetaOapg.Properties.ClassName, str, ], - type: typing.Union[MetaOapg.Properties.Type, str, schemas.Unset] = schemas.unset, + className: typing.Union[Schema_.Properties.ClassName, str, ], + type: typing.Union[Schema_.Properties.Type, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], ) -> 'Zebra': return super().__new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/delete/parameter_1/schema.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/delete/parameter_1/schema.py index 58be4bca6b0..2acd04c1c79 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/delete/parameter_1/schema.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/delete/parameter_1/schema.py @@ -28,7 +28,7 @@ class Schema( ): - class MetaOapg: + class Schema_: types = { str, } diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/delete/parameter_4/schema.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/delete/parameter_4/schema.py index 58be4bca6b0..2acd04c1c79 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/delete/parameter_4/schema.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/delete/parameter_4/schema.py @@ -28,7 +28,7 @@ class Schema( ): - class MetaOapg: + class Schema_: types = { str, } diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_0/schema.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_0/schema.py index a9592d3e308..057380600af 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_0/schema.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_0/schema.py @@ -28,7 +28,7 @@ class Schema( ): - class MetaOapg: + class Schema_: types = {tuple} @@ -37,7 +37,7 @@ class Items( ): - class MetaOapg: + class Schema_: types = { str, } @@ -56,7 +56,7 @@ def DOLLAR(cls): def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, str, ]], typing.List[typing.Union[MetaOapg.Items, str, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( @@ -65,5 +65,5 @@ def __new__( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_0/schema.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_0/schema.pyi index dc3d06e6992..b2650b9537e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_0/schema.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_0/schema.pyi @@ -28,7 +28,7 @@ class Schema( ): - class MetaOapg: + class Schema_: types = {tuple} @@ -46,7 +46,7 @@ class Schema( def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, str, ]], typing.List[typing.Union[MetaOapg.Items, str, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( @@ -55,5 +55,5 @@ class Schema( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_1/schema.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_1/schema.py index a41443c6705..20ad88c78e0 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_1/schema.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_1/schema.py @@ -28,7 +28,7 @@ class Schema( ): - class MetaOapg: + class Schema_: types = { str, } diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_2/schema.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_2/schema.py index a9592d3e308..057380600af 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_2/schema.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_2/schema.py @@ -28,7 +28,7 @@ class Schema( ): - class MetaOapg: + class Schema_: types = {tuple} @@ -37,7 +37,7 @@ class Items( ): - class MetaOapg: + class Schema_: types = { str, } @@ -56,7 +56,7 @@ def DOLLAR(cls): def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, str, ]], typing.List[typing.Union[MetaOapg.Items, str, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( @@ -65,5 +65,5 @@ def __new__( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_2/schema.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_2/schema.pyi index dc3d06e6992..b2650b9537e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_2/schema.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_2/schema.pyi @@ -28,7 +28,7 @@ class Schema( ): - class MetaOapg: + class Schema_: types = {tuple} @@ -46,7 +46,7 @@ class Schema( def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, str, ]], typing.List[typing.Union[MetaOapg.Items, str, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( @@ -55,5 +55,5 @@ class Schema( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_3/schema.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_3/schema.py index a41443c6705..20ad88c78e0 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_3/schema.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_3/schema.py @@ -28,7 +28,7 @@ class Schema( ): - class MetaOapg: + class Schema_: types = { str, } diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_4/schema.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_4/schema.py index 1232424ffaa..b978c98048f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_4/schema.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_4/schema.py @@ -28,7 +28,7 @@ class Schema( ): - class MetaOapg: + class Schema_: types = { decimal.Decimal, } diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_5/schema.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_5/schema.py index 027be1b4467..4b080152e44 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_5/schema.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_5/schema.py @@ -28,7 +28,7 @@ class Schema( ): - class MetaOapg: + class Schema_: types = { decimal.Decimal, } diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/request_body/application_x_www_form_urlencoded.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/request_body/application_x_www_form_urlencoded.py index 9eddd6910db..6d841115132 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/request_body/application_x_www_form_urlencoded.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/request_body/application_x_www_form_urlencoded.py @@ -28,7 +28,7 @@ class ApplicationXWwwFormUrlencoded( ): - class MetaOapg: + class Schema_: types = {frozendict.frozendict} class Properties: @@ -39,7 +39,7 @@ class EnumFormStringArray( ): - class MetaOapg: + class Schema_: types = {tuple} @@ -48,7 +48,7 @@ class Items( ): - class MetaOapg: + class Schema_: types = { str, } @@ -67,7 +67,7 @@ def DOLLAR(cls): def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, str, ]], typing.List[typing.Union[MetaOapg.Items, str, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'EnumFormStringArray': return super().__new__( @@ -76,7 +76,7 @@ def __new__( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) @@ -85,7 +85,7 @@ class EnumFormString( ): - class MetaOapg: + class Schema_: types = { str, } @@ -112,10 +112,10 @@ def XYZ(cls): } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["enum_form_string_array"]) -> MetaOapg.Properties.EnumFormStringArray: ... + def __getitem__(self, name: typing_extensions.Literal["enum_form_string_array"]) -> Schema_.Properties.EnumFormStringArray: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["enum_form_string"]) -> MetaOapg.Properties.EnumFormString: ... + def __getitem__(self, name: typing_extensions.Literal["enum_form_string"]) -> Schema_.Properties.EnumFormString: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -132,10 +132,10 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["enum_form_string_array"]) -> typing.Union[MetaOapg.Properties.EnumFormStringArray, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["enum_form_string_array"]) -> typing.Union[Schema_.Properties.EnumFormStringArray, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["enum_form_string"]) -> typing.Union[MetaOapg.Properties.EnumFormString, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["enum_form_string"]) -> typing.Union[Schema_.Properties.EnumFormString, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -153,8 +153,8 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - enum_form_string_array: typing.Union[MetaOapg.Properties.EnumFormStringArray, list, tuple, schemas.Unset] = schemas.unset, - enum_form_string: typing.Union[MetaOapg.Properties.EnumFormString, str, schemas.Unset] = schemas.unset, + enum_form_string_array: typing.Union[Schema_.Properties.EnumFormStringArray, list, tuple, schemas.Unset] = schemas.unset, + enum_form_string: typing.Union[Schema_.Properties.EnumFormString, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ApplicationXWwwFormUrlencoded': diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/request_body/application_x_www_form_urlencoded.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/request_body/application_x_www_form_urlencoded.pyi index c434a787592..0ead855fbbd 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/request_body/application_x_www_form_urlencoded.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/request_body/application_x_www_form_urlencoded.pyi @@ -28,7 +28,7 @@ class ApplicationXWwwFormUrlencoded( ): - class MetaOapg: + class Schema_: class Properties: @@ -38,7 +38,7 @@ class ApplicationXWwwFormUrlencoded( ): - class MetaOapg: + class Schema_: types = {tuple} @@ -56,7 +56,7 @@ class ApplicationXWwwFormUrlencoded( def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, str, ]], typing.List[typing.Union[MetaOapg.Items, str, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'EnumFormStringArray': return super().__new__( @@ -65,7 +65,7 @@ class ApplicationXWwwFormUrlencoded( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) @@ -90,10 +90,10 @@ class ApplicationXWwwFormUrlencoded( } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["enum_form_string_array"]) -> MetaOapg.Properties.EnumFormStringArray: ... + def __getitem__(self, name: typing_extensions.Literal["enum_form_string_array"]) -> Schema_.Properties.EnumFormStringArray: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["enum_form_string"]) -> MetaOapg.Properties.EnumFormString: ... + def __getitem__(self, name: typing_extensions.Literal["enum_form_string"]) -> Schema_.Properties.EnumFormString: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -110,10 +110,10 @@ class ApplicationXWwwFormUrlencoded( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["enum_form_string_array"]) -> typing.Union[MetaOapg.Properties.EnumFormStringArray, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["enum_form_string_array"]) -> typing.Union[Schema_.Properties.EnumFormStringArray, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["enum_form_string"]) -> typing.Union[MetaOapg.Properties.EnumFormString, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["enum_form_string"]) -> typing.Union[Schema_.Properties.EnumFormString, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -131,8 +131,8 @@ class ApplicationXWwwFormUrlencoded( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - enum_form_string_array: typing.Union[MetaOapg.Properties.EnumFormStringArray, list, tuple, schemas.Unset] = schemas.unset, - enum_form_string: typing.Union[MetaOapg.Properties.EnumFormString, str, schemas.Unset] = schemas.unset, + enum_form_string_array: typing.Union[Schema_.Properties.EnumFormStringArray, list, tuple, schemas.Unset] = schemas.unset, + enum_form_string: typing.Union[Schema_.Properties.EnumFormString, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ApplicationXWwwFormUrlencoded': diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/post/request_body/application_x_www_form_urlencoded.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/post/request_body/application_x_www_form_urlencoded.py index d8329efd81f..523f171aee9 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/post/request_body/application_x_www_form_urlencoded.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/post/request_body/application_x_www_form_urlencoded.py @@ -28,7 +28,7 @@ class ApplicationXWwwFormUrlencoded( ): - class MetaOapg: + class Schema_: types = {frozendict.frozendict} required = { "byte", @@ -45,7 +45,7 @@ class Integer( ): - class MetaOapg: + class Schema_: types = { decimal.Decimal, } @@ -59,7 +59,7 @@ class Int32( ): - class MetaOapg: + class Schema_: types = { decimal.Decimal, } @@ -74,7 +74,7 @@ class Number( ): - class MetaOapg: + class Schema_: types = { decimal.Decimal, } @@ -87,7 +87,7 @@ class _Float( ): - class MetaOapg: + class Schema_: types = { decimal.Decimal, } @@ -100,7 +100,7 @@ class Double( ): - class MetaOapg: + class Schema_: types = { decimal.Decimal, } @@ -114,7 +114,7 @@ class String( ): - class MetaOapg: + class Schema_: types = { str, } @@ -131,7 +131,7 @@ class PatternWithoutDelimiter( ): - class MetaOapg: + class Schema_: types = { str, } @@ -149,7 +149,7 @@ class Password( ): - class MetaOapg: + class Schema_: types = { str, } @@ -174,52 +174,52 @@ class MetaOapg: "callback": Callback, } - byte: MetaOapg.Properties.Byte - double: MetaOapg.Properties.Double - number: MetaOapg.Properties.Number - pattern_without_delimiter: MetaOapg.Properties.PatternWithoutDelimiter + byte: Schema_.Properties.Byte + double: Schema_.Properties.Double + number: Schema_.Properties.Number + pattern_without_delimiter: Schema_.Properties.PatternWithoutDelimiter @typing.overload - def __getitem__(self, name: typing_extensions.Literal["byte"]) -> MetaOapg.Properties.Byte: ... + def __getitem__(self, name: typing_extensions.Literal["byte"]) -> Schema_.Properties.Byte: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["double"]) -> MetaOapg.Properties.Double: ... + def __getitem__(self, name: typing_extensions.Literal["double"]) -> Schema_.Properties.Double: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["number"]) -> MetaOapg.Properties.Number: ... + def __getitem__(self, name: typing_extensions.Literal["number"]) -> Schema_.Properties.Number: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["pattern_without_delimiter"]) -> MetaOapg.Properties.PatternWithoutDelimiter: ... + def __getitem__(self, name: typing_extensions.Literal["pattern_without_delimiter"]) -> Schema_.Properties.PatternWithoutDelimiter: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["integer"]) -> MetaOapg.Properties.Integer: ... + def __getitem__(self, name: typing_extensions.Literal["integer"]) -> Schema_.Properties.Integer: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["int32"]) -> MetaOapg.Properties.Int32: ... + def __getitem__(self, name: typing_extensions.Literal["int32"]) -> Schema_.Properties.Int32: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["int64"]) -> MetaOapg.Properties.Int64: ... + def __getitem__(self, name: typing_extensions.Literal["int64"]) -> Schema_.Properties.Int64: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["float"]) -> MetaOapg.Properties._Float: ... + def __getitem__(self, name: typing_extensions.Literal["float"]) -> Schema_.Properties._Float: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["string"]) -> MetaOapg.Properties.String: ... + def __getitem__(self, name: typing_extensions.Literal["string"]) -> Schema_.Properties.String: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["binary"]) -> MetaOapg.Properties.Binary: ... + def __getitem__(self, name: typing_extensions.Literal["binary"]) -> Schema_.Properties.Binary: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["date"]) -> MetaOapg.Properties.Date: ... + def __getitem__(self, name: typing_extensions.Literal["date"]) -> Schema_.Properties.Date: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["dateTime"]) -> MetaOapg.Properties.DateTime: ... + def __getitem__(self, name: typing_extensions.Literal["dateTime"]) -> Schema_.Properties.DateTime: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["password"]) -> MetaOapg.Properties.Password: ... + def __getitem__(self, name: typing_extensions.Literal["password"]) -> Schema_.Properties.Password: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["callback"]) -> MetaOapg.Properties.Callback: ... + def __getitem__(self, name: typing_extensions.Literal["callback"]) -> Schema_.Properties.Callback: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -248,46 +248,46 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["byte"]) -> MetaOapg.Properties.Byte: ... + def get_item_(self, name: typing_extensions.Literal["byte"]) -> Schema_.Properties.Byte: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["double"]) -> MetaOapg.Properties.Double: ... + def get_item_(self, name: typing_extensions.Literal["double"]) -> Schema_.Properties.Double: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["number"]) -> MetaOapg.Properties.Number: ... + def get_item_(self, name: typing_extensions.Literal["number"]) -> Schema_.Properties.Number: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["pattern_without_delimiter"]) -> MetaOapg.Properties.PatternWithoutDelimiter: ... + def get_item_(self, name: typing_extensions.Literal["pattern_without_delimiter"]) -> Schema_.Properties.PatternWithoutDelimiter: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["integer"]) -> typing.Union[MetaOapg.Properties.Integer, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["integer"]) -> typing.Union[Schema_.Properties.Integer, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["int32"]) -> typing.Union[MetaOapg.Properties.Int32, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["int32"]) -> typing.Union[Schema_.Properties.Int32, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["int64"]) -> typing.Union[MetaOapg.Properties.Int64, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["int64"]) -> typing.Union[Schema_.Properties.Int64, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["float"]) -> typing.Union[MetaOapg.Properties._Float, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["float"]) -> typing.Union[Schema_.Properties._Float, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["string"]) -> typing.Union[MetaOapg.Properties.String, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["string"]) -> typing.Union[Schema_.Properties.String, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["binary"]) -> typing.Union[MetaOapg.Properties.Binary, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["binary"]) -> typing.Union[Schema_.Properties.Binary, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["date"]) -> typing.Union[MetaOapg.Properties.Date, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["date"]) -> typing.Union[Schema_.Properties.Date, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["dateTime"]) -> typing.Union[MetaOapg.Properties.DateTime, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["dateTime"]) -> typing.Union[Schema_.Properties.DateTime, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["password"]) -> typing.Union[MetaOapg.Properties.Password, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["password"]) -> typing.Union[Schema_.Properties.Password, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["callback"]) -> typing.Union[MetaOapg.Properties.Callback, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["callback"]) -> typing.Union[Schema_.Properties.Callback, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -317,19 +317,19 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - byte: typing.Union[MetaOapg.Properties.Byte, str, ], - double: typing.Union[MetaOapg.Properties.Double, decimal.Decimal, int, float, ], - number: typing.Union[MetaOapg.Properties.Number, decimal.Decimal, int, float, ], - pattern_without_delimiter: typing.Union[MetaOapg.Properties.PatternWithoutDelimiter, str, ], - integer: typing.Union[MetaOapg.Properties.Integer, decimal.Decimal, int, schemas.Unset] = schemas.unset, - int32: typing.Union[MetaOapg.Properties.Int32, decimal.Decimal, int, schemas.Unset] = schemas.unset, - int64: typing.Union[MetaOapg.Properties.Int64, decimal.Decimal, int, schemas.Unset] = schemas.unset, - string: typing.Union[MetaOapg.Properties.String, str, schemas.Unset] = schemas.unset, - binary: typing.Union[MetaOapg.Properties.Binary, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - date: typing.Union[MetaOapg.Properties.Date, str, datetime.date, schemas.Unset] = schemas.unset, - dateTime: typing.Union[MetaOapg.Properties.DateTime, str, datetime.datetime, schemas.Unset] = schemas.unset, - password: typing.Union[MetaOapg.Properties.Password, str, schemas.Unset] = schemas.unset, - callback: typing.Union[MetaOapg.Properties.Callback, str, schemas.Unset] = schemas.unset, + byte: typing.Union[Schema_.Properties.Byte, str, ], + double: typing.Union[Schema_.Properties.Double, decimal.Decimal, int, float, ], + number: typing.Union[Schema_.Properties.Number, decimal.Decimal, int, float, ], + pattern_without_delimiter: typing.Union[Schema_.Properties.PatternWithoutDelimiter, str, ], + integer: typing.Union[Schema_.Properties.Integer, decimal.Decimal, int, schemas.Unset] = schemas.unset, + int32: typing.Union[Schema_.Properties.Int32, decimal.Decimal, int, schemas.Unset] = schemas.unset, + int64: typing.Union[Schema_.Properties.Int64, decimal.Decimal, int, schemas.Unset] = schemas.unset, + string: typing.Union[Schema_.Properties.String, str, schemas.Unset] = schemas.unset, + binary: typing.Union[Schema_.Properties.Binary, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + date: typing.Union[Schema_.Properties.Date, str, datetime.date, schemas.Unset] = schemas.unset, + dateTime: typing.Union[Schema_.Properties.DateTime, str, datetime.datetime, schemas.Unset] = schemas.unset, + password: typing.Union[Schema_.Properties.Password, str, schemas.Unset] = schemas.unset, + callback: typing.Union[Schema_.Properties.Callback, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ApplicationXWwwFormUrlencoded': diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/post/request_body/application_x_www_form_urlencoded.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/post/request_body/application_x_www_form_urlencoded.pyi index 55fae1da565..26d47358d81 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/post/request_body/application_x_www_form_urlencoded.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/post/request_body/application_x_www_form_urlencoded.pyi @@ -28,7 +28,7 @@ class ApplicationXWwwFormUrlencoded( ): - class MetaOapg: + class Schema_: required = { "byte", "double", @@ -108,52 +108,52 @@ class ApplicationXWwwFormUrlencoded( "callback": Callback, } - byte: MetaOapg.Properties.Byte - double: MetaOapg.Properties.Double - number: MetaOapg.Properties.Number - pattern_without_delimiter: MetaOapg.Properties.PatternWithoutDelimiter + byte: Schema_.Properties.Byte + double: Schema_.Properties.Double + number: Schema_.Properties.Number + pattern_without_delimiter: Schema_.Properties.PatternWithoutDelimiter @typing.overload - def __getitem__(self, name: typing_extensions.Literal["byte"]) -> MetaOapg.Properties.Byte: ... + def __getitem__(self, name: typing_extensions.Literal["byte"]) -> Schema_.Properties.Byte: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["double"]) -> MetaOapg.Properties.Double: ... + def __getitem__(self, name: typing_extensions.Literal["double"]) -> Schema_.Properties.Double: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["number"]) -> MetaOapg.Properties.Number: ... + def __getitem__(self, name: typing_extensions.Literal["number"]) -> Schema_.Properties.Number: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["pattern_without_delimiter"]) -> MetaOapg.Properties.PatternWithoutDelimiter: ... + def __getitem__(self, name: typing_extensions.Literal["pattern_without_delimiter"]) -> Schema_.Properties.PatternWithoutDelimiter: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["integer"]) -> MetaOapg.Properties.Integer: ... + def __getitem__(self, name: typing_extensions.Literal["integer"]) -> Schema_.Properties.Integer: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["int32"]) -> MetaOapg.Properties.Int32: ... + def __getitem__(self, name: typing_extensions.Literal["int32"]) -> Schema_.Properties.Int32: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["int64"]) -> MetaOapg.Properties.Int64: ... + def __getitem__(self, name: typing_extensions.Literal["int64"]) -> Schema_.Properties.Int64: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["float"]) -> MetaOapg.Properties._Float: ... + def __getitem__(self, name: typing_extensions.Literal["float"]) -> Schema_.Properties._Float: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["string"]) -> MetaOapg.Properties.String: ... + def __getitem__(self, name: typing_extensions.Literal["string"]) -> Schema_.Properties.String: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["binary"]) -> MetaOapg.Properties.Binary: ... + def __getitem__(self, name: typing_extensions.Literal["binary"]) -> Schema_.Properties.Binary: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["date"]) -> MetaOapg.Properties.Date: ... + def __getitem__(self, name: typing_extensions.Literal["date"]) -> Schema_.Properties.Date: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["dateTime"]) -> MetaOapg.Properties.DateTime: ... + def __getitem__(self, name: typing_extensions.Literal["dateTime"]) -> Schema_.Properties.DateTime: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["password"]) -> MetaOapg.Properties.Password: ... + def __getitem__(self, name: typing_extensions.Literal["password"]) -> Schema_.Properties.Password: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["callback"]) -> MetaOapg.Properties.Callback: ... + def __getitem__(self, name: typing_extensions.Literal["callback"]) -> Schema_.Properties.Callback: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -182,46 +182,46 @@ class ApplicationXWwwFormUrlencoded( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["byte"]) -> MetaOapg.Properties.Byte: ... + def get_item_(self, name: typing_extensions.Literal["byte"]) -> Schema_.Properties.Byte: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["double"]) -> MetaOapg.Properties.Double: ... + def get_item_(self, name: typing_extensions.Literal["double"]) -> Schema_.Properties.Double: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["number"]) -> MetaOapg.Properties.Number: ... + def get_item_(self, name: typing_extensions.Literal["number"]) -> Schema_.Properties.Number: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["pattern_without_delimiter"]) -> MetaOapg.Properties.PatternWithoutDelimiter: ... + def get_item_(self, name: typing_extensions.Literal["pattern_without_delimiter"]) -> Schema_.Properties.PatternWithoutDelimiter: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["integer"]) -> typing.Union[MetaOapg.Properties.Integer, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["integer"]) -> typing.Union[Schema_.Properties.Integer, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["int32"]) -> typing.Union[MetaOapg.Properties.Int32, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["int32"]) -> typing.Union[Schema_.Properties.Int32, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["int64"]) -> typing.Union[MetaOapg.Properties.Int64, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["int64"]) -> typing.Union[Schema_.Properties.Int64, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["float"]) -> typing.Union[MetaOapg.Properties._Float, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["float"]) -> typing.Union[Schema_.Properties._Float, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["string"]) -> typing.Union[MetaOapg.Properties.String, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["string"]) -> typing.Union[Schema_.Properties.String, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["binary"]) -> typing.Union[MetaOapg.Properties.Binary, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["binary"]) -> typing.Union[Schema_.Properties.Binary, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["date"]) -> typing.Union[MetaOapg.Properties.Date, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["date"]) -> typing.Union[Schema_.Properties.Date, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["dateTime"]) -> typing.Union[MetaOapg.Properties.DateTime, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["dateTime"]) -> typing.Union[Schema_.Properties.DateTime, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["password"]) -> typing.Union[MetaOapg.Properties.Password, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["password"]) -> typing.Union[Schema_.Properties.Password, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["callback"]) -> typing.Union[MetaOapg.Properties.Callback, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["callback"]) -> typing.Union[Schema_.Properties.Callback, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -251,19 +251,19 @@ class ApplicationXWwwFormUrlencoded( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - byte: typing.Union[MetaOapg.Properties.Byte, str, ], - double: typing.Union[MetaOapg.Properties.Double, decimal.Decimal, int, float, ], - number: typing.Union[MetaOapg.Properties.Number, decimal.Decimal, int, float, ], - pattern_without_delimiter: typing.Union[MetaOapg.Properties.PatternWithoutDelimiter, str, ], - integer: typing.Union[MetaOapg.Properties.Integer, decimal.Decimal, int, schemas.Unset] = schemas.unset, - int32: typing.Union[MetaOapg.Properties.Int32, decimal.Decimal, int, schemas.Unset] = schemas.unset, - int64: typing.Union[MetaOapg.Properties.Int64, decimal.Decimal, int, schemas.Unset] = schemas.unset, - string: typing.Union[MetaOapg.Properties.String, str, schemas.Unset] = schemas.unset, - binary: typing.Union[MetaOapg.Properties.Binary, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - date: typing.Union[MetaOapg.Properties.Date, str, datetime.date, schemas.Unset] = schemas.unset, - dateTime: typing.Union[MetaOapg.Properties.DateTime, str, datetime.datetime, schemas.Unset] = schemas.unset, - password: typing.Union[MetaOapg.Properties.Password, str, schemas.Unset] = schemas.unset, - callback: typing.Union[MetaOapg.Properties.Callback, str, schemas.Unset] = schemas.unset, + byte: typing.Union[Schema_.Properties.Byte, str, ], + double: typing.Union[Schema_.Properties.Double, decimal.Decimal, int, float, ], + number: typing.Union[Schema_.Properties.Number, decimal.Decimal, int, float, ], + pattern_without_delimiter: typing.Union[Schema_.Properties.PatternWithoutDelimiter, str, ], + integer: typing.Union[Schema_.Properties.Integer, decimal.Decimal, int, schemas.Unset] = schemas.unset, + int32: typing.Union[Schema_.Properties.Int32, decimal.Decimal, int, schemas.Unset] = schemas.unset, + int64: typing.Union[Schema_.Properties.Int64, decimal.Decimal, int, schemas.Unset] = schemas.unset, + string: typing.Union[Schema_.Properties.String, str, schemas.Unset] = schemas.unset, + binary: typing.Union[Schema_.Properties.Binary, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + date: typing.Union[Schema_.Properties.Date, str, datetime.date, schemas.Unset] = schemas.unset, + dateTime: typing.Union[Schema_.Properties.DateTime, str, datetime.datetime, schemas.Unset] = schemas.unset, + password: typing.Union[Schema_.Properties.Password, str, schemas.Unset] = schemas.unset, + callback: typing.Union[Schema_.Properties.Callback, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ApplicationXWwwFormUrlencoded': diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_additional_properties/post/request_body/application_json.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_additional_properties/post/request_body/application_json.py index 61b9dfabe3c..8ba1c17a8ce 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_additional_properties/post/request_body/application_json.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_additional_properties/post/request_body/application_json.py @@ -28,22 +28,22 @@ class ApplicationJson( ): - class MetaOapg: + class Schema_: types = {frozendict.frozendict} AdditionalProperties = schemas.StrSchema - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + def get_item_(self, name: str) -> Schema_.AdditionalProperties: return super().get_item_(name) def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, str, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], ) -> 'ApplicationJson': return super().__new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_additional_properties/post/request_body/application_json.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_additional_properties/post/request_body/application_json.pyi index e9ccec24d32..4c0c84be476 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_additional_properties/post/request_body/application_json.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_additional_properties/post/request_body/application_json.pyi @@ -28,21 +28,21 @@ class ApplicationJson( ): - class MetaOapg: + class Schema_: AdditionalProperties = schemas.StrSchema - def __getitem__(self, name: str) -> MetaOapg.AdditionalProperties: + def __getitem__(self, name: str) -> Schema_.AdditionalProperties: # dict_instance[name] accessor return super().__getitem__(name) - def get_item_(self, name: str) -> MetaOapg.AdditionalProperties: + def get_item_(self, name: str) -> Schema_.AdditionalProperties: return super().get_item_(name) def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, - **kwargs: typing.Union[MetaOapg.AdditionalProperties, str, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], ) -> 'ApplicationJson': return super().__new__( cls, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_0/schema.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_0/schema.py index 92386ccbb3d..d500d586766 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_0/schema.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_0/schema.py @@ -28,7 +28,7 @@ class Schema( ): - class MetaOapg: + class Schema_: # any type class AllOf: @@ -39,7 +39,7 @@ class AllOf0( ): - class MetaOapg: + class Schema_: types = { str, } diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_0/schema.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_0/schema.pyi index 5b2eb9bd71e..37e40ed7a63 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_0/schema.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_0/schema.pyi @@ -28,7 +28,7 @@ class Schema( ): - class MetaOapg: + class Schema_: # any type class AllOf: diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_1/schema.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_1/schema.py index f37b486f73d..e27139ab11f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_1/schema.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_1/schema.py @@ -28,7 +28,7 @@ class Schema( ): - class MetaOapg: + class Schema_: types = {frozendict.frozendict} class Properties: @@ -39,7 +39,7 @@ class SomeProp( ): - class MetaOapg: + class Schema_: # any type class AllOf: @@ -50,7 +50,7 @@ class AllOf0( ): - class MetaOapg: + class Schema_: types = { str, } @@ -77,7 +77,7 @@ def __new__( } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["someProp"]) -> MetaOapg.Properties.SomeProp: ... + def __getitem__(self, name: typing_extensions.Literal["someProp"]) -> Schema_.Properties.SomeProp: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -93,7 +93,7 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["someProp"]) -> typing.Union[MetaOapg.Properties.SomeProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["someProp"]) -> typing.Union[Schema_.Properties.SomeProp, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -110,7 +110,7 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - someProp: typing.Union[MetaOapg.Properties.SomeProp, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + someProp: typing.Union[Schema_.Properties.SomeProp, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Schema': diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_1/schema.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_1/schema.pyi index b11f4698baf..0223cb5d967 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_1/schema.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_1/schema.pyi @@ -28,7 +28,7 @@ class Schema( ): - class MetaOapg: + class Schema_: class Properties: @@ -38,7 +38,7 @@ class Schema( ): - class MetaOapg: + class Schema_: # any type class AllOf: @@ -70,7 +70,7 @@ class Schema( } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["someProp"]) -> MetaOapg.Properties.SomeProp: ... + def __getitem__(self, name: typing_extensions.Literal["someProp"]) -> Schema_.Properties.SomeProp: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -86,7 +86,7 @@ class Schema( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["someProp"]) -> typing.Union[MetaOapg.Properties.SomeProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["someProp"]) -> typing.Union[Schema_.Properties.SomeProp, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -103,7 +103,7 @@ class Schema( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - someProp: typing.Union[MetaOapg.Properties.SomeProp, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + someProp: typing.Union[Schema_.Properties.SomeProp, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Schema': diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/application_json.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/application_json.py index 7fd4fc47124..d31d5550638 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/application_json.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/application_json.py @@ -28,7 +28,7 @@ class ApplicationJson( ): - class MetaOapg: + class Schema_: # any type class AllOf: @@ -39,7 +39,7 @@ class AllOf0( ): - class MetaOapg: + class Schema_: types = { str, } diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/application_json.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/application_json.pyi index 07de20480d6..7f2bb3ef6c3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/application_json.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/application_json.pyi @@ -28,7 +28,7 @@ class ApplicationJson( ): - class MetaOapg: + class Schema_: # any type class AllOf: diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/multipart_form_data.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/multipart_form_data.py index d230109d756..0828d8473dd 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/multipart_form_data.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/multipart_form_data.py @@ -28,7 +28,7 @@ class MultipartFormData( ): - class MetaOapg: + class Schema_: types = {frozendict.frozendict} class Properties: @@ -39,7 +39,7 @@ class SomeProp( ): - class MetaOapg: + class Schema_: # any type class AllOf: @@ -50,7 +50,7 @@ class AllOf0( ): - class MetaOapg: + class Schema_: types = { str, } @@ -77,7 +77,7 @@ def __new__( } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["someProp"]) -> MetaOapg.Properties.SomeProp: ... + def __getitem__(self, name: typing_extensions.Literal["someProp"]) -> Schema_.Properties.SomeProp: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -93,7 +93,7 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["someProp"]) -> typing.Union[MetaOapg.Properties.SomeProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["someProp"]) -> typing.Union[Schema_.Properties.SomeProp, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -110,7 +110,7 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - someProp: typing.Union[MetaOapg.Properties.SomeProp, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + someProp: typing.Union[Schema_.Properties.SomeProp, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MultipartFormData': diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/multipart_form_data.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/multipart_form_data.pyi index 5a5d7fdb05b..17504327acf 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/multipart_form_data.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/multipart_form_data.pyi @@ -28,7 +28,7 @@ class MultipartFormData( ): - class MetaOapg: + class Schema_: class Properties: @@ -38,7 +38,7 @@ class MultipartFormData( ): - class MetaOapg: + class Schema_: # any type class AllOf: @@ -70,7 +70,7 @@ class MultipartFormData( } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["someProp"]) -> MetaOapg.Properties.SomeProp: ... + def __getitem__(self, name: typing_extensions.Literal["someProp"]) -> Schema_.Properties.SomeProp: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -86,7 +86,7 @@ class MultipartFormData( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["someProp"]) -> typing.Union[MetaOapg.Properties.SomeProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["someProp"]) -> typing.Union[Schema_.Properties.SomeProp, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -103,7 +103,7 @@ class MultipartFormData( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - someProp: typing.Union[MetaOapg.Properties.SomeProp, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + someProp: typing.Union[Schema_.Properties.SomeProp, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MultipartFormData': diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/application_json.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/application_json.py index 7fd4fc47124..d31d5550638 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/application_json.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/application_json.py @@ -28,7 +28,7 @@ class ApplicationJson( ): - class MetaOapg: + class Schema_: # any type class AllOf: @@ -39,7 +39,7 @@ class AllOf0( ): - class MetaOapg: + class Schema_: types = { str, } diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/application_json.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/application_json.pyi index 07de20480d6..7f2bb3ef6c3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/application_json.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/application_json.pyi @@ -28,7 +28,7 @@ class ApplicationJson( ): - class MetaOapg: + class Schema_: # any type class AllOf: diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/multipart_form_data.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/multipart_form_data.py index d230109d756..0828d8473dd 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/multipart_form_data.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/multipart_form_data.py @@ -28,7 +28,7 @@ class MultipartFormData( ): - class MetaOapg: + class Schema_: types = {frozendict.frozendict} class Properties: @@ -39,7 +39,7 @@ class SomeProp( ): - class MetaOapg: + class Schema_: # any type class AllOf: @@ -50,7 +50,7 @@ class AllOf0( ): - class MetaOapg: + class Schema_: types = { str, } @@ -77,7 +77,7 @@ def __new__( } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["someProp"]) -> MetaOapg.Properties.SomeProp: ... + def __getitem__(self, name: typing_extensions.Literal["someProp"]) -> Schema_.Properties.SomeProp: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -93,7 +93,7 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["someProp"]) -> typing.Union[MetaOapg.Properties.SomeProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["someProp"]) -> typing.Union[Schema_.Properties.SomeProp, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -110,7 +110,7 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - someProp: typing.Union[MetaOapg.Properties.SomeProp, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + someProp: typing.Union[Schema_.Properties.SomeProp, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MultipartFormData': diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/multipart_form_data.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/multipart_form_data.pyi index 5a5d7fdb05b..17504327acf 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/multipart_form_data.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/multipart_form_data.pyi @@ -28,7 +28,7 @@ class MultipartFormData( ): - class MetaOapg: + class Schema_: class Properties: @@ -38,7 +38,7 @@ class MultipartFormData( ): - class MetaOapg: + class Schema_: # any type class AllOf: @@ -70,7 +70,7 @@ class MultipartFormData( } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["someProp"]) -> MetaOapg.Properties.SomeProp: ... + def __getitem__(self, name: typing_extensions.Literal["someProp"]) -> Schema_.Properties.SomeProp: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -86,7 +86,7 @@ class MultipartFormData( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["someProp"]) -> typing.Union[MetaOapg.Properties.SomeProp, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["someProp"]) -> typing.Union[Schema_.Properties.SomeProp, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -103,7 +103,7 @@ class MultipartFormData( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - someProp: typing.Union[MetaOapg.Properties.SomeProp, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + someProp: typing.Union[Schema_.Properties.SomeProp, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MultipartFormData': diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_form_data/get/request_body/application_x_www_form_urlencoded.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_form_data/get/request_body/application_x_www_form_urlencoded.py index 7981e0ea5cf..303be1d70ec 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_form_data/get/request_body/application_x_www_form_urlencoded.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_form_data/get/request_body/application_x_www_form_urlencoded.py @@ -28,7 +28,7 @@ class ApplicationXWwwFormUrlencoded( ): - class MetaOapg: + class Schema_: types = {frozendict.frozendict} required = { "param", @@ -43,14 +43,14 @@ class Properties: "param2": Param2, } - param: MetaOapg.Properties.Param - param2: MetaOapg.Properties.Param2 + param: Schema_.Properties.Param + param2: Schema_.Properties.Param2 @typing.overload - def __getitem__(self, name: typing_extensions.Literal["param"]) -> MetaOapg.Properties.Param: ... + def __getitem__(self, name: typing_extensions.Literal["param"]) -> Schema_.Properties.Param: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["param2"]) -> MetaOapg.Properties.Param2: ... + def __getitem__(self, name: typing_extensions.Literal["param2"]) -> Schema_.Properties.Param2: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -67,10 +67,10 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["param"]) -> MetaOapg.Properties.Param: ... + def get_item_(self, name: typing_extensions.Literal["param"]) -> Schema_.Properties.Param: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["param2"]) -> MetaOapg.Properties.Param2: ... + def get_item_(self, name: typing_extensions.Literal["param2"]) -> Schema_.Properties.Param2: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -88,8 +88,8 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - param: typing.Union[MetaOapg.Properties.Param, str, ], - param2: typing.Union[MetaOapg.Properties.Param2, str, ], + param: typing.Union[Schema_.Properties.Param, str, ], + param2: typing.Union[Schema_.Properties.Param2, str, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ApplicationXWwwFormUrlencoded': diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_form_data/get/request_body/application_x_www_form_urlencoded.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_form_data/get/request_body/application_x_www_form_urlencoded.pyi index 500536b34a5..e687b354b4f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_form_data/get/request_body/application_x_www_form_urlencoded.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_form_data/get/request_body/application_x_www_form_urlencoded.pyi @@ -28,7 +28,7 @@ class ApplicationXWwwFormUrlencoded( ): - class MetaOapg: + class Schema_: required = { "param", "param2", @@ -42,14 +42,14 @@ class ApplicationXWwwFormUrlencoded( "param2": Param2, } - param: MetaOapg.Properties.Param - param2: MetaOapg.Properties.Param2 + param: Schema_.Properties.Param + param2: Schema_.Properties.Param2 @typing.overload - def __getitem__(self, name: typing_extensions.Literal["param"]) -> MetaOapg.Properties.Param: ... + def __getitem__(self, name: typing_extensions.Literal["param"]) -> Schema_.Properties.Param: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["param2"]) -> MetaOapg.Properties.Param2: ... + def __getitem__(self, name: typing_extensions.Literal["param2"]) -> Schema_.Properties.Param2: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -66,10 +66,10 @@ class ApplicationXWwwFormUrlencoded( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["param"]) -> MetaOapg.Properties.Param: ... + def get_item_(self, name: typing_extensions.Literal["param"]) -> Schema_.Properties.Param: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["param2"]) -> MetaOapg.Properties.Param2: ... + def get_item_(self, name: typing_extensions.Literal["param2"]) -> Schema_.Properties.Param2: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -87,8 +87,8 @@ class ApplicationXWwwFormUrlencoded( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - param: typing.Union[MetaOapg.Properties.Param, str, ], - param2: typing.Union[MetaOapg.Properties.Param2, str, ], + param: typing.Union[Schema_.Properties.Param, str, ], + param2: typing.Union[Schema_.Properties.Param2, str, ], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ApplicationXWwwFormUrlencoded': diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_obj_in_query/get/parameter_0/schema.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_obj_in_query/get/parameter_0/schema.py index 80c54ce76a3..63e368c293a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_obj_in_query/get/parameter_0/schema.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_obj_in_query/get/parameter_0/schema.py @@ -28,7 +28,7 @@ class Schema( ): - class MetaOapg: + class Schema_: types = {frozendict.frozendict} class Properties: @@ -38,7 +38,7 @@ class Properties: } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["keyword"]) -> MetaOapg.Properties.Keyword: ... + def __getitem__(self, name: typing_extensions.Literal["keyword"]) -> Schema_.Properties.Keyword: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -54,7 +54,7 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["keyword"]) -> typing.Union[MetaOapg.Properties.Keyword, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["keyword"]) -> typing.Union[Schema_.Properties.Keyword, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -71,7 +71,7 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - keyword: typing.Union[MetaOapg.Properties.Keyword, str, schemas.Unset] = schemas.unset, + keyword: typing.Union[Schema_.Properties.Keyword, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Schema': diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_obj_in_query/get/parameter_0/schema.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_obj_in_query/get/parameter_0/schema.pyi index 00e4fde61be..e5682864a38 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_obj_in_query/get/parameter_0/schema.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_obj_in_query/get/parameter_0/schema.pyi @@ -28,7 +28,7 @@ class Schema( ): - class MetaOapg: + class Schema_: class Properties: Keyword = schemas.StrSchema @@ -37,7 +37,7 @@ class Schema( } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["keyword"]) -> MetaOapg.Properties.Keyword: ... + def __getitem__(self, name: typing_extensions.Literal["keyword"]) -> Schema_.Properties.Keyword: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -53,7 +53,7 @@ class Schema( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["keyword"]) -> typing.Union[MetaOapg.Properties.Keyword, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["keyword"]) -> typing.Union[Schema_.Properties.Keyword, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -70,7 +70,7 @@ class Schema( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - keyword: typing.Union[MetaOapg.Properties.Keyword, str, schemas.Unset] = schemas.unset, + keyword: typing.Union[Schema_.Properties.Keyword, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Schema': diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/request_body/multipart_form_data.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/request_body/multipart_form_data.py index e9e7b76dc27..b8a22fe8821 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/request_body/multipart_form_data.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/request_body/multipart_form_data.py @@ -28,7 +28,7 @@ class MultipartFormData( ): - class MetaOapg: + class Schema_: types = {frozendict.frozendict} required = { "requiredFile", @@ -42,13 +42,13 @@ class Properties: "requiredFile": RequiredFile, } - requiredFile: MetaOapg.Properties.RequiredFile + requiredFile: Schema_.Properties.RequiredFile @typing.overload - def __getitem__(self, name: typing_extensions.Literal["requiredFile"]) -> MetaOapg.Properties.RequiredFile: ... + def __getitem__(self, name: typing_extensions.Literal["requiredFile"]) -> Schema_.Properties.RequiredFile: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["additionalMetadata"]) -> MetaOapg.Properties.AdditionalMetadata: ... + def __getitem__(self, name: typing_extensions.Literal["additionalMetadata"]) -> Schema_.Properties.AdditionalMetadata: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -65,10 +65,10 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["requiredFile"]) -> MetaOapg.Properties.RequiredFile: ... + def get_item_(self, name: typing_extensions.Literal["requiredFile"]) -> Schema_.Properties.RequiredFile: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["additionalMetadata"]) -> typing.Union[MetaOapg.Properties.AdditionalMetadata, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["additionalMetadata"]) -> typing.Union[Schema_.Properties.AdditionalMetadata, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -86,8 +86,8 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - requiredFile: typing.Union[MetaOapg.Properties.RequiredFile, bytes, io.FileIO, io.BufferedReader, ], - additionalMetadata: typing.Union[MetaOapg.Properties.AdditionalMetadata, str, schemas.Unset] = schemas.unset, + requiredFile: typing.Union[Schema_.Properties.RequiredFile, bytes, io.FileIO, io.BufferedReader, ], + additionalMetadata: typing.Union[Schema_.Properties.AdditionalMetadata, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MultipartFormData': diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/request_body/multipart_form_data.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/request_body/multipart_form_data.pyi index 3197f7932d5..360b295af71 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/request_body/multipart_form_data.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/request_body/multipart_form_data.pyi @@ -28,7 +28,7 @@ class MultipartFormData( ): - class MetaOapg: + class Schema_: required = { "requiredFile", } @@ -41,13 +41,13 @@ class MultipartFormData( "requiredFile": RequiredFile, } - requiredFile: MetaOapg.Properties.RequiredFile + requiredFile: Schema_.Properties.RequiredFile @typing.overload - def __getitem__(self, name: typing_extensions.Literal["requiredFile"]) -> MetaOapg.Properties.RequiredFile: ... + def __getitem__(self, name: typing_extensions.Literal["requiredFile"]) -> Schema_.Properties.RequiredFile: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["additionalMetadata"]) -> MetaOapg.Properties.AdditionalMetadata: ... + def __getitem__(self, name: typing_extensions.Literal["additionalMetadata"]) -> Schema_.Properties.AdditionalMetadata: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -64,10 +64,10 @@ class MultipartFormData( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["requiredFile"]) -> MetaOapg.Properties.RequiredFile: ... + def get_item_(self, name: typing_extensions.Literal["requiredFile"]) -> Schema_.Properties.RequiredFile: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["additionalMetadata"]) -> typing.Union[MetaOapg.Properties.AdditionalMetadata, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["additionalMetadata"]) -> typing.Union[Schema_.Properties.AdditionalMetadata, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -85,8 +85,8 @@ class MultipartFormData( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - requiredFile: typing.Union[MetaOapg.Properties.RequiredFile, bytes, io.FileIO, io.BufferedReader, ], - additionalMetadata: typing.Union[MetaOapg.Properties.AdditionalMetadata, str, schemas.Unset] = schemas.unset, + requiredFile: typing.Union[Schema_.Properties.RequiredFile, bytes, io.FileIO, io.BufferedReader, ], + additionalMetadata: typing.Union[Schema_.Properties.AdditionalMetadata, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MultipartFormData': diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_0/schema.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_0/schema.py index 220d6467193..d99a5388a2e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_0/schema.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_0/schema.py @@ -28,13 +28,13 @@ class Schema( ): - class MetaOapg: + class Schema_: types = {tuple} Items = schemas.StrSchema def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, str, ]], typing.List[typing.Union[MetaOapg.Items, str, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( @@ -43,5 +43,5 @@ def __new__( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_0/schema.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_0/schema.pyi index 220d6467193..d99a5388a2e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_0/schema.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_0/schema.pyi @@ -28,13 +28,13 @@ class Schema( ): - class MetaOapg: + class Schema_: types = {tuple} Items = schemas.StrSchema def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, str, ]], typing.List[typing.Union[MetaOapg.Items, str, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( @@ -43,5 +43,5 @@ class Schema( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_1/schema.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_1/schema.py index 220d6467193..d99a5388a2e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_1/schema.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_1/schema.py @@ -28,13 +28,13 @@ class Schema( ): - class MetaOapg: + class Schema_: types = {tuple} Items = schemas.StrSchema def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, str, ]], typing.List[typing.Union[MetaOapg.Items, str, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( @@ -43,5 +43,5 @@ def __new__( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_1/schema.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_1/schema.pyi index 220d6467193..d99a5388a2e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_1/schema.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_1/schema.pyi @@ -28,13 +28,13 @@ class Schema( ): - class MetaOapg: + class Schema_: types = {tuple} Items = schemas.StrSchema def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, str, ]], typing.List[typing.Union[MetaOapg.Items, str, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( @@ -43,5 +43,5 @@ class Schema( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_2/schema.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_2/schema.py index 220d6467193..d99a5388a2e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_2/schema.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_2/schema.py @@ -28,13 +28,13 @@ class Schema( ): - class MetaOapg: + class Schema_: types = {tuple} Items = schemas.StrSchema def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, str, ]], typing.List[typing.Union[MetaOapg.Items, str, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( @@ -43,5 +43,5 @@ def __new__( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_2/schema.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_2/schema.pyi index 220d6467193..d99a5388a2e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_2/schema.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_2/schema.pyi @@ -28,13 +28,13 @@ class Schema( ): - class MetaOapg: + class Schema_: types = {tuple} Items = schemas.StrSchema def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, str, ]], typing.List[typing.Union[MetaOapg.Items, str, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( @@ -43,5 +43,5 @@ class Schema( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_3/schema.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_3/schema.py index 220d6467193..d99a5388a2e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_3/schema.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_3/schema.py @@ -28,13 +28,13 @@ class Schema( ): - class MetaOapg: + class Schema_: types = {tuple} Items = schemas.StrSchema def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, str, ]], typing.List[typing.Union[MetaOapg.Items, str, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( @@ -43,5 +43,5 @@ def __new__( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_3/schema.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_3/schema.pyi index 220d6467193..d99a5388a2e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_3/schema.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_3/schema.pyi @@ -28,13 +28,13 @@ class Schema( ): - class MetaOapg: + class Schema_: types = {tuple} Items = schemas.StrSchema def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, str, ]], typing.List[typing.Union[MetaOapg.Items, str, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( @@ -43,5 +43,5 @@ class Schema( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_4/schema.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_4/schema.py index 220d6467193..d99a5388a2e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_4/schema.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_4/schema.py @@ -28,13 +28,13 @@ class Schema( ): - class MetaOapg: + class Schema_: types = {tuple} Items = schemas.StrSchema def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, str, ]], typing.List[typing.Union[MetaOapg.Items, str, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( @@ -43,5 +43,5 @@ def __new__( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_4/schema.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_4/schema.pyi index 220d6467193..d99a5388a2e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_4/schema.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_4/schema.pyi @@ -28,13 +28,13 @@ class Schema( ): - class MetaOapg: + class Schema_: types = {tuple} Items = schemas.StrSchema def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, str, ]], typing.List[typing.Union[MetaOapg.Items, str, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( @@ -43,5 +43,5 @@ class Schema( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_file/post/request_body/multipart_form_data.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_file/post/request_body/multipart_form_data.py index 318d713ccea..af0d8833687 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_file/post/request_body/multipart_form_data.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_file/post/request_body/multipart_form_data.py @@ -28,7 +28,7 @@ class MultipartFormData( ): - class MetaOapg: + class Schema_: types = {frozendict.frozendict} required = { "file", @@ -42,13 +42,13 @@ class Properties: "file": File, } - file: MetaOapg.Properties.File + file: Schema_.Properties.File @typing.overload - def __getitem__(self, name: typing_extensions.Literal["file"]) -> MetaOapg.Properties.File: ... + def __getitem__(self, name: typing_extensions.Literal["file"]) -> Schema_.Properties.File: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["additionalMetadata"]) -> MetaOapg.Properties.AdditionalMetadata: ... + def __getitem__(self, name: typing_extensions.Literal["additionalMetadata"]) -> Schema_.Properties.AdditionalMetadata: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -65,10 +65,10 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["file"]) -> MetaOapg.Properties.File: ... + def get_item_(self, name: typing_extensions.Literal["file"]) -> Schema_.Properties.File: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["additionalMetadata"]) -> typing.Union[MetaOapg.Properties.AdditionalMetadata, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["additionalMetadata"]) -> typing.Union[Schema_.Properties.AdditionalMetadata, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -86,8 +86,8 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - file: typing.Union[MetaOapg.Properties.File, bytes, io.FileIO, io.BufferedReader, ], - additionalMetadata: typing.Union[MetaOapg.Properties.AdditionalMetadata, str, schemas.Unset] = schemas.unset, + file: typing.Union[Schema_.Properties.File, bytes, io.FileIO, io.BufferedReader, ], + additionalMetadata: typing.Union[Schema_.Properties.AdditionalMetadata, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MultipartFormData': diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_file/post/request_body/multipart_form_data.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_file/post/request_body/multipart_form_data.pyi index 7201c143dc2..76e337c8235 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_file/post/request_body/multipart_form_data.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_file/post/request_body/multipart_form_data.pyi @@ -28,7 +28,7 @@ class MultipartFormData( ): - class MetaOapg: + class Schema_: required = { "file", } @@ -41,13 +41,13 @@ class MultipartFormData( "file": File, } - file: MetaOapg.Properties.File + file: Schema_.Properties.File @typing.overload - def __getitem__(self, name: typing_extensions.Literal["file"]) -> MetaOapg.Properties.File: ... + def __getitem__(self, name: typing_extensions.Literal["file"]) -> Schema_.Properties.File: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["additionalMetadata"]) -> MetaOapg.Properties.AdditionalMetadata: ... + def __getitem__(self, name: typing_extensions.Literal["additionalMetadata"]) -> Schema_.Properties.AdditionalMetadata: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -64,10 +64,10 @@ class MultipartFormData( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["file"]) -> MetaOapg.Properties.File: ... + def get_item_(self, name: typing_extensions.Literal["file"]) -> Schema_.Properties.File: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["additionalMetadata"]) -> typing.Union[MetaOapg.Properties.AdditionalMetadata, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["additionalMetadata"]) -> typing.Union[Schema_.Properties.AdditionalMetadata, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -85,8 +85,8 @@ class MultipartFormData( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - file: typing.Union[MetaOapg.Properties.File, bytes, io.FileIO, io.BufferedReader, ], - additionalMetadata: typing.Union[MetaOapg.Properties.AdditionalMetadata, str, schemas.Unset] = schemas.unset, + file: typing.Union[Schema_.Properties.File, bytes, io.FileIO, io.BufferedReader, ], + additionalMetadata: typing.Union[Schema_.Properties.AdditionalMetadata, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MultipartFormData': diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_files/post/request_body/multipart_form_data.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_files/post/request_body/multipart_form_data.py index 3014bcd4e9c..72fd13e38e4 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_files/post/request_body/multipart_form_data.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_files/post/request_body/multipart_form_data.py @@ -28,7 +28,7 @@ class MultipartFormData( ): - class MetaOapg: + class Schema_: types = {frozendict.frozendict} class Properties: @@ -39,13 +39,13 @@ class Files( ): - class MetaOapg: + class Schema_: types = {tuple} Items = schemas.BinarySchema def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[MetaOapg.Items, bytes, io.FileIO, io.BufferedReader, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, bytes, io.FileIO, io.BufferedReader, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Files': return super().__new__( @@ -54,14 +54,14 @@ def __new__( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) __annotations__ = { "files": Files, } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["files"]) -> MetaOapg.Properties.Files: ... + def __getitem__(self, name: typing_extensions.Literal["files"]) -> Schema_.Properties.Files: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -77,7 +77,7 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["files"]) -> typing.Union[MetaOapg.Properties.Files, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["files"]) -> typing.Union[Schema_.Properties.Files, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -94,7 +94,7 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - files: typing.Union[MetaOapg.Properties.Files, list, tuple, schemas.Unset] = schemas.unset, + files: typing.Union[Schema_.Properties.Files, list, tuple, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MultipartFormData': diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_files/post/request_body/multipart_form_data.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_files/post/request_body/multipart_form_data.pyi index 77c6f8d553f..126c2fda0bf 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_files/post/request_body/multipart_form_data.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_files/post/request_body/multipart_form_data.pyi @@ -28,7 +28,7 @@ class MultipartFormData( ): - class MetaOapg: + class Schema_: class Properties: @@ -38,13 +38,13 @@ class MultipartFormData( ): - class MetaOapg: + class Schema_: types = {tuple} Items = schemas.BinarySchema def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[MetaOapg.Items, bytes, io.FileIO, io.BufferedReader, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, bytes, io.FileIO, io.BufferedReader, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Files': return super().__new__( @@ -53,14 +53,14 @@ class MultipartFormData( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) __annotations__ = { "files": Files, } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["files"]) -> MetaOapg.Properties.Files: ... + def __getitem__(self, name: typing_extensions.Literal["files"]) -> Schema_.Properties.Files: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -76,7 +76,7 @@ class MultipartFormData( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["files"]) -> typing.Union[MetaOapg.Properties.Files, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["files"]) -> typing.Union[Schema_.Properties.Files, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -93,7 +93,7 @@ class MultipartFormData( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - files: typing.Union[MetaOapg.Properties.Files, list, tuple, schemas.Unset] = schemas.unset, + files: typing.Union[Schema_.Properties.Files, list, tuple, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MultipartFormData': diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/foo/get/response_for_default/application_json.py b/samples/openapi3/client/petstore/python/petstore_api/paths/foo/get/response_for_default/application_json.py index ab0ad0c79d3..207df06c443 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/foo/get/response_for_default/application_json.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/foo/get/response_for_default/application_json.py @@ -28,7 +28,7 @@ class ApplicationJson( ): - class MetaOapg: + class Schema_: types = {frozendict.frozendict} class Properties: diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/foo/get/response_for_default/application_json.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/foo/get/response_for_default/application_json.pyi index a5edb3dec3d..cbe12c58693 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/foo/get/response_for_default/application_json.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/foo/get/response_for_default/application_json.pyi @@ -28,7 +28,7 @@ class ApplicationJson( ): - class MetaOapg: + class Schema_: class Properties: diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/parameter_0/schema.py b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/parameter_0/schema.py index 58afc8dcb64..f25748c3989 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/parameter_0/schema.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/parameter_0/schema.py @@ -28,7 +28,7 @@ class Schema( ): - class MetaOapg: + class Schema_: types = {tuple} @@ -37,7 +37,7 @@ class Items( ): - class MetaOapg: + class Schema_: types = { str, } @@ -61,7 +61,7 @@ def SOLD(cls): def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, str, ]], typing.List[typing.Union[MetaOapg.Items, str, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( @@ -70,5 +70,5 @@ def __new__( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/parameter_0/schema.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/parameter_0/schema.pyi index 0331dd56312..ddcacde23cd 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/parameter_0/schema.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/parameter_0/schema.pyi @@ -28,7 +28,7 @@ class Schema( ): - class MetaOapg: + class Schema_: types = {tuple} @@ -50,7 +50,7 @@ class Schema( def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, str, ]], typing.List[typing.Union[MetaOapg.Items, str, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( @@ -59,5 +59,5 @@ class Schema( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/response_for_200/application_json.py b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/response_for_200/application_json.py index 1e9be122970..1b9309a8b2a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/response_for_200/application_json.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/response_for_200/application_json.py @@ -28,7 +28,7 @@ class ApplicationJson( ): - class MetaOapg: + class Schema_: types = {tuple} @staticmethod diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/response_for_200/application_json.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/response_for_200/application_json.pyi index 1e9be122970..1b9309a8b2a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/response_for_200/application_json.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/response_for_200/application_json.pyi @@ -28,7 +28,7 @@ class ApplicationJson( ): - class MetaOapg: + class Schema_: types = {tuple} @staticmethod diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/response_for_200/application_xml.py b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/response_for_200/application_xml.py index 8cbb3c7dbd1..f06c88d4ba1 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/response_for_200/application_xml.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/response_for_200/application_xml.py @@ -28,7 +28,7 @@ class ApplicationXml( ): - class MetaOapg: + class Schema_: types = {tuple} @staticmethod diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/response_for_200/application_xml.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/response_for_200/application_xml.pyi index 8cbb3c7dbd1..f06c88d4ba1 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/response_for_200/application_xml.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/response_for_200/application_xml.pyi @@ -28,7 +28,7 @@ class ApplicationXml( ): - class MetaOapg: + class Schema_: types = {tuple} @staticmethod diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/parameter_0/schema.py b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/parameter_0/schema.py index 220d6467193..d99a5388a2e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/parameter_0/schema.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/parameter_0/schema.py @@ -28,13 +28,13 @@ class Schema( ): - class MetaOapg: + class Schema_: types = {tuple} Items = schemas.StrSchema def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, str, ]], typing.List[typing.Union[MetaOapg.Items, str, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( @@ -43,5 +43,5 @@ def __new__( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/parameter_0/schema.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/parameter_0/schema.pyi index 220d6467193..d99a5388a2e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/parameter_0/schema.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/parameter_0/schema.pyi @@ -28,13 +28,13 @@ class Schema( ): - class MetaOapg: + class Schema_: types = {tuple} Items = schemas.StrSchema def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.Items, str, ]], typing.List[typing.Union[MetaOapg.Items, str, ]]], + _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( @@ -43,5 +43,5 @@ class Schema( _configuration=_configuration, ) - def __getitem__(self, i: int) -> MetaOapg.Items: + def __getitem__(self, i: int) -> Schema_.Items: return super().__getitem__(i) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/response_for_200/application_json.py b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/response_for_200/application_json.py index 1e9be122970..1b9309a8b2a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/response_for_200/application_json.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/response_for_200/application_json.py @@ -28,7 +28,7 @@ class ApplicationJson( ): - class MetaOapg: + class Schema_: types = {tuple} @staticmethod diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/response_for_200/application_json.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/response_for_200/application_json.pyi index 1e9be122970..1b9309a8b2a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/response_for_200/application_json.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/response_for_200/application_json.pyi @@ -28,7 +28,7 @@ class ApplicationJson( ): - class MetaOapg: + class Schema_: types = {tuple} @staticmethod diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/response_for_200/application_xml.py b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/response_for_200/application_xml.py index 8cbb3c7dbd1..f06c88d4ba1 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/response_for_200/application_xml.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/response_for_200/application_xml.py @@ -28,7 +28,7 @@ class ApplicationXml( ): - class MetaOapg: + class Schema_: types = {tuple} @staticmethod diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/response_for_200/application_xml.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/response_for_200/application_xml.pyi index 8cbb3c7dbd1..f06c88d4ba1 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/response_for_200/application_xml.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/response_for_200/application_xml.pyi @@ -28,7 +28,7 @@ class ApplicationXml( ): - class MetaOapg: + class Schema_: types = {tuple} @staticmethod diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/post/request_body/application_x_www_form_urlencoded.py b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/post/request_body/application_x_www_form_urlencoded.py index 096a9bb35d0..112d9aac402 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/post/request_body/application_x_www_form_urlencoded.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/post/request_body/application_x_www_form_urlencoded.py @@ -28,7 +28,7 @@ class ApplicationXWwwFormUrlencoded( ): - class MetaOapg: + class Schema_: types = {frozendict.frozendict} class Properties: @@ -40,10 +40,10 @@ class Properties: } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.Properties.Name: ... + def __getitem__(self, name: typing_extensions.Literal["name"]) -> Schema_.Properties.Name: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["status"]) -> MetaOapg.Properties.Status: ... + def __getitem__(self, name: typing_extensions.Literal["status"]) -> Schema_.Properties.Status: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -60,10 +60,10 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.Properties.Name, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["name"]) -> typing.Union[Schema_.Properties.Name, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["status"]) -> typing.Union[MetaOapg.Properties.Status, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["status"]) -> typing.Union[Schema_.Properties.Status, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -81,8 +81,8 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - name: typing.Union[MetaOapg.Properties.Name, str, schemas.Unset] = schemas.unset, - status: typing.Union[MetaOapg.Properties.Status, str, schemas.Unset] = schemas.unset, + name: typing.Union[Schema_.Properties.Name, str, schemas.Unset] = schemas.unset, + status: typing.Union[Schema_.Properties.Status, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ApplicationXWwwFormUrlencoded': diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/post/request_body/application_x_www_form_urlencoded.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/post/request_body/application_x_www_form_urlencoded.pyi index 43c34a60e87..8c7683cdfee 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/post/request_body/application_x_www_form_urlencoded.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/post/request_body/application_x_www_form_urlencoded.pyi @@ -28,7 +28,7 @@ class ApplicationXWwwFormUrlencoded( ): - class MetaOapg: + class Schema_: class Properties: Name = schemas.StrSchema @@ -39,10 +39,10 @@ class ApplicationXWwwFormUrlencoded( } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.Properties.Name: ... + def __getitem__(self, name: typing_extensions.Literal["name"]) -> Schema_.Properties.Name: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["status"]) -> MetaOapg.Properties.Status: ... + def __getitem__(self, name: typing_extensions.Literal["status"]) -> Schema_.Properties.Status: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -59,10 +59,10 @@ class ApplicationXWwwFormUrlencoded( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.Properties.Name, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["name"]) -> typing.Union[Schema_.Properties.Name, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["status"]) -> typing.Union[MetaOapg.Properties.Status, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["status"]) -> typing.Union[Schema_.Properties.Status, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -80,8 +80,8 @@ class ApplicationXWwwFormUrlencoded( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - name: typing.Union[MetaOapg.Properties.Name, str, schemas.Unset] = schemas.unset, - status: typing.Union[MetaOapg.Properties.Status, str, schemas.Unset] = schemas.unset, + name: typing.Union[Schema_.Properties.Name, str, schemas.Unset] = schemas.unset, + status: typing.Union[Schema_.Properties.Status, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ApplicationXWwwFormUrlencoded': diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id_upload_image/post/request_body/multipart_form_data.py b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id_upload_image/post/request_body/multipart_form_data.py index 024b53f8ac6..767ba43d245 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id_upload_image/post/request_body/multipart_form_data.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id_upload_image/post/request_body/multipart_form_data.py @@ -28,7 +28,7 @@ class MultipartFormData( ): - class MetaOapg: + class Schema_: types = {frozendict.frozendict} class Properties: @@ -40,10 +40,10 @@ class Properties: } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["additionalMetadata"]) -> MetaOapg.Properties.AdditionalMetadata: ... + def __getitem__(self, name: typing_extensions.Literal["additionalMetadata"]) -> Schema_.Properties.AdditionalMetadata: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["file"]) -> MetaOapg.Properties.File: ... + def __getitem__(self, name: typing_extensions.Literal["file"]) -> Schema_.Properties.File: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -60,10 +60,10 @@ def __getitem__( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["additionalMetadata"]) -> typing.Union[MetaOapg.Properties.AdditionalMetadata, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["additionalMetadata"]) -> typing.Union[Schema_.Properties.AdditionalMetadata, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["file"]) -> typing.Union[MetaOapg.Properties.File, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["file"]) -> typing.Union[Schema_.Properties.File, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -81,8 +81,8 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - additionalMetadata: typing.Union[MetaOapg.Properties.AdditionalMetadata, str, schemas.Unset] = schemas.unset, - file: typing.Union[MetaOapg.Properties.File, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + additionalMetadata: typing.Union[Schema_.Properties.AdditionalMetadata, str, schemas.Unset] = schemas.unset, + file: typing.Union[Schema_.Properties.File, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MultipartFormData': diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id_upload_image/post/request_body/multipart_form_data.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id_upload_image/post/request_body/multipart_form_data.pyi index 5ae3a5d00ed..8b58780b179 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id_upload_image/post/request_body/multipart_form_data.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id_upload_image/post/request_body/multipart_form_data.pyi @@ -28,7 +28,7 @@ class MultipartFormData( ): - class MetaOapg: + class Schema_: class Properties: AdditionalMetadata = schemas.StrSchema @@ -39,10 +39,10 @@ class MultipartFormData( } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["additionalMetadata"]) -> MetaOapg.Properties.AdditionalMetadata: ... + def __getitem__(self, name: typing_extensions.Literal["additionalMetadata"]) -> Schema_.Properties.AdditionalMetadata: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["file"]) -> MetaOapg.Properties.File: ... + def __getitem__(self, name: typing_extensions.Literal["file"]) -> Schema_.Properties.File: ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -59,10 +59,10 @@ class MultipartFormData( return super().__getitem__(name) @typing.overload - def get_item_(self, name: typing_extensions.Literal["additionalMetadata"]) -> typing.Union[MetaOapg.Properties.AdditionalMetadata, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["additionalMetadata"]) -> typing.Union[Schema_.Properties.AdditionalMetadata, schemas.Unset]: ... @typing.overload - def get_item_(self, name: typing_extensions.Literal["file"]) -> typing.Union[MetaOapg.Properties.File, schemas.Unset]: ... + def get_item_(self, name: typing_extensions.Literal["file"]) -> typing.Union[Schema_.Properties.File, schemas.Unset]: ... @typing.overload def get_item_(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -80,8 +80,8 @@ class MultipartFormData( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - additionalMetadata: typing.Union[MetaOapg.Properties.AdditionalMetadata, str, schemas.Unset] = schemas.unset, - file: typing.Union[MetaOapg.Properties.File, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + additionalMetadata: typing.Union[Schema_.Properties.AdditionalMetadata, str, schemas.Unset] = schemas.unset, + file: typing.Union[Schema_.Properties.File, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MultipartFormData': diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/store_order_order_id/get/parameter_0/schema.py b/samples/openapi3/client/petstore/python/petstore_api/paths/store_order_order_id/get/parameter_0/schema.py index 38be237a0f2..85cc435ad0b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/store_order_order_id/get/parameter_0/schema.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/store_order_order_id/get/parameter_0/schema.py @@ -28,7 +28,7 @@ class Schema( ): - class MetaOapg: + class Schema_: types = { decimal.Decimal, } diff --git a/samples/openapi3/client/petstore/python/petstore_api/schemas.py b/samples/openapi3/client/petstore/python/petstore_api/schemas.py index 1d6d77e3300..ddb44f2aa51 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/schemas.py +++ b/samples/openapi3/client/petstore/python/petstore_api/schemas.py @@ -218,7 +218,7 @@ def __bool__(self) -> bool: raise ValueError('Unable to find the boolean value of this instance') -class MetaOapgTyped: +class SchemaTyped: types: typing.Optional[typing.Set[typing.Type]] exclusive_maximum: typing.Union[int, float] inclusive_maximum: typing.Union[int, float] @@ -827,7 +827,7 @@ def validate_additional_properties( return None schema = _get_class(additional_properties_schema) path_to_schemas = {} - properties_annotations = cls.MetaOapg.Properties.__annotations__ if hasattr(cls.MetaOapg, 'Properties') else {} + properties_annotations = cls.Schema_.Properties.__annotations__ if hasattr(cls.Schema_, 'Properties') else {} present_additional_properties = {k: v for k, v, in arg.items() if k not in properties_annotations} for property_name, value in present_additional_properties.items(): path_to_item = validation_metadata.path_to_item + (property_name,) @@ -992,37 +992,37 @@ def __get_discriminated_class(cls, disc_property_name: str, disc_payload_value: """ Used in schemas with discriminators """ - if not hasattr(cls.MetaOapg, 'discriminator'): + if not hasattr(cls.Schema_, 'discriminator'): return None - disc = cls.MetaOapg.discriminator() + disc = cls.Schema_.discriminator() if disc_property_name not in disc: return None discriminated_cls = disc[disc_property_name].get(disc_payload_value) if discriminated_cls is not None: return discriminated_cls if not ( - hasattr(cls.MetaOapg, 'AllOf') or - hasattr(cls.MetaOapg, 'OneOf') or - hasattr(cls.MetaOapg, 'AnyOf') + hasattr(cls.Schema_, 'AllOf') or + hasattr(cls.Schema_, 'OneOf') or + hasattr(cls.Schema_, 'AnyOf') ): return None # TODO stop traveling if a cycle is hit - if hasattr(cls.MetaOapg, 'AllOf'): - for allof_cls in cls.MetaOapg.AllOf.classes: + if hasattr(cls.Schema_, 'AllOf'): + for allof_cls in cls.Schema_.AllOf.classes: allof_cls = _get_class(allof_cls) discriminated_cls = __get_discriminated_class( allof_cls, disc_property_name=disc_property_name, disc_payload_value=disc_payload_value) if discriminated_cls is not None: return discriminated_cls - if hasattr(cls.MetaOapg, 'OneOf'): - for oneof_cls in cls.MetaOapg.OneOf.classes: + if hasattr(cls.Schema_, 'OneOf'): + for oneof_cls in cls.Schema_.OneOf.classes: oneof_cls = _get_class(oneof_cls) discriminated_cls = __get_discriminated_class( oneof_cls, disc_property_name=disc_property_name, disc_payload_value=disc_payload_value) if discriminated_cls is not None: return discriminated_cls - if hasattr(cls.MetaOapg, 'AnyOf'): - for anyof_cls in cls.MetaOapg.AnyOf.classes: + if hasattr(cls.Schema_, 'AnyOf'): + for anyof_cls in cls.Schema_.AnyOf.classes: anyof_cls = _get_class(anyof_cls) discriminated_cls = __get_discriminated_class( anyof_cls, disc_property_name=disc_property_name, disc_payload_value=disc_payload_value) @@ -1111,7 +1111,7 @@ class Schema: the base class of all swagger/openapi schemas/models """ __inheritable_primitive_types_set = {decimal.Decimal, str, tuple, frozendict.frozendict, FileIO, bytes, BoolClass, NoneClass} - MetaOapg: MetaOapgTyped + Schema_: SchemaTyped __excluded_cls_properties = { '__module__', '__dict__', @@ -1132,7 +1132,7 @@ def _validate( """ json_schema_data = { k: v - for k, v in vars(cls.MetaOapg).items() + for k, v in vars(cls.Schema_).items() if k not in cls.__excluded_cls_properties and k not in validation_metadata.configuration.disabled_json_schema_python_keywords @@ -1237,7 +1237,7 @@ def __get_new_cls( """ cls._process_schema_classes(schema_classes) enum_schema = any( - issubclass(this_cls, Schema) and hasattr(this_cls.MetaOapg, "enum_value_to_name") + issubclass(this_cls, Schema) and hasattr(this_cls.Schema_, "enum_value_to_name") for this_cls in schema_classes ) inheritable_primitive_type = schema_classes.intersection(cls.__inheritable_primitive_types_set) @@ -1763,7 +1763,7 @@ def is_none_(self) -> bool: class StrBase: - MetaOapg: MetaOapgTyped + Schema_: SchemaTyped @property def as_str_(self) -> str: @@ -1821,7 +1821,7 @@ def as_decimal_(self) -> decimal.Decimal: class NumberBase: - MetaOapg: MetaOapgTyped + Schema_: SchemaTyped @property def as_int_(self) -> int: @@ -1855,7 +1855,7 @@ def as_float_(self) -> float: class ListBase: - MetaOapg: MetaOapgTyped + Schema_: SchemaTyped @classmethod def _get_items( @@ -2085,7 +2085,7 @@ class ListSchema( Schema, TupleMixin ): - class MetaOapg: + class Schema_: types = {tuple} @classmethod @@ -2101,7 +2101,7 @@ class NoneSchema( Schema, NoneMixin ): - class MetaOapg: + class Schema_: types = {NoneClass} @classmethod @@ -2121,7 +2121,7 @@ class NumberSchema( This is used for type: number with no format Both integers AND floats are accepted """ - class MetaOapg: + class Schema_: types = {decimal.Decimal} @classmethod @@ -2143,7 +2143,7 @@ def as_int_(self) -> int: class IntSchema(IntBase, NumberSchema): - class MetaOapg: + class Schema_: types = {decimal.Decimal} format = 'int' @@ -2158,7 +2158,7 @@ def __new__(cls, _arg: typing.Union[decimal.Decimal, int], **kwargs: configurati class Int32Schema( IntSchema ): - class MetaOapg: + class Schema_: types = {decimal.Decimal} format = 'int32' @@ -2166,7 +2166,7 @@ class MetaOapg: class Int64Schema( IntSchema ): - class MetaOapg: + class Schema_: types = {decimal.Decimal} format = 'int64' @@ -2174,7 +2174,7 @@ class MetaOapg: class Float32Schema( NumberSchema ): - class MetaOapg: + class Schema_: types = {decimal.Decimal} format = 'float' @@ -2186,7 +2186,7 @@ def from_openapi_data_(cls, arg: float, _configuration: typing.Optional[configur class Float64Schema( NumberSchema ): - class MetaOapg: + class Schema_: types = {decimal.Decimal} format = 'double' @@ -2206,7 +2206,7 @@ class StrSchema( - type: string (format unset) - type: string, format: date """ - class MetaOapg: + class Schema_: types = {str} @classmethod @@ -2218,7 +2218,7 @@ def __new__(cls, _arg: typing.Union[str, datetime.date, datetime.datetime, uuid. class UUIDSchema(UUIDBase, StrSchema): - class MetaOapg: + class Schema_: types = {str} format = 'uuid' @@ -2227,7 +2227,7 @@ def __new__(cls, _arg: typing.Union[str, uuid.UUID], **kwargs: configuration_mod class DateSchema(DateBase, StrSchema): - class MetaOapg: + class Schema_: types = {str} format = 'date' @@ -2236,7 +2236,7 @@ def __new__(cls, _arg: typing.Union[str, datetime.date], **kwargs: configuration class DateTimeSchema(DateTimeBase, StrSchema): - class MetaOapg: + class Schema_: types = {str} format = 'date-time' @@ -2245,7 +2245,7 @@ def __new__(cls, _arg: typing.Union[str, datetime.datetime], **kwargs: configura class DecimalSchema(DecimalBase, StrSchema): - class MetaOapg: + class Schema_: types = {str} format = 'number' @@ -2268,7 +2268,7 @@ class BytesSchema( """ this class will subclass bytes and is immutable """ - class MetaOapg: + class Schema_: types = {bytes} def __new__(cls, _arg: bytes, **kwargs: configuration_module.Configuration): @@ -2295,7 +2295,7 @@ class FileSchema( - to allow file reading and writing to disk - to be able to preserve file name info """ - class MetaOapg: + class Schema_: types = {FileIO} def __new__(cls, _arg: typing.Union[io.FileIO, io.BufferedReader], **kwargs: configuration_module.Configuration): @@ -2306,7 +2306,7 @@ class BinarySchema( Schema, BinaryMixin ): - class MetaOapg: + class Schema_: types = {FileIO, bytes} format = 'binary' @@ -2325,7 +2325,7 @@ class BoolSchema( Schema, BoolMixin ): - class MetaOapg: + class Schema_: types = {BoolClass} @classmethod @@ -2347,7 +2347,7 @@ class AnyTypeSchema( NoneFrozenDictTupleStrDecimalBoolFileBytesMixin ): # Python representation of a schema defined as true or {} - class MetaOapg: + class Schema_: pass @@ -2363,7 +2363,7 @@ class NotAnyTypeSchema(AnyTypeSchema): Note: validations on this class are never run because the code knows that no inputs will ever validate """ - class MetaOapg: + class Schema_: _not = AnyTypeSchema def __new__( @@ -2383,7 +2383,7 @@ class DictSchema( Schema, FrozenDictMixin ): - class MetaOapg: + class Schema_: types = {frozendict.frozendict} @classmethod diff --git a/samples/openapi3/client/petstore/python/tests_manual/test_additional_properties_validator.py b/samples/openapi3/client/petstore/python/tests_manual/test_additional_properties_validator.py index 2c60d44485e..5042fa7defb 100644 --- a/samples/openapi3/client/petstore/python/tests_manual/test_additional_properties_validator.py +++ b/samples/openapi3/client/petstore/python/tests_manual/test_additional_properties_validator.py @@ -30,8 +30,8 @@ def test_additional_properties_validator(self): assert add_prop == 'abc' assert isinstance(add_prop, str) assert isinstance(add_prop, schemas.AnyTypeSchema) - assert isinstance(add_prop, AdditionalPropertiesValidator.MetaOapg.AllOf.classes[1].MetaOapg.AdditionalProperties) - assert isinstance(add_prop, AdditionalPropertiesValidator.MetaOapg.AllOf.classes[2].MetaOapg.AdditionalProperties) + assert isinstance(add_prop, AdditionalPropertiesValidator.Schema_.AllOf.classes[1].Schema_.AdditionalProperties) + assert isinstance(add_prop, AdditionalPropertiesValidator.Schema_.AllOf.classes[2].Schema_.AdditionalProperties) assert not isinstance(add_prop, schemas.UnsetAnyTypeSchema) diff --git a/samples/openapi3/client/petstore/python/tests_manual/test_animal.py b/samples/openapi3/client/petstore/python/tests_manual/test_animal.py index 91ca18cfeb3..32896c60096 100644 --- a/samples/openapi3/client/petstore/python/tests_manual/test_animal.py +++ b/samples/openapi3/client/petstore/python/tests_manual/test_animal.py @@ -43,7 +43,7 @@ def testAnimal(self): animal = Animal(className='Cat', color='black') assert isinstance(animal, frozendict.frozendict) assert isinstance(animal, Cat) - assert isinstance(animal, Cat.MetaOapg.AllOf.classes[1]) + assert isinstance(animal, Cat.Schema_.AllOf.classes[1]) assert isinstance(animal, Animal) assert set(animal.keys()) == {'className', 'color'} assert animal.className == 'Cat' @@ -56,7 +56,7 @@ def testAnimal(self): assert isinstance(animal, Animal) assert isinstance(animal, frozendict.frozendict) assert isinstance(animal, Cat) - assert isinstance(animal, Cat.MetaOapg.AllOf.classes[1]) + assert isinstance(animal, Cat.Schema_.AllOf.classes[1]) assert set(animal.keys()) == {'className', 'color', 'declawed'} assert animal.className == 'Cat' assert animal["color"] == 'black' @@ -70,7 +70,7 @@ def testAnimal(self): assert isinstance(animal, Animal) assert isinstance(animal, frozendict.frozendict) assert isinstance(animal, Dog) - assert isinstance(animal, Dog.MetaOapg.AllOf.classes[1]) + assert isinstance(animal, Dog.Schema_.AllOf.classes[1]) assert set(animal.keys()) == {'className', 'color'} assert animal.className == 'Dog' assert animal["color"] == 'black' @@ -82,7 +82,7 @@ def testAnimal(self): assert isinstance(animal, Animal) assert isinstance(animal, frozendict.frozendict) assert isinstance(animal, Dog) - assert isinstance(animal, Dog.MetaOapg.AllOf.classes[1]) + assert isinstance(animal, Dog.Schema_.AllOf.classes[1]) assert set(animal.keys()) == {'className', 'color', 'breed'} assert animal.className == 'Dog' assert animal["color"] == 'black' diff --git a/samples/openapi3/client/petstore/python/tests_manual/test_any_type_schema.py b/samples/openapi3/client/petstore/python/tests_manual/test_any_type_schema.py index fc29cab4cb9..3a47267261e 100644 --- a/samples/openapi3/client/petstore/python/tests_manual/test_any_type_schema.py +++ b/samples/openapi3/client/petstore/python/tests_manual/test_any_type_schema.py @@ -37,7 +37,7 @@ class TestAnyTypeSchema(unittest.TestCase): def testDictSchema(self): class Model(AnyTypeSchema): - class MetaOapg: + class Schema_: class AllOf: classes = [ @@ -54,7 +54,7 @@ class AllOf: def testListSchema(self): class Model(AnyTypeSchema): - class MetaOapg: + class Schema_: class AllOf: classes = [ @@ -71,7 +71,7 @@ class AllOf: def testStrSchema(self): class Model(AnyTypeSchema): - class MetaOapg: + class Schema_: class AllOf: classes = [ @@ -88,7 +88,7 @@ class AllOf: def testNumberSchema(self): class Model(AnyTypeSchema): - class MetaOapg: + class Schema_: class AllOf: classes = [ @@ -112,7 +112,7 @@ class AllOf: def testIntSchema(self): class Model(AnyTypeSchema): - class MetaOapg: + class Schema_: class AllOf: classes = [ @@ -133,7 +133,7 @@ class AllOf: def testBoolSchema(self): class Model(AnyTypeSchema): - class MetaOapg: + class Schema_: class AllOf: classes = [ @@ -157,7 +157,7 @@ class AllOf: def testNoneSchema(self): class Model(AnyTypeSchema): - class MetaOapg: + class Schema_: class AllOf: classes = [ @@ -174,7 +174,7 @@ class AllOf: def testDateSchema(self): class Model(AnyTypeSchema): - class MetaOapg: + class Schema_: class AllOf: classes = [ @@ -191,7 +191,7 @@ class AllOf: def testDateTimeSchema(self): class Model(AnyTypeSchema): - class MetaOapg: + class Schema_: class AllOf: classes = [ @@ -208,7 +208,7 @@ class AllOf: def testDecimalSchema(self): class Model(AnyTypeSchema): - class MetaOapg: + class Schema_: class AllOf: classes = [ diff --git a/samples/openapi3/client/petstore/python/tests_manual/test_mammal.py b/samples/openapi3/client/petstore/python/tests_manual/test_mammal.py index f13a29ec2b5..71385a2bd0b 100644 --- a/samples/openapi3/client/petstore/python/tests_manual/test_mammal.py +++ b/samples/openapi3/client/petstore/python/tests_manual/test_mammal.py @@ -43,7 +43,7 @@ def testMammal(self): assert isinstance(m, whale.Whale) # can use the enum value - m = Mammal(className=whale.Whale.MetaOapg.Properties.ClassName.WHALE) + m = Mammal(className=whale.Whale.Schema_.Properties.ClassName.WHALE) assert isinstance(m, whale.Whale) from petstore_api.components.schema import zebra diff --git a/samples/openapi3/client/petstore/python/tests_manual/test_object_model_with_arg_and_args_properties.py b/samples/openapi3/client/petstore/python/tests_manual/test_object_model_with_arg_and_args_properties.py index 9330e90f9b5..95fc148bad0 100644 --- a/samples/openapi3/client/petstore/python/tests_manual/test_object_model_with_arg_and_args_properties.py +++ b/samples/openapi3/client/petstore/python/tests_manual/test_object_model_with_arg_and_args_properties.py @@ -24,13 +24,13 @@ def test_ObjectModelWithArgAndArgsProperties(self): self.assertTrue( isinstance( model["arg"], - ObjectModelWithArgAndArgsProperties.MetaOapg.Properties.Arg + ObjectModelWithArgAndArgsProperties.Schema_.Properties.Arg ) ) self.assertTrue( isinstance( model["args"], - ObjectModelWithArgAndArgsProperties.MetaOapg.Properties.Args + ObjectModelWithArgAndArgsProperties.Schema_.Properties.Args ) ) self.assertTrue(isinstance(model["arg"], schemas.StrSchema)) diff --git a/samples/openapi3/client/petstore/python/tests_manual/test_object_model_with_ref_props.py b/samples/openapi3/client/petstore/python/tests_manual/test_object_model_with_ref_props.py index c9d06277776..814fe150966 100644 --- a/samples/openapi3/client/petstore/python/tests_manual/test_object_model_with_ref_props.py +++ b/samples/openapi3/client/petstore/python/tests_manual/test_object_model_with_ref_props.py @@ -36,9 +36,9 @@ def testObjectModelWithRefProps(self): assert inst["myNumber"] == 15.0 assert isinstance(inst["myNumber"], NumberWithValidations) assert inst["myString"] == 'a' - assert isinstance(inst["myString"], ObjectModelWithRefProps.MetaOapg.Properties.my_string()) + assert isinstance(inst["myString"], ObjectModelWithRefProps.Schema_.Properties.my_string()) assert bool(inst["myBoolean"]) is True - assert isinstance(inst["myBoolean"], ObjectModelWithRefProps.MetaOapg.Properties.my_boolean()) + assert isinstance(inst["myBoolean"], ObjectModelWithRefProps.Schema_.Properties.my_boolean()) assert isinstance(inst["myBoolean"], BoolClass) diff --git a/samples/openapi3/client/petstore/python/tests_manual/test_object_with_inline_composition_property.py b/samples/openapi3/client/petstore/python/tests_manual/test_object_with_inline_composition_property.py index d2532e2b27d..f040ef3c544 100644 --- a/samples/openapi3/client/petstore/python/tests_manual/test_object_with_inline_composition_property.py +++ b/samples/openapi3/client/petstore/python/tests_manual/test_object_with_inline_composition_property.py @@ -24,7 +24,7 @@ def test_ObjectWithInlineCompositionProperty(self): self.assertTrue( isinstance( model["someProp"], - ObjectWithInlineCompositionProperty.MetaOapg.Properties.SomeProp + ObjectWithInlineCompositionProperty.Schema_.Properties.SomeProp ) ) self.assertTrue(isinstance(model["someProp"], schemas.StrSchema)) diff --git a/samples/openapi3/client/petstore/python/tests_manual/test_validate.py b/samples/openapi3/client/petstore/python/tests_manual/test_validate.py index 8f322931988..3637455b5d9 100644 --- a/samples/openapi3/client/petstore/python/tests_manual/test_validate.py +++ b/samples/openapi3/client/petstore/python/tests_manual/test_validate.py @@ -101,7 +101,7 @@ def test_discriminated_dict_validate(self): for schema_classes in path_to_schemas.values(): Animal._process_schema_classes(schema_classes) assert path_to_schemas == { - ("args[0]",): {Animal, Dog, Dog.MetaOapg.AllOf.classes[1], frozendict.frozendict}, + ("args[0]",): {Animal, Dog, Dog.Schema_.AllOf.classes[1], frozendict.frozendict}, ("args[0]", "className"): {StrSchema, str}, ("args[0]", "color"): {StrSchema, str}, } @@ -120,7 +120,7 @@ def test_oneof_composition_pig_validate(self): Pig._process_schema_classes(schema_classes) assert path_to_schemas == { ("args[0]",): {Pig, DanishPig, frozendict.frozendict}, - ("args[0]", "className"): {DanishPig.MetaOapg.Properties.ClassName, str}, + ("args[0]", "className"): {DanishPig.Schema_.Properties.ClassName, str}, } def test_anyof_composition_gm_fruit_validate(self): @@ -133,7 +133,7 @@ def test_anyof_composition_gm_fruit_validate(self): GmFruit._process_schema_classes(schema_classes) assert path_to_schemas == { ("args[0]",): {GmFruit, Apple, Banana, frozendict.frozendict}, - ("args[0]", "cultivar"): {Apple.MetaOapg.Properties.Cultivar, str}, + ("args[0]", "cultivar"): {Apple.Schema_.Properties.Cultivar, str}, ("args[0]", "lengthCm"): {NumberSchema, Decimal}, } @@ -174,9 +174,9 @@ def test_list_validate_direct_instantiation(self): side_effect=ArrayWithValidationsInItems._validate, ) as mock_outer_validate: with patch.object( - ArrayWithValidationsInItems.MetaOapg.Items, + ArrayWithValidationsInItems.Schema_.Items, "_validate", - side_effect=ArrayWithValidationsInItems.MetaOapg.Items._validate, + side_effect=ArrayWithValidationsInItems.Schema_.Items._validate, ) as mock_inner_validate: used_configuration = configuration.Configuration() ArrayWithValidationsInItems([7], _configuration=used_configuration) @@ -191,16 +191,16 @@ def test_list_validate_direct_instantiation(self): def test_list_validate_direct_instantiation_cast_item(self): # item validation is skipped if items are of the correct type - item = ArrayWithValidationsInItems.MetaOapg.Items(7) + item = ArrayWithValidationsInItems.Schema_.Items(7) with patch.object( ArrayWithValidationsInItems, "_validate", side_effect=ArrayWithValidationsInItems._validate, ) as mock_outer_validate: with patch.object( - ArrayWithValidationsInItems.MetaOapg.Items, + ArrayWithValidationsInItems.Schema_.Items, "_validate", - side_effect=ArrayWithValidationsInItems.MetaOapg.Items._validate, + side_effect=ArrayWithValidationsInItems.Schema_.Items._validate, ) as mock_inner_validate: used_configuration = configuration.Configuration() ArrayWithValidationsInItems([item], _configuration=used_configuration) @@ -209,7 +209,7 @@ def test_list_validate_direct_instantiation_cast_item(self): validation_metadata=ValidationMetadata( path_to_item=("args[0]",), configuration=used_configuration, - validated_path_to_schemas={('args[0]', 0): {ArrayWithValidationsInItems.MetaOapg.Items, Decimal}} + validated_path_to_schemas={('args[0]', 0): {ArrayWithValidationsInItems.Schema_.Items, Decimal}} ) ) mock_inner_validate.assert_not_called @@ -221,9 +221,9 @@ def test_list_validate_from_openai_data_instantiation(self): side_effect=ArrayWithValidationsInItems._validate, ) as mock_outer_validate: with patch.object( - ArrayWithValidationsInItems.MetaOapg.Items, + ArrayWithValidationsInItems.Schema_.Items, "_validate", - side_effect=ArrayWithValidationsInItems.MetaOapg.Items._validate, + side_effect=ArrayWithValidationsInItems.Schema_.Items._validate, ) as mock_inner_validate: used_configuration = configuration.Configuration() ArrayWithValidationsInItems.from_openapi_data_([7], _configuration=used_configuration) From a6618a931ab694af6db75a82b89df632677642e0 Mon Sep 17 00:00:00 2001 From: Justin Black Date: Fri, 30 Dec 2022 09:07:02 -0800 Subject: [PATCH 26/29] _configuration -> configuration_ --- .../resources/python/api_client.handlebars | 2 +- .../resources/python/endpoint_test.handlebars | 12 +-- .../python/endpoint_test_partial.handlebars | 2 +- .../python/model_templates/new.handlebars | 4 +- .../resources/python/model_test.handlebars | 6 +- .../main/resources/python/schemas.handlebars | 52 ++++++------ .../test/components/schema/test__not.py | 6 +- ...s_allows_a_schema_which_should_validate.py | 8 +- ...tionalproperties_are_allowed_by_default.py | 4 +- ...dditionalproperties_can_exist_by_itself.py | 6 +- ...operties_should_not_look_in_applicators.py | 6 +- .../test/components/schema/test_allof.py | 10 +-- .../test_allof_combined_with_anyof_oneof.py | 18 ++-- .../schema/test_allof_simple_types.py | 6 +- .../schema/test_allof_with_base_schema.py | 12 +-- .../test_allof_with_one_empty_schema.py | 4 +- .../test_allof_with_the_first_empty_schema.py | 6 +- .../test_allof_with_the_last_empty_schema.py | 6 +- .../test_allof_with_two_empty_schemas.py | 4 +- .../test/components/schema/test_anyof.py | 10 +-- .../schema/test_anyof_complex_types.py | 10 +-- .../schema/test_anyof_with_base_schema.py | 8 +- .../test_anyof_with_one_empty_schema.py | 6 +- .../schema/test_array_type_matches_arrays.py | 16 ++-- .../test_boolean_type_matches_booleans.py | 22 ++--- .../test/components/schema/test_by_int.py | 8 +- .../test/components/schema/test_by_number.py | 8 +- .../components/schema/test_by_small_number.py | 6 +- .../schema/test_date_time_format.py | 14 ++-- .../components/schema/test_email_format.py | 14 ++-- .../test_enum_with0_does_not_match_false.py | 8 +- .../test_enum_with1_does_not_match_true.py | 8 +- .../test_enum_with_escaped_characters.py | 8 +- .../test_enum_with_false_does_not_match0.py | 8 +- .../test_enum_with_true_does_not_match1.py | 8 +- .../schema/test_enums_in_properties.py | 14 ++-- .../schema/test_forbidden_property.py | 6 +- .../components/schema/test_hostname_format.py | 14 ++-- .../test_integer_type_matches_integers.py | 20 ++--- ...not_raise_error_when_float_division_inf.py | 6 +- .../test_invalid_string_value_for_default.py | 6 +- .../components/schema/test_ipv4_format.py | 14 ++-- .../components/schema/test_ipv6_format.py | 14 ++-- .../schema/test_json_pointer_format.py | 14 ++-- .../schema/test_maximum_validation.py | 10 +-- ...aximum_validation_with_unsigned_integer.py | 10 +-- .../schema/test_maxitems_validation.py | 10 +-- .../schema/test_maxlength_validation.py | 12 +-- ...axproperties0_means_the_object_is_empty.py | 6 +- .../schema/test_maxproperties_validation.py | 14 ++-- .../schema/test_minimum_validation.py | 10 +-- ..._minimum_validation_with_signed_integer.py | 16 ++-- .../schema/test_minitems_validation.py | 10 +-- .../schema/test_minlength_validation.py | 12 +-- .../schema/test_minproperties_validation.py | 14 ++-- ...ted_allof_to_check_validation_semantics.py | 6 +- ...ted_anyof_to_check_validation_semantics.py | 6 +- .../components/schema/test_nested_items.py | 8 +- ...ted_oneof_to_check_validation_semantics.py | 6 +- .../schema/test_not_more_complex_schema.py | 8 +- .../schema/test_nul_characters_in_strings.py | 6 +- ..._null_type_matches_only_the_null_object.py | 22 ++--- .../test_number_type_matches_numbers.py | 20 ++--- .../test_object_properties_validation.py | 14 ++-- .../test_object_type_matches_objects.py | 16 ++-- .../test/components/schema/test_oneof.py | 10 +-- .../schema/test_oneof_complex_types.py | 10 +-- .../schema/test_oneof_with_base_schema.py | 8 +- .../schema/test_oneof_with_empty_schema.py | 6 +- .../schema/test_oneof_with_required.py | 10 +-- .../schema/test_pattern_is_not_anchored.py | 4 +- .../schema/test_pattern_validation.py | 18 ++-- ...test_properties_with_escaped_characters.py | 6 +- ...perty_named_ref_that_is_not_a_reference.py | 6 +- .../test_ref_in_additionalproperties.py | 6 +- .../components/schema/test_ref_in_allof.py | 6 +- .../components/schema/test_ref_in_anyof.py | 6 +- .../components/schema/test_ref_in_items.py | 6 +- .../test/components/schema/test_ref_in_not.py | 6 +- .../components/schema/test_ref_in_oneof.py | 6 +- .../components/schema/test_ref_in_property.py | 6 +- .../test_required_default_validation.py | 4 +- .../schema/test_required_validation.py | 12 +-- .../schema/test_required_with_empty_array.py | 4 +- .../test_required_with_escaped_characters.py | 6 +- .../schema/test_simple_enum_validation.py | 6 +- .../test_string_type_matches_strings.py | 20 ++--- ..._do_anything_if_the_property_is_missing.py | 8 +- .../test_uniqueitems_false_validation.py | 32 +++---- .../schema/test_uniqueitems_validation.py | 52 ++++++------ .../test/components/schema/test_uri_format.py | 14 ++-- .../schema/test_uri_reference_format.py | 14 ++-- .../schema/test_uri_template_format.py | 14 ++-- .../test_post.py | 14 ++-- .../test_post.py | 8 +- .../test_post.py | 10 +-- .../test_post.py | 10 +-- .../test_post.py | 22 ++--- .../test_post.py | 14 ++-- .../test_post.py | 10 +-- .../test_post.py | 16 ++-- .../test_post.py | 8 +- .../test_post.py | 10 +-- .../test_post.py | 10 +-- .../test_post.py | 8 +- .../test_post.py | 18 ++-- .../test_post.py | 18 ++-- .../test_post.py | 12 +-- .../test_post.py | 12 +-- .../test_post.py | 20 ++--- .../test_post.py | 28 +++---- .../test_post.py | 14 ++-- .../test_post.py | 14 ++-- .../test_post.py | 10 +-- .../test_post.py | 28 +++---- .../test_post.py | 28 +++---- .../test_post.py | 14 ++-- .../test_post.py | 14 ++-- .../test_post.py | 14 ++-- .../test_post.py | 12 +-- .../test_post.py | 12 +-- .../test_post.py | 20 ++--- .../test_post.py | 10 +-- .../test_post.py | 28 +++---- .../test_post.py | 26 +++--- .../test_post.py | 10 +-- .../test_post.py | 12 +-- .../test_post.py | 28 +++---- .../test_post.py | 28 +++---- .../test_post.py | 28 +++---- .../test_post.py | 18 ++-- .../test_post.py | 18 ++-- .../test_post.py | 18 ++-- .../test_post.py | 22 ++--- .../test_post.py | 10 +-- .../test_post.py | 26 +++--- .../test_post.py | 18 ++-- .../test_post.py | 28 +++---- .../test_post.py | 18 ++-- .../test_post.py | 20 ++--- .../test_post.py | 26 +++--- .../test_post.py | 10 +-- .../test_post.py | 10 +-- .../test_post.py | 12 +-- .../test_post.py | 10 +-- .../test_post.py | 14 ++-- .../test_post.py | 10 +-- .../test_post.py | 10 +-- .../test_post.py | 26 +++--- .../test_post.py | 28 +++---- .../test_post.py | 24 +++--- .../test_post.py | 20 ++--- .../test_post.py | 16 ++-- .../test_post.py | 16 ++-- .../test_post.py | 12 +-- .../test_post.py | 10 +-- .../test_post.py | 16 ++-- .../test_post.py | 8 +- .../test_post.py | 34 ++++---- .../test_post.py | 10 +-- .../test_post.py | 10 +-- .../test_post.py | 10 +-- .../test_post.py | 10 +-- .../test_post.py | 10 +-- .../test_post.py | 10 +-- .../test_post.py | 10 +-- .../test_post.py | 10 +-- .../test_post.py | 10 +-- .../test_post.py | 8 +- .../test_post.py | 22 ++--- .../test_post.py | 8 +- .../test_post.py | 10 +-- .../test_post.py | 10 +-- .../test_post.py | 28 +++---- .../test_post.py | 14 ++-- .../test_post.py | 64 +++++++------- .../test_post.py | 84 +++++++++---------- .../test_post.py | 28 +++---- .../test_post.py | 28 +++---- .../test_post.py | 28 +++---- .../test_post.py | 14 ++-- .../test_post.py | 8 +- .../test_post.py | 10 +-- .../test_post.py | 10 +-- .../test_post.py | 22 ++--- .../test_post.py | 14 ++-- .../test_post.py | 10 +-- .../test_post.py | 16 ++-- .../test_post.py | 8 +- .../test_post.py | 10 +-- .../test_post.py | 10 +-- .../test_post.py | 8 +- .../test_post.py | 18 ++-- .../test_post.py | 18 ++-- .../test_post.py | 12 +-- .../test_post.py | 12 +-- .../test_post.py | 20 ++--- .../test_post.py | 28 +++---- .../test_post.py | 14 ++-- .../test_post.py | 14 ++-- .../test_post.py | 10 +-- .../test_post.py | 28 +++---- .../test_post.py | 28 +++---- .../test_post.py | 14 ++-- .../test_post.py | 14 ++-- .../test_post.py | 14 ++-- .../test_post.py | 12 +-- .../test_post.py | 12 +-- .../test_post.py | 20 ++--- .../test_post.py | 10 +-- .../test_post.py | 28 +++---- .../test_post.py | 26 +++--- .../test_post.py | 10 +-- .../test_post.py | 12 +-- .../test_post.py | 28 +++---- .../test_post.py | 28 +++---- .../test_post.py | 28 +++---- .../test_post.py | 18 ++-- .../test_post.py | 18 ++-- .../test_post.py | 18 ++-- .../test_post.py | 22 ++--- .../test_post.py | 10 +-- .../test_post.py | 26 +++--- .../test_post.py | 18 ++-- .../test_post.py | 28 +++---- .../test_post.py | 18 ++-- .../test_post.py | 20 ++--- .../test_post.py | 26 +++--- .../test_post.py | 10 +-- .../test_post.py | 10 +-- .../test_post.py | 12 +-- .../test_post.py | 10 +-- .../test_post.py | 14 ++-- .../test_post.py | 10 +-- .../test_post.py | 10 +-- .../test_post.py | 26 +++--- .../test_post.py | 28 +++---- .../test_post.py | 24 +++--- .../test_post.py | 20 ++--- .../test_post.py | 16 ++-- .../test_post.py | 16 ++-- .../test_post.py | 12 +-- .../test_post.py | 10 +-- .../test_post.py | 16 ++-- .../test_post.py | 8 +- .../test_post.py | 34 ++++---- .../test_post.py | 10 +-- .../test_post.py | 10 +-- .../test_post.py | 10 +-- .../test_post.py | 10 +-- .../test_post.py | 10 +-- .../test_post.py | 10 +-- .../test_post.py | 10 +-- .../test_post.py | 10 +-- .../test_post.py | 10 +-- .../test_post.py | 8 +- .../test_post.py | 22 ++--- .../test_post.py | 8 +- .../test_post.py | 10 +-- .../test_post.py | 10 +-- .../test_post.py | 28 +++---- .../test_post.py | 14 ++-- .../test_post.py | 64 +++++++------- .../test_post.py | 84 +++++++++---------- .../test_post.py | 28 +++---- .../test_post.py | 28 +++---- .../test_post.py | 28 +++---- .../python/unit_test_api/api_client.py | 2 +- .../unit_test_api/components/schema/_not.py | 4 +- .../unit_test_api/components/schema/_not.pyi | 4 +- ...s_allows_a_schema_which_should_validate.py | 4 +- ..._allows_a_schema_which_should_validate.pyi | 4 +- ...tionalproperties_are_allowed_by_default.py | 4 +- ...ionalproperties_are_allowed_by_default.pyi | 4 +- ...dditionalproperties_can_exist_by_itself.py | 4 +- ...ditionalproperties_can_exist_by_itself.pyi | 4 +- ...operties_should_not_look_in_applicators.py | 8 +- ...perties_should_not_look_in_applicators.pyi | 8 +- .../unit_test_api/components/schema/allof.py | 12 +-- .../unit_test_api/components/schema/allof.pyi | 12 +-- .../schema/allof_combined_with_anyof_oneof.py | 16 ++-- .../allof_combined_with_anyof_oneof.pyi | 16 ++-- .../components/schema/allof_simple_types.py | 12 +-- .../components/schema/allof_simple_types.pyi | 12 +-- .../schema/allof_with_base_schema.py | 12 +-- .../schema/allof_with_base_schema.pyi | 12 +-- .../schema/allof_with_one_empty_schema.py | 4 +- .../schema/allof_with_one_empty_schema.pyi | 4 +- .../allof_with_the_first_empty_schema.py | 4 +- .../allof_with_the_first_empty_schema.pyi | 4 +- .../allof_with_the_last_empty_schema.py | 4 +- .../allof_with_the_last_empty_schema.pyi | 4 +- .../schema/allof_with_two_empty_schemas.py | 4 +- .../schema/allof_with_two_empty_schemas.pyi | 4 +- .../unit_test_api/components/schema/anyof.py | 8 +- .../unit_test_api/components/schema/anyof.pyi | 8 +- .../components/schema/anyof_complex_types.py | 12 +-- .../components/schema/anyof_complex_types.pyi | 12 +-- .../schema/anyof_with_base_schema.py | 12 +-- .../schema/anyof_with_base_schema.pyi | 12 +-- .../schema/anyof_with_one_empty_schema.py | 4 +- .../schema/anyof_with_one_empty_schema.pyi | 4 +- .../schema/array_type_matches_arrays.py | 4 +- .../schema/array_type_matches_arrays.pyi | 4 +- .../unit_test_api/components/schema/by_int.py | 4 +- .../components/schema/by_int.pyi | 4 +- .../components/schema/by_number.py | 4 +- .../components/schema/by_number.pyi | 4 +- .../components/schema/by_small_number.py | 4 +- .../components/schema/by_small_number.pyi | 4 +- .../components/schema/date_time_format.py | 4 +- .../components/schema/date_time_format.pyi | 4 +- .../components/schema/email_format.py | 4 +- .../components/schema/email_format.pyi | 4 +- .../components/schema/enums_in_properties.py | 4 +- .../components/schema/enums_in_properties.pyi | 4 +- .../components/schema/forbidden_property.py | 4 +- .../components/schema/forbidden_property.pyi | 4 +- .../components/schema/hostname_format.py | 4 +- .../components/schema/hostname_format.pyi | 4 +- .../invalid_string_value_for_default.py | 4 +- .../invalid_string_value_for_default.pyi | 4 +- .../components/schema/ipv4_format.py | 4 +- .../components/schema/ipv4_format.pyi | 4 +- .../components/schema/ipv6_format.py | 4 +- .../components/schema/ipv6_format.pyi | 4 +- .../components/schema/json_pointer_format.py | 4 +- .../components/schema/json_pointer_format.pyi | 4 +- .../components/schema/maximum_validation.py | 4 +- .../components/schema/maximum_validation.pyi | 4 +- ...aximum_validation_with_unsigned_integer.py | 4 +- ...ximum_validation_with_unsigned_integer.pyi | 4 +- .../components/schema/maxitems_validation.py | 4 +- .../components/schema/maxitems_validation.pyi | 4 +- .../components/schema/maxlength_validation.py | 4 +- .../schema/maxlength_validation.pyi | 4 +- ...axproperties0_means_the_object_is_empty.py | 4 +- ...xproperties0_means_the_object_is_empty.pyi | 4 +- .../schema/maxproperties_validation.py | 4 +- .../schema/maxproperties_validation.pyi | 4 +- .../components/schema/minimum_validation.py | 4 +- .../components/schema/minimum_validation.pyi | 4 +- .../minimum_validation_with_signed_integer.py | 4 +- ...minimum_validation_with_signed_integer.pyi | 4 +- .../components/schema/minitems_validation.py | 4 +- .../components/schema/minitems_validation.pyi | 4 +- .../components/schema/minlength_validation.py | 4 +- .../schema/minlength_validation.pyi | 4 +- .../schema/minproperties_validation.py | 4 +- .../schema/minproperties_validation.pyi | 4 +- ...ted_allof_to_check_validation_semantics.py | 8 +- ...ed_allof_to_check_validation_semantics.pyi | 8 +- ...ted_anyof_to_check_validation_semantics.py | 8 +- ...ed_anyof_to_check_validation_semantics.pyi | 8 +- .../components/schema/nested_items.py | 16 ++-- .../components/schema/nested_items.pyi | 16 ++-- ...ted_oneof_to_check_validation_semantics.py | 8 +- ...ed_oneof_to_check_validation_semantics.pyi | 8 +- .../schema/not_more_complex_schema.py | 8 +- .../schema/not_more_complex_schema.pyi | 8 +- .../schema/object_properties_validation.py | 4 +- .../schema/object_properties_validation.pyi | 4 +- .../unit_test_api/components/schema/oneof.py | 8 +- .../unit_test_api/components/schema/oneof.pyi | 8 +- .../components/schema/oneof_complex_types.py | 12 +-- .../components/schema/oneof_complex_types.pyi | 12 +-- .../schema/oneof_with_base_schema.py | 12 +-- .../schema/oneof_with_base_schema.pyi | 12 +-- .../schema/oneof_with_empty_schema.py | 4 +- .../schema/oneof_with_empty_schema.pyi | 4 +- .../components/schema/oneof_with_required.py | 12 +-- .../components/schema/oneof_with_required.pyi | 12 +-- .../schema/pattern_is_not_anchored.py | 4 +- .../schema/pattern_is_not_anchored.pyi | 4 +- .../components/schema/pattern_validation.py | 4 +- .../components/schema/pattern_validation.pyi | 4 +- .../properties_with_escaped_characters.py | 4 +- .../properties_with_escaped_characters.pyi | 4 +- ...perty_named_ref_that_is_not_a_reference.py | 4 +- ...erty_named_ref_that_is_not_a_reference.pyi | 4 +- .../schema/ref_in_additionalproperties.py | 4 +- .../schema/ref_in_additionalproperties.pyi | 4 +- .../components/schema/ref_in_allof.py | 4 +- .../components/schema/ref_in_allof.pyi | 4 +- .../components/schema/ref_in_anyof.py | 4 +- .../components/schema/ref_in_anyof.pyi | 4 +- .../components/schema/ref_in_items.py | 4 +- .../components/schema/ref_in_items.pyi | 4 +- .../components/schema/ref_in_not.py | 4 +- .../components/schema/ref_in_not.pyi | 4 +- .../components/schema/ref_in_oneof.py | 4 +- .../components/schema/ref_in_oneof.pyi | 4 +- .../components/schema/ref_in_property.py | 4 +- .../components/schema/ref_in_property.pyi | 4 +- .../schema/required_default_validation.py | 4 +- .../schema/required_default_validation.pyi | 4 +- .../components/schema/required_validation.py | 4 +- .../components/schema/required_validation.pyi | 4 +- .../schema/required_with_empty_array.py | 4 +- .../schema/required_with_empty_array.pyi | 4 +- .../required_with_escaped_characters.py | 4 +- .../required_with_escaped_characters.pyi | 4 +- ..._do_anything_if_the_property_is_missing.py | 4 +- ...do_anything_if_the_property_is_missing.pyi | 4 +- .../schema/uniqueitems_false_validation.py | 4 +- .../schema/uniqueitems_false_validation.pyi | 4 +- .../schema/uniqueitems_validation.py | 4 +- .../schema/uniqueitems_validation.pyi | 4 +- .../components/schema/uri_format.py | 4 +- .../components/schema/uri_format.pyi | 4 +- .../components/schema/uri_reference_format.py | 4 +- .../schema/uri_reference_format.pyi | 4 +- .../components/schema/uri_template_format.py | 4 +- .../components/schema/uri_template_format.pyi | 4 +- .../python/unit_test_api/schemas.py | 52 ++++++------ .../schema/test_addition_operator.py | 2 +- .../test/components/schema/test_operator.py | 2 +- .../schema/test_subtraction_operator.py | 2 +- .../test_paths/test_operators/test_post.py | 4 +- .../python/this_package/api_client.py | 2 +- .../components/schema/addition_operator.py | 4 +- .../components/schema/addition_operator.pyi | 4 +- .../components/schema/operator.py | 4 +- .../components/schema/operator.pyi | 4 +- .../components/schema/subtraction_operator.py | 4 +- .../schema/subtraction_operator.pyi | 4 +- .../python/this_package/schemas.py | 52 ++++++------ .../python/petstore_api/api_client.py | 2 +- .../application_json.py | 4 +- .../application_json.pyi | 4 +- .../application_json.py | 4 +- .../application_json.pyi | 4 +- .../components/schema/_200_response.py | 4 +- .../components/schema/_200_response.pyi | 4 +- .../petstore_api/components/schema/_return.py | 4 +- .../components/schema/_return.pyi | 4 +- .../schema/abstract_step_message.py | 4 +- .../schema/abstract_step_message.pyi | 4 +- .../schema/additional_properties_class.py | 28 +++---- .../schema/additional_properties_class.pyi | 28 +++---- .../schema/additional_properties_validator.py | 24 +++--- .../additional_properties_validator.pyi | 24 +++--- ...ditional_properties_with_array_of_enums.py | 8 +- ...itional_properties_with_array_of_enums.pyi | 8 +- .../petstore_api/components/schema/address.py | 4 +- .../components/schema/address.pyi | 4 +- .../petstore_api/components/schema/animal.py | 4 +- .../petstore_api/components/schema/animal.pyi | 4 +- .../components/schema/animal_farm.py | 4 +- .../components/schema/animal_farm.pyi | 4 +- .../components/schema/any_type_and_format.py | 40 ++++----- .../components/schema/any_type_and_format.pyi | 40 ++++----- .../components/schema/any_type_not_string.py | 4 +- .../components/schema/any_type_not_string.pyi | 4 +- .../components/schema/api_response.py | 4 +- .../components/schema/api_response.pyi | 4 +- .../petstore_api/components/schema/apple.py | 4 +- .../petstore_api/components/schema/apple.pyi | 4 +- .../components/schema/apple_req.py | 4 +- .../components/schema/apple_req.pyi | 4 +- .../schema/array_holding_any_type.py | 4 +- .../schema/array_holding_any_type.pyi | 4 +- .../schema/array_of_array_of_number_only.py | 12 +-- .../schema/array_of_array_of_number_only.pyi | 12 +-- .../components/schema/array_of_enums.py | 4 +- .../components/schema/array_of_enums.pyi | 4 +- .../components/schema/array_of_number_only.py | 8 +- .../schema/array_of_number_only.pyi | 8 +- .../components/schema/array_test.py | 24 +++--- .../components/schema/array_test.pyi | 24 +++--- .../schema/array_with_validations_in_items.py | 4 +- .../array_with_validations_in_items.pyi | 4 +- .../petstore_api/components/schema/banana.py | 4 +- .../petstore_api/components/schema/banana.pyi | 4 +- .../components/schema/banana_req.py | 4 +- .../components/schema/banana_req.pyi | 4 +- .../components/schema/basque_pig.py | 4 +- .../components/schema/basque_pig.pyi | 4 +- .../components/schema/capitalization.py | 4 +- .../components/schema/capitalization.pyi | 4 +- .../petstore_api/components/schema/cat.py | 8 +- .../petstore_api/components/schema/cat.pyi | 8 +- .../components/schema/category.py | 4 +- .../components/schema/category.pyi | 4 +- .../components/schema/child_cat.py | 8 +- .../components/schema/child_cat.pyi | 8 +- .../components/schema/class_model.py | 4 +- .../components/schema/class_model.pyi | 4 +- .../petstore_api/components/schema/client.py | 4 +- .../petstore_api/components/schema/client.pyi | 4 +- .../schema/complex_quadrilateral.py | 8 +- .../schema/complex_quadrilateral.pyi | 8 +- ...d_any_of_different_types_no_validations.py | 8 +- ..._any_of_different_types_no_validations.pyi | 8 +- .../components/schema/composed_array.py | 4 +- .../components/schema/composed_array.pyi | 4 +- .../components/schema/composed_bool.py | 4 +- .../components/schema/composed_bool.pyi | 4 +- .../components/schema/composed_none.py | 4 +- .../components/schema/composed_none.pyi | 4 +- .../components/schema/composed_number.py | 4 +- .../components/schema/composed_number.pyi | 4 +- .../components/schema/composed_object.py | 4 +- .../components/schema/composed_object.pyi | 4 +- .../schema/composed_one_of_different_types.py | 12 +-- .../composed_one_of_different_types.pyi | 12 +-- .../components/schema/composed_string.py | 4 +- .../components/schema/composed_string.pyi | 4 +- .../components/schema/danish_pig.py | 4 +- .../components/schema/danish_pig.pyi | 4 +- .../petstore_api/components/schema/dog.py | 8 +- .../petstore_api/components/schema/dog.pyi | 8 +- .../petstore_api/components/schema/drawing.py | 8 +- .../components/schema/drawing.pyi | 8 +- .../components/schema/enum_arrays.py | 8 +- .../components/schema/enum_arrays.pyi | 8 +- .../components/schema/enum_test.py | 4 +- .../components/schema/enum_test.pyi | 4 +- .../components/schema/equilateral_triangle.py | 8 +- .../schema/equilateral_triangle.pyi | 8 +- .../petstore_api/components/schema/file.py | 4 +- .../petstore_api/components/schema/file.pyi | 4 +- .../schema/file_schema_test_class.py | 8 +- .../schema/file_schema_test_class.pyi | 8 +- .../petstore_api/components/schema/foo.py | 4 +- .../petstore_api/components/schema/foo.pyi | 4 +- .../components/schema/format_test.py | 8 +- .../components/schema/format_test.pyi | 8 +- .../components/schema/from_schema.py | 4 +- .../components/schema/from_schema.pyi | 4 +- .../petstore_api/components/schema/fruit.py | 4 +- .../petstore_api/components/schema/fruit.pyi | 4 +- .../components/schema/fruit_req.py | 4 +- .../components/schema/fruit_req.pyi | 4 +- .../components/schema/gm_fruit.py | 4 +- .../components/schema/gm_fruit.pyi | 4 +- .../components/schema/grandparent_animal.py | 4 +- .../components/schema/grandparent_animal.pyi | 4 +- .../components/schema/has_only_read_only.py | 4 +- .../components/schema/has_only_read_only.pyi | 4 +- .../components/schema/health_check_result.py | 8 +- .../components/schema/health_check_result.pyi | 8 +- .../components/schema/isosceles_triangle.py | 8 +- .../components/schema/isosceles_triangle.pyi | 8 +- .../components/schema/json_patch_request.py | 8 +- .../components/schema/json_patch_request.pyi | 8 +- .../json_patch_request_add_replace_test.py | 4 +- .../json_patch_request_add_replace_test.pyi | 4 +- .../schema/json_patch_request_move_copy.py | 4 +- .../schema/json_patch_request_move_copy.pyi | 4 +- .../schema/json_patch_request_remove.py | 4 +- .../schema/json_patch_request_remove.pyi | 4 +- .../petstore_api/components/schema/mammal.py | 4 +- .../petstore_api/components/schema/mammal.pyi | 4 +- .../components/schema/map_test.py | 20 ++--- .../components/schema/map_test.pyi | 20 ++--- ...perties_and_additional_properties_class.py | 8 +- ...erties_and_additional_properties_class.pyi | 8 +- .../petstore_api/components/schema/money.py | 4 +- .../petstore_api/components/schema/money.pyi | 4 +- .../petstore_api/components/schema/name.py | 4 +- .../petstore_api/components/schema/name.pyi | 4 +- .../schema/no_additional_properties.py | 4 +- .../schema/no_additional_properties.pyi | 4 +- .../components/schema/nullable_class.py | 72 ++++++++-------- .../components/schema/nullable_class.pyi | 72 ++++++++-------- .../components/schema/nullable_shape.py | 4 +- .../components/schema/nullable_shape.pyi | 4 +- .../components/schema/nullable_string.py | 4 +- .../components/schema/nullable_string.pyi | 4 +- .../components/schema/number_only.py | 4 +- .../components/schema/number_only.pyi | 4 +- ...ject_model_with_arg_and_args_properties.py | 4 +- ...ect_model_with_arg_and_args_properties.pyi | 4 +- .../schema/object_model_with_ref_props.py | 4 +- .../schema/object_model_with_ref_props.pyi | 4 +- ..._with_req_test_prop_from_unset_add_prop.py | 8 +- ...with_req_test_prop_from_unset_add_prop.pyi | 8 +- .../schema/object_with_decimal_properties.py | 4 +- .../schema/object_with_decimal_properties.pyi | 4 +- .../object_with_difficultly_named_props.py | 4 +- .../object_with_difficultly_named_props.pyi | 4 +- ...object_with_inline_composition_property.py | 8 +- ...bject_with_inline_composition_property.pyi | 8 +- ...ect_with_invalid_named_refed_properties.py | 4 +- ...ct_with_invalid_named_refed_properties.pyi | 4 +- .../schema/object_with_optional_test_prop.py | 4 +- .../schema/object_with_optional_test_prop.pyi | 4 +- .../schema/object_with_validations.py | 4 +- .../schema/object_with_validations.pyi | 4 +- .../petstore_api/components/schema/order.py | 4 +- .../petstore_api/components/schema/order.pyi | 4 +- .../components/schema/parent_pet.py | 4 +- .../components/schema/parent_pet.pyi | 4 +- .../petstore_api/components/schema/pet.py | 12 +-- .../petstore_api/components/schema/pet.pyi | 12 +-- .../petstore_api/components/schema/pig.py | 4 +- .../petstore_api/components/schema/pig.pyi | 4 +- .../petstore_api/components/schema/player.py | 4 +- .../petstore_api/components/schema/player.pyi | 4 +- .../components/schema/quadrilateral.py | 4 +- .../components/schema/quadrilateral.pyi | 4 +- .../schema/quadrilateral_interface.py | 4 +- .../schema/quadrilateral_interface.pyi | 4 +- .../components/schema/read_only_first.py | 4 +- .../components/schema/read_only_first.pyi | 4 +- .../req_props_from_explicit_add_props.py | 4 +- .../req_props_from_explicit_add_props.pyi | 4 +- .../schema/req_props_from_true_add_props.py | 4 +- .../schema/req_props_from_true_add_props.pyi | 4 +- .../schema/req_props_from_unset_add_props.py | 4 +- .../schema/req_props_from_unset_add_props.pyi | 4 +- .../components/schema/scalene_triangle.py | 8 +- .../components/schema/scalene_triangle.pyi | 8 +- .../schema/self_referencing_array_model.py | 4 +- .../schema/self_referencing_array_model.pyi | 4 +- .../schema/self_referencing_object_model.py | 4 +- .../schema/self_referencing_object_model.pyi | 4 +- .../petstore_api/components/schema/shape.py | 4 +- .../petstore_api/components/schema/shape.pyi | 4 +- .../components/schema/shape_or_null.py | 4 +- .../components/schema/shape_or_null.pyi | 4 +- .../components/schema/simple_quadrilateral.py | 8 +- .../schema/simple_quadrilateral.pyi | 8 +- .../components/schema/some_object.py | 4 +- .../components/schema/some_object.pyi | 4 +- .../components/schema/special_model_name.py | 4 +- .../components/schema/special_model_name.pyi | 4 +- .../components/schema/string_boolean_map.py | 4 +- .../components/schema/string_boolean_map.pyi | 4 +- .../components/schema/string_enum.py | 4 +- .../components/schema/string_enum.pyi | 4 +- .../petstore_api/components/schema/tag.py | 4 +- .../petstore_api/components/schema/tag.pyi | 4 +- .../components/schema/triangle.py | 4 +- .../components/schema/triangle.pyi | 4 +- .../components/schema/triangle_interface.py | 4 +- .../components/schema/triangle_interface.pyi | 4 +- .../petstore_api/components/schema/user.py | 12 +-- .../petstore_api/components/schema/user.pyi | 12 +-- .../petstore_api/components/schema/whale.py | 4 +- .../petstore_api/components/schema/whale.pyi | 4 +- .../petstore_api/components/schema/zebra.py | 4 +- .../petstore_api/components/schema/zebra.pyi | 4 +- .../paths/fake/get/parameter_0/schema.py | 4 +- .../paths/fake/get/parameter_0/schema.pyi | 4 +- .../paths/fake/get/parameter_2/schema.py | 4 +- .../paths/fake/get/parameter_2/schema.pyi | 4 +- .../application_x_www_form_urlencoded.py | 8 +- .../application_x_www_form_urlencoded.pyi | 8 +- .../application_x_www_form_urlencoded.py | 4 +- .../application_x_www_form_urlencoded.pyi | 4 +- .../post/request_body/application_json.py | 4 +- .../post/request_body/application_json.pyi | 4 +- .../post/parameter_0/schema.py | 4 +- .../post/parameter_0/schema.pyi | 4 +- .../post/parameter_1/schema.py | 8 +- .../post/parameter_1/schema.pyi | 8 +- .../post/request_body/application_json.py | 4 +- .../post/request_body/application_json.pyi | 4 +- .../post/request_body/multipart_form_data.py | 8 +- .../post/request_body/multipart_form_data.pyi | 8 +- .../post/response_for_200/application_json.py | 4 +- .../response_for_200/application_json.pyi | 4 +- .../response_for_200/multipart_form_data.py | 8 +- .../response_for_200/multipart_form_data.pyi | 8 +- .../application_x_www_form_urlencoded.py | 4 +- .../application_x_www_form_urlencoded.pyi | 4 +- .../get/parameter_0/schema.py | 4 +- .../get/parameter_0/schema.pyi | 4 +- .../post/request_body/multipart_form_data.py | 4 +- .../post/request_body/multipart_form_data.pyi | 4 +- .../put/parameter_0/schema.py | 4 +- .../put/parameter_0/schema.pyi | 4 +- .../put/parameter_1/schema.py | 4 +- .../put/parameter_1/schema.pyi | 4 +- .../put/parameter_2/schema.py | 4 +- .../put/parameter_2/schema.pyi | 4 +- .../put/parameter_3/schema.py | 4 +- .../put/parameter_3/schema.pyi | 4 +- .../put/parameter_4/schema.py | 4 +- .../put/parameter_4/schema.pyi | 4 +- .../post/request_body/multipart_form_data.py | 4 +- .../post/request_body/multipart_form_data.pyi | 4 +- .../post/request_body/multipart_form_data.py | 8 +- .../post/request_body/multipart_form_data.pyi | 8 +- .../response_for_default/application_json.py | 4 +- .../response_for_default/application_json.pyi | 4 +- .../get/parameter_0/schema.py | 4 +- .../get/parameter_0/schema.pyi | 4 +- .../get/response_for_200/application_json.py | 4 +- .../get/response_for_200/application_json.pyi | 4 +- .../get/response_for_200/application_xml.py | 4 +- .../get/response_for_200/application_xml.pyi | 4 +- .../get/parameter_0/schema.py | 4 +- .../get/parameter_0/schema.pyi | 4 +- .../get/response_for_200/application_json.py | 4 +- .../get/response_for_200/application_json.pyi | 4 +- .../get/response_for_200/application_xml.py | 4 +- .../get/response_for_200/application_xml.pyi | 4 +- .../application_x_www_form_urlencoded.py | 4 +- .../application_x_www_form_urlencoded.pyi | 4 +- .../post/request_body/multipart_form_data.py | 4 +- .../post/request_body/multipart_form_data.pyi | 4 +- .../petstore/python/petstore_api/schemas.py | 52 ++++++------ .../components/schema/test__200_response.py | 2 +- .../test/components/schema/test__return.py | 2 +- .../schema/test_abstract_step_message.py | 2 +- .../test_additional_properties_class.py | 2 +- .../test_additional_properties_validator.py | 2 +- ...ditional_properties_with_array_of_enums.py | 2 +- .../test/components/schema/test_address.py | 2 +- .../test/components/schema/test_animal.py | 2 +- .../components/schema/test_animal_farm.py | 2 +- .../schema/test_any_type_and_format.py | 2 +- .../schema/test_any_type_not_string.py | 2 +- .../components/schema/test_api_response.py | 2 +- .../test/components/schema/test_apple.py | 2 +- .../test/components/schema/test_apple_req.py | 2 +- .../schema/test_array_holding_any_type.py | 2 +- .../test_array_of_array_of_number_only.py | 2 +- .../components/schema/test_array_of_enums.py | 2 +- .../schema/test_array_of_number_only.py | 2 +- .../test/components/schema/test_array_test.py | 2 +- .../test_array_with_validations_in_items.py | 2 +- .../test/components/schema/test_banana.py | 2 +- .../test/components/schema/test_banana_req.py | 2 +- .../python/test/components/schema/test_bar.py | 2 +- .../test/components/schema/test_basque_pig.py | 2 +- .../test/components/schema/test_boolean.py | 2 +- .../components/schema/test_boolean_enum.py | 2 +- .../components/schema/test_capitalization.py | 2 +- .../python/test/components/schema/test_cat.py | 2 +- .../test/components/schema/test_category.py | 2 +- .../test/components/schema/test_child_cat.py | 2 +- .../components/schema/test_class_model.py | 2 +- .../test/components/schema/test_client.py | 2 +- .../schema/test_complex_quadrilateral.py | 2 +- ...d_any_of_different_types_no_validations.py | 2 +- .../components/schema/test_composed_array.py | 2 +- .../components/schema/test_composed_bool.py | 2 +- .../components/schema/test_composed_none.py | 2 +- .../components/schema/test_composed_number.py | 2 +- .../components/schema/test_composed_object.py | 2 +- .../test_composed_one_of_different_types.py | 2 +- .../components/schema/test_composed_string.py | 2 +- .../test/components/schema/test_currency.py | 2 +- .../test/components/schema/test_danish_pig.py | 2 +- .../components/schema/test_date_time_test.py | 2 +- .../schema/test_date_time_with_validations.py | 2 +- .../schema/test_date_with_validations.py | 2 +- .../components/schema/test_decimal_payload.py | 2 +- .../python/test/components/schema/test_dog.py | 2 +- .../test/components/schema/test_drawing.py | 2 +- .../components/schema/test_enum_arrays.py | 2 +- .../test/components/schema/test_enum_class.py | 2 +- .../test/components/schema/test_enum_test.py | 2 +- .../schema/test_equilateral_triangle.py | 2 +- .../test/components/schema/test_file.py | 2 +- .../schema/test_file_schema_test_class.py | 2 +- .../python/test/components/schema/test_foo.py | 2 +- .../components/schema/test_format_test.py | 2 +- .../components/schema/test_from_schema.py | 2 +- .../test/components/schema/test_fruit.py | 2 +- .../test/components/schema/test_fruit_req.py | 2 +- .../test/components/schema/test_gm_fruit.py | 2 +- .../schema/test_grandparent_animal.py | 2 +- .../schema/test_has_only_read_only.py | 2 +- .../schema/test_health_check_result.py | 2 +- .../components/schema/test_integer_enum.py | 2 +- .../schema/test_integer_enum_big.py | 2 +- .../schema/test_integer_enum_one_value.py | 2 +- .../test_integer_enum_with_default_value.py | 2 +- .../components/schema/test_integer_max10.py | 2 +- .../components/schema/test_integer_min15.py | 2 +- .../schema/test_isosceles_triangle.py | 2 +- .../schema/test_json_patch_request.py | 2 +- ...est_json_patch_request_add_replace_test.py | 2 +- .../test_json_patch_request_move_copy.py | 2 +- .../schema/test_json_patch_request_remove.py | 2 +- .../test/components/schema/test_mammal.py | 2 +- .../test/components/schema/test_map_test.py | 2 +- ...perties_and_additional_properties_class.py | 2 +- .../test/components/schema/test_money.py | 2 +- .../test/components/schema/test_name.py | 2 +- .../schema/test_no_additional_properties.py | 2 +- .../components/schema/test_nullable_class.py | 2 +- .../components/schema/test_nullable_shape.py | 2 +- .../components/schema/test_nullable_string.py | 2 +- .../test/components/schema/test_number.py | 2 +- .../components/schema/test_number_only.py | 2 +- .../schema/test_number_with_validations.py | 2 +- .../schema/test_object_interface.py | 2 +- ...ject_model_with_arg_and_args_properties.py | 2 +- .../test_object_model_with_ref_props.py | 2 +- ..._with_req_test_prop_from_unset_add_prop.py | 2 +- .../test_object_with_decimal_properties.py | 2 +- ...est_object_with_difficultly_named_props.py | 2 +- ...object_with_inline_composition_property.py | 2 +- ...ect_with_invalid_named_refed_properties.py | 2 +- .../test_object_with_optional_test_prop.py | 2 +- .../schema/test_object_with_validations.py | 2 +- .../test/components/schema/test_order.py | 2 +- .../test/components/schema/test_parent_pet.py | 2 +- .../python/test/components/schema/test_pet.py | 2 +- .../python/test/components/schema/test_pig.py | 2 +- .../test/components/schema/test_player.py | 2 +- .../components/schema/test_quadrilateral.py | 2 +- .../schema/test_quadrilateral_interface.py | 2 +- .../components/schema/test_read_only_first.py | 2 +- .../test_req_props_from_explicit_add_props.py | 2 +- .../test_req_props_from_true_add_props.py | 2 +- .../test_req_props_from_unset_add_props.py | 2 +- .../schema/test_scalene_triangle.py | 2 +- .../test_self_referencing_array_model.py | 2 +- .../test_self_referencing_object_model.py | 2 +- .../test/components/schema/test_shape.py | 2 +- .../components/schema/test_shape_or_null.py | 2 +- .../schema/test_simple_quadrilateral.py | 2 +- .../components/schema/test_some_object.py | 2 +- .../schema/test_special_model_name.py | 2 +- .../test/components/schema/test_string.py | 2 +- .../schema/test_string_boolean_map.py | 2 +- .../components/schema/test_string_enum.py | 2 +- .../test_string_enum_with_default_value.py | 2 +- .../schema/test_string_with_validation.py | 2 +- .../python/test/components/schema/test_tag.py | 2 +- .../test/components/schema/test_triangle.py | 2 +- .../schema/test_triangle_interface.py | 2 +- .../test/components/schema/test_user.py | 2 +- .../components/schema/test_uuid_string.py | 2 +- .../test/components/schema/test_whale.py | 2 +- .../test/components/schema/test_zebra.py | 2 +- .../test_another_fake_dummy/test_patch.py | 4 +- .../test/test_paths/test_fake/test_delete.py | 4 +- .../test/test_paths/test_fake/test_get.py | 4 +- .../test/test_paths/test_fake/test_patch.py | 4 +- .../test/test_paths/test_fake/test_post.py | 4 +- .../test_get.py | 4 +- .../test_put.py | 4 +- .../test_put.py | 4 +- .../test_put.py | 4 +- .../test_fake_classname_test/test_patch.py | 4 +- .../test_fake_delete_coffee_id/test_delete.py | 4 +- .../test_paths/test_fake_health/test_get.py | 4 +- .../test_post.py | 4 +- .../test_fake_inline_composition/test_post.py | 4 +- .../test_fake_json_form_data/test_get.py | 4 +- .../test_fake_json_patch/test_patch.py | 4 +- .../test_fake_json_with_charset/test_post.py | 4 +- .../test_fake_obj_in_query/test_get.py | 4 +- .../test_post.py | 4 +- .../test_post.py | 4 +- .../test_get.py | 4 +- .../test_fake_ref_obj_in_query/test_get.py | 4 +- .../test_post.py | 4 +- .../test_fake_refs_arraymodel/test_post.py | 4 +- .../test_fake_refs_boolean/test_post.py | 4 +- .../test_post.py | 4 +- .../test_fake_refs_enum/test_post.py | 4 +- .../test_fake_refs_mammal/test_post.py | 4 +- .../test_fake_refs_number/test_post.py | 4 +- .../test_post.py | 4 +- .../test_fake_refs_string/test_post.py | 4 +- .../test_get.py | 4 +- .../test_put.py | 4 +- .../test_post.py | 4 +- .../test_fake_upload_file/test_post.py | 4 +- .../test_fake_upload_files/test_post.py | 4 +- .../test/test_paths/test_foo/test_get.py | 4 +- .../test/test_paths/test_pet/test_post.py | 4 +- .../test/test_paths/test_pet/test_put.py | 4 +- .../test_pet_find_by_status/test_get.py | 4 +- .../test_pet_find_by_tags/test_get.py | 4 +- .../test_paths/test_pet_pet_id/test_delete.py | 4 +- .../test_paths/test_pet_pet_id/test_get.py | 4 +- .../test_paths/test_pet_pet_id/test_post.py | 4 +- .../test_pet_pet_id_upload_image/test_post.py | 4 +- .../test_store_inventory/test_get.py | 4 +- .../test_paths/test_store_order/test_post.py | 4 +- .../test_store_order_order_id/test_delete.py | 4 +- .../test_store_order_order_id/test_get.py | 4 +- .../test/test_paths/test_user/test_post.py | 4 +- .../test_user_create_with_array/test_post.py | 4 +- .../test_user_create_with_list/test_post.py | 4 +- .../test_paths/test_user_login/test_get.py | 4 +- .../test_paths/test_user_logout/test_get.py | 4 +- .../test_user_username/test_delete.py | 4 +- .../test_paths/test_user_username/test_get.py | 4 +- .../test_paths/test_user_username/test_put.py | 4 +- .../python/tests_manual/test_validate.py | 12 +-- 891 files changed, 3643 insertions(+), 3643 deletions(-) diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/api_client.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/api_client.handlebars index 863144d4610..fe7c57e4d49 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/api_client.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/api_client.handlebars @@ -924,7 +924,7 @@ class OpenApiResponse(JSONDetector, TypedDictInputVerifier, typing.Generic[T]): else: raise NotImplementedError('Deserialization of {} has not yet been implemented'.format(content_type)) deserialized_body = body_schema.from_openapi_data_( - body_data, _configuration=configuration) + body_data, configuration_=configuration) elif streamed: response.release_conn() diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/endpoint_test.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/endpoint_test.handlebars index ae1ceb875ba..fb51df23481 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/endpoint_test.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/endpoint_test.handlebars @@ -22,10 +22,10 @@ class Test{{operationIdSnakeCase}}(ApiTestMixin, unittest.TestCase): {{{summary}}} # noqa: E501 {{/if}} """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = {{httpMethod}}.ApiFor{{httpMethod}}(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -64,7 +64,7 @@ class Test{{operationIdSnakeCase}}(ApiTestMixin, unittest.TestCase): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body {{else}} @@ -74,7 +74,7 @@ class Test{{operationIdSnakeCase}}(ApiTestMixin, unittest.TestCase): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '{{{path}}}', + self.configuration_.host + '{{{path}}}', method='{{httpMethod}}'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -109,7 +109,7 @@ class Test{{operationIdSnakeCase}}(ApiTestMixin, unittest.TestCase): {{#if valid}} body = {{httpMethod}}.request_body.{{#with schema}}{{#if refModule}}{{refModule}}.{{refClass}}{{else}}{{name.getSnakeCaseName}}.{{name.getCamelCaseName}}{{/if}}{{/with}}.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -123,7 +123,7 @@ class Test{{operationIdSnakeCase}}(ApiTestMixin, unittest.TestCase): with self.assertRaises(({{packageName}}.ApiValueError, {{packageName}}.ApiTypeError)): body = {{httpMethod}}.request_body.{{#with schema}}{{#if refModule}}{{refModule}}.{{refClass}}{{else}}{{name.getSnakeCaseName}}.{{name.getCamelCaseName}}{{/if}}{{/with}}.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.{{httpMethod}}(body=body) {{/if}} diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/endpoint_test_partial.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/endpoint_test_partial.handlebars index 432b428ee5a..b1ec9772f12 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/endpoint_test_partial.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/endpoint_test_partial.handlebars @@ -9,7 +9,7 @@ api_response = self.api.{{httpMethod}}( ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '{{{path}}}', + self.configuration_.host + '{{{path}}}', method='{{httpMethod}}'.upper(), {{#if requestBody}} body=self.json_bytes(payload), diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/model_templates/new.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/model_templates/new.handlebars index fa4b64ebcba..c65e883e11a 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/model_templates/new.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/model_templates/new.handlebars @@ -41,7 +41,7 @@ def __new__( {{/if}} {{/if}} {{/each}} - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, {{#with additionalProperties}} {{#unless getIsBooleanSchemaFalse}} {{#if refClass}} @@ -83,7 +83,7 @@ def __new__( {{@key.getName}}={{@key.getName}}, {{/if}} {{/each}} - _configuration=_configuration, + configuration_=configuration_, {{#with additionalProperties}} {{#unless getIsBooleanSchemaFalse}} **kwargs, diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/model_test.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/model_test.handlebars index 4ce91f7cfbe..0049318fe7b 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/model_test.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/model_test.handlebars @@ -12,7 +12,7 @@ from {{packageName}} import configuration class Test{{name.getCamelCaseName}}(unittest.TestCase): """{{name.getCamelCaseName}} unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() {{#each testCases}} {{#with this }} @@ -23,7 +23,7 @@ class Test{{name.getCamelCaseName}}(unittest.TestCase): {{#with data}} {{> model_templates/payload_renderer endChar=',' }} {{/with}} - _configuration=self._configuration + configuration_=self.configuration_ ) {{else}} with self.assertRaises(({{packageName}}.ApiValueError, {{packageName}}.ApiTypeError)): @@ -31,7 +31,7 @@ class Test{{name.getCamelCaseName}}(unittest.TestCase): {{#with data}} {{> model_templates/payload_renderer endChar=','}} {{/with}} - _configuration=self._configuration + configuration_=self.configuration_ ) {{/if}} {{/with}} diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars index 07e80501082..2f52d5fa88a 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars @@ -1439,7 +1439,7 @@ class Schema: io.BufferedReader, bytes ], - _configuration: typing.Optional[configuration_module.Configuration] = None + configuration_: typing.Optional[configuration_module.Configuration] = None ): """ Schema from_openapi_data_ @@ -1450,7 +1450,7 @@ class Schema: arg = cast_to_allowed_types(arg, from_server, validated_path_to_schemas, ('args[0]',), path_to_type) validation_metadata = ValidationMetadata( path_to_item=('args[0]',), - configuration=_configuration or configuration_module.Configuration(), + configuration=configuration_ or configuration_module.Configuration(), validated_path_to_schemas=frozendict.frozendict(validated_path_to_schemas) ) path_to_schemas = cls.__get_new_cls(arg, validation_metadata, path_to_type) @@ -1480,7 +1480,7 @@ class Schema: *_args: typing.Union[ {{> types_all_incl_schema }} ], - _configuration: typing.Optional[configuration_module.Configuration] = None, + configuration_: typing.Optional[configuration_module.Configuration] = None, **kwargs: typing.Union[ {{> types_all_incl_schema }} Unset @@ -1492,7 +1492,7 @@ class Schema: Args: _args (int/float/decimal.Decimal/str/list/tuple/dict/frozendict.frozendict/bool/None): the value kwargs (str, int/float/decimal.Decimal/str/list/tuple/dict/frozendict.frozendict/bool/None): dict values - _configuration: contains the configuration_module.Configuration that enables json schema validation keywords + configuration_: contains the configuration_module.Configuration that enables json schema validation keywords like minItems, minLength etc Note: double underscores are used here because pycharm thinks that these variables @@ -1514,7 +1514,7 @@ class Schema: __arg, __from_server, __validated_path_to_schemas, ('args[0]',), __path_to_type) __validation_metadata = ValidationMetadata( path_to_item=('args[0]',), - configuration=_configuration or configuration_module.Configuration(), + configuration=configuration_ or configuration_module.Configuration(), validated_path_to_schemas=frozendict.frozendict(__validated_path_to_schemas) ) __path_to_schemas = cls.__get_new_cls(__arg, __validation_metadata, __path_to_type) @@ -1529,7 +1529,7 @@ class Schema: self, *_args: typing.Union[ dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, bool, None, 'Schema'], - _configuration: typing.Optional[configuration_module.Configuration] = None, + configuration_: typing.Optional[configuration_module.Configuration] = None, **kwargs: typing.Union[ dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, bool, None, 'Schema', Unset ] @@ -2176,8 +2176,8 @@ class ListSchema( types = {tuple} @classmethod - def from_openapi_data_(cls, arg: typing.List[typing.Any], _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: typing.List[typing.Any], configuration_: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, configuration_=configuration_) def __new__(cls, _arg: typing.Union[typing.List[typing.Any], typing.Tuple[typing.Any]], **kwargs: configuration_module.Configuration): return super().__new__(cls, _arg, **kwargs) @@ -2192,8 +2192,8 @@ class NoneSchema( types = {NoneClass} @classmethod - def from_openapi_data_(cls, arg: None, _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: None, configuration_: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, configuration_=configuration_) def __new__(cls, _arg: None, **kwargs: configuration_module.Configuration): return super().__new__(cls, _arg, **kwargs) @@ -2212,8 +2212,8 @@ class NumberSchema( types = {decimal.Decimal} @classmethod - def from_openapi_data_(cls, arg: typing.Union[int, float], _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: typing.Union[int, float], configuration_: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, configuration_=configuration_) def __new__(cls, _arg: typing.Union[decimal.Decimal, int, float], **kwargs: configuration_module.Configuration): return super().__new__(cls, _arg, **kwargs) @@ -2235,8 +2235,8 @@ class IntSchema(IntBase, NumberSchema): format = 'int' @classmethod - def from_openapi_data_(cls, arg: int, _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: int, configuration_: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, configuration_=configuration_) def __new__(cls, _arg: typing.Union[decimal.Decimal, int], **kwargs: configuration_module.Configuration): return super().__new__(cls, _arg, **kwargs) @@ -2266,8 +2266,8 @@ class Float32Schema( format = 'float' @classmethod - def from_openapi_data_(cls, arg: float, _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: float, configuration_: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, configuration_=configuration_) class Float64Schema( @@ -2278,8 +2278,8 @@ class Float64Schema( format = 'double' @classmethod - def from_openapi_data_(cls, arg: float, _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: float, configuration_: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, configuration_=configuration_) class StrSchema( @@ -2297,8 +2297,8 @@ class StrSchema( types = {str} @classmethod - def from_openapi_data_(cls, arg: str, _configuration: typing.Optional[configuration_module.Configuration] = None) -> 'StrSchema': - return super().from_openapi_data_(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: str, configuration_: typing.Optional[configuration_module.Configuration] = None) -> 'StrSchema': + return super().from_openapi_data_(arg, configuration_=configuration_) def __new__(cls, _arg: typing.Union[str, datetime.date, datetime.datetime, uuid.UUID], **kwargs: configuration_module.Configuration): return super().__new__(cls, _arg, **kwargs) @@ -2416,8 +2416,8 @@ class BoolSchema( types = {BoolClass} @classmethod - def from_openapi_data_(cls, arg: bool, _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: bool, configuration_: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, configuration_=configuration_) def __new__(cls, _arg: bool, **kwargs: ValidationMetadata): return super().__new__(cls, _arg, **kwargs) @@ -2456,12 +2456,12 @@ class NotAnyTypeSchema(AnyTypeSchema): def __new__( cls, *_args, - _configuration: typing.Optional[configuration_module.Configuration] = None, + configuration_: typing.Optional[configuration_module.Configuration] = None, ) -> 'NotAnyTypeSchema': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, ) @@ -2474,8 +2474,8 @@ class DictSchema( types = {frozendict.frozendict} @classmethod - def from_openapi_data_(cls, arg: typing.Dict[str, typing.Any], _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: typing.Dict[str, typing.Any], configuration_: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, configuration_=configuration_) def __new__(cls, *_args: typing.Union[dict, frozendict.frozendict], **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, bool, None, bytes, Schema, Unset, ValidationMetadata]): return super().__new__(cls, *_args, **kwargs) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test__not.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test__not.py index 3b64dfc48b8..ca0630b412e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test__not.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test__not.py @@ -18,13 +18,13 @@ class Test_Not(unittest.TestCase): """_Not unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_allowed_passes(self): # allowed _Not.from_openapi_data_( "foo", - _configuration=self._configuration + configuration_=self.configuration_ ) def test_disallowed_fails(self): @@ -32,7 +32,7 @@ def test_disallowed_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): _Not.from_openapi_data_( 1, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_additionalproperties_allows_a_schema_which_should_validate.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_additionalproperties_allows_a_schema_which_should_validate.py index 2a8fad2bf5e..71b346078ee 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_additionalproperties_allows_a_schema_which_should_validate.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_additionalproperties_allows_a_schema_which_should_validate.py @@ -18,7 +18,7 @@ class TestAdditionalpropertiesAllowsASchemaWhichShouldValidate(unittest.TestCase): """AdditionalpropertiesAllowsASchemaWhichShouldValidate unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_no_additional_properties_is_valid_passes(self): # no additional properties is valid @@ -27,7 +27,7 @@ def test_no_additional_properties_is_valid_passes(self): "foo": 1, }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_an_additional_invalid_property_is_invalid_fails(self): @@ -42,7 +42,7 @@ def test_an_additional_invalid_property_is_invalid_fails(self): "quux": 12, }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_an_additional_valid_property_is_valid_passes(self): @@ -56,7 +56,7 @@ def test_an_additional_valid_property_is_valid_passes(self): "quux": True, }, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_additionalproperties_are_allowed_by_default.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_additionalproperties_are_allowed_by_default.py index 54faf05cac6..bb6fe942bb6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_additionalproperties_are_allowed_by_default.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_additionalproperties_are_allowed_by_default.py @@ -18,7 +18,7 @@ class TestAdditionalpropertiesAreAllowedByDefault(unittest.TestCase): """AdditionalpropertiesAreAllowedByDefault unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_additional_properties_are_allowed_passes(self): # additional properties are allowed @@ -31,7 +31,7 @@ def test_additional_properties_are_allowed_passes(self): "quux": True, }, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_additionalproperties_can_exist_by_itself.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_additionalproperties_can_exist_by_itself.py index b390554e96f..493c51fa523 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_additionalproperties_can_exist_by_itself.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_additionalproperties_can_exist_by_itself.py @@ -18,7 +18,7 @@ class TestAdditionalpropertiesCanExistByItself(unittest.TestCase): """AdditionalpropertiesCanExistByItself unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_an_additional_invalid_property_is_invalid_fails(self): # an additional invalid property is invalid @@ -28,7 +28,7 @@ def test_an_additional_invalid_property_is_invalid_fails(self): "foo": 1, }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_an_additional_valid_property_is_valid_passes(self): @@ -38,7 +38,7 @@ def test_an_additional_valid_property_is_valid_passes(self): "foo": True, }, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_additionalproperties_should_not_look_in_applicators.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_additionalproperties_should_not_look_in_applicators.py index 5fd001e2a3c..b68aee9d2f4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_additionalproperties_should_not_look_in_applicators.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_additionalproperties_should_not_look_in_applicators.py @@ -18,7 +18,7 @@ class TestAdditionalpropertiesShouldNotLookInApplicators(unittest.TestCase): """AdditionalpropertiesShouldNotLookInApplicators unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_properties_defined_in_allof_are_not_examined_fails(self): # properties defined in allOf are not examined @@ -30,7 +30,7 @@ def test_properties_defined_in_allof_are_not_examined_fails(self): "bar": True, }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_valid_test_case_passes(self): @@ -42,7 +42,7 @@ def test_valid_test_case_passes(self): "bar": True, }, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof.py index cc58dbaf22b..60c3f3204e2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof.py @@ -18,7 +18,7 @@ class TestAllof(unittest.TestCase): """Allof unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_allof_passes(self): # allOf @@ -29,7 +29,7 @@ def test_allof_passes(self): "bar": 2, }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_mismatch_first_fails(self): @@ -40,7 +40,7 @@ def test_mismatch_first_fails(self): "bar": 2, }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_mismatch_second_fails(self): @@ -51,7 +51,7 @@ def test_mismatch_second_fails(self): "foo": "baz", }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_wrong_type_fails(self): @@ -64,7 +64,7 @@ def test_wrong_type_fails(self): "bar": "quux", }, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_combined_with_anyof_oneof.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_combined_with_anyof_oneof.py index 13d030381f6..eff7ec62ea2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_combined_with_anyof_oneof.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_combined_with_anyof_oneof.py @@ -18,14 +18,14 @@ class TestAllofCombinedWithAnyofOneof(unittest.TestCase): """AllofCombinedWithAnyofOneof unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_allof_true_anyof_false_oneof_false_fails(self): # allOf: true, anyOf: false, oneOf: false with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): AllofCombinedWithAnyofOneof.from_openapi_data_( 2, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_allof_false_anyof_false_oneof_true_fails(self): @@ -33,7 +33,7 @@ def test_allof_false_anyof_false_oneof_true_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): AllofCombinedWithAnyofOneof.from_openapi_data_( 5, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_allof_false_anyof_true_oneof_true_fails(self): @@ -41,7 +41,7 @@ def test_allof_false_anyof_true_oneof_true_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): AllofCombinedWithAnyofOneof.from_openapi_data_( 15, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_allof_true_anyof_true_oneof_false_fails(self): @@ -49,14 +49,14 @@ def test_allof_true_anyof_true_oneof_false_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): AllofCombinedWithAnyofOneof.from_openapi_data_( 6, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_allof_true_anyof_true_oneof_true_passes(self): # allOf: true, anyOf: true, oneOf: true AllofCombinedWithAnyofOneof.from_openapi_data_( 30, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_allof_true_anyof_false_oneof_true_fails(self): @@ -64,7 +64,7 @@ def test_allof_true_anyof_false_oneof_true_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): AllofCombinedWithAnyofOneof.from_openapi_data_( 10, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_allof_false_anyof_true_oneof_false_fails(self): @@ -72,7 +72,7 @@ def test_allof_false_anyof_true_oneof_false_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): AllofCombinedWithAnyofOneof.from_openapi_data_( 3, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_allof_false_anyof_false_oneof_false_fails(self): @@ -80,7 +80,7 @@ def test_allof_false_anyof_false_oneof_false_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): AllofCombinedWithAnyofOneof.from_openapi_data_( 1, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_simple_types.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_simple_types.py index c1b671d285f..8756c9150d4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_simple_types.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_simple_types.py @@ -18,13 +18,13 @@ class TestAllofSimpleTypes(unittest.TestCase): """AllofSimpleTypes unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_valid_passes(self): # valid AllofSimpleTypes.from_openapi_data_( 25, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_mismatch_one_fails(self): @@ -32,7 +32,7 @@ def test_mismatch_one_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): AllofSimpleTypes.from_openapi_data_( 35, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_with_base_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_with_base_schema.py index 5f3a394797c..c3ee4cf0525 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_with_base_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_with_base_schema.py @@ -18,7 +18,7 @@ class TestAllofWithBaseSchema(unittest.TestCase): """AllofWithBaseSchema unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_valid_passes(self): # valid @@ -31,7 +31,7 @@ def test_valid_passes(self): "baz": None, }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_mismatch_first_allof_fails(self): @@ -44,7 +44,7 @@ def test_mismatch_first_allof_fails(self): "baz": None, }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_mismatch_base_schema_fails(self): @@ -57,7 +57,7 @@ def test_mismatch_base_schema_fails(self): "baz": None, }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_mismatch_both_fails(self): @@ -68,7 +68,7 @@ def test_mismatch_both_fails(self): "bar": 2, }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_mismatch_second_allof_fails(self): @@ -81,7 +81,7 @@ def test_mismatch_second_allof_fails(self): "bar": 2, }, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_with_one_empty_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_with_one_empty_schema.py index 3291e64837f..817d2865130 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_with_one_empty_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_with_one_empty_schema.py @@ -18,13 +18,13 @@ class TestAllofWithOneEmptySchema(unittest.TestCase): """AllofWithOneEmptySchema unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_any_data_is_valid_passes(self): # any data is valid AllofWithOneEmptySchema.from_openapi_data_( 1, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_with_the_first_empty_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_with_the_first_empty_schema.py index 3e5f5f57183..c66ed120459 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_with_the_first_empty_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_with_the_first_empty_schema.py @@ -18,21 +18,21 @@ class TestAllofWithTheFirstEmptySchema(unittest.TestCase): """AllofWithTheFirstEmptySchema unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_string_is_invalid_fails(self): # string is invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): AllofWithTheFirstEmptySchema.from_openapi_data_( "foo", - _configuration=self._configuration + configuration_=self.configuration_ ) def test_number_is_valid_passes(self): # number is valid AllofWithTheFirstEmptySchema.from_openapi_data_( 1, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_with_the_last_empty_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_with_the_last_empty_schema.py index d0edf7585d6..a7a1a43a003 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_with_the_last_empty_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_with_the_last_empty_schema.py @@ -18,21 +18,21 @@ class TestAllofWithTheLastEmptySchema(unittest.TestCase): """AllofWithTheLastEmptySchema unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_string_is_invalid_fails(self): # string is invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): AllofWithTheLastEmptySchema.from_openapi_data_( "foo", - _configuration=self._configuration + configuration_=self.configuration_ ) def test_number_is_valid_passes(self): # number is valid AllofWithTheLastEmptySchema.from_openapi_data_( 1, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_with_two_empty_schemas.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_with_two_empty_schemas.py index 6e23b3446d9..639fb8b43ba 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_with_two_empty_schemas.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_allof_with_two_empty_schemas.py @@ -18,13 +18,13 @@ class TestAllofWithTwoEmptySchemas(unittest.TestCase): """AllofWithTwoEmptySchemas unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_any_data_is_valid_passes(self): # any data is valid AllofWithTwoEmptySchemas.from_openapi_data_( 1, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_anyof.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_anyof.py index f87aa5f12a9..53dd170a2f4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_anyof.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_anyof.py @@ -18,13 +18,13 @@ class TestAnyof(unittest.TestCase): """Anyof unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_second_anyof_valid_passes(self): # second anyOf valid Anyof.from_openapi_data_( 2.5, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_neither_anyof_valid_fails(self): @@ -32,21 +32,21 @@ def test_neither_anyof_valid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): Anyof.from_openapi_data_( 1.5, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_both_anyof_valid_passes(self): # both anyOf valid Anyof.from_openapi_data_( 3, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_first_anyof_valid_passes(self): # first anyOf valid Anyof.from_openapi_data_( 1, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_anyof_complex_types.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_anyof_complex_types.py index 8f7e9232178..dce893a1580 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_anyof_complex_types.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_anyof_complex_types.py @@ -18,7 +18,7 @@ class TestAnyofComplexTypes(unittest.TestCase): """AnyofComplexTypes unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_second_anyof_valid_complex_passes(self): # second anyOf valid (complex) @@ -27,7 +27,7 @@ def test_second_anyof_valid_complex_passes(self): "foo": "baz", }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_neither_anyof_valid_complex_fails(self): @@ -40,7 +40,7 @@ def test_neither_anyof_valid_complex_fails(self): "bar": "quux", }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_both_anyof_valid_complex_passes(self): @@ -52,7 +52,7 @@ def test_both_anyof_valid_complex_passes(self): "bar": 2, }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_first_anyof_valid_complex_passes(self): @@ -62,7 +62,7 @@ def test_first_anyof_valid_complex_passes(self): "bar": 2, }, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_anyof_with_base_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_anyof_with_base_schema.py index d00b9371a11..b0c3e3cc320 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_anyof_with_base_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_anyof_with_base_schema.py @@ -18,13 +18,13 @@ class TestAnyofWithBaseSchema(unittest.TestCase): """AnyofWithBaseSchema unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_one_anyof_valid_passes(self): # one anyOf valid AnyofWithBaseSchema.from_openapi_data_( "foobar", - _configuration=self._configuration + configuration_=self.configuration_ ) def test_both_anyof_invalid_fails(self): @@ -32,7 +32,7 @@ def test_both_anyof_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): AnyofWithBaseSchema.from_openapi_data_( "foo", - _configuration=self._configuration + configuration_=self.configuration_ ) def test_mismatch_base_schema_fails(self): @@ -40,7 +40,7 @@ def test_mismatch_base_schema_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): AnyofWithBaseSchema.from_openapi_data_( 3, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_anyof_with_one_empty_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_anyof_with_one_empty_schema.py index 4115e60bc8b..ccc46114327 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_anyof_with_one_empty_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_anyof_with_one_empty_schema.py @@ -18,20 +18,20 @@ class TestAnyofWithOneEmptySchema(unittest.TestCase): """AnyofWithOneEmptySchema unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_string_is_valid_passes(self): # string is valid AnyofWithOneEmptySchema.from_openapi_data_( "foo", - _configuration=self._configuration + configuration_=self.configuration_ ) def test_number_is_valid_passes(self): # number is valid AnyofWithOneEmptySchema.from_openapi_data_( 123, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_array_type_matches_arrays.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_array_type_matches_arrays.py index c9ae650704d..3c391c9e832 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_array_type_matches_arrays.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_array_type_matches_arrays.py @@ -18,14 +18,14 @@ class TestArrayTypeMatchesArrays(unittest.TestCase): """ArrayTypeMatchesArrays unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_a_float_is_not_an_array_fails(self): # a float is not an array with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): ArrayTypeMatchesArrays.from_openapi_data_( 1.1, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_a_boolean_is_not_an_array_fails(self): @@ -33,7 +33,7 @@ def test_a_boolean_is_not_an_array_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): ArrayTypeMatchesArrays.from_openapi_data_( True, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_null_is_not_an_array_fails(self): @@ -41,7 +41,7 @@ def test_null_is_not_an_array_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): ArrayTypeMatchesArrays.from_openapi_data_( None, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_an_object_is_not_an_array_fails(self): @@ -50,7 +50,7 @@ def test_an_object_is_not_an_array_fails(self): ArrayTypeMatchesArrays.from_openapi_data_( { }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_a_string_is_not_an_array_fails(self): @@ -58,7 +58,7 @@ def test_a_string_is_not_an_array_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): ArrayTypeMatchesArrays.from_openapi_data_( "foo", - _configuration=self._configuration + configuration_=self.configuration_ ) def test_an_array_is_an_array_passes(self): @@ -66,7 +66,7 @@ def test_an_array_is_an_array_passes(self): ArrayTypeMatchesArrays.from_openapi_data_( [ ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_an_integer_is_not_an_array_fails(self): @@ -74,7 +74,7 @@ def test_an_integer_is_not_an_array_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): ArrayTypeMatchesArrays.from_openapi_data_( 1, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_boolean_type_matches_booleans.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_boolean_type_matches_booleans.py index 2b34e43cbea..0364b1a17bd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_boolean_type_matches_booleans.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_boolean_type_matches_booleans.py @@ -18,14 +18,14 @@ class TestBooleanTypeMatchesBooleans(unittest.TestCase): """BooleanTypeMatchesBooleans unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_an_empty_string_is_not_a_boolean_fails(self): # an empty string is not a boolean with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): BooleanTypeMatchesBooleans.from_openapi_data_( "", - _configuration=self._configuration + configuration_=self.configuration_ ) def test_a_float_is_not_a_boolean_fails(self): @@ -33,7 +33,7 @@ def test_a_float_is_not_a_boolean_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): BooleanTypeMatchesBooleans.from_openapi_data_( 1.1, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_null_is_not_a_boolean_fails(self): @@ -41,7 +41,7 @@ def test_null_is_not_a_boolean_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): BooleanTypeMatchesBooleans.from_openapi_data_( None, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_zero_is_not_a_boolean_fails(self): @@ -49,7 +49,7 @@ def test_zero_is_not_a_boolean_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): BooleanTypeMatchesBooleans.from_openapi_data_( 0, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_an_array_is_not_a_boolean_fails(self): @@ -58,7 +58,7 @@ def test_an_array_is_not_a_boolean_fails(self): BooleanTypeMatchesBooleans.from_openapi_data_( [ ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_a_string_is_not_a_boolean_fails(self): @@ -66,14 +66,14 @@ def test_a_string_is_not_a_boolean_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): BooleanTypeMatchesBooleans.from_openapi_data_( "foo", - _configuration=self._configuration + configuration_=self.configuration_ ) def test_false_is_a_boolean_passes(self): # false is a boolean BooleanTypeMatchesBooleans.from_openapi_data_( False, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_an_integer_is_not_a_boolean_fails(self): @@ -81,14 +81,14 @@ def test_an_integer_is_not_a_boolean_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): BooleanTypeMatchesBooleans.from_openapi_data_( 1, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_true_is_a_boolean_passes(self): # true is a boolean BooleanTypeMatchesBooleans.from_openapi_data_( True, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_an_object_is_not_a_boolean_fails(self): @@ -97,7 +97,7 @@ def test_an_object_is_not_a_boolean_fails(self): BooleanTypeMatchesBooleans.from_openapi_data_( { }, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_by_int.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_by_int.py index 3cb1d0e768d..b920ad4258c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_by_int.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_by_int.py @@ -18,28 +18,28 @@ class TestByInt(unittest.TestCase): """ByInt unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_int_by_int_fail_fails(self): # int by int fail with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): ByInt.from_openapi_data_( 7, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_int_by_int_passes(self): # int by int ByInt.from_openapi_data_( 10, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_ignores_non_numbers_passes(self): # ignores non-numbers ByInt.from_openapi_data_( "foo", - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_by_number.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_by_number.py index b794a4cea7f..e965ff1a2d1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_by_number.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_by_number.py @@ -18,13 +18,13 @@ class TestByNumber(unittest.TestCase): """ByNumber unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_45_is_multiple_of15_passes(self): # 4.5 is multiple of 1.5 ByNumber.from_openapi_data_( 4.5, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_35_is_not_multiple_of15_fails(self): @@ -32,14 +32,14 @@ def test_35_is_not_multiple_of15_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): ByNumber.from_openapi_data_( 35, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_zero_is_multiple_of_anything_passes(self): # zero is multiple of anything ByNumber.from_openapi_data_( 0, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_by_small_number.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_by_small_number.py index 9db720d15bc..f6a739b7941 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_by_small_number.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_by_small_number.py @@ -18,21 +18,21 @@ class TestBySmallNumber(unittest.TestCase): """BySmallNumber unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_000751_is_not_multiple_of00001_fails(self): # 0.00751 is not multiple of 0.0001 with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): BySmallNumber.from_openapi_data_( 0.00751, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_00075_is_multiple_of00001_passes(self): # 0.0075 is multiple of 0.0001 BySmallNumber.from_openapi_data_( 0.0075, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_date_time_format.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_date_time_format.py index 31143b430fd..c424545814a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_date_time_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_date_time_format.py @@ -18,35 +18,35 @@ class TestDateTimeFormat(unittest.TestCase): """DateTimeFormat unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_all_string_formats_ignore_objects_passes(self): # all string formats ignore objects DateTimeFormat.from_openapi_data_( { }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_all_string_formats_ignore_booleans_passes(self): # all string formats ignore booleans DateTimeFormat.from_openapi_data_( False, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_all_string_formats_ignore_integers_passes(self): # all string formats ignore integers DateTimeFormat.from_openapi_data_( 12, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_all_string_formats_ignore_floats_passes(self): # all string formats ignore floats DateTimeFormat.from_openapi_data_( 13.7, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_all_string_formats_ignore_arrays_passes(self): @@ -54,14 +54,14 @@ def test_all_string_formats_ignore_arrays_passes(self): DateTimeFormat.from_openapi_data_( [ ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_all_string_formats_ignore_nulls_passes(self): # all string formats ignore nulls DateTimeFormat.from_openapi_data_( None, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_email_format.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_email_format.py index 46f3f3ed25b..d5709dc3fea 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_email_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_email_format.py @@ -18,35 +18,35 @@ class TestEmailFormat(unittest.TestCase): """EmailFormat unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_all_string_formats_ignore_objects_passes(self): # all string formats ignore objects EmailFormat.from_openapi_data_( { }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_all_string_formats_ignore_booleans_passes(self): # all string formats ignore booleans EmailFormat.from_openapi_data_( False, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_all_string_formats_ignore_integers_passes(self): # all string formats ignore integers EmailFormat.from_openapi_data_( 12, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_all_string_formats_ignore_floats_passes(self): # all string formats ignore floats EmailFormat.from_openapi_data_( 13.7, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_all_string_formats_ignore_arrays_passes(self): @@ -54,14 +54,14 @@ def test_all_string_formats_ignore_arrays_passes(self): EmailFormat.from_openapi_data_( [ ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_all_string_formats_ignore_nulls_passes(self): # all string formats ignore nulls EmailFormat.from_openapi_data_( None, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_enum_with0_does_not_match_false.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_enum_with0_does_not_match_false.py index edc3a401803..46af1ad9c69 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_enum_with0_does_not_match_false.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_enum_with0_does_not_match_false.py @@ -18,20 +18,20 @@ class TestEnumWith0DoesNotMatchFalse(unittest.TestCase): """EnumWith0DoesNotMatchFalse unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_integer_zero_is_valid_passes(self): # integer zero is valid EnumWith0DoesNotMatchFalse.from_openapi_data_( 0, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_float_zero_is_valid_passes(self): # float zero is valid EnumWith0DoesNotMatchFalse.from_openapi_data_( 0.0, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_false_is_invalid_fails(self): @@ -39,7 +39,7 @@ def test_false_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): EnumWith0DoesNotMatchFalse.from_openapi_data_( False, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_enum_with1_does_not_match_true.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_enum_with1_does_not_match_true.py index 9d06b98149c..ad9cce9c7ba 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_enum_with1_does_not_match_true.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_enum_with1_does_not_match_true.py @@ -18,28 +18,28 @@ class TestEnumWith1DoesNotMatchTrue(unittest.TestCase): """EnumWith1DoesNotMatchTrue unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_true_is_invalid_fails(self): # true is invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): EnumWith1DoesNotMatchTrue.from_openapi_data_( True, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_integer_one_is_valid_passes(self): # integer one is valid EnumWith1DoesNotMatchTrue.from_openapi_data_( 1, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_float_one_is_valid_passes(self): # float one is valid EnumWith1DoesNotMatchTrue.from_openapi_data_( 1.0, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_enum_with_escaped_characters.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_enum_with_escaped_characters.py index 65a9cab77f4..03063300914 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_enum_with_escaped_characters.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_enum_with_escaped_characters.py @@ -18,20 +18,20 @@ class TestEnumWithEscapedCharacters(unittest.TestCase): """EnumWithEscapedCharacters unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_member2_is_valid_passes(self): # member 2 is valid EnumWithEscapedCharacters.from_openapi_data_( "foo\rbar", - _configuration=self._configuration + configuration_=self.configuration_ ) def test_member1_is_valid_passes(self): # member 1 is valid EnumWithEscapedCharacters.from_openapi_data_( "foo\nbar", - _configuration=self._configuration + configuration_=self.configuration_ ) def test_another_string_is_invalid_fails(self): @@ -39,7 +39,7 @@ def test_another_string_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): EnumWithEscapedCharacters.from_openapi_data_( "abc", - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_enum_with_false_does_not_match0.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_enum_with_false_does_not_match0.py index cbbe71f7143..cdaf6ec1ffd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_enum_with_false_does_not_match0.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_enum_with_false_does_not_match0.py @@ -18,13 +18,13 @@ class TestEnumWithFalseDoesNotMatch0(unittest.TestCase): """EnumWithFalseDoesNotMatch0 unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_false_is_valid_passes(self): # false is valid EnumWithFalseDoesNotMatch0.from_openapi_data_( False, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_float_zero_is_invalid_fails(self): @@ -32,7 +32,7 @@ def test_float_zero_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): EnumWithFalseDoesNotMatch0.from_openapi_data_( 0.0, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_integer_zero_is_invalid_fails(self): @@ -40,7 +40,7 @@ def test_integer_zero_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): EnumWithFalseDoesNotMatch0.from_openapi_data_( 0, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_enum_with_true_does_not_match1.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_enum_with_true_does_not_match1.py index 5a37c760a3d..0f0bdbbc152 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_enum_with_true_does_not_match1.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_enum_with_true_does_not_match1.py @@ -18,21 +18,21 @@ class TestEnumWithTrueDoesNotMatch1(unittest.TestCase): """EnumWithTrueDoesNotMatch1 unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_float_one_is_invalid_fails(self): # float one is invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): EnumWithTrueDoesNotMatch1.from_openapi_data_( 1.0, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_true_is_valid_passes(self): # true is valid EnumWithTrueDoesNotMatch1.from_openapi_data_( True, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_integer_one_is_invalid_fails(self): @@ -40,7 +40,7 @@ def test_integer_one_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): EnumWithTrueDoesNotMatch1.from_openapi_data_( 1, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_enums_in_properties.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_enums_in_properties.py index 2989a816c0c..045d0f001be 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_enums_in_properties.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_enums_in_properties.py @@ -18,7 +18,7 @@ class TestEnumsInProperties(unittest.TestCase): """EnumsInProperties unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_missing_optional_property_is_valid_passes(self): # missing optional property is valid @@ -27,7 +27,7 @@ def test_missing_optional_property_is_valid_passes(self): "bar": "bar", }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_wrong_foo_value_fails(self): @@ -40,7 +40,7 @@ def test_wrong_foo_value_fails(self): "bar": "bar", }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_both_properties_are_valid_passes(self): @@ -52,7 +52,7 @@ def test_both_properties_are_valid_passes(self): "bar": "bar", }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_wrong_bar_value_fails(self): @@ -65,7 +65,7 @@ def test_wrong_bar_value_fails(self): "bar": "bart", }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_missing_all_properties_is_invalid_fails(self): @@ -74,7 +74,7 @@ def test_missing_all_properties_is_invalid_fails(self): EnumsInProperties.from_openapi_data_( { }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_missing_required_property_is_invalid_fails(self): @@ -85,7 +85,7 @@ def test_missing_required_property_is_invalid_fails(self): "foo": "foo", }, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_forbidden_property.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_forbidden_property.py index a87d23333b4..9a63b89f6f4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_forbidden_property.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_forbidden_property.py @@ -18,7 +18,7 @@ class TestForbiddenProperty(unittest.TestCase): """ForbiddenProperty unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_property_present_fails(self): # property present @@ -30,7 +30,7 @@ def test_property_present_fails(self): "bar": 2, }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_property_absent_passes(self): @@ -42,7 +42,7 @@ def test_property_absent_passes(self): "baz": 2, }, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_hostname_format.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_hostname_format.py index c3f42e8af20..ca72a380895 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_hostname_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_hostname_format.py @@ -18,35 +18,35 @@ class TestHostnameFormat(unittest.TestCase): """HostnameFormat unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_all_string_formats_ignore_objects_passes(self): # all string formats ignore objects HostnameFormat.from_openapi_data_( { }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_all_string_formats_ignore_booleans_passes(self): # all string formats ignore booleans HostnameFormat.from_openapi_data_( False, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_all_string_formats_ignore_integers_passes(self): # all string formats ignore integers HostnameFormat.from_openapi_data_( 12, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_all_string_formats_ignore_floats_passes(self): # all string formats ignore floats HostnameFormat.from_openapi_data_( 13.7, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_all_string_formats_ignore_arrays_passes(self): @@ -54,14 +54,14 @@ def test_all_string_formats_ignore_arrays_passes(self): HostnameFormat.from_openapi_data_( [ ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_all_string_formats_ignore_nulls_passes(self): # all string formats ignore nulls HostnameFormat.from_openapi_data_( None, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_integer_type_matches_integers.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_integer_type_matches_integers.py index 7e2608cfc65..da68d8c2daf 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_integer_type_matches_integers.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_integer_type_matches_integers.py @@ -18,7 +18,7 @@ class TestIntegerTypeMatchesIntegers(unittest.TestCase): """IntegerTypeMatchesIntegers unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_an_object_is_not_an_integer_fails(self): # an object is not an integer @@ -26,7 +26,7 @@ def test_an_object_is_not_an_integer_fails(self): IntegerTypeMatchesIntegers.from_openapi_data_( { }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_a_string_is_not_an_integer_fails(self): @@ -34,7 +34,7 @@ def test_a_string_is_not_an_integer_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): IntegerTypeMatchesIntegers.from_openapi_data_( "foo", - _configuration=self._configuration + configuration_=self.configuration_ ) def test_null_is_not_an_integer_fails(self): @@ -42,14 +42,14 @@ def test_null_is_not_an_integer_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): IntegerTypeMatchesIntegers.from_openapi_data_( None, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_a_float_with_zero_fractional_part_is_an_integer_passes(self): # a float with zero fractional part is an integer IntegerTypeMatchesIntegers.from_openapi_data_( 1.0, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_a_float_is_not_an_integer_fails(self): @@ -57,7 +57,7 @@ def test_a_float_is_not_an_integer_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): IntegerTypeMatchesIntegers.from_openapi_data_( 1.1, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_a_boolean_is_not_an_integer_fails(self): @@ -65,14 +65,14 @@ def test_a_boolean_is_not_an_integer_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): IntegerTypeMatchesIntegers.from_openapi_data_( True, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_an_integer_is_an_integer_passes(self): # an integer is an integer IntegerTypeMatchesIntegers.from_openapi_data_( 1, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_a_string_is_still_not_an_integer_even_if_it_looks_like_one_fails(self): @@ -80,7 +80,7 @@ def test_a_string_is_still_not_an_integer_even_if_it_looks_like_one_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): IntegerTypeMatchesIntegers.from_openapi_data_( "1", - _configuration=self._configuration + configuration_=self.configuration_ ) def test_an_array_is_not_an_integer_fails(self): @@ -89,7 +89,7 @@ def test_an_array_is_not_an_integer_fails(self): IntegerTypeMatchesIntegers.from_openapi_data_( [ ], - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_invalid_instance_should_not_raise_error_when_float_division_inf.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_invalid_instance_should_not_raise_error_when_float_division_inf.py index bb9351c798d..55351c93f20 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_invalid_instance_should_not_raise_error_when_float_division_inf.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_invalid_instance_should_not_raise_error_when_float_division_inf.py @@ -18,21 +18,21 @@ class TestInvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf(unittest.TestCase): """InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_always_invalid_but_naive_implementations_may_raise_an_overflow_error_fails(self): # always invalid, but naive implementations may raise an overflow error with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf.from_openapi_data_( 1.0E308, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_valid_integer_with_multipleof_float_passes(self): # valid integer with multipleOf float InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf.from_openapi_data_( 123456789, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_invalid_string_value_for_default.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_invalid_string_value_for_default.py index 722aaf0ee76..70322629b9c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_invalid_string_value_for_default.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_invalid_string_value_for_default.py @@ -18,7 +18,7 @@ class TestInvalidStringValueForDefault(unittest.TestCase): """InvalidStringValueForDefault unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_valid_when_property_is_specified_passes(self): # valid when property is specified @@ -27,7 +27,7 @@ def test_valid_when_property_is_specified_passes(self): "bar": "good", }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_still_valid_when_the_invalid_default_is_used_passes(self): @@ -35,7 +35,7 @@ def test_still_valid_when_the_invalid_default_is_used_passes(self): InvalidStringValueForDefault.from_openapi_data_( { }, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ipv4_format.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ipv4_format.py index 04633347e48..b2366362cda 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ipv4_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ipv4_format.py @@ -18,35 +18,35 @@ class TestIpv4Format(unittest.TestCase): """Ipv4Format unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_all_string_formats_ignore_objects_passes(self): # all string formats ignore objects Ipv4Format.from_openapi_data_( { }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_all_string_formats_ignore_booleans_passes(self): # all string formats ignore booleans Ipv4Format.from_openapi_data_( False, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_all_string_formats_ignore_integers_passes(self): # all string formats ignore integers Ipv4Format.from_openapi_data_( 12, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_all_string_formats_ignore_floats_passes(self): # all string formats ignore floats Ipv4Format.from_openapi_data_( 13.7, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_all_string_formats_ignore_arrays_passes(self): @@ -54,14 +54,14 @@ def test_all_string_formats_ignore_arrays_passes(self): Ipv4Format.from_openapi_data_( [ ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_all_string_formats_ignore_nulls_passes(self): # all string formats ignore nulls Ipv4Format.from_openapi_data_( None, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ipv6_format.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ipv6_format.py index d90d7e86c5c..cd1423fe8cc 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ipv6_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ipv6_format.py @@ -18,35 +18,35 @@ class TestIpv6Format(unittest.TestCase): """Ipv6Format unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_all_string_formats_ignore_objects_passes(self): # all string formats ignore objects Ipv6Format.from_openapi_data_( { }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_all_string_formats_ignore_booleans_passes(self): # all string formats ignore booleans Ipv6Format.from_openapi_data_( False, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_all_string_formats_ignore_integers_passes(self): # all string formats ignore integers Ipv6Format.from_openapi_data_( 12, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_all_string_formats_ignore_floats_passes(self): # all string formats ignore floats Ipv6Format.from_openapi_data_( 13.7, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_all_string_formats_ignore_arrays_passes(self): @@ -54,14 +54,14 @@ def test_all_string_formats_ignore_arrays_passes(self): Ipv6Format.from_openapi_data_( [ ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_all_string_formats_ignore_nulls_passes(self): # all string formats ignore nulls Ipv6Format.from_openapi_data_( None, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_json_pointer_format.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_json_pointer_format.py index d026cc9e127..1d8d0c707bf 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_json_pointer_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_json_pointer_format.py @@ -18,35 +18,35 @@ class TestJsonPointerFormat(unittest.TestCase): """JsonPointerFormat unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_all_string_formats_ignore_objects_passes(self): # all string formats ignore objects JsonPointerFormat.from_openapi_data_( { }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_all_string_formats_ignore_booleans_passes(self): # all string formats ignore booleans JsonPointerFormat.from_openapi_data_( False, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_all_string_formats_ignore_integers_passes(self): # all string formats ignore integers JsonPointerFormat.from_openapi_data_( 12, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_all_string_formats_ignore_floats_passes(self): # all string formats ignore floats JsonPointerFormat.from_openapi_data_( 13.7, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_all_string_formats_ignore_arrays_passes(self): @@ -54,14 +54,14 @@ def test_all_string_formats_ignore_arrays_passes(self): JsonPointerFormat.from_openapi_data_( [ ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_all_string_formats_ignore_nulls_passes(self): # all string formats ignore nulls JsonPointerFormat.from_openapi_data_( None, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_maximum_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_maximum_validation.py index bd0cae089b3..179a59f87c1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_maximum_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_maximum_validation.py @@ -18,20 +18,20 @@ class TestMaximumValidation(unittest.TestCase): """MaximumValidation unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_below_the_maximum_is_valid_passes(self): # below the maximum is valid MaximumValidation.from_openapi_data_( 2.6, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_boundary_point_is_valid_passes(self): # boundary point is valid MaximumValidation.from_openapi_data_( 3.0, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_above_the_maximum_is_invalid_fails(self): @@ -39,14 +39,14 @@ def test_above_the_maximum_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): MaximumValidation.from_openapi_data_( 3.5, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_ignores_non_numbers_passes(self): # ignores non-numbers MaximumValidation.from_openapi_data_( "x", - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_maximum_validation_with_unsigned_integer.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_maximum_validation_with_unsigned_integer.py index fda501a243e..ec39878d724 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_maximum_validation_with_unsigned_integer.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_maximum_validation_with_unsigned_integer.py @@ -18,13 +18,13 @@ class TestMaximumValidationWithUnsignedInteger(unittest.TestCase): """MaximumValidationWithUnsignedInteger unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_below_the_maximum_is_invalid_passes(self): # below the maximum is invalid MaximumValidationWithUnsignedInteger.from_openapi_data_( 299.97, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_above_the_maximum_is_invalid_fails(self): @@ -32,21 +32,21 @@ def test_above_the_maximum_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): MaximumValidationWithUnsignedInteger.from_openapi_data_( 300.5, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_boundary_point_integer_is_valid_passes(self): # boundary point integer is valid MaximumValidationWithUnsignedInteger.from_openapi_data_( 300, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_boundary_point_float_is_valid_passes(self): # boundary point float is valid MaximumValidationWithUnsignedInteger.from_openapi_data_( 300.0, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_maxitems_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_maxitems_validation.py index 6e9efebf98b..8a3e70a3702 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_maxitems_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_maxitems_validation.py @@ -18,7 +18,7 @@ class TestMaxitemsValidation(unittest.TestCase): """MaxitemsValidation unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_too_long_is_invalid_fails(self): # too long is invalid @@ -29,14 +29,14 @@ def test_too_long_is_invalid_fails(self): 2, 3, ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_ignores_non_arrays_passes(self): # ignores non-arrays MaxitemsValidation.from_openapi_data_( "foobar", - _configuration=self._configuration + configuration_=self.configuration_ ) def test_shorter_is_valid_passes(self): @@ -45,7 +45,7 @@ def test_shorter_is_valid_passes(self): [ 1, ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_exact_length_is_valid_passes(self): @@ -55,7 +55,7 @@ def test_exact_length_is_valid_passes(self): 1, 2, ], - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_maxlength_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_maxlength_validation.py index 53a518eda87..89c669ced61 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_maxlength_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_maxlength_validation.py @@ -18,42 +18,42 @@ class TestMaxlengthValidation(unittest.TestCase): """MaxlengthValidation unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_too_long_is_invalid_fails(self): # too long is invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): MaxlengthValidation.from_openapi_data_( "foo", - _configuration=self._configuration + configuration_=self.configuration_ ) def test_ignores_non_strings_passes(self): # ignores non-strings MaxlengthValidation.from_openapi_data_( 100, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_shorter_is_valid_passes(self): # shorter is valid MaxlengthValidation.from_openapi_data_( "f", - _configuration=self._configuration + configuration_=self.configuration_ ) def test_two_supplementary_unicode_code_points_is_long_enough_passes(self): # two supplementary Unicode code points is long enough MaxlengthValidation.from_openapi_data_( "💩💩", - _configuration=self._configuration + configuration_=self.configuration_ ) def test_exact_length_is_valid_passes(self): # exact length is valid MaxlengthValidation.from_openapi_data_( "fo", - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_maxproperties0_means_the_object_is_empty.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_maxproperties0_means_the_object_is_empty.py index 4a8f0c9552d..31124e9b4ab 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_maxproperties0_means_the_object_is_empty.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_maxproperties0_means_the_object_is_empty.py @@ -18,14 +18,14 @@ class TestMaxproperties0MeansTheObjectIsEmpty(unittest.TestCase): """Maxproperties0MeansTheObjectIsEmpty unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_no_properties_is_valid_passes(self): # no properties is valid Maxproperties0MeansTheObjectIsEmpty.from_openapi_data_( { }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_one_property_is_invalid_fails(self): @@ -36,7 +36,7 @@ def test_one_property_is_invalid_fails(self): "foo": 1, }, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_maxproperties_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_maxproperties_validation.py index 15304dfbc68..72446d765dd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_maxproperties_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_maxproperties_validation.py @@ -18,7 +18,7 @@ class TestMaxpropertiesValidation(unittest.TestCase): """MaxpropertiesValidation unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_too_long_is_invalid_fails(self): # too long is invalid @@ -32,7 +32,7 @@ def test_too_long_is_invalid_fails(self): "baz": 3, }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_ignores_arrays_passes(self): @@ -43,21 +43,21 @@ def test_ignores_arrays_passes(self): 2, 3, ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_ignores_other_non_objects_passes(self): # ignores other non-objects MaxpropertiesValidation.from_openapi_data_( 12, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_ignores_strings_passes(self): # ignores strings MaxpropertiesValidation.from_openapi_data_( "foobar", - _configuration=self._configuration + configuration_=self.configuration_ ) def test_shorter_is_valid_passes(self): @@ -67,7 +67,7 @@ def test_shorter_is_valid_passes(self): "foo": 1, }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_exact_length_is_valid_passes(self): @@ -79,7 +79,7 @@ def test_exact_length_is_valid_passes(self): "bar": 2, }, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_minimum_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_minimum_validation.py index f07cd42438b..b79b24f9ec7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_minimum_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_minimum_validation.py @@ -18,13 +18,13 @@ class TestMinimumValidation(unittest.TestCase): """MinimumValidation unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_boundary_point_is_valid_passes(self): # boundary point is valid MinimumValidation.from_openapi_data_( 1.1, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_below_the_minimum_is_invalid_fails(self): @@ -32,21 +32,21 @@ def test_below_the_minimum_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): MinimumValidation.from_openapi_data_( 0.6, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_above_the_minimum_is_valid_passes(self): # above the minimum is valid MinimumValidation.from_openapi_data_( 2.6, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_ignores_non_numbers_passes(self): # ignores non-numbers MinimumValidation.from_openapi_data_( "x", - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_minimum_validation_with_signed_integer.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_minimum_validation_with_signed_integer.py index fa03aa91d39..7dab236e216 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_minimum_validation_with_signed_integer.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_minimum_validation_with_signed_integer.py @@ -18,20 +18,20 @@ class TestMinimumValidationWithSignedInteger(unittest.TestCase): """MinimumValidationWithSignedInteger unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_boundary_point_is_valid_passes(self): # boundary point is valid MinimumValidationWithSignedInteger.from_openapi_data_( -2, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_positive_above_the_minimum_is_valid_passes(self): # positive above the minimum is valid MinimumValidationWithSignedInteger.from_openapi_data_( 0, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_int_below_the_minimum_is_invalid_fails(self): @@ -39,7 +39,7 @@ def test_int_below_the_minimum_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): MinimumValidationWithSignedInteger.from_openapi_data_( -3, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_float_below_the_minimum_is_invalid_fails(self): @@ -47,28 +47,28 @@ def test_float_below_the_minimum_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): MinimumValidationWithSignedInteger.from_openapi_data_( -2.0001, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_boundary_point_with_float_is_valid_passes(self): # boundary point with float is valid MinimumValidationWithSignedInteger.from_openapi_data_( -2.0, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_negative_above_the_minimum_is_valid_passes(self): # negative above the minimum is valid MinimumValidationWithSignedInteger.from_openapi_data_( -1, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_ignores_non_numbers_passes(self): # ignores non-numbers MinimumValidationWithSignedInteger.from_openapi_data_( "x", - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_minitems_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_minitems_validation.py index 6699d7d4ff8..b5601116858 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_minitems_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_minitems_validation.py @@ -18,7 +18,7 @@ class TestMinitemsValidation(unittest.TestCase): """MinitemsValidation unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_too_short_is_invalid_fails(self): # too short is invalid @@ -26,14 +26,14 @@ def test_too_short_is_invalid_fails(self): MinitemsValidation.from_openapi_data_( [ ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_ignores_non_arrays_passes(self): # ignores non-arrays MinitemsValidation.from_openapi_data_( "", - _configuration=self._configuration + configuration_=self.configuration_ ) def test_longer_is_valid_passes(self): @@ -43,7 +43,7 @@ def test_longer_is_valid_passes(self): 1, 2, ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_exact_length_is_valid_passes(self): @@ -52,7 +52,7 @@ def test_exact_length_is_valid_passes(self): [ 1, ], - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_minlength_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_minlength_validation.py index c263f4e91e6..8687f7ce64a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_minlength_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_minlength_validation.py @@ -18,14 +18,14 @@ class TestMinlengthValidation(unittest.TestCase): """MinlengthValidation unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_too_short_is_invalid_fails(self): # too short is invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): MinlengthValidation.from_openapi_data_( "f", - _configuration=self._configuration + configuration_=self.configuration_ ) def test_one_supplementary_unicode_code_point_is_not_long_enough_fails(self): @@ -33,28 +33,28 @@ def test_one_supplementary_unicode_code_point_is_not_long_enough_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): MinlengthValidation.from_openapi_data_( "💩", - _configuration=self._configuration + configuration_=self.configuration_ ) def test_longer_is_valid_passes(self): # longer is valid MinlengthValidation.from_openapi_data_( "foo", - _configuration=self._configuration + configuration_=self.configuration_ ) def test_ignores_non_strings_passes(self): # ignores non-strings MinlengthValidation.from_openapi_data_( 1, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_exact_length_is_valid_passes(self): # exact length is valid MinlengthValidation.from_openapi_data_( "fo", - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_minproperties_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_minproperties_validation.py index fa1e9c1e1bb..52239470bf2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_minproperties_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_minproperties_validation.py @@ -18,21 +18,21 @@ class TestMinpropertiesValidation(unittest.TestCase): """MinpropertiesValidation unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_ignores_arrays_passes(self): # ignores arrays MinpropertiesValidation.from_openapi_data_( [ ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_ignores_other_non_objects_passes(self): # ignores other non-objects MinpropertiesValidation.from_openapi_data_( 12, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_too_short_is_invalid_fails(self): @@ -41,14 +41,14 @@ def test_too_short_is_invalid_fails(self): MinpropertiesValidation.from_openapi_data_( { }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_ignores_strings_passes(self): # ignores strings MinpropertiesValidation.from_openapi_data_( "", - _configuration=self._configuration + configuration_=self.configuration_ ) def test_longer_is_valid_passes(self): @@ -60,7 +60,7 @@ def test_longer_is_valid_passes(self): "bar": 2, }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_exact_length_is_valid_passes(self): @@ -70,7 +70,7 @@ def test_exact_length_is_valid_passes(self): "foo": 1, }, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_nested_allof_to_check_validation_semantics.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_nested_allof_to_check_validation_semantics.py index 334f058e6e5..8283935a68d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_nested_allof_to_check_validation_semantics.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_nested_allof_to_check_validation_semantics.py @@ -18,21 +18,21 @@ class TestNestedAllofToCheckValidationSemantics(unittest.TestCase): """NestedAllofToCheckValidationSemantics unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_anything_non_null_is_invalid_fails(self): # anything non-null is invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): NestedAllofToCheckValidationSemantics.from_openapi_data_( 123, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_null_is_valid_passes(self): # null is valid NestedAllofToCheckValidationSemantics.from_openapi_data_( None, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_nested_anyof_to_check_validation_semantics.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_nested_anyof_to_check_validation_semantics.py index 06e3aa2e9f7..ae98824c2cf 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_nested_anyof_to_check_validation_semantics.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_nested_anyof_to_check_validation_semantics.py @@ -18,21 +18,21 @@ class TestNestedAnyofToCheckValidationSemantics(unittest.TestCase): """NestedAnyofToCheckValidationSemantics unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_anything_non_null_is_invalid_fails(self): # anything non-null is invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): NestedAnyofToCheckValidationSemantics.from_openapi_data_( 123, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_null_is_valid_passes(self): # null is valid NestedAnyofToCheckValidationSemantics.from_openapi_data_( None, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_nested_items.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_nested_items.py index dfa6c21d1fd..60370d0d2d8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_nested_items.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_nested_items.py @@ -18,7 +18,7 @@ class TestNestedItems(unittest.TestCase): """NestedItems unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_valid_nested_array_passes(self): # valid nested array @@ -53,7 +53,7 @@ def test_valid_nested_array_passes(self): ], ], ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_nested_array_with_invalid_type_fails(self): @@ -90,7 +90,7 @@ def test_nested_array_with_invalid_type_fails(self): ], ], ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_not_deep_enough_fails(self): @@ -121,7 +121,7 @@ def test_not_deep_enough_fails(self): ], ], ], - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_nested_oneof_to_check_validation_semantics.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_nested_oneof_to_check_validation_semantics.py index 61637c2472e..cb11517da8c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_nested_oneof_to_check_validation_semantics.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_nested_oneof_to_check_validation_semantics.py @@ -18,21 +18,21 @@ class TestNestedOneofToCheckValidationSemantics(unittest.TestCase): """NestedOneofToCheckValidationSemantics unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_anything_non_null_is_invalid_fails(self): # anything non-null is invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): NestedOneofToCheckValidationSemantics.from_openapi_data_( 123, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_null_is_valid_passes(self): # null is valid NestedOneofToCheckValidationSemantics.from_openapi_data_( None, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_not_more_complex_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_not_more_complex_schema.py index bcf6350504f..24f4675bbd8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_not_more_complex_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_not_more_complex_schema.py @@ -18,7 +18,7 @@ class TestNotMoreComplexSchema(unittest.TestCase): """NotMoreComplexSchema unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_other_match_passes(self): # other match @@ -27,7 +27,7 @@ def test_other_match_passes(self): "foo": 1, }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_mismatch_fails(self): @@ -38,14 +38,14 @@ def test_mismatch_fails(self): "foo": "bar", }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_match_passes(self): # match NotMoreComplexSchema.from_openapi_data_( 1, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_nul_characters_in_strings.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_nul_characters_in_strings.py index 3f527acdd3d..3a9ef33e33d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_nul_characters_in_strings.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_nul_characters_in_strings.py @@ -18,13 +18,13 @@ class TestNulCharactersInStrings(unittest.TestCase): """NulCharactersInStrings unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_match_string_with_nul_passes(self): # match string with nul NulCharactersInStrings.from_openapi_data_( "hello\x00there", - _configuration=self._configuration + configuration_=self.configuration_ ) def test_do_not_match_string_lacking_nul_fails(self): @@ -32,7 +32,7 @@ def test_do_not_match_string_lacking_nul_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): NulCharactersInStrings.from_openapi_data_( "hellothere", - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_null_type_matches_only_the_null_object.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_null_type_matches_only_the_null_object.py index 6abc87878f2..a21f36d7670 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_null_type_matches_only_the_null_object.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_null_type_matches_only_the_null_object.py @@ -18,14 +18,14 @@ class TestNullTypeMatchesOnlyTheNullObject(unittest.TestCase): """NullTypeMatchesOnlyTheNullObject unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_a_float_is_not_null_fails(self): # a float is not null with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): NullTypeMatchesOnlyTheNullObject.from_openapi_data_( 1.1, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_an_object_is_not_null_fails(self): @@ -34,7 +34,7 @@ def test_an_object_is_not_null_fails(self): NullTypeMatchesOnlyTheNullObject.from_openapi_data_( { }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_false_is_not_null_fails(self): @@ -42,7 +42,7 @@ def test_false_is_not_null_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): NullTypeMatchesOnlyTheNullObject.from_openapi_data_( False, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_an_integer_is_not_null_fails(self): @@ -50,7 +50,7 @@ def test_an_integer_is_not_null_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): NullTypeMatchesOnlyTheNullObject.from_openapi_data_( 1, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_true_is_not_null_fails(self): @@ -58,7 +58,7 @@ def test_true_is_not_null_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): NullTypeMatchesOnlyTheNullObject.from_openapi_data_( True, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_zero_is_not_null_fails(self): @@ -66,7 +66,7 @@ def test_zero_is_not_null_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): NullTypeMatchesOnlyTheNullObject.from_openapi_data_( 0, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_an_empty_string_is_not_null_fails(self): @@ -74,14 +74,14 @@ def test_an_empty_string_is_not_null_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): NullTypeMatchesOnlyTheNullObject.from_openapi_data_( "", - _configuration=self._configuration + configuration_=self.configuration_ ) def test_null_is_null_passes(self): # null is null NullTypeMatchesOnlyTheNullObject.from_openapi_data_( None, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_an_array_is_not_null_fails(self): @@ -90,7 +90,7 @@ def test_an_array_is_not_null_fails(self): NullTypeMatchesOnlyTheNullObject.from_openapi_data_( [ ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_a_string_is_not_null_fails(self): @@ -98,7 +98,7 @@ def test_a_string_is_not_null_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): NullTypeMatchesOnlyTheNullObject.from_openapi_data_( "foo", - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_number_type_matches_numbers.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_number_type_matches_numbers.py index 72560c1d2bc..8b27fd2c1f2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_number_type_matches_numbers.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_number_type_matches_numbers.py @@ -18,7 +18,7 @@ class TestNumberTypeMatchesNumbers(unittest.TestCase): """NumberTypeMatchesNumbers unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_an_array_is_not_a_number_fails(self): # an array is not a number @@ -26,7 +26,7 @@ def test_an_array_is_not_a_number_fails(self): NumberTypeMatchesNumbers.from_openapi_data_( [ ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_null_is_not_a_number_fails(self): @@ -34,7 +34,7 @@ def test_null_is_not_a_number_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): NumberTypeMatchesNumbers.from_openapi_data_( None, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_an_object_is_not_a_number_fails(self): @@ -43,7 +43,7 @@ def test_an_object_is_not_a_number_fails(self): NumberTypeMatchesNumbers.from_openapi_data_( { }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_a_boolean_is_not_a_number_fails(self): @@ -51,14 +51,14 @@ def test_a_boolean_is_not_a_number_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): NumberTypeMatchesNumbers.from_openapi_data_( True, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_a_float_is_a_number_passes(self): # a float is a number NumberTypeMatchesNumbers.from_openapi_data_( 1.1, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_a_string_is_still_not_a_number_even_if_it_looks_like_one_fails(self): @@ -66,7 +66,7 @@ def test_a_string_is_still_not_a_number_even_if_it_looks_like_one_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): NumberTypeMatchesNumbers.from_openapi_data_( "1", - _configuration=self._configuration + configuration_=self.configuration_ ) def test_a_string_is_not_a_number_fails(self): @@ -74,21 +74,21 @@ def test_a_string_is_not_a_number_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): NumberTypeMatchesNumbers.from_openapi_data_( "foo", - _configuration=self._configuration + configuration_=self.configuration_ ) def test_an_integer_is_a_number_passes(self): # an integer is a number NumberTypeMatchesNumbers.from_openapi_data_( 1, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_a_float_with_zero_fractional_part_is_a_number_and_an_integer_passes(self): # a float with zero fractional part is a number (and an integer) NumberTypeMatchesNumbers.from_openapi_data_( 1.0, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_object_properties_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_object_properties_validation.py index d986a9f7109..4ad925f01d5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_object_properties_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_object_properties_validation.py @@ -18,21 +18,21 @@ class TestObjectPropertiesValidation(unittest.TestCase): """ObjectPropertiesValidation unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_ignores_arrays_passes(self): # ignores arrays ObjectPropertiesValidation.from_openapi_data_( [ ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_ignores_other_non_objects_passes(self): # ignores other non-objects ObjectPropertiesValidation.from_openapi_data_( 12, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_one_property_invalid_is_invalid_fails(self): @@ -46,7 +46,7 @@ def test_one_property_invalid_is_invalid_fails(self): { }, }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_both_properties_present_and_valid_is_valid_passes(self): @@ -58,7 +58,7 @@ def test_both_properties_present_and_valid_is_valid_passes(self): "bar": "baz", }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_doesn_t_invalidate_other_properties_passes(self): @@ -69,7 +69,7 @@ def test_doesn_t_invalidate_other_properties_passes(self): [ ], }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_both_properties_invalid_is_invalid_fails(self): @@ -84,7 +84,7 @@ def test_both_properties_invalid_is_invalid_fails(self): { }, }, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_object_type_matches_objects.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_object_type_matches_objects.py index f23175fa3bd..d0dd09f1577 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_object_type_matches_objects.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_object_type_matches_objects.py @@ -18,14 +18,14 @@ class TestObjectTypeMatchesObjects(unittest.TestCase): """ObjectTypeMatchesObjects unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_a_float_is_not_an_object_fails(self): # a float is not an object with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): ObjectTypeMatchesObjects.from_openapi_data_( 1.1, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_null_is_not_an_object_fails(self): @@ -33,7 +33,7 @@ def test_null_is_not_an_object_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): ObjectTypeMatchesObjects.from_openapi_data_( None, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_an_array_is_not_an_object_fails(self): @@ -42,7 +42,7 @@ def test_an_array_is_not_an_object_fails(self): ObjectTypeMatchesObjects.from_openapi_data_( [ ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_an_object_is_an_object_passes(self): @@ -50,7 +50,7 @@ def test_an_object_is_an_object_passes(self): ObjectTypeMatchesObjects.from_openapi_data_( { }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_a_string_is_not_an_object_fails(self): @@ -58,7 +58,7 @@ def test_a_string_is_not_an_object_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): ObjectTypeMatchesObjects.from_openapi_data_( "foo", - _configuration=self._configuration + configuration_=self.configuration_ ) def test_an_integer_is_not_an_object_fails(self): @@ -66,7 +66,7 @@ def test_an_integer_is_not_an_object_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): ObjectTypeMatchesObjects.from_openapi_data_( 1, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_a_boolean_is_not_an_object_fails(self): @@ -74,7 +74,7 @@ def test_a_boolean_is_not_an_object_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): ObjectTypeMatchesObjects.from_openapi_data_( True, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_oneof.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_oneof.py index e04e1b617a3..33f8dd9171a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_oneof.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_oneof.py @@ -18,13 +18,13 @@ class TestOneof(unittest.TestCase): """Oneof unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_second_oneof_valid_passes(self): # second oneOf valid Oneof.from_openapi_data_( 2.5, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_both_oneof_valid_fails(self): @@ -32,14 +32,14 @@ def test_both_oneof_valid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): Oneof.from_openapi_data_( 3, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_first_oneof_valid_passes(self): # first oneOf valid Oneof.from_openapi_data_( 1, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_neither_oneof_valid_fails(self): @@ -47,7 +47,7 @@ def test_neither_oneof_valid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): Oneof.from_openapi_data_( 1.5, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_oneof_complex_types.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_oneof_complex_types.py index f4e17581fd8..8365b2cd352 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_oneof_complex_types.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_oneof_complex_types.py @@ -18,7 +18,7 @@ class TestOneofComplexTypes(unittest.TestCase): """OneofComplexTypes unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_first_oneof_valid_complex_passes(self): # first oneOf valid (complex) @@ -27,7 +27,7 @@ def test_first_oneof_valid_complex_passes(self): "bar": 2, }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_neither_oneof_valid_complex_fails(self): @@ -40,7 +40,7 @@ def test_neither_oneof_valid_complex_fails(self): "bar": "quux", }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_both_oneof_valid_complex_fails(self): @@ -53,7 +53,7 @@ def test_both_oneof_valid_complex_fails(self): "bar": 2, }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_second_oneof_valid_complex_passes(self): @@ -63,7 +63,7 @@ def test_second_oneof_valid_complex_passes(self): "foo": "baz", }, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_oneof_with_base_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_oneof_with_base_schema.py index 925a5b47aab..d3d11f0f800 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_oneof_with_base_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_oneof_with_base_schema.py @@ -18,14 +18,14 @@ class TestOneofWithBaseSchema(unittest.TestCase): """OneofWithBaseSchema unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_both_oneof_valid_fails(self): # both oneOf valid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): OneofWithBaseSchema.from_openapi_data_( "foo", - _configuration=self._configuration + configuration_=self.configuration_ ) def test_mismatch_base_schema_fails(self): @@ -33,14 +33,14 @@ def test_mismatch_base_schema_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): OneofWithBaseSchema.from_openapi_data_( 3, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_one_oneof_valid_passes(self): # one oneOf valid OneofWithBaseSchema.from_openapi_data_( "foobar", - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_oneof_with_empty_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_oneof_with_empty_schema.py index 7d4038d737a..b241944a687 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_oneof_with_empty_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_oneof_with_empty_schema.py @@ -18,21 +18,21 @@ class TestOneofWithEmptySchema(unittest.TestCase): """OneofWithEmptySchema unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_both_valid_invalid_fails(self): # both valid - invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): OneofWithEmptySchema.from_openapi_data_( 123, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_one_valid_valid_passes(self): # one valid - valid OneofWithEmptySchema.from_openapi_data_( "foo", - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_oneof_with_required.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_oneof_with_required.py index 2c64db7e7a9..6057a6f51d4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_oneof_with_required.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_oneof_with_required.py @@ -18,7 +18,7 @@ class TestOneofWithRequired(unittest.TestCase): """OneofWithRequired unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_both_valid_invalid_fails(self): # both valid - invalid @@ -32,7 +32,7 @@ def test_both_valid_invalid_fails(self): "baz": 3, }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_both_invalid_invalid_fails(self): @@ -43,7 +43,7 @@ def test_both_invalid_invalid_fails(self): "bar": 2, }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_first_valid_valid_passes(self): @@ -55,7 +55,7 @@ def test_first_valid_valid_passes(self): "bar": 2, }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_second_valid_valid_passes(self): @@ -67,7 +67,7 @@ def test_second_valid_valid_passes(self): "baz": 3, }, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_pattern_is_not_anchored.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_pattern_is_not_anchored.py index 840e0d079c6..9684f9fe0e9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_pattern_is_not_anchored.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_pattern_is_not_anchored.py @@ -18,13 +18,13 @@ class TestPatternIsNotAnchored(unittest.TestCase): """PatternIsNotAnchored unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_matches_a_substring_passes(self): # matches a substring PatternIsNotAnchored.from_openapi_data_( "xxaayy", - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_pattern_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_pattern_validation.py index eca9c013c8d..7ec68b6b25b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_pattern_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_pattern_validation.py @@ -18,14 +18,14 @@ class TestPatternValidation(unittest.TestCase): """PatternValidation unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_ignores_arrays_passes(self): # ignores arrays PatternValidation.from_openapi_data_( [ ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_ignores_objects_passes(self): @@ -33,21 +33,21 @@ def test_ignores_objects_passes(self): PatternValidation.from_openapi_data_( { }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_ignores_null_passes(self): # ignores null PatternValidation.from_openapi_data_( None, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_ignores_floats_passes(self): # ignores floats PatternValidation.from_openapi_data_( 1.0, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_a_non_matching_pattern_is_invalid_fails(self): @@ -55,28 +55,28 @@ def test_a_non_matching_pattern_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): PatternValidation.from_openapi_data_( "abc", - _configuration=self._configuration + configuration_=self.configuration_ ) def test_ignores_booleans_passes(self): # ignores booleans PatternValidation.from_openapi_data_( True, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_a_matching_pattern_is_valid_passes(self): # a matching pattern is valid PatternValidation.from_openapi_data_( "aaa", - _configuration=self._configuration + configuration_=self.configuration_ ) def test_ignores_integers_passes(self): # ignores integers PatternValidation.from_openapi_data_( 123, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_properties_with_escaped_characters.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_properties_with_escaped_characters.py index 7256d78aa73..0b68a5e22e9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_properties_with_escaped_characters.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_properties_with_escaped_characters.py @@ -18,7 +18,7 @@ class TestPropertiesWithEscapedCharacters(unittest.TestCase): """PropertiesWithEscapedCharacters unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_object_with_all_numbers_is_valid_passes(self): # object with all numbers is valid @@ -37,7 +37,7 @@ def test_object_with_all_numbers_is_valid_passes(self): "foo\fbar": 1, }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_object_with_strings_is_invalid_fails(self): @@ -58,7 +58,7 @@ def test_object_with_strings_is_invalid_fails(self): "foo\fbar": "1", }, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_property_named_ref_that_is_not_a_reference.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_property_named_ref_that_is_not_a_reference.py index 47b1b0d1630..3f719e45ac7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_property_named_ref_that_is_not_a_reference.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_property_named_ref_that_is_not_a_reference.py @@ -18,7 +18,7 @@ class TestPropertyNamedRefThatIsNotAReference(unittest.TestCase): """PropertyNamedRefThatIsNotAReference unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_property_named_ref_valid_passes(self): # property named $ref valid @@ -27,7 +27,7 @@ def test_property_named_ref_valid_passes(self): "$ref": "a", }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_property_named_ref_invalid_fails(self): @@ -38,7 +38,7 @@ def test_property_named_ref_invalid_fails(self): "$ref": 2, }, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_additionalproperties.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_additionalproperties.py index 791393f8f3b..b96bbd7eedd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_additionalproperties.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_additionalproperties.py @@ -18,7 +18,7 @@ class TestRefInAdditionalproperties(unittest.TestCase): """RefInAdditionalproperties unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_property_named_ref_valid_passes(self): # property named $ref valid @@ -30,7 +30,7 @@ def test_property_named_ref_valid_passes(self): "a", }, }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_property_named_ref_invalid_fails(self): @@ -44,7 +44,7 @@ def test_property_named_ref_invalid_fails(self): 2, }, }, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_allof.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_allof.py index d6d2da50a0e..eb5bc9b6628 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_allof.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_allof.py @@ -18,7 +18,7 @@ class TestRefInAllof(unittest.TestCase): """RefInAllof unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_property_named_ref_valid_passes(self): # property named $ref valid @@ -27,7 +27,7 @@ def test_property_named_ref_valid_passes(self): "$ref": "a", }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_property_named_ref_invalid_fails(self): @@ -38,7 +38,7 @@ def test_property_named_ref_invalid_fails(self): "$ref": 2, }, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_anyof.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_anyof.py index e6597502f0e..d72a5656077 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_anyof.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_anyof.py @@ -18,7 +18,7 @@ class TestRefInAnyof(unittest.TestCase): """RefInAnyof unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_property_named_ref_valid_passes(self): # property named $ref valid @@ -27,7 +27,7 @@ def test_property_named_ref_valid_passes(self): "$ref": "a", }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_property_named_ref_invalid_fails(self): @@ -38,7 +38,7 @@ def test_property_named_ref_invalid_fails(self): "$ref": 2, }, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_items.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_items.py index 3e458ef6667..1500f1f696d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_items.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_items.py @@ -18,7 +18,7 @@ class TestRefInItems(unittest.TestCase): """RefInItems unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_property_named_ref_valid_passes(self): # property named $ref valid @@ -29,7 +29,7 @@ def test_property_named_ref_valid_passes(self): "a", }, ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_property_named_ref_invalid_fails(self): @@ -42,7 +42,7 @@ def test_property_named_ref_invalid_fails(self): 2, }, ], - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_not.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_not.py index 05b71e9de77..eee7689ad3b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_not.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_not.py @@ -18,7 +18,7 @@ class TestRefInNot(unittest.TestCase): """RefInNot unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_property_named_ref_valid_passes(self): # property named $ref valid @@ -27,7 +27,7 @@ def test_property_named_ref_valid_passes(self): "$ref": 2, }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_property_named_ref_invalid_fails(self): @@ -38,7 +38,7 @@ def test_property_named_ref_invalid_fails(self): "$ref": "a", }, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_oneof.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_oneof.py index ab510ab1b32..f6726c5fb80 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_oneof.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_oneof.py @@ -18,7 +18,7 @@ class TestRefInOneof(unittest.TestCase): """RefInOneof unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_property_named_ref_valid_passes(self): # property named $ref valid @@ -27,7 +27,7 @@ def test_property_named_ref_valid_passes(self): "$ref": "a", }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_property_named_ref_invalid_fails(self): @@ -38,7 +38,7 @@ def test_property_named_ref_invalid_fails(self): "$ref": 2, }, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_property.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_property.py index a032ad9c6f1..3798151ca4b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_property.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_ref_in_property.py @@ -18,7 +18,7 @@ class TestRefInProperty(unittest.TestCase): """RefInProperty unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_property_named_ref_valid_passes(self): # property named $ref valid @@ -30,7 +30,7 @@ def test_property_named_ref_valid_passes(self): "a", }, }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_property_named_ref_invalid_fails(self): @@ -44,7 +44,7 @@ def test_property_named_ref_invalid_fails(self): 2, }, }, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_required_default_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_required_default_validation.py index c0b83a463b9..acceaccc7fd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_required_default_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_required_default_validation.py @@ -18,14 +18,14 @@ class TestRequiredDefaultValidation(unittest.TestCase): """RequiredDefaultValidation unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_not_required_by_default_passes(self): # not required by default RequiredDefaultValidation.from_openapi_data_( { }, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_required_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_required_validation.py index 4a87a9ed54e..6b1739691f0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_required_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_required_validation.py @@ -18,14 +18,14 @@ class TestRequiredValidation(unittest.TestCase): """RequiredValidation unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_ignores_arrays_passes(self): # ignores arrays RequiredValidation.from_openapi_data_( [ ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_present_required_property_is_valid_passes(self): @@ -35,21 +35,21 @@ def test_present_required_property_is_valid_passes(self): "foo": 1, }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_ignores_other_non_objects_passes(self): # ignores other non-objects RequiredValidation.from_openapi_data_( 12, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_ignores_strings_passes(self): # ignores strings RequiredValidation.from_openapi_data_( "", - _configuration=self._configuration + configuration_=self.configuration_ ) def test_non_present_required_property_is_invalid_fails(self): @@ -60,7 +60,7 @@ def test_non_present_required_property_is_invalid_fails(self): "bar": 1, }, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_required_with_empty_array.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_required_with_empty_array.py index 4420ad6cc6d..25408c0f5b6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_required_with_empty_array.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_required_with_empty_array.py @@ -18,14 +18,14 @@ class TestRequiredWithEmptyArray(unittest.TestCase): """RequiredWithEmptyArray unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_property_not_required_passes(self): # property not required RequiredWithEmptyArray.from_openapi_data_( { }, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_required_with_escaped_characters.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_required_with_escaped_characters.py index fe8a57f73a3..b6018931ccc 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_required_with_escaped_characters.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_required_with_escaped_characters.py @@ -18,7 +18,7 @@ class TestRequiredWithEscapedCharacters(unittest.TestCase): """RequiredWithEscapedCharacters unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_object_with_some_properties_missing_is_invalid_fails(self): # object with some properties missing is invalid @@ -30,7 +30,7 @@ def test_object_with_some_properties_missing_is_invalid_fails(self): "foo\"bar": "1", }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_object_with_all_properties_present_is_valid_passes(self): @@ -50,7 +50,7 @@ def test_object_with_all_properties_present_is_valid_passes(self): "foo\fbar": 1, }, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_simple_enum_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_simple_enum_validation.py index 293a786b687..c07f94e9bc8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_simple_enum_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_simple_enum_validation.py @@ -18,21 +18,21 @@ class TestSimpleEnumValidation(unittest.TestCase): """SimpleEnumValidation unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_something_else_is_invalid_fails(self): # something else is invalid with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): SimpleEnumValidation.from_openapi_data_( 4, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_one_of_the_enum_is_valid_passes(self): # one of the enum is valid SimpleEnumValidation.from_openapi_data_( 1, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_string_type_matches_strings.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_string_type_matches_strings.py index a7182689ff6..1800ac3c01f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_string_type_matches_strings.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_string_type_matches_strings.py @@ -18,28 +18,28 @@ class TestStringTypeMatchesStrings(unittest.TestCase): """StringTypeMatchesStrings unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_1_is_not_a_string_fails(self): # 1 is not a string with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): StringTypeMatchesStrings.from_openapi_data_( 1, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_a_string_is_still_a_string_even_if_it_looks_like_a_number_passes(self): # a string is still a string, even if it looks like a number StringTypeMatchesStrings.from_openapi_data_( "1", - _configuration=self._configuration + configuration_=self.configuration_ ) def test_an_empty_string_is_still_a_string_passes(self): # an empty string is still a string StringTypeMatchesStrings.from_openapi_data_( "", - _configuration=self._configuration + configuration_=self.configuration_ ) def test_a_float_is_not_a_string_fails(self): @@ -47,7 +47,7 @@ def test_a_float_is_not_a_string_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): StringTypeMatchesStrings.from_openapi_data_( 1.1, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_an_object_is_not_a_string_fails(self): @@ -56,7 +56,7 @@ def test_an_object_is_not_a_string_fails(self): StringTypeMatchesStrings.from_openapi_data_( { }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_an_array_is_not_a_string_fails(self): @@ -65,7 +65,7 @@ def test_an_array_is_not_a_string_fails(self): StringTypeMatchesStrings.from_openapi_data_( [ ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_a_boolean_is_not_a_string_fails(self): @@ -73,7 +73,7 @@ def test_a_boolean_is_not_a_string_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): StringTypeMatchesStrings.from_openapi_data_( True, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_null_is_not_a_string_fails(self): @@ -81,14 +81,14 @@ def test_null_is_not_a_string_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): StringTypeMatchesStrings.from_openapi_data_( None, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_a_string_is_a_string_passes(self): # a string is a string StringTypeMatchesStrings.from_openapi_data_( "foo", - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_the_default_keyword_does_not_do_anything_if_the_property_is_missing.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_the_default_keyword_does_not_do_anything_if_the_property_is_missing.py index d207c85ce58..733010538a3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_the_default_keyword_does_not_do_anything_if_the_property_is_missing.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_the_default_keyword_does_not_do_anything_if_the_property_is_missing.py @@ -18,14 +18,14 @@ class TestTheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing(unittest.TestCase): """TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_missing_properties_are_not_filled_in_with_the_default_passes(self): # missing properties are not filled in with the default TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.from_openapi_data_( { }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_an_explicit_property_value_is_checked_against_maximum_passing_passes(self): @@ -35,7 +35,7 @@ def test_an_explicit_property_value_is_checked_against_maximum_passing_passes(se "alpha": 1, }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_an_explicit_property_value_is_checked_against_maximum_failing_fails(self): @@ -46,7 +46,7 @@ def test_an_explicit_property_value_is_checked_against_maximum_failing_fails(sel "alpha": 5, }, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_uniqueitems_false_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_uniqueitems_false_validation.py index 995afe64b85..2b540ec10a7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_uniqueitems_false_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_uniqueitems_false_validation.py @@ -18,7 +18,7 @@ class TestUniqueitemsFalseValidation(unittest.TestCase): """UniqueitemsFalseValidation unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_non_unique_array_of_integers_is_valid_passes(self): # non-unique array of integers is valid @@ -27,7 +27,7 @@ def test_non_unique_array_of_integers_is_valid_passes(self): 1, 1, ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_unique_array_of_objects_is_valid_passes(self): @@ -43,7 +43,7 @@ def test_unique_array_of_objects_is_valid_passes(self): "baz", }, ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_non_unique_array_of_nested_objects_is_valid_passes(self): @@ -71,7 +71,7 @@ def test_non_unique_array_of_nested_objects_is_valid_passes(self): }, }, ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_non_unique_array_of_objects_is_valid_passes(self): @@ -87,7 +87,7 @@ def test_non_unique_array_of_objects_is_valid_passes(self): "bar", }, ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_1_and_true_are_unique_passes(self): @@ -97,7 +97,7 @@ def test_1_and_true_are_unique_passes(self): 1, True, ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_unique_array_of_integers_is_valid_passes(self): @@ -107,7 +107,7 @@ def test_unique_array_of_integers_is_valid_passes(self): 1, 2, ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_non_unique_array_of_arrays_is_valid_passes(self): @@ -121,7 +121,7 @@ def test_non_unique_array_of_arrays_is_valid_passes(self): "foo", ], ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_numbers_are_unique_if_mathematically_unequal_passes(self): @@ -132,7 +132,7 @@ def test_numbers_are_unique_if_mathematically_unequal_passes(self): 1.0, 1, ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_false_is_not_equal_to_zero_passes(self): @@ -142,7 +142,7 @@ def test_false_is_not_equal_to_zero_passes(self): 0, False, ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_unique_array_of_nested_objects_is_valid_passes(self): @@ -170,7 +170,7 @@ def test_unique_array_of_nested_objects_is_valid_passes(self): }, }, ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_0_and_false_are_unique_passes(self): @@ -180,7 +180,7 @@ def test_0_and_false_are_unique_passes(self): 0, False, ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_unique_array_of_arrays_is_valid_passes(self): @@ -194,7 +194,7 @@ def test_unique_array_of_arrays_is_valid_passes(self): "bar", ], ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_true_is_not_equal_to_one_passes(self): @@ -204,7 +204,7 @@ def test_true_is_not_equal_to_one_passes(self): 1, True, ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_non_unique_heterogeneous_types_are_valid_passes(self): @@ -222,7 +222,7 @@ def test_non_unique_heterogeneous_types_are_valid_passes(self): }, 1, ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_unique_heterogeneous_types_are_valid_passes(self): @@ -238,7 +238,7 @@ def test_unique_heterogeneous_types_are_valid_passes(self): None, 1, ], - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_uniqueitems_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_uniqueitems_validation.py index 604367fbcbc..28ef4c12576 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_uniqueitems_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_uniqueitems_validation.py @@ -18,7 +18,7 @@ class TestUniqueitemsValidation(unittest.TestCase): """UniqueitemsValidation unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_unique_array_of_objects_is_valid_passes(self): # unique array of objects is valid @@ -33,7 +33,7 @@ def test_unique_array_of_objects_is_valid_passes(self): "baz", }, ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_a_true_and_a1_are_unique_passes(self): @@ -49,7 +49,7 @@ def test_a_true_and_a1_are_unique_passes(self): 1, }, ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_non_unique_heterogeneous_types_are_invalid_fails(self): @@ -68,7 +68,7 @@ def test_non_unique_heterogeneous_types_are_invalid_fails(self): }, 1, ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_nested0_and_false_are_unique_passes(self): @@ -88,7 +88,7 @@ def test_nested0_and_false_are_unique_passes(self): "foo", ], ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_a_false_and_a0_are_unique_passes(self): @@ -104,7 +104,7 @@ def test_a_false_and_a0_are_unique_passes(self): 0, }, ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_numbers_are_unique_if_mathematically_unequal_fails(self): @@ -116,7 +116,7 @@ def test_numbers_are_unique_if_mathematically_unequal_fails(self): 1.0, 1, ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_false_is_not_equal_to_zero_passes(self): @@ -126,7 +126,7 @@ def test_false_is_not_equal_to_zero_passes(self): 0, False, ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_0_and_false_are_unique_passes(self): @@ -140,7 +140,7 @@ def test_0_and_false_are_unique_passes(self): False, ], ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_unique_array_of_arrays_is_valid_passes(self): @@ -154,7 +154,7 @@ def test_unique_array_of_arrays_is_valid_passes(self): "bar", ], ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_non_unique_array_of_nested_objects_is_invalid_fails(self): @@ -183,7 +183,7 @@ def test_non_unique_array_of_nested_objects_is_invalid_fails(self): }, }, ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_non_unique_array_of_more_than_two_integers_is_invalid_fails(self): @@ -195,7 +195,7 @@ def test_non_unique_array_of_more_than_two_integers_is_invalid_fails(self): 2, 1, ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_true_is_not_equal_to_one_passes(self): @@ -205,7 +205,7 @@ def test_true_is_not_equal_to_one_passes(self): 1, True, ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_objects_are_non_unique_despite_key_order_fails(self): @@ -226,7 +226,7 @@ def test_objects_are_non_unique_despite_key_order_fails(self): 1, }, ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_unique_array_of_strings_is_valid_passes(self): @@ -237,7 +237,7 @@ def test_unique_array_of_strings_is_valid_passes(self): "bar", "baz", ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_1_and_true_are_unique_passes(self): @@ -251,7 +251,7 @@ def test_1_and_true_are_unique_passes(self): True, ], ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_different_objects_are_unique_passes(self): @@ -271,7 +271,7 @@ def test_different_objects_are_unique_passes(self): 1, }, ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_unique_array_of_integers_is_valid_passes(self): @@ -281,7 +281,7 @@ def test_unique_array_of_integers_is_valid_passes(self): 1, 2, ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_non_unique_array_of_more_than_two_arrays_is_invalid_fails(self): @@ -299,7 +299,7 @@ def test_non_unique_array_of_more_than_two_arrays_is_invalid_fails(self): "foo", ], ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_non_unique_array_of_objects_is_invalid_fails(self): @@ -316,7 +316,7 @@ def test_non_unique_array_of_objects_is_invalid_fails(self): "bar", }, ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_unique_array_of_nested_objects_is_valid_passes(self): @@ -344,7 +344,7 @@ def test_unique_array_of_nested_objects_is_valid_passes(self): }, }, ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_non_unique_array_of_arrays_is_invalid_fails(self): @@ -359,7 +359,7 @@ def test_non_unique_array_of_arrays_is_invalid_fails(self): "foo", ], ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_non_unique_array_of_strings_is_invalid_fails(self): @@ -371,7 +371,7 @@ def test_non_unique_array_of_strings_is_invalid_fails(self): "bar", "foo", ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_nested1_and_true_are_unique_passes(self): @@ -391,7 +391,7 @@ def test_nested1_and_true_are_unique_passes(self): "foo", ], ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_unique_heterogeneous_types_are_valid_passes(self): @@ -408,7 +408,7 @@ def test_unique_heterogeneous_types_are_valid_passes(self): 1, "{}", ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_non_unique_array_of_integers_is_invalid_fails(self): @@ -419,7 +419,7 @@ def test_non_unique_array_of_integers_is_invalid_fails(self): 1, 1, ], - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_uri_format.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_uri_format.py index e111b901dca..40ace1f22ee 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_uri_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_uri_format.py @@ -18,35 +18,35 @@ class TestUriFormat(unittest.TestCase): """UriFormat unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_all_string_formats_ignore_objects_passes(self): # all string formats ignore objects UriFormat.from_openapi_data_( { }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_all_string_formats_ignore_booleans_passes(self): # all string formats ignore booleans UriFormat.from_openapi_data_( False, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_all_string_formats_ignore_integers_passes(self): # all string formats ignore integers UriFormat.from_openapi_data_( 12, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_all_string_formats_ignore_floats_passes(self): # all string formats ignore floats UriFormat.from_openapi_data_( 13.7, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_all_string_formats_ignore_arrays_passes(self): @@ -54,14 +54,14 @@ def test_all_string_formats_ignore_arrays_passes(self): UriFormat.from_openapi_data_( [ ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_all_string_formats_ignore_nulls_passes(self): # all string formats ignore nulls UriFormat.from_openapi_data_( None, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_uri_reference_format.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_uri_reference_format.py index dce9d98ca8a..168245287f1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_uri_reference_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_uri_reference_format.py @@ -18,35 +18,35 @@ class TestUriReferenceFormat(unittest.TestCase): """UriReferenceFormat unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_all_string_formats_ignore_objects_passes(self): # all string formats ignore objects UriReferenceFormat.from_openapi_data_( { }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_all_string_formats_ignore_booleans_passes(self): # all string formats ignore booleans UriReferenceFormat.from_openapi_data_( False, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_all_string_formats_ignore_integers_passes(self): # all string formats ignore integers UriReferenceFormat.from_openapi_data_( 12, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_all_string_formats_ignore_floats_passes(self): # all string formats ignore floats UriReferenceFormat.from_openapi_data_( 13.7, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_all_string_formats_ignore_arrays_passes(self): @@ -54,14 +54,14 @@ def test_all_string_formats_ignore_arrays_passes(self): UriReferenceFormat.from_openapi_data_( [ ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_all_string_formats_ignore_nulls_passes(self): # all string formats ignore nulls UriReferenceFormat.from_openapi_data_( None, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_uri_template_format.py b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_uri_template_format.py index eeafb1cce0f..b8c71caada6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_uri_template_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/components/schema/test_uri_template_format.py @@ -18,35 +18,35 @@ class TestUriTemplateFormat(unittest.TestCase): """UriTemplateFormat unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def test_all_string_formats_ignore_objects_passes(self): # all string formats ignore objects UriTemplateFormat.from_openapi_data_( { }, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_all_string_formats_ignore_booleans_passes(self): # all string formats ignore booleans UriTemplateFormat.from_openapi_data_( False, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_all_string_formats_ignore_integers_passes(self): # all string formats ignore integers UriTemplateFormat.from_openapi_data_( 12, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_all_string_formats_ignore_floats_passes(self): # all string formats ignore floats UriTemplateFormat.from_openapi_data_( 13.7, - _configuration=self._configuration + configuration_=self.configuration_ ) def test_all_string_formats_ignore_arrays_passes(self): @@ -54,14 +54,14 @@ def test_all_string_formats_ignore_arrays_passes(self): UriTemplateFormat.from_openapi_data_( [ ], - _configuration=self._configuration + configuration_=self.configuration_ ) def test_all_string_formats_ignore_nulls_passes(self): # all string formats ignore nulls UriTemplateFormat.from_openapi_data_( None, - _configuration=self._configuration + configuration_=self.configuration_ ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/test_post.py index 529d7729de6..07934648a4c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostAdditionalpropertiesAllowsASchemaWhichShouldValidateReq """ RequestBodyPostAdditionalpropertiesAllowsASchemaWhichShouldValidateRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -46,7 +46,7 @@ def test_no_additional_properties_is_valid_passes(self): ) body = post.request_body.additionalproperties_allows_a_schema_which_should_validate.AdditionalpropertiesAllowsASchemaWhichShouldValidate.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -58,7 +58,7 @@ def test_no_additional_properties_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postAdditionalpropertiesAllowsASchemaWhichShouldValidateRequestBody', + self.configuration_.host + '/requestBody/postAdditionalpropertiesAllowsASchemaWhichShouldValidateRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -84,7 +84,7 @@ def test_an_additional_invalid_property_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.additionalproperties_allows_a_schema_which_should_validate.AdditionalpropertiesAllowsASchemaWhichShouldValidate.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -104,7 +104,7 @@ def test_an_additional_valid_property_is_valid_passes(self): ) body = post.request_body.additionalproperties_allows_a_schema_which_should_validate.AdditionalpropertiesAllowsASchemaWhichShouldValidate.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -116,7 +116,7 @@ def test_an_additional_valid_property_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postAdditionalpropertiesAllowsASchemaWhichShouldValidateRequestBody', + self.configuration_.host + '/requestBody/postAdditionalpropertiesAllowsASchemaWhichShouldValidateRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_additionalproperties_are_allowed_by_default_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_additionalproperties_are_allowed_by_default_request_body/test_post.py index 4852fb6771b..a4e497abfea 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_additionalproperties_are_allowed_by_default_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_additionalproperties_are_allowed_by_default_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostAdditionalpropertiesAreAllowedByDefaultRequestBody(ApiT """ RequestBodyPostAdditionalpropertiesAreAllowedByDefaultRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -50,7 +50,7 @@ def test_additional_properties_are_allowed_passes(self): ) body = post.request_body.additionalproperties_are_allowed_by_default.AdditionalpropertiesAreAllowedByDefault.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -62,7 +62,7 @@ def test_additional_properties_are_allowed_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postAdditionalpropertiesAreAllowedByDefaultRequestBody', + self.configuration_.host + '/requestBody/postAdditionalpropertiesAreAllowedByDefaultRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_additionalproperties_can_exist_by_itself_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_additionalproperties_can_exist_by_itself_request_body/test_post.py index fb668cb1e85..7e8bbbc14a9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_additionalproperties_can_exist_by_itself_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_additionalproperties_can_exist_by_itself_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostAdditionalpropertiesCanExistByItselfRequestBody(ApiTest """ RequestBodyPostAdditionalpropertiesCanExistByItselfRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -47,7 +47,7 @@ def test_an_additional_invalid_property_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.additionalproperties_can_exist_by_itself.AdditionalpropertiesCanExistByItself.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -63,7 +63,7 @@ def test_an_additional_valid_property_is_valid_passes(self): ) body = post.request_body.additionalproperties_can_exist_by_itself.AdditionalpropertiesCanExistByItself.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -75,7 +75,7 @@ def test_an_additional_valid_property_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postAdditionalpropertiesCanExistByItselfRequestBody', + self.configuration_.host + '/requestBody/postAdditionalpropertiesCanExistByItselfRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_additionalproperties_should_not_look_in_applicators_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_additionalproperties_should_not_look_in_applicators_request_body/test_post.py index ad72408396f..7f26db68eab 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_additionalproperties_should_not_look_in_applicators_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_additionalproperties_should_not_look_in_applicators_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostAdditionalpropertiesShouldNotLookInApplicatorsRequestBo """ RequestBodyPostAdditionalpropertiesShouldNotLookInApplicatorsRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -49,7 +49,7 @@ def test_properties_defined_in_allof_are_not_examined_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.additionalproperties_should_not_look_in_applicators.AdditionalpropertiesShouldNotLookInApplicators.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -67,7 +67,7 @@ def test_valid_test_case_passes(self): ) body = post.request_body.additionalproperties_should_not_look_in_applicators.AdditionalpropertiesShouldNotLookInApplicators.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -79,7 +79,7 @@ def test_valid_test_case_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postAdditionalpropertiesShouldNotLookInApplicatorsRequestBody', + self.configuration_.host + '/requestBody/postAdditionalpropertiesShouldNotLookInApplicatorsRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_combined_with_anyof_oneof_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_combined_with_anyof_oneof_request_body/test_post.py index 59e7fe6b821..61f4a412a0a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_combined_with_anyof_oneof_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_combined_with_anyof_oneof_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostAllofCombinedWithAnyofOneofRequestBody(ApiTestMixin, un """ RequestBodyPostAllofCombinedWithAnyofOneofRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -44,7 +44,7 @@ def test_allof_true_anyof_false_oneof_false_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -58,7 +58,7 @@ def test_allof_false_anyof_false_oneof_true_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -72,7 +72,7 @@ def test_allof_false_anyof_true_oneof_true_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -86,7 +86,7 @@ def test_allof_true_anyof_true_oneof_false_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -99,7 +99,7 @@ def test_allof_true_anyof_true_oneof_true_passes(self): ) body = post.request_body.allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -111,7 +111,7 @@ def test_allof_true_anyof_true_oneof_true_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postAllofCombinedWithAnyofOneofRequestBody', + self.configuration_.host + '/requestBody/postAllofCombinedWithAnyofOneofRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -130,7 +130,7 @@ def test_allof_true_anyof_false_oneof_true_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -144,7 +144,7 @@ def test_allof_false_anyof_true_oneof_false_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -158,7 +158,7 @@ def test_allof_false_anyof_false_oneof_false_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_request_body/test_post.py index 0bdbf920cea..e799c2c006c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostAllofRequestBody(ApiTestMixin, unittest.TestCase): """ RequestBodyPostAllofRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -48,7 +48,7 @@ def test_allof_passes(self): ) body = post.request_body.allof.Allof.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -60,7 +60,7 @@ def test_allof_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postAllofRequestBody', + self.configuration_.host + '/requestBody/postAllofRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -82,7 +82,7 @@ def test_mismatch_first_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.allof.Allof.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -99,7 +99,7 @@ def test_mismatch_second_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.allof.Allof.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -118,7 +118,7 @@ def test_wrong_type_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.allof.Allof.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_simple_types_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_simple_types_request_body/test_post.py index bd0ef9668c0..b99ffd4dac0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_simple_types_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_simple_types_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostAllofSimpleTypesRequestBody(ApiTestMixin, unittest.Test """ RequestBodyPostAllofSimpleTypesRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -43,7 +43,7 @@ def test_valid_passes(self): ) body = post.request_body.allof_simple_types.AllofSimpleTypes.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -55,7 +55,7 @@ def test_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postAllofSimpleTypesRequestBody', + self.configuration_.host + '/requestBody/postAllofSimpleTypesRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -74,7 +74,7 @@ def test_mismatch_one_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.allof_simple_types.AllofSimpleTypes.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_with_base_schema_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_with_base_schema_request_body/test_post.py index 2b9c1f32b6c..9c8ef3a369f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_with_base_schema_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_with_base_schema_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostAllofWithBaseSchemaRequestBody(ApiTestMixin, unittest.T """ RequestBodyPostAllofWithBaseSchemaRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -50,7 +50,7 @@ def test_valid_passes(self): ) body = post.request_body.allof_with_base_schema.AllofWithBaseSchema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -62,7 +62,7 @@ def test_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postAllofWithBaseSchemaRequestBody', + self.configuration_.host + '/requestBody/postAllofWithBaseSchemaRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -86,7 +86,7 @@ def test_mismatch_first_allof_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.allof_with_base_schema.AllofWithBaseSchema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -105,7 +105,7 @@ def test_mismatch_base_schema_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.allof_with_base_schema.AllofWithBaseSchema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -122,7 +122,7 @@ def test_mismatch_both_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.allof_with_base_schema.AllofWithBaseSchema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -141,7 +141,7 @@ def test_mismatch_second_allof_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.allof_with_base_schema.AllofWithBaseSchema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_with_one_empty_schema_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_with_one_empty_schema_request_body/test_post.py index 6d5bcf8e2d3..c7ca4a883ec 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_with_one_empty_schema_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_with_one_empty_schema_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostAllofWithOneEmptySchemaRequestBody(ApiTestMixin, unitte """ RequestBodyPostAllofWithOneEmptySchemaRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -43,7 +43,7 @@ def test_any_data_is_valid_passes(self): ) body = post.request_body.allof_with_one_empty_schema.AllofWithOneEmptySchema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -55,7 +55,7 @@ def test_any_data_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postAllofWithOneEmptySchemaRequestBody', + self.configuration_.host + '/requestBody/postAllofWithOneEmptySchemaRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_with_the_first_empty_schema_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_with_the_first_empty_schema_request_body/test_post.py index 67358f46dac..354cf7a8532 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_with_the_first_empty_schema_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_with_the_first_empty_schema_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostAllofWithTheFirstEmptySchemaRequestBody(ApiTestMixin, u """ RequestBodyPostAllofWithTheFirstEmptySchemaRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -44,7 +44,7 @@ def test_string_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.allof_with_the_first_empty_schema.AllofWithTheFirstEmptySchema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -57,7 +57,7 @@ def test_number_is_valid_passes(self): ) body = post.request_body.allof_with_the_first_empty_schema.AllofWithTheFirstEmptySchema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -69,7 +69,7 @@ def test_number_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postAllofWithTheFirstEmptySchemaRequestBody', + self.configuration_.host + '/requestBody/postAllofWithTheFirstEmptySchemaRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_with_the_last_empty_schema_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_with_the_last_empty_schema_request_body/test_post.py index 7702fe9951f..9957bdc576b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_with_the_last_empty_schema_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_with_the_last_empty_schema_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostAllofWithTheLastEmptySchemaRequestBody(ApiTestMixin, un """ RequestBodyPostAllofWithTheLastEmptySchemaRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -44,7 +44,7 @@ def test_string_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.allof_with_the_last_empty_schema.AllofWithTheLastEmptySchema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -57,7 +57,7 @@ def test_number_is_valid_passes(self): ) body = post.request_body.allof_with_the_last_empty_schema.AllofWithTheLastEmptySchema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -69,7 +69,7 @@ def test_number_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postAllofWithTheLastEmptySchemaRequestBody', + self.configuration_.host + '/requestBody/postAllofWithTheLastEmptySchemaRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_with_two_empty_schemas_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_with_two_empty_schemas_request_body/test_post.py index 97693f9f1c1..6aeeb29477b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_with_two_empty_schemas_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_allof_with_two_empty_schemas_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostAllofWithTwoEmptySchemasRequestBody(ApiTestMixin, unitt """ RequestBodyPostAllofWithTwoEmptySchemasRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -43,7 +43,7 @@ def test_any_data_is_valid_passes(self): ) body = post.request_body.allof_with_two_empty_schemas.AllofWithTwoEmptySchemas.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -55,7 +55,7 @@ def test_any_data_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postAllofWithTwoEmptySchemasRequestBody', + self.configuration_.host + '/requestBody/postAllofWithTwoEmptySchemasRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_anyof_complex_types_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_anyof_complex_types_request_body/test_post.py index c53737cf091..290eff9295f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_anyof_complex_types_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_anyof_complex_types_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostAnyofComplexTypesRequestBody(ApiTestMixin, unittest.Tes """ RequestBodyPostAnyofComplexTypesRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -46,7 +46,7 @@ def test_second_anyof_valid_complex_passes(self): ) body = post.request_body.anyof_complex_types.AnyofComplexTypes.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -58,7 +58,7 @@ def test_second_anyof_valid_complex_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postAnyofComplexTypesRequestBody', + self.configuration_.host + '/requestBody/postAnyofComplexTypesRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -82,7 +82,7 @@ def test_neither_anyof_valid_complex_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.anyof_complex_types.AnyofComplexTypes.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -100,7 +100,7 @@ def test_both_anyof_valid_complex_passes(self): ) body = post.request_body.anyof_complex_types.AnyofComplexTypes.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -112,7 +112,7 @@ def test_both_anyof_valid_complex_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postAnyofComplexTypesRequestBody', + self.configuration_.host + '/requestBody/postAnyofComplexTypesRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -133,7 +133,7 @@ def test_first_anyof_valid_complex_passes(self): ) body = post.request_body.anyof_complex_types.AnyofComplexTypes.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -145,7 +145,7 @@ def test_first_anyof_valid_complex_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postAnyofComplexTypesRequestBody', + self.configuration_.host + '/requestBody/postAnyofComplexTypesRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_anyof_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_anyof_request_body/test_post.py index d51728c63a4..81b3671b453 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_anyof_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_anyof_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostAnyofRequestBody(ApiTestMixin, unittest.TestCase): """ RequestBodyPostAnyofRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -43,7 +43,7 @@ def test_second_anyof_valid_passes(self): ) body = post.request_body.anyof.Anyof.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -55,7 +55,7 @@ def test_second_anyof_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postAnyofRequestBody', + self.configuration_.host + '/requestBody/postAnyofRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -74,7 +74,7 @@ def test_neither_anyof_valid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.anyof.Anyof.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -87,7 +87,7 @@ def test_both_anyof_valid_passes(self): ) body = post.request_body.anyof.Anyof.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -99,7 +99,7 @@ def test_both_anyof_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postAnyofRequestBody', + self.configuration_.host + '/requestBody/postAnyofRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -117,7 +117,7 @@ def test_first_anyof_valid_passes(self): ) body = post.request_body.anyof.Anyof.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -129,7 +129,7 @@ def test_first_anyof_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postAnyofRequestBody', + self.configuration_.host + '/requestBody/postAnyofRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_anyof_with_base_schema_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_anyof_with_base_schema_request_body/test_post.py index f7fc82b2c34..dc561865352 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_anyof_with_base_schema_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_anyof_with_base_schema_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostAnyofWithBaseSchemaRequestBody(ApiTestMixin, unittest.T """ RequestBodyPostAnyofWithBaseSchemaRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -43,7 +43,7 @@ def test_one_anyof_valid_passes(self): ) body = post.request_body.anyof_with_base_schema.AnyofWithBaseSchema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -55,7 +55,7 @@ def test_one_anyof_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postAnyofWithBaseSchemaRequestBody', + self.configuration_.host + '/requestBody/postAnyofWithBaseSchemaRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -74,7 +74,7 @@ def test_both_anyof_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.anyof_with_base_schema.AnyofWithBaseSchema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -88,7 +88,7 @@ def test_mismatch_base_schema_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.anyof_with_base_schema.AnyofWithBaseSchema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_anyof_with_one_empty_schema_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_anyof_with_one_empty_schema_request_body/test_post.py index 751346a2695..f1f3c9696c0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_anyof_with_one_empty_schema_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_anyof_with_one_empty_schema_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostAnyofWithOneEmptySchemaRequestBody(ApiTestMixin, unitte """ RequestBodyPostAnyofWithOneEmptySchemaRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -43,7 +43,7 @@ def test_string_is_valid_passes(self): ) body = post.request_body.anyof_with_one_empty_schema.AnyofWithOneEmptySchema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -55,7 +55,7 @@ def test_string_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postAnyofWithOneEmptySchemaRequestBody', + self.configuration_.host + '/requestBody/postAnyofWithOneEmptySchemaRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -73,7 +73,7 @@ def test_number_is_valid_passes(self): ) body = post.request_body.anyof_with_one_empty_schema.AnyofWithOneEmptySchema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -85,7 +85,7 @@ def test_number_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postAnyofWithOneEmptySchemaRequestBody', + self.configuration_.host + '/requestBody/postAnyofWithOneEmptySchemaRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_array_type_matches_arrays_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_array_type_matches_arrays_request_body/test_post.py index 868b3a49402..c710983711c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_array_type_matches_arrays_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_array_type_matches_arrays_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostArrayTypeMatchesArraysRequestBody(ApiTestMixin, unittes """ RequestBodyPostArrayTypeMatchesArraysRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -44,7 +44,7 @@ def test_a_float_is_not_an_array_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.array_type_matches_arrays.ArrayTypeMatchesArrays.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -58,7 +58,7 @@ def test_a_boolean_is_not_an_array_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.array_type_matches_arrays.ArrayTypeMatchesArrays.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -72,7 +72,7 @@ def test_null_is_not_an_array_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.array_type_matches_arrays.ArrayTypeMatchesArrays.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -87,7 +87,7 @@ def test_an_object_is_not_an_array_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.array_type_matches_arrays.ArrayTypeMatchesArrays.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -101,7 +101,7 @@ def test_a_string_is_not_an_array_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.array_type_matches_arrays.ArrayTypeMatchesArrays.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -115,7 +115,7 @@ def test_an_array_is_an_array_passes(self): ) body = post.request_body.array_type_matches_arrays.ArrayTypeMatchesArrays.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -127,7 +127,7 @@ def test_an_array_is_an_array_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postArrayTypeMatchesArraysRequestBody', + self.configuration_.host + '/requestBody/postArrayTypeMatchesArraysRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -146,7 +146,7 @@ def test_an_integer_is_not_an_array_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.array_type_matches_arrays.ArrayTypeMatchesArrays.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_boolean_type_matches_booleans_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_boolean_type_matches_booleans_request_body/test_post.py index 5673c8b4f45..a229cb36a4c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_boolean_type_matches_booleans_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_boolean_type_matches_booleans_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostBooleanTypeMatchesBooleansRequestBody(ApiTestMixin, uni """ RequestBodyPostBooleanTypeMatchesBooleansRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -44,7 +44,7 @@ def test_an_empty_string_is_not_a_boolean_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.boolean_type_matches_booleans.BooleanTypeMatchesBooleans.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -58,7 +58,7 @@ def test_a_float_is_not_a_boolean_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.boolean_type_matches_booleans.BooleanTypeMatchesBooleans.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -72,7 +72,7 @@ def test_null_is_not_a_boolean_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.boolean_type_matches_booleans.BooleanTypeMatchesBooleans.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -86,7 +86,7 @@ def test_zero_is_not_a_boolean_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.boolean_type_matches_booleans.BooleanTypeMatchesBooleans.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -101,7 +101,7 @@ def test_an_array_is_not_a_boolean_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.boolean_type_matches_booleans.BooleanTypeMatchesBooleans.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -115,7 +115,7 @@ def test_a_string_is_not_a_boolean_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.boolean_type_matches_booleans.BooleanTypeMatchesBooleans.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -128,7 +128,7 @@ def test_false_is_a_boolean_passes(self): ) body = post.request_body.boolean_type_matches_booleans.BooleanTypeMatchesBooleans.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -140,7 +140,7 @@ def test_false_is_a_boolean_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postBooleanTypeMatchesBooleansRequestBody', + self.configuration_.host + '/requestBody/postBooleanTypeMatchesBooleansRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -159,7 +159,7 @@ def test_an_integer_is_not_a_boolean_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.boolean_type_matches_booleans.BooleanTypeMatchesBooleans.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -172,7 +172,7 @@ def test_true_is_a_boolean_passes(self): ) body = post.request_body.boolean_type_matches_booleans.BooleanTypeMatchesBooleans.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -184,7 +184,7 @@ def test_true_is_a_boolean_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postBooleanTypeMatchesBooleansRequestBody', + self.configuration_.host + '/requestBody/postBooleanTypeMatchesBooleansRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -204,7 +204,7 @@ def test_an_object_is_not_a_boolean_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.boolean_type_matches_booleans.BooleanTypeMatchesBooleans.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_by_int_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_by_int_request_body/test_post.py index 29eeb4a6ad6..a80ae31b4fa 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_by_int_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_by_int_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostByIntRequestBody(ApiTestMixin, unittest.TestCase): """ RequestBodyPostByIntRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -44,7 +44,7 @@ def test_int_by_int_fail_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.by_int.ByInt.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -57,7 +57,7 @@ def test_int_by_int_passes(self): ) body = post.request_body.by_int.ByInt.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -69,7 +69,7 @@ def test_int_by_int_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postByIntRequestBody', + self.configuration_.host + '/requestBody/postByIntRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -87,7 +87,7 @@ def test_ignores_non_numbers_passes(self): ) body = post.request_body.by_int.ByInt.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -99,7 +99,7 @@ def test_ignores_non_numbers_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postByIntRequestBody', + self.configuration_.host + '/requestBody/postByIntRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_by_number_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_by_number_request_body/test_post.py index d4578939950..d4f3eb457a6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_by_number_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_by_number_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostByNumberRequestBody(ApiTestMixin, unittest.TestCase): """ RequestBodyPostByNumberRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -43,7 +43,7 @@ def test_45_is_multiple_of15_passes(self): ) body = post.request_body.by_number.ByNumber.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -55,7 +55,7 @@ def test_45_is_multiple_of15_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postByNumberRequestBody', + self.configuration_.host + '/requestBody/postByNumberRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -74,7 +74,7 @@ def test_35_is_not_multiple_of15_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.by_number.ByNumber.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -87,7 +87,7 @@ def test_zero_is_multiple_of_anything_passes(self): ) body = post.request_body.by_number.ByNumber.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -99,7 +99,7 @@ def test_zero_is_multiple_of_anything_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postByNumberRequestBody', + self.configuration_.host + '/requestBody/postByNumberRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_by_small_number_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_by_small_number_request_body/test_post.py index 5d9b9d9c35c..92a0cedfcf3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_by_small_number_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_by_small_number_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostBySmallNumberRequestBody(ApiTestMixin, unittest.TestCas """ RequestBodyPostBySmallNumberRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -44,7 +44,7 @@ def test_000751_is_not_multiple_of00001_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.by_small_number.BySmallNumber.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -57,7 +57,7 @@ def test_00075_is_multiple_of00001_passes(self): ) body = post.request_body.by_small_number.BySmallNumber.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -69,7 +69,7 @@ def test_00075_is_multiple_of00001_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postBySmallNumberRequestBody', + self.configuration_.host + '/requestBody/postBySmallNumberRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_date_time_format_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_date_time_format_request_body/test_post.py index c5d85a75a68..4b27db4fc45 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_date_time_format_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_date_time_format_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostDateTimeFormatRequestBody(ApiTestMixin, unittest.TestCa """ RequestBodyPostDateTimeFormatRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -44,7 +44,7 @@ def test_all_string_formats_ignore_objects_passes(self): ) body = post.request_body.date_time_format.DateTimeFormat.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -56,7 +56,7 @@ def test_all_string_formats_ignore_objects_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postDateTimeFormatRequestBody', + self.configuration_.host + '/requestBody/postDateTimeFormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -74,7 +74,7 @@ def test_all_string_formats_ignore_booleans_passes(self): ) body = post.request_body.date_time_format.DateTimeFormat.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -86,7 +86,7 @@ def test_all_string_formats_ignore_booleans_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postDateTimeFormatRequestBody', + self.configuration_.host + '/requestBody/postDateTimeFormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -104,7 +104,7 @@ def test_all_string_formats_ignore_integers_passes(self): ) body = post.request_body.date_time_format.DateTimeFormat.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -116,7 +116,7 @@ def test_all_string_formats_ignore_integers_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postDateTimeFormatRequestBody', + self.configuration_.host + '/requestBody/postDateTimeFormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -134,7 +134,7 @@ def test_all_string_formats_ignore_floats_passes(self): ) body = post.request_body.date_time_format.DateTimeFormat.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -146,7 +146,7 @@ def test_all_string_formats_ignore_floats_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postDateTimeFormatRequestBody', + self.configuration_.host + '/requestBody/postDateTimeFormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -165,7 +165,7 @@ def test_all_string_formats_ignore_arrays_passes(self): ) body = post.request_body.date_time_format.DateTimeFormat.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -177,7 +177,7 @@ def test_all_string_formats_ignore_arrays_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postDateTimeFormatRequestBody', + self.configuration_.host + '/requestBody/postDateTimeFormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -195,7 +195,7 @@ def test_all_string_formats_ignore_nulls_passes(self): ) body = post.request_body.date_time_format.DateTimeFormat.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -207,7 +207,7 @@ def test_all_string_formats_ignore_nulls_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postDateTimeFormatRequestBody', + self.configuration_.host + '/requestBody/postDateTimeFormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_email_format_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_email_format_request_body/test_post.py index 2df593a33a5..85968e1c943 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_email_format_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_email_format_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostEmailFormatRequestBody(ApiTestMixin, unittest.TestCase) """ RequestBodyPostEmailFormatRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -44,7 +44,7 @@ def test_all_string_formats_ignore_objects_passes(self): ) body = post.request_body.email_format.EmailFormat.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -56,7 +56,7 @@ def test_all_string_formats_ignore_objects_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postEmailFormatRequestBody', + self.configuration_.host + '/requestBody/postEmailFormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -74,7 +74,7 @@ def test_all_string_formats_ignore_booleans_passes(self): ) body = post.request_body.email_format.EmailFormat.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -86,7 +86,7 @@ def test_all_string_formats_ignore_booleans_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postEmailFormatRequestBody', + self.configuration_.host + '/requestBody/postEmailFormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -104,7 +104,7 @@ def test_all_string_formats_ignore_integers_passes(self): ) body = post.request_body.email_format.EmailFormat.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -116,7 +116,7 @@ def test_all_string_formats_ignore_integers_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postEmailFormatRequestBody', + self.configuration_.host + '/requestBody/postEmailFormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -134,7 +134,7 @@ def test_all_string_formats_ignore_floats_passes(self): ) body = post.request_body.email_format.EmailFormat.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -146,7 +146,7 @@ def test_all_string_formats_ignore_floats_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postEmailFormatRequestBody', + self.configuration_.host + '/requestBody/postEmailFormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -165,7 +165,7 @@ def test_all_string_formats_ignore_arrays_passes(self): ) body = post.request_body.email_format.EmailFormat.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -177,7 +177,7 @@ def test_all_string_formats_ignore_arrays_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postEmailFormatRequestBody', + self.configuration_.host + '/requestBody/postEmailFormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -195,7 +195,7 @@ def test_all_string_formats_ignore_nulls_passes(self): ) body = post.request_body.email_format.EmailFormat.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -207,7 +207,7 @@ def test_all_string_formats_ignore_nulls_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postEmailFormatRequestBody', + self.configuration_.host + '/requestBody/postEmailFormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_enum_with0_does_not_match_false_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_enum_with0_does_not_match_false_request_body/test_post.py index cd5da98ab69..bed89a3b8ad 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_enum_with0_does_not_match_false_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_enum_with0_does_not_match_false_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostEnumWith0DoesNotMatchFalseRequestBody(ApiTestMixin, uni """ RequestBodyPostEnumWith0DoesNotMatchFalseRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -43,7 +43,7 @@ def test_integer_zero_is_valid_passes(self): ) body = post.request_body.enum_with0_does_not_match_false.EnumWith0DoesNotMatchFalse.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -55,7 +55,7 @@ def test_integer_zero_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postEnumWith0DoesNotMatchFalseRequestBody', + self.configuration_.host + '/requestBody/postEnumWith0DoesNotMatchFalseRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -73,7 +73,7 @@ def test_float_zero_is_valid_passes(self): ) body = post.request_body.enum_with0_does_not_match_false.EnumWith0DoesNotMatchFalse.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -85,7 +85,7 @@ def test_float_zero_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postEnumWith0DoesNotMatchFalseRequestBody', + self.configuration_.host + '/requestBody/postEnumWith0DoesNotMatchFalseRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -104,7 +104,7 @@ def test_false_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.enum_with0_does_not_match_false.EnumWith0DoesNotMatchFalse.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_enum_with1_does_not_match_true_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_enum_with1_does_not_match_true_request_body/test_post.py index 320f22068da..04e182f8bfc 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_enum_with1_does_not_match_true_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_enum_with1_does_not_match_true_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostEnumWith1DoesNotMatchTrueRequestBody(ApiTestMixin, unit """ RequestBodyPostEnumWith1DoesNotMatchTrueRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -44,7 +44,7 @@ def test_true_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.enum_with1_does_not_match_true.EnumWith1DoesNotMatchTrue.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -57,7 +57,7 @@ def test_integer_one_is_valid_passes(self): ) body = post.request_body.enum_with1_does_not_match_true.EnumWith1DoesNotMatchTrue.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -69,7 +69,7 @@ def test_integer_one_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postEnumWith1DoesNotMatchTrueRequestBody', + self.configuration_.host + '/requestBody/postEnumWith1DoesNotMatchTrueRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -87,7 +87,7 @@ def test_float_one_is_valid_passes(self): ) body = post.request_body.enum_with1_does_not_match_true.EnumWith1DoesNotMatchTrue.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -99,7 +99,7 @@ def test_float_one_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postEnumWith1DoesNotMatchTrueRequestBody', + self.configuration_.host + '/requestBody/postEnumWith1DoesNotMatchTrueRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_enum_with_escaped_characters_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_enum_with_escaped_characters_request_body/test_post.py index b291488e5df..2f1a44e3b7a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_enum_with_escaped_characters_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_enum_with_escaped_characters_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostEnumWithEscapedCharactersRequestBody(ApiTestMixin, unit """ RequestBodyPostEnumWithEscapedCharactersRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -43,7 +43,7 @@ def test_member2_is_valid_passes(self): ) body = post.request_body.enum_with_escaped_characters.EnumWithEscapedCharacters.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -55,7 +55,7 @@ def test_member2_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postEnumWithEscapedCharactersRequestBody', + self.configuration_.host + '/requestBody/postEnumWithEscapedCharactersRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -73,7 +73,7 @@ def test_member1_is_valid_passes(self): ) body = post.request_body.enum_with_escaped_characters.EnumWithEscapedCharacters.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -85,7 +85,7 @@ def test_member1_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postEnumWithEscapedCharactersRequestBody', + self.configuration_.host + '/requestBody/postEnumWithEscapedCharactersRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -104,7 +104,7 @@ def test_another_string_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.enum_with_escaped_characters.EnumWithEscapedCharacters.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_enum_with_false_does_not_match0_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_enum_with_false_does_not_match0_request_body/test_post.py index f3334733ac8..76ba9096c4d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_enum_with_false_does_not_match0_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_enum_with_false_does_not_match0_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostEnumWithFalseDoesNotMatch0RequestBody(ApiTestMixin, uni """ RequestBodyPostEnumWithFalseDoesNotMatch0RequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -43,7 +43,7 @@ def test_false_is_valid_passes(self): ) body = post.request_body.enum_with_false_does_not_match0.EnumWithFalseDoesNotMatch0.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -55,7 +55,7 @@ def test_false_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postEnumWithFalseDoesNotMatch0RequestBody', + self.configuration_.host + '/requestBody/postEnumWithFalseDoesNotMatch0RequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -74,7 +74,7 @@ def test_float_zero_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.enum_with_false_does_not_match0.EnumWithFalseDoesNotMatch0.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -88,7 +88,7 @@ def test_integer_zero_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.enum_with_false_does_not_match0.EnumWithFalseDoesNotMatch0.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_enum_with_true_does_not_match1_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_enum_with_true_does_not_match1_request_body/test_post.py index 1ac7e428286..6ced485358b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_enum_with_true_does_not_match1_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_enum_with_true_does_not_match1_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostEnumWithTrueDoesNotMatch1RequestBody(ApiTestMixin, unit """ RequestBodyPostEnumWithTrueDoesNotMatch1RequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -44,7 +44,7 @@ def test_float_one_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.enum_with_true_does_not_match1.EnumWithTrueDoesNotMatch1.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -57,7 +57,7 @@ def test_true_is_valid_passes(self): ) body = post.request_body.enum_with_true_does_not_match1.EnumWithTrueDoesNotMatch1.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -69,7 +69,7 @@ def test_true_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postEnumWithTrueDoesNotMatch1RequestBody', + self.configuration_.host + '/requestBody/postEnumWithTrueDoesNotMatch1RequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -88,7 +88,7 @@ def test_integer_one_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.enum_with_true_does_not_match1.EnumWithTrueDoesNotMatch1.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_enums_in_properties_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_enums_in_properties_request_body/test_post.py index 2fc7c0dc5c9..bd302e19d1e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_enums_in_properties_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_enums_in_properties_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostEnumsInPropertiesRequestBody(ApiTestMixin, unittest.Tes """ RequestBodyPostEnumsInPropertiesRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -46,7 +46,7 @@ def test_missing_optional_property_is_valid_passes(self): ) body = post.request_body.enums_in_properties.EnumsInProperties.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -58,7 +58,7 @@ def test_missing_optional_property_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postEnumsInPropertiesRequestBody', + self.configuration_.host + '/requestBody/postEnumsInPropertiesRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -82,7 +82,7 @@ def test_wrong_foo_value_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.enums_in_properties.EnumsInProperties.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -100,7 +100,7 @@ def test_both_properties_are_valid_passes(self): ) body = post.request_body.enums_in_properties.EnumsInProperties.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -112,7 +112,7 @@ def test_both_properties_are_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postEnumsInPropertiesRequestBody', + self.configuration_.host + '/requestBody/postEnumsInPropertiesRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -136,7 +136,7 @@ def test_wrong_bar_value_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.enums_in_properties.EnumsInProperties.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -151,7 +151,7 @@ def test_missing_all_properties_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.enums_in_properties.EnumsInProperties.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -168,7 +168,7 @@ def test_missing_required_property_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.enums_in_properties.EnumsInProperties.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_forbidden_property_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_forbidden_property_request_body/test_post.py index f33947b4282..9d07cf733d2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_forbidden_property_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_forbidden_property_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostForbiddenPropertyRequestBody(ApiTestMixin, unittest.Tes """ RequestBodyPostForbiddenPropertyRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -49,7 +49,7 @@ def test_property_present_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.forbidden_property.ForbiddenProperty.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -67,7 +67,7 @@ def test_property_absent_passes(self): ) body = post.request_body.forbidden_property.ForbiddenProperty.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -79,7 +79,7 @@ def test_property_absent_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postForbiddenPropertyRequestBody', + self.configuration_.host + '/requestBody/postForbiddenPropertyRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_hostname_format_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_hostname_format_request_body/test_post.py index 39fd456a0a0..ba6ebc4f8fb 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_hostname_format_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_hostname_format_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostHostnameFormatRequestBody(ApiTestMixin, unittest.TestCa """ RequestBodyPostHostnameFormatRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -44,7 +44,7 @@ def test_all_string_formats_ignore_objects_passes(self): ) body = post.request_body.hostname_format.HostnameFormat.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -56,7 +56,7 @@ def test_all_string_formats_ignore_objects_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postHostnameFormatRequestBody', + self.configuration_.host + '/requestBody/postHostnameFormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -74,7 +74,7 @@ def test_all_string_formats_ignore_booleans_passes(self): ) body = post.request_body.hostname_format.HostnameFormat.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -86,7 +86,7 @@ def test_all_string_formats_ignore_booleans_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postHostnameFormatRequestBody', + self.configuration_.host + '/requestBody/postHostnameFormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -104,7 +104,7 @@ def test_all_string_formats_ignore_integers_passes(self): ) body = post.request_body.hostname_format.HostnameFormat.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -116,7 +116,7 @@ def test_all_string_formats_ignore_integers_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postHostnameFormatRequestBody', + self.configuration_.host + '/requestBody/postHostnameFormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -134,7 +134,7 @@ def test_all_string_formats_ignore_floats_passes(self): ) body = post.request_body.hostname_format.HostnameFormat.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -146,7 +146,7 @@ def test_all_string_formats_ignore_floats_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postHostnameFormatRequestBody', + self.configuration_.host + '/requestBody/postHostnameFormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -165,7 +165,7 @@ def test_all_string_formats_ignore_arrays_passes(self): ) body = post.request_body.hostname_format.HostnameFormat.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -177,7 +177,7 @@ def test_all_string_formats_ignore_arrays_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postHostnameFormatRequestBody', + self.configuration_.host + '/requestBody/postHostnameFormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -195,7 +195,7 @@ def test_all_string_formats_ignore_nulls_passes(self): ) body = post.request_body.hostname_format.HostnameFormat.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -207,7 +207,7 @@ def test_all_string_formats_ignore_nulls_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postHostnameFormatRequestBody', + self.configuration_.host + '/requestBody/postHostnameFormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_integer_type_matches_integers_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_integer_type_matches_integers_request_body/test_post.py index 5cf2ca52646..151982f852b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_integer_type_matches_integers_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_integer_type_matches_integers_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostIntegerTypeMatchesIntegersRequestBody(ApiTestMixin, uni """ RequestBodyPostIntegerTypeMatchesIntegersRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -45,7 +45,7 @@ def test_an_object_is_not_an_integer_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.integer_type_matches_integers.IntegerTypeMatchesIntegers.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -59,7 +59,7 @@ def test_a_string_is_not_an_integer_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.integer_type_matches_integers.IntegerTypeMatchesIntegers.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -73,7 +73,7 @@ def test_null_is_not_an_integer_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.integer_type_matches_integers.IntegerTypeMatchesIntegers.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -86,7 +86,7 @@ def test_a_float_with_zero_fractional_part_is_an_integer_passes(self): ) body = post.request_body.integer_type_matches_integers.IntegerTypeMatchesIntegers.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -98,7 +98,7 @@ def test_a_float_with_zero_fractional_part_is_an_integer_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postIntegerTypeMatchesIntegersRequestBody', + self.configuration_.host + '/requestBody/postIntegerTypeMatchesIntegersRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -117,7 +117,7 @@ def test_a_float_is_not_an_integer_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.integer_type_matches_integers.IntegerTypeMatchesIntegers.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -131,7 +131,7 @@ def test_a_boolean_is_not_an_integer_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.integer_type_matches_integers.IntegerTypeMatchesIntegers.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -144,7 +144,7 @@ def test_an_integer_is_an_integer_passes(self): ) body = post.request_body.integer_type_matches_integers.IntegerTypeMatchesIntegers.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -156,7 +156,7 @@ def test_an_integer_is_an_integer_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postIntegerTypeMatchesIntegersRequestBody', + self.configuration_.host + '/requestBody/postIntegerTypeMatchesIntegersRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -175,7 +175,7 @@ def test_a_string_is_still_not_an_integer_even_if_it_looks_like_one_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.integer_type_matches_integers.IntegerTypeMatchesIntegers.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -190,7 +190,7 @@ def test_an_array_is_not_an_integer_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.integer_type_matches_integers.IntegerTypeMatchesIntegers.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/test_post.py index 034b300baf3..4c36c7dcd8e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostInvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInfR """ RequestBodyPostInvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInfRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -44,7 +44,7 @@ def test_always_invalid_but_naive_implementations_may_raise_an_overflow_error_fa with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.invalid_instance_should_not_raise_error_when_float_division_inf.InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -57,7 +57,7 @@ def test_valid_integer_with_multipleof_float_passes(self): ) body = post.request_body.invalid_instance_should_not_raise_error_when_float_division_inf.InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -69,7 +69,7 @@ def test_valid_integer_with_multipleof_float_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postInvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInfRequestBody', + self.configuration_.host + '/requestBody/postInvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInfRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_invalid_string_value_for_default_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_invalid_string_value_for_default_request_body/test_post.py index f10afd4d16a..092635ef59f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_invalid_string_value_for_default_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_invalid_string_value_for_default_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostInvalidStringValueForDefaultRequestBody(ApiTestMixin, u """ RequestBodyPostInvalidStringValueForDefaultRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -46,7 +46,7 @@ def test_valid_when_property_is_specified_passes(self): ) body = post.request_body.invalid_string_value_for_default.InvalidStringValueForDefault.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -58,7 +58,7 @@ def test_valid_when_property_is_specified_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postInvalidStringValueForDefaultRequestBody', + self.configuration_.host + '/requestBody/postInvalidStringValueForDefaultRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -77,7 +77,7 @@ def test_still_valid_when_the_invalid_default_is_used_passes(self): ) body = post.request_body.invalid_string_value_for_default.InvalidStringValueForDefault.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -89,7 +89,7 @@ def test_still_valid_when_the_invalid_default_is_used_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postInvalidStringValueForDefaultRequestBody', + self.configuration_.host + '/requestBody/postInvalidStringValueForDefaultRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ipv4_format_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ipv4_format_request_body/test_post.py index 746276f65ee..7323323806d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ipv4_format_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ipv4_format_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostIpv4FormatRequestBody(ApiTestMixin, unittest.TestCase): """ RequestBodyPostIpv4FormatRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -44,7 +44,7 @@ def test_all_string_formats_ignore_objects_passes(self): ) body = post.request_body.ipv4_format.Ipv4Format.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -56,7 +56,7 @@ def test_all_string_formats_ignore_objects_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postIpv4FormatRequestBody', + self.configuration_.host + '/requestBody/postIpv4FormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -74,7 +74,7 @@ def test_all_string_formats_ignore_booleans_passes(self): ) body = post.request_body.ipv4_format.Ipv4Format.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -86,7 +86,7 @@ def test_all_string_formats_ignore_booleans_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postIpv4FormatRequestBody', + self.configuration_.host + '/requestBody/postIpv4FormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -104,7 +104,7 @@ def test_all_string_formats_ignore_integers_passes(self): ) body = post.request_body.ipv4_format.Ipv4Format.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -116,7 +116,7 @@ def test_all_string_formats_ignore_integers_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postIpv4FormatRequestBody', + self.configuration_.host + '/requestBody/postIpv4FormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -134,7 +134,7 @@ def test_all_string_formats_ignore_floats_passes(self): ) body = post.request_body.ipv4_format.Ipv4Format.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -146,7 +146,7 @@ def test_all_string_formats_ignore_floats_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postIpv4FormatRequestBody', + self.configuration_.host + '/requestBody/postIpv4FormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -165,7 +165,7 @@ def test_all_string_formats_ignore_arrays_passes(self): ) body = post.request_body.ipv4_format.Ipv4Format.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -177,7 +177,7 @@ def test_all_string_formats_ignore_arrays_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postIpv4FormatRequestBody', + self.configuration_.host + '/requestBody/postIpv4FormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -195,7 +195,7 @@ def test_all_string_formats_ignore_nulls_passes(self): ) body = post.request_body.ipv4_format.Ipv4Format.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -207,7 +207,7 @@ def test_all_string_formats_ignore_nulls_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postIpv4FormatRequestBody', + self.configuration_.host + '/requestBody/postIpv4FormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ipv6_format_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ipv6_format_request_body/test_post.py index 34ebc24b201..3b88f80ee46 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ipv6_format_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ipv6_format_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostIpv6FormatRequestBody(ApiTestMixin, unittest.TestCase): """ RequestBodyPostIpv6FormatRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -44,7 +44,7 @@ def test_all_string_formats_ignore_objects_passes(self): ) body = post.request_body.ipv6_format.Ipv6Format.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -56,7 +56,7 @@ def test_all_string_formats_ignore_objects_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postIpv6FormatRequestBody', + self.configuration_.host + '/requestBody/postIpv6FormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -74,7 +74,7 @@ def test_all_string_formats_ignore_booleans_passes(self): ) body = post.request_body.ipv6_format.Ipv6Format.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -86,7 +86,7 @@ def test_all_string_formats_ignore_booleans_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postIpv6FormatRequestBody', + self.configuration_.host + '/requestBody/postIpv6FormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -104,7 +104,7 @@ def test_all_string_formats_ignore_integers_passes(self): ) body = post.request_body.ipv6_format.Ipv6Format.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -116,7 +116,7 @@ def test_all_string_formats_ignore_integers_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postIpv6FormatRequestBody', + self.configuration_.host + '/requestBody/postIpv6FormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -134,7 +134,7 @@ def test_all_string_formats_ignore_floats_passes(self): ) body = post.request_body.ipv6_format.Ipv6Format.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -146,7 +146,7 @@ def test_all_string_formats_ignore_floats_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postIpv6FormatRequestBody', + self.configuration_.host + '/requestBody/postIpv6FormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -165,7 +165,7 @@ def test_all_string_formats_ignore_arrays_passes(self): ) body = post.request_body.ipv6_format.Ipv6Format.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -177,7 +177,7 @@ def test_all_string_formats_ignore_arrays_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postIpv6FormatRequestBody', + self.configuration_.host + '/requestBody/postIpv6FormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -195,7 +195,7 @@ def test_all_string_formats_ignore_nulls_passes(self): ) body = post.request_body.ipv6_format.Ipv6Format.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -207,7 +207,7 @@ def test_all_string_formats_ignore_nulls_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postIpv6FormatRequestBody', + self.configuration_.host + '/requestBody/postIpv6FormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_json_pointer_format_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_json_pointer_format_request_body/test_post.py index cc248b36066..b6a449060ce 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_json_pointer_format_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_json_pointer_format_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostJsonPointerFormatRequestBody(ApiTestMixin, unittest.Tes """ RequestBodyPostJsonPointerFormatRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -44,7 +44,7 @@ def test_all_string_formats_ignore_objects_passes(self): ) body = post.request_body.json_pointer_format.JsonPointerFormat.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -56,7 +56,7 @@ def test_all_string_formats_ignore_objects_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postJsonPointerFormatRequestBody', + self.configuration_.host + '/requestBody/postJsonPointerFormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -74,7 +74,7 @@ def test_all_string_formats_ignore_booleans_passes(self): ) body = post.request_body.json_pointer_format.JsonPointerFormat.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -86,7 +86,7 @@ def test_all_string_formats_ignore_booleans_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postJsonPointerFormatRequestBody', + self.configuration_.host + '/requestBody/postJsonPointerFormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -104,7 +104,7 @@ def test_all_string_formats_ignore_integers_passes(self): ) body = post.request_body.json_pointer_format.JsonPointerFormat.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -116,7 +116,7 @@ def test_all_string_formats_ignore_integers_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postJsonPointerFormatRequestBody', + self.configuration_.host + '/requestBody/postJsonPointerFormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -134,7 +134,7 @@ def test_all_string_formats_ignore_floats_passes(self): ) body = post.request_body.json_pointer_format.JsonPointerFormat.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -146,7 +146,7 @@ def test_all_string_formats_ignore_floats_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postJsonPointerFormatRequestBody', + self.configuration_.host + '/requestBody/postJsonPointerFormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -165,7 +165,7 @@ def test_all_string_formats_ignore_arrays_passes(self): ) body = post.request_body.json_pointer_format.JsonPointerFormat.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -177,7 +177,7 @@ def test_all_string_formats_ignore_arrays_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postJsonPointerFormatRequestBody', + self.configuration_.host + '/requestBody/postJsonPointerFormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -195,7 +195,7 @@ def test_all_string_formats_ignore_nulls_passes(self): ) body = post.request_body.json_pointer_format.JsonPointerFormat.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -207,7 +207,7 @@ def test_all_string_formats_ignore_nulls_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postJsonPointerFormatRequestBody', + self.configuration_.host + '/requestBody/postJsonPointerFormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_maximum_validation_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_maximum_validation_request_body/test_post.py index 7b9180062e4..e54661e96fc 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_maximum_validation_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_maximum_validation_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostMaximumValidationRequestBody(ApiTestMixin, unittest.Tes """ RequestBodyPostMaximumValidationRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -43,7 +43,7 @@ def test_below_the_maximum_is_valid_passes(self): ) body = post.request_body.maximum_validation.MaximumValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -55,7 +55,7 @@ def test_below_the_maximum_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postMaximumValidationRequestBody', + self.configuration_.host + '/requestBody/postMaximumValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -73,7 +73,7 @@ def test_boundary_point_is_valid_passes(self): ) body = post.request_body.maximum_validation.MaximumValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -85,7 +85,7 @@ def test_boundary_point_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postMaximumValidationRequestBody', + self.configuration_.host + '/requestBody/postMaximumValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -104,7 +104,7 @@ def test_above_the_maximum_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.maximum_validation.MaximumValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -117,7 +117,7 @@ def test_ignores_non_numbers_passes(self): ) body = post.request_body.maximum_validation.MaximumValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -129,7 +129,7 @@ def test_ignores_non_numbers_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postMaximumValidationRequestBody', + self.configuration_.host + '/requestBody/postMaximumValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_maximum_validation_with_unsigned_integer_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_maximum_validation_with_unsigned_integer_request_body/test_post.py index 3bac374e0ce..958c7430b2f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_maximum_validation_with_unsigned_integer_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_maximum_validation_with_unsigned_integer_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostMaximumValidationWithUnsignedIntegerRequestBody(ApiTest """ RequestBodyPostMaximumValidationWithUnsignedIntegerRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -43,7 +43,7 @@ def test_below_the_maximum_is_invalid_passes(self): ) body = post.request_body.maximum_validation_with_unsigned_integer.MaximumValidationWithUnsignedInteger.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -55,7 +55,7 @@ def test_below_the_maximum_is_invalid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postMaximumValidationWithUnsignedIntegerRequestBody', + self.configuration_.host + '/requestBody/postMaximumValidationWithUnsignedIntegerRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -74,7 +74,7 @@ def test_above_the_maximum_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.maximum_validation_with_unsigned_integer.MaximumValidationWithUnsignedInteger.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -87,7 +87,7 @@ def test_boundary_point_integer_is_valid_passes(self): ) body = post.request_body.maximum_validation_with_unsigned_integer.MaximumValidationWithUnsignedInteger.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -99,7 +99,7 @@ def test_boundary_point_integer_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postMaximumValidationWithUnsignedIntegerRequestBody', + self.configuration_.host + '/requestBody/postMaximumValidationWithUnsignedIntegerRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -117,7 +117,7 @@ def test_boundary_point_float_is_valid_passes(self): ) body = post.request_body.maximum_validation_with_unsigned_integer.MaximumValidationWithUnsignedInteger.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -129,7 +129,7 @@ def test_boundary_point_float_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postMaximumValidationWithUnsignedIntegerRequestBody', + self.configuration_.host + '/requestBody/postMaximumValidationWithUnsignedIntegerRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_maxitems_validation_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_maxitems_validation_request_body/test_post.py index 3de5654c94d..024075583c6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_maxitems_validation_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_maxitems_validation_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostMaxitemsValidationRequestBody(ApiTestMixin, unittest.Te """ RequestBodyPostMaxitemsValidationRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -48,7 +48,7 @@ def test_too_long_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.maxitems_validation.MaxitemsValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -61,7 +61,7 @@ def test_ignores_non_arrays_passes(self): ) body = post.request_body.maxitems_validation.MaxitemsValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -73,7 +73,7 @@ def test_ignores_non_arrays_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postMaxitemsValidationRequestBody', + self.configuration_.host + '/requestBody/postMaxitemsValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -93,7 +93,7 @@ def test_shorter_is_valid_passes(self): ) body = post.request_body.maxitems_validation.MaxitemsValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -105,7 +105,7 @@ def test_shorter_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postMaxitemsValidationRequestBody', + self.configuration_.host + '/requestBody/postMaxitemsValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -126,7 +126,7 @@ def test_exact_length_is_valid_passes(self): ) body = post.request_body.maxitems_validation.MaxitemsValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -138,7 +138,7 @@ def test_exact_length_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postMaxitemsValidationRequestBody', + self.configuration_.host + '/requestBody/postMaxitemsValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_maxlength_validation_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_maxlength_validation_request_body/test_post.py index f0f30eecd05..d491d6fbe30 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_maxlength_validation_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_maxlength_validation_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostMaxlengthValidationRequestBody(ApiTestMixin, unittest.T """ RequestBodyPostMaxlengthValidationRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -44,7 +44,7 @@ def test_too_long_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.maxlength_validation.MaxlengthValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -57,7 +57,7 @@ def test_ignores_non_strings_passes(self): ) body = post.request_body.maxlength_validation.MaxlengthValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -69,7 +69,7 @@ def test_ignores_non_strings_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postMaxlengthValidationRequestBody', + self.configuration_.host + '/requestBody/postMaxlengthValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -87,7 +87,7 @@ def test_shorter_is_valid_passes(self): ) body = post.request_body.maxlength_validation.MaxlengthValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -99,7 +99,7 @@ def test_shorter_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postMaxlengthValidationRequestBody', + self.configuration_.host + '/requestBody/postMaxlengthValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -117,7 +117,7 @@ def test_two_supplementary_unicode_code_points_is_long_enough_passes(self): ) body = post.request_body.maxlength_validation.MaxlengthValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -129,7 +129,7 @@ def test_two_supplementary_unicode_code_points_is_long_enough_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postMaxlengthValidationRequestBody', + self.configuration_.host + '/requestBody/postMaxlengthValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -147,7 +147,7 @@ def test_exact_length_is_valid_passes(self): ) body = post.request_body.maxlength_validation.MaxlengthValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -159,7 +159,7 @@ def test_exact_length_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postMaxlengthValidationRequestBody', + self.configuration_.host + '/requestBody/postMaxlengthValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_maxproperties0_means_the_object_is_empty_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_maxproperties0_means_the_object_is_empty_request_body/test_post.py index ab9e4c37d09..2cb763d606d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_maxproperties0_means_the_object_is_empty_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_maxproperties0_means_the_object_is_empty_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostMaxproperties0MeansTheObjectIsEmptyRequestBody(ApiTestM """ RequestBodyPostMaxproperties0MeansTheObjectIsEmptyRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -44,7 +44,7 @@ def test_no_properties_is_valid_passes(self): ) body = post.request_body.maxproperties0_means_the_object_is_empty.Maxproperties0MeansTheObjectIsEmpty.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -56,7 +56,7 @@ def test_no_properties_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postMaxproperties0MeansTheObjectIsEmptyRequestBody', + self.configuration_.host + '/requestBody/postMaxproperties0MeansTheObjectIsEmptyRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -78,7 +78,7 @@ def test_one_property_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.maxproperties0_means_the_object_is_empty.Maxproperties0MeansTheObjectIsEmpty.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_maxproperties_validation_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_maxproperties_validation_request_body/test_post.py index 43eb47af075..6da035cb6e9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_maxproperties_validation_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_maxproperties_validation_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostMaxpropertiesValidationRequestBody(ApiTestMixin, unitte """ RequestBodyPostMaxpropertiesValidationRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -51,7 +51,7 @@ def test_too_long_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.maxproperties_validation.MaxpropertiesValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -68,7 +68,7 @@ def test_ignores_arrays_passes(self): ) body = post.request_body.maxproperties_validation.MaxpropertiesValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -80,7 +80,7 @@ def test_ignores_arrays_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postMaxpropertiesValidationRequestBody', + self.configuration_.host + '/requestBody/postMaxpropertiesValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -98,7 +98,7 @@ def test_ignores_other_non_objects_passes(self): ) body = post.request_body.maxproperties_validation.MaxpropertiesValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -110,7 +110,7 @@ def test_ignores_other_non_objects_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postMaxpropertiesValidationRequestBody', + self.configuration_.host + '/requestBody/postMaxpropertiesValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -128,7 +128,7 @@ def test_ignores_strings_passes(self): ) body = post.request_body.maxproperties_validation.MaxpropertiesValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -140,7 +140,7 @@ def test_ignores_strings_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postMaxpropertiesValidationRequestBody', + self.configuration_.host + '/requestBody/postMaxpropertiesValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -161,7 +161,7 @@ def test_shorter_is_valid_passes(self): ) body = post.request_body.maxproperties_validation.MaxpropertiesValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -173,7 +173,7 @@ def test_shorter_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postMaxpropertiesValidationRequestBody', + self.configuration_.host + '/requestBody/postMaxpropertiesValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -196,7 +196,7 @@ def test_exact_length_is_valid_passes(self): ) body = post.request_body.maxproperties_validation.MaxpropertiesValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -208,7 +208,7 @@ def test_exact_length_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postMaxpropertiesValidationRequestBody', + self.configuration_.host + '/requestBody/postMaxpropertiesValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_minimum_validation_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_minimum_validation_request_body/test_post.py index fd7d11f287a..f9efe7bd304 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_minimum_validation_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_minimum_validation_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostMinimumValidationRequestBody(ApiTestMixin, unittest.Tes """ RequestBodyPostMinimumValidationRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -43,7 +43,7 @@ def test_boundary_point_is_valid_passes(self): ) body = post.request_body.minimum_validation.MinimumValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -55,7 +55,7 @@ def test_boundary_point_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postMinimumValidationRequestBody', + self.configuration_.host + '/requestBody/postMinimumValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -74,7 +74,7 @@ def test_below_the_minimum_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.minimum_validation.MinimumValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -87,7 +87,7 @@ def test_above_the_minimum_is_valid_passes(self): ) body = post.request_body.minimum_validation.MinimumValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -99,7 +99,7 @@ def test_above_the_minimum_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postMinimumValidationRequestBody', + self.configuration_.host + '/requestBody/postMinimumValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -117,7 +117,7 @@ def test_ignores_non_numbers_passes(self): ) body = post.request_body.minimum_validation.MinimumValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -129,7 +129,7 @@ def test_ignores_non_numbers_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postMinimumValidationRequestBody', + self.configuration_.host + '/requestBody/postMinimumValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_minimum_validation_with_signed_integer_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_minimum_validation_with_signed_integer_request_body/test_post.py index 97f431516b9..cafaf3688c4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_minimum_validation_with_signed_integer_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_minimum_validation_with_signed_integer_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostMinimumValidationWithSignedIntegerRequestBody(ApiTestMi """ RequestBodyPostMinimumValidationWithSignedIntegerRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -43,7 +43,7 @@ def test_boundary_point_is_valid_passes(self): ) body = post.request_body.minimum_validation_with_signed_integer.MinimumValidationWithSignedInteger.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -55,7 +55,7 @@ def test_boundary_point_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postMinimumValidationWithSignedIntegerRequestBody', + self.configuration_.host + '/requestBody/postMinimumValidationWithSignedIntegerRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -73,7 +73,7 @@ def test_positive_above_the_minimum_is_valid_passes(self): ) body = post.request_body.minimum_validation_with_signed_integer.MinimumValidationWithSignedInteger.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -85,7 +85,7 @@ def test_positive_above_the_minimum_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postMinimumValidationWithSignedIntegerRequestBody', + self.configuration_.host + '/requestBody/postMinimumValidationWithSignedIntegerRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -104,7 +104,7 @@ def test_int_below_the_minimum_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.minimum_validation_with_signed_integer.MinimumValidationWithSignedInteger.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -118,7 +118,7 @@ def test_float_below_the_minimum_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.minimum_validation_with_signed_integer.MinimumValidationWithSignedInteger.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -131,7 +131,7 @@ def test_boundary_point_with_float_is_valid_passes(self): ) body = post.request_body.minimum_validation_with_signed_integer.MinimumValidationWithSignedInteger.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -143,7 +143,7 @@ def test_boundary_point_with_float_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postMinimumValidationWithSignedIntegerRequestBody', + self.configuration_.host + '/requestBody/postMinimumValidationWithSignedIntegerRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -161,7 +161,7 @@ def test_negative_above_the_minimum_is_valid_passes(self): ) body = post.request_body.minimum_validation_with_signed_integer.MinimumValidationWithSignedInteger.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -173,7 +173,7 @@ def test_negative_above_the_minimum_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postMinimumValidationWithSignedIntegerRequestBody', + self.configuration_.host + '/requestBody/postMinimumValidationWithSignedIntegerRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -191,7 +191,7 @@ def test_ignores_non_numbers_passes(self): ) body = post.request_body.minimum_validation_with_signed_integer.MinimumValidationWithSignedInteger.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -203,7 +203,7 @@ def test_ignores_non_numbers_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postMinimumValidationWithSignedIntegerRequestBody', + self.configuration_.host + '/requestBody/postMinimumValidationWithSignedIntegerRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_minitems_validation_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_minitems_validation_request_body/test_post.py index 8ab17a3648c..57f9dce88a3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_minitems_validation_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_minitems_validation_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostMinitemsValidationRequestBody(ApiTestMixin, unittest.Te """ RequestBodyPostMinitemsValidationRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -45,7 +45,7 @@ def test_too_short_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.minitems_validation.MinitemsValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -58,7 +58,7 @@ def test_ignores_non_arrays_passes(self): ) body = post.request_body.minitems_validation.MinitemsValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -70,7 +70,7 @@ def test_ignores_non_arrays_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postMinitemsValidationRequestBody', + self.configuration_.host + '/requestBody/postMinitemsValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -91,7 +91,7 @@ def test_longer_is_valid_passes(self): ) body = post.request_body.minitems_validation.MinitemsValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -103,7 +103,7 @@ def test_longer_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postMinitemsValidationRequestBody', + self.configuration_.host + '/requestBody/postMinitemsValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -123,7 +123,7 @@ def test_exact_length_is_valid_passes(self): ) body = post.request_body.minitems_validation.MinitemsValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -135,7 +135,7 @@ def test_exact_length_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postMinitemsValidationRequestBody', + self.configuration_.host + '/requestBody/postMinitemsValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_minlength_validation_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_minlength_validation_request_body/test_post.py index 4fb48ee461d..d5461e0a767 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_minlength_validation_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_minlength_validation_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostMinlengthValidationRequestBody(ApiTestMixin, unittest.T """ RequestBodyPostMinlengthValidationRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -44,7 +44,7 @@ def test_too_short_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.minlength_validation.MinlengthValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -58,7 +58,7 @@ def test_one_supplementary_unicode_code_point_is_not_long_enough_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.minlength_validation.MinlengthValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -71,7 +71,7 @@ def test_longer_is_valid_passes(self): ) body = post.request_body.minlength_validation.MinlengthValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -83,7 +83,7 @@ def test_longer_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postMinlengthValidationRequestBody', + self.configuration_.host + '/requestBody/postMinlengthValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -101,7 +101,7 @@ def test_ignores_non_strings_passes(self): ) body = post.request_body.minlength_validation.MinlengthValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -113,7 +113,7 @@ def test_ignores_non_strings_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postMinlengthValidationRequestBody', + self.configuration_.host + '/requestBody/postMinlengthValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -131,7 +131,7 @@ def test_exact_length_is_valid_passes(self): ) body = post.request_body.minlength_validation.MinlengthValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -143,7 +143,7 @@ def test_exact_length_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postMinlengthValidationRequestBody', + self.configuration_.host + '/requestBody/postMinlengthValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_minproperties_validation_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_minproperties_validation_request_body/test_post.py index 9abe67e3a43..87eeca78c02 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_minproperties_validation_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_minproperties_validation_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostMinpropertiesValidationRequestBody(ApiTestMixin, unitte """ RequestBodyPostMinpropertiesValidationRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -44,7 +44,7 @@ def test_ignores_arrays_passes(self): ) body = post.request_body.minproperties_validation.MinpropertiesValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -56,7 +56,7 @@ def test_ignores_arrays_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postMinpropertiesValidationRequestBody', + self.configuration_.host + '/requestBody/postMinpropertiesValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -74,7 +74,7 @@ def test_ignores_other_non_objects_passes(self): ) body = post.request_body.minproperties_validation.MinpropertiesValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -86,7 +86,7 @@ def test_ignores_other_non_objects_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postMinpropertiesValidationRequestBody', + self.configuration_.host + '/requestBody/postMinpropertiesValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -106,7 +106,7 @@ def test_too_short_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.minproperties_validation.MinpropertiesValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -119,7 +119,7 @@ def test_ignores_strings_passes(self): ) body = post.request_body.minproperties_validation.MinpropertiesValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -131,7 +131,7 @@ def test_ignores_strings_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postMinpropertiesValidationRequestBody', + self.configuration_.host + '/requestBody/postMinpropertiesValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -154,7 +154,7 @@ def test_longer_is_valid_passes(self): ) body = post.request_body.minproperties_validation.MinpropertiesValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -166,7 +166,7 @@ def test_longer_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postMinpropertiesValidationRequestBody', + self.configuration_.host + '/requestBody/postMinpropertiesValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -187,7 +187,7 @@ def test_exact_length_is_valid_passes(self): ) body = post.request_body.minproperties_validation.MinpropertiesValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -199,7 +199,7 @@ def test_exact_length_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postMinpropertiesValidationRequestBody', + self.configuration_.host + '/requestBody/postMinpropertiesValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_nested_allof_to_check_validation_semantics_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_nested_allof_to_check_validation_semantics_request_body/test_post.py index 96a715ad276..69b3b998e16 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_nested_allof_to_check_validation_semantics_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_nested_allof_to_check_validation_semantics_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostNestedAllofToCheckValidationSemanticsRequestBody(ApiTes """ RequestBodyPostNestedAllofToCheckValidationSemanticsRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -44,7 +44,7 @@ def test_anything_non_null_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.nested_allof_to_check_validation_semantics.NestedAllofToCheckValidationSemantics.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -57,7 +57,7 @@ def test_null_is_valid_passes(self): ) body = post.request_body.nested_allof_to_check_validation_semantics.NestedAllofToCheckValidationSemantics.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -69,7 +69,7 @@ def test_null_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postNestedAllofToCheckValidationSemanticsRequestBody', + self.configuration_.host + '/requestBody/postNestedAllofToCheckValidationSemanticsRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_nested_anyof_to_check_validation_semantics_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_nested_anyof_to_check_validation_semantics_request_body/test_post.py index da33fb67952..a09d449731b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_nested_anyof_to_check_validation_semantics_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_nested_anyof_to_check_validation_semantics_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostNestedAnyofToCheckValidationSemanticsRequestBody(ApiTes """ RequestBodyPostNestedAnyofToCheckValidationSemanticsRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -44,7 +44,7 @@ def test_anything_non_null_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.nested_anyof_to_check_validation_semantics.NestedAnyofToCheckValidationSemantics.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -57,7 +57,7 @@ def test_null_is_valid_passes(self): ) body = post.request_body.nested_anyof_to_check_validation_semantics.NestedAnyofToCheckValidationSemantics.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -69,7 +69,7 @@ def test_null_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postNestedAnyofToCheckValidationSemanticsRequestBody', + self.configuration_.host + '/requestBody/postNestedAnyofToCheckValidationSemanticsRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_nested_items_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_nested_items_request_body/test_post.py index da9329cdb41..6ee3495671b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_nested_items_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_nested_items_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostNestedItemsRequestBody(ApiTestMixin, unittest.TestCase) """ RequestBodyPostNestedItemsRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -72,7 +72,7 @@ def test_valid_nested_array_passes(self): ) body = post.request_body.nested_items.NestedItems.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -84,7 +84,7 @@ def test_valid_nested_array_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postNestedItemsRequestBody', + self.configuration_.host + '/requestBody/postNestedItemsRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -132,7 +132,7 @@ def test_nested_array_with_invalid_type_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.nested_items.NestedItems.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -169,7 +169,7 @@ def test_not_deep_enough_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.nested_items.NestedItems.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_nested_oneof_to_check_validation_semantics_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_nested_oneof_to_check_validation_semantics_request_body/test_post.py index 7998b5c71af..771e98ec2ec 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_nested_oneof_to_check_validation_semantics_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_nested_oneof_to_check_validation_semantics_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostNestedOneofToCheckValidationSemanticsRequestBody(ApiTes """ RequestBodyPostNestedOneofToCheckValidationSemanticsRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -44,7 +44,7 @@ def test_anything_non_null_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.nested_oneof_to_check_validation_semantics.NestedOneofToCheckValidationSemantics.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -57,7 +57,7 @@ def test_null_is_valid_passes(self): ) body = post.request_body.nested_oneof_to_check_validation_semantics.NestedOneofToCheckValidationSemantics.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -69,7 +69,7 @@ def test_null_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postNestedOneofToCheckValidationSemanticsRequestBody', + self.configuration_.host + '/requestBody/postNestedOneofToCheckValidationSemanticsRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_not_more_complex_schema_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_not_more_complex_schema_request_body/test_post.py index 9fb5c65a40c..6f49afc5cf6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_not_more_complex_schema_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_not_more_complex_schema_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostNotMoreComplexSchemaRequestBody(ApiTestMixin, unittest. """ RequestBodyPostNotMoreComplexSchemaRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -46,7 +46,7 @@ def test_other_match_passes(self): ) body = post.request_body.not_more_complex_schema.NotMoreComplexSchema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -58,7 +58,7 @@ def test_other_match_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postNotMoreComplexSchemaRequestBody', + self.configuration_.host + '/requestBody/postNotMoreComplexSchemaRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -80,7 +80,7 @@ def test_mismatch_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.not_more_complex_schema.NotMoreComplexSchema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -93,7 +93,7 @@ def test_match_passes(self): ) body = post.request_body.not_more_complex_schema.NotMoreComplexSchema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -105,7 +105,7 @@ def test_match_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postNotMoreComplexSchemaRequestBody', + self.configuration_.host + '/requestBody/postNotMoreComplexSchemaRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_not_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_not_request_body/test_post.py index 53f34ffdbbf..739b6e925e8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_not_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_not_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostNotRequestBody(ApiTestMixin, unittest.TestCase): """ RequestBodyPostNotRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -43,7 +43,7 @@ def test_allowed_passes(self): ) body = post.request_body._not._Not.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -55,7 +55,7 @@ def test_allowed_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postNotRequestBody', + self.configuration_.host + '/requestBody/postNotRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -74,7 +74,7 @@ def test_disallowed_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body._not._Not.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_nul_characters_in_strings_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_nul_characters_in_strings_request_body/test_post.py index e5a5c4ccdbe..7d7e3e48ec7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_nul_characters_in_strings_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_nul_characters_in_strings_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostNulCharactersInStringsRequestBody(ApiTestMixin, unittes """ RequestBodyPostNulCharactersInStringsRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -43,7 +43,7 @@ def test_match_string_with_nul_passes(self): ) body = post.request_body.nul_characters_in_strings.NulCharactersInStrings.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -55,7 +55,7 @@ def test_match_string_with_nul_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postNulCharactersInStringsRequestBody', + self.configuration_.host + '/requestBody/postNulCharactersInStringsRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -74,7 +74,7 @@ def test_do_not_match_string_lacking_nul_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.nul_characters_in_strings.NulCharactersInStrings.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_null_type_matches_only_the_null_object_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_null_type_matches_only_the_null_object_request_body/test_post.py index 48b0d2f1d39..617aa73a7d5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_null_type_matches_only_the_null_object_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_null_type_matches_only_the_null_object_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostNullTypeMatchesOnlyTheNullObjectRequestBody(ApiTestMixi """ RequestBodyPostNullTypeMatchesOnlyTheNullObjectRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -44,7 +44,7 @@ def test_a_float_is_not_null_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -59,7 +59,7 @@ def test_an_object_is_not_null_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -73,7 +73,7 @@ def test_false_is_not_null_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -87,7 +87,7 @@ def test_an_integer_is_not_null_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -101,7 +101,7 @@ def test_true_is_not_null_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -115,7 +115,7 @@ def test_zero_is_not_null_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -129,7 +129,7 @@ def test_an_empty_string_is_not_null_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -142,7 +142,7 @@ def test_null_is_null_passes(self): ) body = post.request_body.null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -154,7 +154,7 @@ def test_null_is_null_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postNullTypeMatchesOnlyTheNullObjectRequestBody', + self.configuration_.host + '/requestBody/postNullTypeMatchesOnlyTheNullObjectRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -174,7 +174,7 @@ def test_an_array_is_not_null_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -188,7 +188,7 @@ def test_a_string_is_not_null_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_number_type_matches_numbers_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_number_type_matches_numbers_request_body/test_post.py index 3369873f2cf..a9cda325cad 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_number_type_matches_numbers_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_number_type_matches_numbers_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostNumberTypeMatchesNumbersRequestBody(ApiTestMixin, unitt """ RequestBodyPostNumberTypeMatchesNumbersRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -45,7 +45,7 @@ def test_an_array_is_not_a_number_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.number_type_matches_numbers.NumberTypeMatchesNumbers.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -59,7 +59,7 @@ def test_null_is_not_a_number_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.number_type_matches_numbers.NumberTypeMatchesNumbers.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -74,7 +74,7 @@ def test_an_object_is_not_a_number_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.number_type_matches_numbers.NumberTypeMatchesNumbers.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -88,7 +88,7 @@ def test_a_boolean_is_not_a_number_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.number_type_matches_numbers.NumberTypeMatchesNumbers.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -101,7 +101,7 @@ def test_a_float_is_a_number_passes(self): ) body = post.request_body.number_type_matches_numbers.NumberTypeMatchesNumbers.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -113,7 +113,7 @@ def test_a_float_is_a_number_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postNumberTypeMatchesNumbersRequestBody', + self.configuration_.host + '/requestBody/postNumberTypeMatchesNumbersRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -132,7 +132,7 @@ def test_a_string_is_still_not_a_number_even_if_it_looks_like_one_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.number_type_matches_numbers.NumberTypeMatchesNumbers.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -146,7 +146,7 @@ def test_a_string_is_not_a_number_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.number_type_matches_numbers.NumberTypeMatchesNumbers.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -159,7 +159,7 @@ def test_an_integer_is_a_number_passes(self): ) body = post.request_body.number_type_matches_numbers.NumberTypeMatchesNumbers.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -171,7 +171,7 @@ def test_an_integer_is_a_number_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postNumberTypeMatchesNumbersRequestBody', + self.configuration_.host + '/requestBody/postNumberTypeMatchesNumbersRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -189,7 +189,7 @@ def test_a_float_with_zero_fractional_part_is_a_number_and_an_integer_passes(sel ) body = post.request_body.number_type_matches_numbers.NumberTypeMatchesNumbers.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -201,7 +201,7 @@ def test_a_float_with_zero_fractional_part_is_a_number_and_an_integer_passes(sel ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postNumberTypeMatchesNumbersRequestBody', + self.configuration_.host + '/requestBody/postNumberTypeMatchesNumbersRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_object_properties_validation_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_object_properties_validation_request_body/test_post.py index dd1b2259cb1..d4a5ccb0de4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_object_properties_validation_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_object_properties_validation_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostObjectPropertiesValidationRequestBody(ApiTestMixin, uni """ RequestBodyPostObjectPropertiesValidationRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -44,7 +44,7 @@ def test_ignores_arrays_passes(self): ) body = post.request_body.object_properties_validation.ObjectPropertiesValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -56,7 +56,7 @@ def test_ignores_arrays_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postObjectPropertiesValidationRequestBody', + self.configuration_.host + '/requestBody/postObjectPropertiesValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -74,7 +74,7 @@ def test_ignores_other_non_objects_passes(self): ) body = post.request_body.object_properties_validation.ObjectPropertiesValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -86,7 +86,7 @@ def test_ignores_other_non_objects_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postObjectPropertiesValidationRequestBody', + self.configuration_.host + '/requestBody/postObjectPropertiesValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -111,7 +111,7 @@ def test_one_property_invalid_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.object_properties_validation.ObjectPropertiesValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -129,7 +129,7 @@ def test_both_properties_present_and_valid_is_valid_passes(self): ) body = post.request_body.object_properties_validation.ObjectPropertiesValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -141,7 +141,7 @@ def test_both_properties_present_and_valid_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postObjectPropertiesValidationRequestBody', + self.configuration_.host + '/requestBody/postObjectPropertiesValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -163,7 +163,7 @@ def test_doesn_t_invalidate_other_properties_passes(self): ) body = post.request_body.object_properties_validation.ObjectPropertiesValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -175,7 +175,7 @@ def test_doesn_t_invalidate_other_properties_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postObjectPropertiesValidationRequestBody', + self.configuration_.host + '/requestBody/postObjectPropertiesValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -201,7 +201,7 @@ def test_both_properties_invalid_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.object_properties_validation.ObjectPropertiesValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_object_type_matches_objects_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_object_type_matches_objects_request_body/test_post.py index bef4cdf7e7c..3b95c8a8186 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_object_type_matches_objects_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_object_type_matches_objects_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostObjectTypeMatchesObjectsRequestBody(ApiTestMixin, unitt """ RequestBodyPostObjectTypeMatchesObjectsRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -44,7 +44,7 @@ def test_a_float_is_not_an_object_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.object_type_matches_objects.ObjectTypeMatchesObjects.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -58,7 +58,7 @@ def test_null_is_not_an_object_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.object_type_matches_objects.ObjectTypeMatchesObjects.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -73,7 +73,7 @@ def test_an_array_is_not_an_object_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.object_type_matches_objects.ObjectTypeMatchesObjects.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -87,7 +87,7 @@ def test_an_object_is_an_object_passes(self): ) body = post.request_body.object_type_matches_objects.ObjectTypeMatchesObjects.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -99,7 +99,7 @@ def test_an_object_is_an_object_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postObjectTypeMatchesObjectsRequestBody', + self.configuration_.host + '/requestBody/postObjectTypeMatchesObjectsRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -118,7 +118,7 @@ def test_a_string_is_not_an_object_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.object_type_matches_objects.ObjectTypeMatchesObjects.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -132,7 +132,7 @@ def test_an_integer_is_not_an_object_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.object_type_matches_objects.ObjectTypeMatchesObjects.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -146,7 +146,7 @@ def test_a_boolean_is_not_an_object_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.object_type_matches_objects.ObjectTypeMatchesObjects.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_oneof_complex_types_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_oneof_complex_types_request_body/test_post.py index a569314ef8e..100cd34a90f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_oneof_complex_types_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_oneof_complex_types_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostOneofComplexTypesRequestBody(ApiTestMixin, unittest.Tes """ RequestBodyPostOneofComplexTypesRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -46,7 +46,7 @@ def test_first_oneof_valid_complex_passes(self): ) body = post.request_body.oneof_complex_types.OneofComplexTypes.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -58,7 +58,7 @@ def test_first_oneof_valid_complex_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postOneofComplexTypesRequestBody', + self.configuration_.host + '/requestBody/postOneofComplexTypesRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -82,7 +82,7 @@ def test_neither_oneof_valid_complex_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.oneof_complex_types.OneofComplexTypes.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -101,7 +101,7 @@ def test_both_oneof_valid_complex_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.oneof_complex_types.OneofComplexTypes.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -117,7 +117,7 @@ def test_second_oneof_valid_complex_passes(self): ) body = post.request_body.oneof_complex_types.OneofComplexTypes.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -129,7 +129,7 @@ def test_second_oneof_valid_complex_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postOneofComplexTypesRequestBody', + self.configuration_.host + '/requestBody/postOneofComplexTypesRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_oneof_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_oneof_request_body/test_post.py index 91f733997d8..a9ecefd9ed3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_oneof_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_oneof_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostOneofRequestBody(ApiTestMixin, unittest.TestCase): """ RequestBodyPostOneofRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -43,7 +43,7 @@ def test_second_oneof_valid_passes(self): ) body = post.request_body.oneof.Oneof.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -55,7 +55,7 @@ def test_second_oneof_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postOneofRequestBody', + self.configuration_.host + '/requestBody/postOneofRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -74,7 +74,7 @@ def test_both_oneof_valid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.oneof.Oneof.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -87,7 +87,7 @@ def test_first_oneof_valid_passes(self): ) body = post.request_body.oneof.Oneof.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -99,7 +99,7 @@ def test_first_oneof_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postOneofRequestBody', + self.configuration_.host + '/requestBody/postOneofRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -118,7 +118,7 @@ def test_neither_oneof_valid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.oneof.Oneof.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_oneof_with_base_schema_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_oneof_with_base_schema_request_body/test_post.py index 74f674a8d21..a2e7374e8a9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_oneof_with_base_schema_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_oneof_with_base_schema_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostOneofWithBaseSchemaRequestBody(ApiTestMixin, unittest.T """ RequestBodyPostOneofWithBaseSchemaRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -44,7 +44,7 @@ def test_both_oneof_valid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.oneof_with_base_schema.OneofWithBaseSchema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -58,7 +58,7 @@ def test_mismatch_base_schema_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.oneof_with_base_schema.OneofWithBaseSchema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -71,7 +71,7 @@ def test_one_oneof_valid_passes(self): ) body = post.request_body.oneof_with_base_schema.OneofWithBaseSchema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -83,7 +83,7 @@ def test_one_oneof_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postOneofWithBaseSchemaRequestBody', + self.configuration_.host + '/requestBody/postOneofWithBaseSchemaRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_oneof_with_empty_schema_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_oneof_with_empty_schema_request_body/test_post.py index a17f152d7ed..646021f1096 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_oneof_with_empty_schema_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_oneof_with_empty_schema_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostOneofWithEmptySchemaRequestBody(ApiTestMixin, unittest. """ RequestBodyPostOneofWithEmptySchemaRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -44,7 +44,7 @@ def test_both_valid_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.oneof_with_empty_schema.OneofWithEmptySchema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -57,7 +57,7 @@ def test_one_valid_valid_passes(self): ) body = post.request_body.oneof_with_empty_schema.OneofWithEmptySchema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -69,7 +69,7 @@ def test_one_valid_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postOneofWithEmptySchemaRequestBody', + self.configuration_.host + '/requestBody/postOneofWithEmptySchemaRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_oneof_with_required_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_oneof_with_required_request_body/test_post.py index a7b2bfbad09..cd80cd71b43 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_oneof_with_required_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_oneof_with_required_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostOneofWithRequiredRequestBody(ApiTestMixin, unittest.Tes """ RequestBodyPostOneofWithRequiredRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -51,7 +51,7 @@ def test_both_valid_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.oneof_with_required.OneofWithRequired.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -68,7 +68,7 @@ def test_both_invalid_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.oneof_with_required.OneofWithRequired.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -86,7 +86,7 @@ def test_first_valid_valid_passes(self): ) body = post.request_body.oneof_with_required.OneofWithRequired.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -98,7 +98,7 @@ def test_first_valid_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postOneofWithRequiredRequestBody', + self.configuration_.host + '/requestBody/postOneofWithRequiredRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -121,7 +121,7 @@ def test_second_valid_valid_passes(self): ) body = post.request_body.oneof_with_required.OneofWithRequired.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -133,7 +133,7 @@ def test_second_valid_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postOneofWithRequiredRequestBody', + self.configuration_.host + '/requestBody/postOneofWithRequiredRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_pattern_is_not_anchored_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_pattern_is_not_anchored_request_body/test_post.py index 7c3bedf2cb6..724849bdddd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_pattern_is_not_anchored_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_pattern_is_not_anchored_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostPatternIsNotAnchoredRequestBody(ApiTestMixin, unittest. """ RequestBodyPostPatternIsNotAnchoredRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -43,7 +43,7 @@ def test_matches_a_substring_passes(self): ) body = post.request_body.pattern_is_not_anchored.PatternIsNotAnchored.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -55,7 +55,7 @@ def test_matches_a_substring_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postPatternIsNotAnchoredRequestBody', + self.configuration_.host + '/requestBody/postPatternIsNotAnchoredRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_pattern_validation_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_pattern_validation_request_body/test_post.py index 749e4890c69..fb4d0b6d34c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_pattern_validation_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_pattern_validation_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostPatternValidationRequestBody(ApiTestMixin, unittest.Tes """ RequestBodyPostPatternValidationRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -44,7 +44,7 @@ def test_ignores_arrays_passes(self): ) body = post.request_body.pattern_validation.PatternValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -56,7 +56,7 @@ def test_ignores_arrays_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postPatternValidationRequestBody', + self.configuration_.host + '/requestBody/postPatternValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -75,7 +75,7 @@ def test_ignores_objects_passes(self): ) body = post.request_body.pattern_validation.PatternValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -87,7 +87,7 @@ def test_ignores_objects_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postPatternValidationRequestBody', + self.configuration_.host + '/requestBody/postPatternValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -105,7 +105,7 @@ def test_ignores_null_passes(self): ) body = post.request_body.pattern_validation.PatternValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -117,7 +117,7 @@ def test_ignores_null_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postPatternValidationRequestBody', + self.configuration_.host + '/requestBody/postPatternValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -135,7 +135,7 @@ def test_ignores_floats_passes(self): ) body = post.request_body.pattern_validation.PatternValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -147,7 +147,7 @@ def test_ignores_floats_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postPatternValidationRequestBody', + self.configuration_.host + '/requestBody/postPatternValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -166,7 +166,7 @@ def test_a_non_matching_pattern_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.pattern_validation.PatternValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -179,7 +179,7 @@ def test_ignores_booleans_passes(self): ) body = post.request_body.pattern_validation.PatternValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -191,7 +191,7 @@ def test_ignores_booleans_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postPatternValidationRequestBody', + self.configuration_.host + '/requestBody/postPatternValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -209,7 +209,7 @@ def test_a_matching_pattern_is_valid_passes(self): ) body = post.request_body.pattern_validation.PatternValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -221,7 +221,7 @@ def test_a_matching_pattern_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postPatternValidationRequestBody', + self.configuration_.host + '/requestBody/postPatternValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -239,7 +239,7 @@ def test_ignores_integers_passes(self): ) body = post.request_body.pattern_validation.PatternValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -251,7 +251,7 @@ def test_ignores_integers_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postPatternValidationRequestBody', + self.configuration_.host + '/requestBody/postPatternValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_properties_with_escaped_characters_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_properties_with_escaped_characters_request_body/test_post.py index 9ffbb342c28..7fe63e66509 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_properties_with_escaped_characters_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_properties_with_escaped_characters_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostPropertiesWithEscapedCharactersRequestBody(ApiTestMixin """ RequestBodyPostPropertiesWithEscapedCharactersRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -56,7 +56,7 @@ def test_object_with_all_numbers_is_valid_passes(self): ) body = post.request_body.properties_with_escaped_characters.PropertiesWithEscapedCharacters.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -68,7 +68,7 @@ def test_object_with_all_numbers_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postPropertiesWithEscapedCharactersRequestBody', + self.configuration_.host + '/requestBody/postPropertiesWithEscapedCharactersRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -100,7 +100,7 @@ def test_object_with_strings_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.properties_with_escaped_characters.PropertiesWithEscapedCharacters.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_property_named_ref_that_is_not_a_reference_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_property_named_ref_that_is_not_a_reference_request_body/test_post.py index ae4687bd3ae..f9a644790ff 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_property_named_ref_that_is_not_a_reference_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_property_named_ref_that_is_not_a_reference_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostPropertyNamedRefThatIsNotAReferenceRequestBody(ApiTestM """ RequestBodyPostPropertyNamedRefThatIsNotAReferenceRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -46,7 +46,7 @@ def test_property_named_ref_valid_passes(self): ) body = post.request_body.property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -58,7 +58,7 @@ def test_property_named_ref_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postPropertyNamedRefThatIsNotAReferenceRequestBody', + self.configuration_.host + '/requestBody/postPropertyNamedRefThatIsNotAReferenceRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -80,7 +80,7 @@ def test_property_named_ref_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_additionalproperties_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_additionalproperties_request_body/test_post.py index 2b064c54fd5..af2ab0df1fc 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_additionalproperties_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_additionalproperties_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostRefInAdditionalpropertiesRequestBody(ApiTestMixin, unit """ RequestBodyPostRefInAdditionalpropertiesRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -49,7 +49,7 @@ def test_property_named_ref_valid_passes(self): ) body = post.request_body.ref_in_additionalproperties.RefInAdditionalproperties.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -61,7 +61,7 @@ def test_property_named_ref_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postRefInAdditionalpropertiesRequestBody', + self.configuration_.host + '/requestBody/postRefInAdditionalpropertiesRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -86,7 +86,7 @@ def test_property_named_ref_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.ref_in_additionalproperties.RefInAdditionalproperties.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_allof_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_allof_request_body/test_post.py index 44ae15a4fff..1d1d60be7f6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_allof_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_allof_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostRefInAllofRequestBody(ApiTestMixin, unittest.TestCase): """ RequestBodyPostRefInAllofRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -46,7 +46,7 @@ def test_property_named_ref_valid_passes(self): ) body = post.request_body.ref_in_allof.RefInAllof.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -58,7 +58,7 @@ def test_property_named_ref_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postRefInAllofRequestBody', + self.configuration_.host + '/requestBody/postRefInAllofRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -80,7 +80,7 @@ def test_property_named_ref_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.ref_in_allof.RefInAllof.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_anyof_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_anyof_request_body/test_post.py index 867fd43e634..28f39792e0f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_anyof_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_anyof_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostRefInAnyofRequestBody(ApiTestMixin, unittest.TestCase): """ RequestBodyPostRefInAnyofRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -46,7 +46,7 @@ def test_property_named_ref_valid_passes(self): ) body = post.request_body.ref_in_anyof.RefInAnyof.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -58,7 +58,7 @@ def test_property_named_ref_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postRefInAnyofRequestBody', + self.configuration_.host + '/requestBody/postRefInAnyofRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -80,7 +80,7 @@ def test_property_named_ref_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.ref_in_anyof.RefInAnyof.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_items_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_items_request_body/test_post.py index f5b8df6f96e..030e729c898 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_items_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_items_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostRefInItemsRequestBody(ApiTestMixin, unittest.TestCase): """ RequestBodyPostRefInItemsRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -48,7 +48,7 @@ def test_property_named_ref_valid_passes(self): ) body = post.request_body.ref_in_items.RefInItems.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -60,7 +60,7 @@ def test_property_named_ref_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postRefInItemsRequestBody', + self.configuration_.host + '/requestBody/postRefInItemsRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -84,7 +84,7 @@ def test_property_named_ref_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.ref_in_items.RefInItems.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_not_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_not_request_body/test_post.py index 5602cbaa9af..fd329d6fffb 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_not_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_not_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostRefInNotRequestBody(ApiTestMixin, unittest.TestCase): """ RequestBodyPostRefInNotRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -46,7 +46,7 @@ def test_property_named_ref_valid_passes(self): ) body = post.request_body.ref_in_not.RefInNot.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -58,7 +58,7 @@ def test_property_named_ref_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postRefInNotRequestBody', + self.configuration_.host + '/requestBody/postRefInNotRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -80,7 +80,7 @@ def test_property_named_ref_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.ref_in_not.RefInNot.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_oneof_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_oneof_request_body/test_post.py index ba7338c7a17..b8798b9c6d6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_oneof_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_oneof_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostRefInOneofRequestBody(ApiTestMixin, unittest.TestCase): """ RequestBodyPostRefInOneofRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -46,7 +46,7 @@ def test_property_named_ref_valid_passes(self): ) body = post.request_body.ref_in_oneof.RefInOneof.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -58,7 +58,7 @@ def test_property_named_ref_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postRefInOneofRequestBody', + self.configuration_.host + '/requestBody/postRefInOneofRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -80,7 +80,7 @@ def test_property_named_ref_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.ref_in_oneof.RefInOneof.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_property_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_property_request_body/test_post.py index 88f0b8e3d40..a36eaac5184 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_property_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_ref_in_property_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostRefInPropertyRequestBody(ApiTestMixin, unittest.TestCas """ RequestBodyPostRefInPropertyRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -49,7 +49,7 @@ def test_property_named_ref_valid_passes(self): ) body = post.request_body.ref_in_property.RefInProperty.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -61,7 +61,7 @@ def test_property_named_ref_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postRefInPropertyRequestBody', + self.configuration_.host + '/requestBody/postRefInPropertyRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -86,7 +86,7 @@ def test_property_named_ref_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.ref_in_property.RefInProperty.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_required_default_validation_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_required_default_validation_request_body/test_post.py index 0a7be2ec69f..83db6885eb9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_required_default_validation_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_required_default_validation_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostRequiredDefaultValidationRequestBody(ApiTestMixin, unit """ RequestBodyPostRequiredDefaultValidationRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -44,7 +44,7 @@ def test_not_required_by_default_passes(self): ) body = post.request_body.required_default_validation.RequiredDefaultValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -56,7 +56,7 @@ def test_not_required_by_default_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postRequiredDefaultValidationRequestBody', + self.configuration_.host + '/requestBody/postRequiredDefaultValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_required_validation_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_required_validation_request_body/test_post.py index 8716ed1031a..8f293b5fe0e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_required_validation_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_required_validation_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostRequiredValidationRequestBody(ApiTestMixin, unittest.Te """ RequestBodyPostRequiredValidationRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -44,7 +44,7 @@ def test_ignores_arrays_passes(self): ) body = post.request_body.required_validation.RequiredValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -56,7 +56,7 @@ def test_ignores_arrays_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postRequiredValidationRequestBody', + self.configuration_.host + '/requestBody/postRequiredValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -77,7 +77,7 @@ def test_present_required_property_is_valid_passes(self): ) body = post.request_body.required_validation.RequiredValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -89,7 +89,7 @@ def test_present_required_property_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postRequiredValidationRequestBody', + self.configuration_.host + '/requestBody/postRequiredValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -107,7 +107,7 @@ def test_ignores_other_non_objects_passes(self): ) body = post.request_body.required_validation.RequiredValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -119,7 +119,7 @@ def test_ignores_other_non_objects_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postRequiredValidationRequestBody', + self.configuration_.host + '/requestBody/postRequiredValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -137,7 +137,7 @@ def test_ignores_strings_passes(self): ) body = post.request_body.required_validation.RequiredValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -149,7 +149,7 @@ def test_ignores_strings_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postRequiredValidationRequestBody', + self.configuration_.host + '/requestBody/postRequiredValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -171,7 +171,7 @@ def test_non_present_required_property_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.required_validation.RequiredValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_required_with_empty_array_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_required_with_empty_array_request_body/test_post.py index 0bf7c44999d..3f3b6d57918 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_required_with_empty_array_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_required_with_empty_array_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostRequiredWithEmptyArrayRequestBody(ApiTestMixin, unittes """ RequestBodyPostRequiredWithEmptyArrayRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -44,7 +44,7 @@ def test_property_not_required_passes(self): ) body = post.request_body.required_with_empty_array.RequiredWithEmptyArray.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -56,7 +56,7 @@ def test_property_not_required_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postRequiredWithEmptyArrayRequestBody', + self.configuration_.host + '/requestBody/postRequiredWithEmptyArrayRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_required_with_escaped_characters_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_required_with_escaped_characters_request_body/test_post.py index d435b05d7eb..72668e22e21 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_required_with_escaped_characters_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_required_with_escaped_characters_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostRequiredWithEscapedCharactersRequestBody(ApiTestMixin, """ RequestBodyPostRequiredWithEscapedCharactersRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -49,7 +49,7 @@ def test_object_with_some_properties_missing_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.required_with_escaped_characters.RequiredWithEscapedCharacters.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -75,7 +75,7 @@ def test_object_with_all_properties_present_is_valid_passes(self): ) body = post.request_body.required_with_escaped_characters.RequiredWithEscapedCharacters.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -87,7 +87,7 @@ def test_object_with_all_properties_present_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postRequiredWithEscapedCharactersRequestBody', + self.configuration_.host + '/requestBody/postRequiredWithEscapedCharactersRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_simple_enum_validation_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_simple_enum_validation_request_body/test_post.py index 2f10c0d4160..c896c8865a3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_simple_enum_validation_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_simple_enum_validation_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostSimpleEnumValidationRequestBody(ApiTestMixin, unittest. """ RequestBodyPostSimpleEnumValidationRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -44,7 +44,7 @@ def test_something_else_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.simple_enum_validation.SimpleEnumValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -57,7 +57,7 @@ def test_one_of_the_enum_is_valid_passes(self): ) body = post.request_body.simple_enum_validation.SimpleEnumValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -69,7 +69,7 @@ def test_one_of_the_enum_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postSimpleEnumValidationRequestBody', + self.configuration_.host + '/requestBody/postSimpleEnumValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_string_type_matches_strings_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_string_type_matches_strings_request_body/test_post.py index 3b40b1cf275..438cd130f6f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_string_type_matches_strings_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_string_type_matches_strings_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostStringTypeMatchesStringsRequestBody(ApiTestMixin, unitt """ RequestBodyPostStringTypeMatchesStringsRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -44,7 +44,7 @@ def test_1_is_not_a_string_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.string_type_matches_strings.StringTypeMatchesStrings.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -57,7 +57,7 @@ def test_a_string_is_still_a_string_even_if_it_looks_like_a_number_passes(self): ) body = post.request_body.string_type_matches_strings.StringTypeMatchesStrings.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -69,7 +69,7 @@ def test_a_string_is_still_a_string_even_if_it_looks_like_a_number_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postStringTypeMatchesStringsRequestBody', + self.configuration_.host + '/requestBody/postStringTypeMatchesStringsRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -87,7 +87,7 @@ def test_an_empty_string_is_still_a_string_passes(self): ) body = post.request_body.string_type_matches_strings.StringTypeMatchesStrings.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -99,7 +99,7 @@ def test_an_empty_string_is_still_a_string_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postStringTypeMatchesStringsRequestBody', + self.configuration_.host + '/requestBody/postStringTypeMatchesStringsRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -118,7 +118,7 @@ def test_a_float_is_not_a_string_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.string_type_matches_strings.StringTypeMatchesStrings.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -133,7 +133,7 @@ def test_an_object_is_not_a_string_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.string_type_matches_strings.StringTypeMatchesStrings.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -148,7 +148,7 @@ def test_an_array_is_not_a_string_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.string_type_matches_strings.StringTypeMatchesStrings.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -162,7 +162,7 @@ def test_a_boolean_is_not_a_string_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.string_type_matches_strings.StringTypeMatchesStrings.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -176,7 +176,7 @@ def test_null_is_not_a_string_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.string_type_matches_strings.StringTypeMatchesStrings.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -189,7 +189,7 @@ def test_a_string_is_a_string_passes(self): ) body = post.request_body.string_type_matches_strings.StringTypeMatchesStrings.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -201,7 +201,7 @@ def test_a_string_is_a_string_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postStringTypeMatchesStringsRequestBody', + self.configuration_.host + '/requestBody/postStringTypeMatchesStringsRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/test_post.py index 85dd3adbef0..d4767c4842c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostTheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissin """ RequestBodyPostTheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissingRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -44,7 +44,7 @@ def test_missing_properties_are_not_filled_in_with_the_default_passes(self): ) body = post.request_body.the_default_keyword_does_not_do_anything_if_the_property_is_missing.TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -56,7 +56,7 @@ def test_missing_properties_are_not_filled_in_with_the_default_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postTheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissingRequestBody', + self.configuration_.host + '/requestBody/postTheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissingRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -77,7 +77,7 @@ def test_an_explicit_property_value_is_checked_against_maximum_passing_passes(se ) body = post.request_body.the_default_keyword_does_not_do_anything_if_the_property_is_missing.TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -89,7 +89,7 @@ def test_an_explicit_property_value_is_checked_against_maximum_passing_passes(se ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postTheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissingRequestBody', + self.configuration_.host + '/requestBody/postTheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissingRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -111,7 +111,7 @@ def test_an_explicit_property_value_is_checked_against_maximum_failing_fails(sel with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.the_default_keyword_does_not_do_anything_if_the_property_is_missing.TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_uniqueitems_false_validation_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_uniqueitems_false_validation_request_body/test_post.py index 373de83fc9c..494945fa36f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_uniqueitems_false_validation_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_uniqueitems_false_validation_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostUniqueitemsFalseValidationRequestBody(ApiTestMixin, uni """ RequestBodyPostUniqueitemsFalseValidationRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -46,7 +46,7 @@ def test_non_unique_array_of_integers_is_valid_passes(self): ) body = post.request_body.uniqueitems_false_validation.UniqueitemsFalseValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -58,7 +58,7 @@ def test_non_unique_array_of_integers_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postUniqueitemsFalseValidationRequestBody', + self.configuration_.host + '/requestBody/postUniqueitemsFalseValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -85,7 +85,7 @@ def test_unique_array_of_objects_is_valid_passes(self): ) body = post.request_body.uniqueitems_false_validation.UniqueitemsFalseValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -97,7 +97,7 @@ def test_unique_array_of_objects_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postUniqueitemsFalseValidationRequestBody', + self.configuration_.host + '/requestBody/postUniqueitemsFalseValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -136,7 +136,7 @@ def test_non_unique_array_of_nested_objects_is_valid_passes(self): ) body = post.request_body.uniqueitems_false_validation.UniqueitemsFalseValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -148,7 +148,7 @@ def test_non_unique_array_of_nested_objects_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postUniqueitemsFalseValidationRequestBody', + self.configuration_.host + '/requestBody/postUniqueitemsFalseValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -175,7 +175,7 @@ def test_non_unique_array_of_objects_is_valid_passes(self): ) body = post.request_body.uniqueitems_false_validation.UniqueitemsFalseValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -187,7 +187,7 @@ def test_non_unique_array_of_objects_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postUniqueitemsFalseValidationRequestBody', + self.configuration_.host + '/requestBody/postUniqueitemsFalseValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -208,7 +208,7 @@ def test_1_and_true_are_unique_passes(self): ) body = post.request_body.uniqueitems_false_validation.UniqueitemsFalseValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -220,7 +220,7 @@ def test_1_and_true_are_unique_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postUniqueitemsFalseValidationRequestBody', + self.configuration_.host + '/requestBody/postUniqueitemsFalseValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -241,7 +241,7 @@ def test_unique_array_of_integers_is_valid_passes(self): ) body = post.request_body.uniqueitems_false_validation.UniqueitemsFalseValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -253,7 +253,7 @@ def test_unique_array_of_integers_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postUniqueitemsFalseValidationRequestBody', + self.configuration_.host + '/requestBody/postUniqueitemsFalseValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -278,7 +278,7 @@ def test_non_unique_array_of_arrays_is_valid_passes(self): ) body = post.request_body.uniqueitems_false_validation.UniqueitemsFalseValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -290,7 +290,7 @@ def test_non_unique_array_of_arrays_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postUniqueitemsFalseValidationRequestBody', + self.configuration_.host + '/requestBody/postUniqueitemsFalseValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -312,7 +312,7 @@ def test_numbers_are_unique_if_mathematically_unequal_passes(self): ) body = post.request_body.uniqueitems_false_validation.UniqueitemsFalseValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -324,7 +324,7 @@ def test_numbers_are_unique_if_mathematically_unequal_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postUniqueitemsFalseValidationRequestBody', + self.configuration_.host + '/requestBody/postUniqueitemsFalseValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -345,7 +345,7 @@ def test_false_is_not_equal_to_zero_passes(self): ) body = post.request_body.uniqueitems_false_validation.UniqueitemsFalseValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -357,7 +357,7 @@ def test_false_is_not_equal_to_zero_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postUniqueitemsFalseValidationRequestBody', + self.configuration_.host + '/requestBody/postUniqueitemsFalseValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -396,7 +396,7 @@ def test_unique_array_of_nested_objects_is_valid_passes(self): ) body = post.request_body.uniqueitems_false_validation.UniqueitemsFalseValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -408,7 +408,7 @@ def test_unique_array_of_nested_objects_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postUniqueitemsFalseValidationRequestBody', + self.configuration_.host + '/requestBody/postUniqueitemsFalseValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -429,7 +429,7 @@ def test_0_and_false_are_unique_passes(self): ) body = post.request_body.uniqueitems_false_validation.UniqueitemsFalseValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -441,7 +441,7 @@ def test_0_and_false_are_unique_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postUniqueitemsFalseValidationRequestBody', + self.configuration_.host + '/requestBody/postUniqueitemsFalseValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -466,7 +466,7 @@ def test_unique_array_of_arrays_is_valid_passes(self): ) body = post.request_body.uniqueitems_false_validation.UniqueitemsFalseValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -478,7 +478,7 @@ def test_unique_array_of_arrays_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postUniqueitemsFalseValidationRequestBody', + self.configuration_.host + '/requestBody/postUniqueitemsFalseValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -499,7 +499,7 @@ def test_true_is_not_equal_to_one_passes(self): ) body = post.request_body.uniqueitems_false_validation.UniqueitemsFalseValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -511,7 +511,7 @@ def test_true_is_not_equal_to_one_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postUniqueitemsFalseValidationRequestBody', + self.configuration_.host + '/requestBody/postUniqueitemsFalseValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -540,7 +540,7 @@ def test_non_unique_heterogeneous_types_are_valid_passes(self): ) body = post.request_body.uniqueitems_false_validation.UniqueitemsFalseValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -552,7 +552,7 @@ def test_non_unique_heterogeneous_types_are_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postUniqueitemsFalseValidationRequestBody', + self.configuration_.host + '/requestBody/postUniqueitemsFalseValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -579,7 +579,7 @@ def test_unique_heterogeneous_types_are_valid_passes(self): ) body = post.request_body.uniqueitems_false_validation.UniqueitemsFalseValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -591,7 +591,7 @@ def test_unique_heterogeneous_types_are_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postUniqueitemsFalseValidationRequestBody', + self.configuration_.host + '/requestBody/postUniqueitemsFalseValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_uniqueitems_validation_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_uniqueitems_validation_request_body/test_post.py index 91d2aa917e8..2e25afdd1b3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_uniqueitems_validation_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_uniqueitems_validation_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostUniqueitemsValidationRequestBody(ApiTestMixin, unittest """ RequestBodyPostUniqueitemsValidationRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -52,7 +52,7 @@ def test_unique_array_of_objects_is_valid_passes(self): ) body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -64,7 +64,7 @@ def test_unique_array_of_objects_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postUniqueitemsValidationRequestBody', + self.configuration_.host + '/requestBody/postUniqueitemsValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -91,7 +91,7 @@ def test_a_true_and_a1_are_unique_passes(self): ) body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -103,7 +103,7 @@ def test_a_true_and_a1_are_unique_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postUniqueitemsValidationRequestBody', + self.configuration_.host + '/requestBody/postUniqueitemsValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -133,7 +133,7 @@ def test_non_unique_heterogeneous_types_are_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -159,7 +159,7 @@ def test_nested0_and_false_are_unique_passes(self): ) body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -171,7 +171,7 @@ def test_nested0_and_false_are_unique_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postUniqueitemsValidationRequestBody', + self.configuration_.host + '/requestBody/postUniqueitemsValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -198,7 +198,7 @@ def test_a_false_and_a0_are_unique_passes(self): ) body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -210,7 +210,7 @@ def test_a_false_and_a0_are_unique_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postUniqueitemsValidationRequestBody', + self.configuration_.host + '/requestBody/postUniqueitemsValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -233,7 +233,7 @@ def test_numbers_are_unique_if_mathematically_unequal_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -249,7 +249,7 @@ def test_false_is_not_equal_to_zero_passes(self): ) body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -261,7 +261,7 @@ def test_false_is_not_equal_to_zero_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postUniqueitemsValidationRequestBody', + self.configuration_.host + '/requestBody/postUniqueitemsValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -286,7 +286,7 @@ def test_0_and_false_are_unique_passes(self): ) body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -298,7 +298,7 @@ def test_0_and_false_are_unique_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postUniqueitemsValidationRequestBody', + self.configuration_.host + '/requestBody/postUniqueitemsValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -323,7 +323,7 @@ def test_unique_array_of_arrays_is_valid_passes(self): ) body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -335,7 +335,7 @@ def test_unique_array_of_arrays_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postUniqueitemsValidationRequestBody', + self.configuration_.host + '/requestBody/postUniqueitemsValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -375,7 +375,7 @@ def test_non_unique_array_of_nested_objects_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -393,7 +393,7 @@ def test_non_unique_array_of_more_than_two_integers_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -409,7 +409,7 @@ def test_true_is_not_equal_to_one_passes(self): ) body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -421,7 +421,7 @@ def test_true_is_not_equal_to_one_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postUniqueitemsValidationRequestBody', + self.configuration_.host + '/requestBody/postUniqueitemsValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -453,7 +453,7 @@ def test_objects_are_non_unique_despite_key_order_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -470,7 +470,7 @@ def test_unique_array_of_strings_is_valid_passes(self): ) body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -482,7 +482,7 @@ def test_unique_array_of_strings_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postUniqueitemsValidationRequestBody', + self.configuration_.host + '/requestBody/postUniqueitemsValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -507,7 +507,7 @@ def test_1_and_true_are_unique_passes(self): ) body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -519,7 +519,7 @@ def test_1_and_true_are_unique_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postUniqueitemsValidationRequestBody', + self.configuration_.host + '/requestBody/postUniqueitemsValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -550,7 +550,7 @@ def test_different_objects_are_unique_passes(self): ) body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -562,7 +562,7 @@ def test_different_objects_are_unique_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postUniqueitemsValidationRequestBody', + self.configuration_.host + '/requestBody/postUniqueitemsValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -583,7 +583,7 @@ def test_unique_array_of_integers_is_valid_passes(self): ) body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -595,7 +595,7 @@ def test_unique_array_of_integers_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postUniqueitemsValidationRequestBody', + self.configuration_.host + '/requestBody/postUniqueitemsValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -624,7 +624,7 @@ def test_non_unique_array_of_more_than_two_arrays_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -647,7 +647,7 @@ def test_non_unique_array_of_objects_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -681,7 +681,7 @@ def test_unique_array_of_nested_objects_is_valid_passes(self): ) body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -693,7 +693,7 @@ def test_unique_array_of_nested_objects_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postUniqueitemsValidationRequestBody', + self.configuration_.host + '/requestBody/postUniqueitemsValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -719,7 +719,7 @@ def test_non_unique_array_of_arrays_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -737,7 +737,7 @@ def test_non_unique_array_of_strings_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) @@ -763,7 +763,7 @@ def test_nested1_and_true_are_unique_passes(self): ) body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -775,7 +775,7 @@ def test_nested1_and_true_are_unique_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postUniqueitemsValidationRequestBody', + self.configuration_.host + '/requestBody/postUniqueitemsValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -803,7 +803,7 @@ def test_unique_heterogeneous_types_are_valid_passes(self): ) body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -815,7 +815,7 @@ def test_unique_heterogeneous_types_are_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postUniqueitemsValidationRequestBody', + self.configuration_.host + '/requestBody/postUniqueitemsValidationRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -837,7 +837,7 @@ def test_non_unique_array_of_integers_is_invalid_fails(self): with self.assertRaises((unit_test_api.ApiValueError, unit_test_api.ApiTypeError)): body = post.request_body.uniqueitems_validation.UniqueitemsValidation.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) self.api.post(body=body) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_uri_format_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_uri_format_request_body/test_post.py index 0ec987ab73b..c5d90c35e3a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_uri_format_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_uri_format_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostUriFormatRequestBody(ApiTestMixin, unittest.TestCase): """ RequestBodyPostUriFormatRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -44,7 +44,7 @@ def test_all_string_formats_ignore_objects_passes(self): ) body = post.request_body.uri_format.UriFormat.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -56,7 +56,7 @@ def test_all_string_formats_ignore_objects_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postUriFormatRequestBody', + self.configuration_.host + '/requestBody/postUriFormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -74,7 +74,7 @@ def test_all_string_formats_ignore_booleans_passes(self): ) body = post.request_body.uri_format.UriFormat.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -86,7 +86,7 @@ def test_all_string_formats_ignore_booleans_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postUriFormatRequestBody', + self.configuration_.host + '/requestBody/postUriFormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -104,7 +104,7 @@ def test_all_string_formats_ignore_integers_passes(self): ) body = post.request_body.uri_format.UriFormat.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -116,7 +116,7 @@ def test_all_string_formats_ignore_integers_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postUriFormatRequestBody', + self.configuration_.host + '/requestBody/postUriFormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -134,7 +134,7 @@ def test_all_string_formats_ignore_floats_passes(self): ) body = post.request_body.uri_format.UriFormat.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -146,7 +146,7 @@ def test_all_string_formats_ignore_floats_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postUriFormatRequestBody', + self.configuration_.host + '/requestBody/postUriFormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -165,7 +165,7 @@ def test_all_string_formats_ignore_arrays_passes(self): ) body = post.request_body.uri_format.UriFormat.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -177,7 +177,7 @@ def test_all_string_formats_ignore_arrays_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postUriFormatRequestBody', + self.configuration_.host + '/requestBody/postUriFormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -195,7 +195,7 @@ def test_all_string_formats_ignore_nulls_passes(self): ) body = post.request_body.uri_format.UriFormat.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -207,7 +207,7 @@ def test_all_string_formats_ignore_nulls_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postUriFormatRequestBody', + self.configuration_.host + '/requestBody/postUriFormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_uri_reference_format_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_uri_reference_format_request_body/test_post.py index aec61403b2a..cdca465a56d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_uri_reference_format_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_uri_reference_format_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostUriReferenceFormatRequestBody(ApiTestMixin, unittest.Te """ RequestBodyPostUriReferenceFormatRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -44,7 +44,7 @@ def test_all_string_formats_ignore_objects_passes(self): ) body = post.request_body.uri_reference_format.UriReferenceFormat.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -56,7 +56,7 @@ def test_all_string_formats_ignore_objects_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postUriReferenceFormatRequestBody', + self.configuration_.host + '/requestBody/postUriReferenceFormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -74,7 +74,7 @@ def test_all_string_formats_ignore_booleans_passes(self): ) body = post.request_body.uri_reference_format.UriReferenceFormat.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -86,7 +86,7 @@ def test_all_string_formats_ignore_booleans_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postUriReferenceFormatRequestBody', + self.configuration_.host + '/requestBody/postUriReferenceFormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -104,7 +104,7 @@ def test_all_string_formats_ignore_integers_passes(self): ) body = post.request_body.uri_reference_format.UriReferenceFormat.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -116,7 +116,7 @@ def test_all_string_formats_ignore_integers_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postUriReferenceFormatRequestBody', + self.configuration_.host + '/requestBody/postUriReferenceFormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -134,7 +134,7 @@ def test_all_string_formats_ignore_floats_passes(self): ) body = post.request_body.uri_reference_format.UriReferenceFormat.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -146,7 +146,7 @@ def test_all_string_formats_ignore_floats_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postUriReferenceFormatRequestBody', + self.configuration_.host + '/requestBody/postUriReferenceFormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -165,7 +165,7 @@ def test_all_string_formats_ignore_arrays_passes(self): ) body = post.request_body.uri_reference_format.UriReferenceFormat.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -177,7 +177,7 @@ def test_all_string_formats_ignore_arrays_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postUriReferenceFormatRequestBody', + self.configuration_.host + '/requestBody/postUriReferenceFormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -195,7 +195,7 @@ def test_all_string_formats_ignore_nulls_passes(self): ) body = post.request_body.uri_reference_format.UriReferenceFormat.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -207,7 +207,7 @@ def test_all_string_formats_ignore_nulls_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postUriReferenceFormatRequestBody', + self.configuration_.host + '/requestBody/postUriReferenceFormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_uri_template_format_request_body/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_uri_template_format_request_body/test_post.py index e3f60aefafd..deffa836745 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_uri_template_format_request_body/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_request_body_post_uri_template_format_request_body/test_post.py @@ -22,10 +22,10 @@ class TestRequestBodyPostUriTemplateFormatRequestBody(ApiTestMixin, unittest.Tes """ RequestBodyPostUriTemplateFormatRequestBody unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -44,7 +44,7 @@ def test_all_string_formats_ignore_objects_passes(self): ) body = post.request_body.uri_template_format.UriTemplateFormat.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -56,7 +56,7 @@ def test_all_string_formats_ignore_objects_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postUriTemplateFormatRequestBody', + self.configuration_.host + '/requestBody/postUriTemplateFormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -74,7 +74,7 @@ def test_all_string_formats_ignore_booleans_passes(self): ) body = post.request_body.uri_template_format.UriTemplateFormat.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -86,7 +86,7 @@ def test_all_string_formats_ignore_booleans_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postUriTemplateFormatRequestBody', + self.configuration_.host + '/requestBody/postUriTemplateFormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -104,7 +104,7 @@ def test_all_string_formats_ignore_integers_passes(self): ) body = post.request_body.uri_template_format.UriTemplateFormat.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -116,7 +116,7 @@ def test_all_string_formats_ignore_integers_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postUriTemplateFormatRequestBody', + self.configuration_.host + '/requestBody/postUriTemplateFormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -134,7 +134,7 @@ def test_all_string_formats_ignore_floats_passes(self): ) body = post.request_body.uri_template_format.UriTemplateFormat.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -146,7 +146,7 @@ def test_all_string_formats_ignore_floats_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postUriTemplateFormatRequestBody', + self.configuration_.host + '/requestBody/postUriTemplateFormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -165,7 +165,7 @@ def test_all_string_formats_ignore_arrays_passes(self): ) body = post.request_body.uri_template_format.UriTemplateFormat.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -177,7 +177,7 @@ def test_all_string_formats_ignore_arrays_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postUriTemplateFormatRequestBody', + self.configuration_.host + '/requestBody/postUriTemplateFormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, @@ -195,7 +195,7 @@ def test_all_string_formats_ignore_nulls_passes(self): ) body = post.request_body.uri_template_format.UriTemplateFormat.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) mock_request.return_value = self.response( self.json_bytes(self.response_body), @@ -207,7 +207,7 @@ def test_all_string_formats_ignore_nulls_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/requestBody/postUriTemplateFormatRequestBody', + self.configuration_.host + '/requestBody/postUriTemplateFormatRequestBody', method='post'.upper(), body=self.json_bytes(payload), content_type=content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/test_post.py index b388fe03049..b3bc1c6b416 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostAdditionalpropertiesAllowsASchemaWhichShouldValidateRe """ ResponseBodyPostAdditionalpropertiesAllowsASchemaWhichShouldValidateResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -54,7 +54,7 @@ def test_no_additional_properties_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postAdditionalpropertiesAllowsASchemaWhichShouldValidateResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postAdditionalpropertiesAllowsASchemaWhichShouldValidateResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -63,7 +63,7 @@ def test_no_additional_properties_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -92,7 +92,7 @@ def test_an_additional_invalid_property_is_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postAdditionalpropertiesAllowsASchemaWhichShouldValidateResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postAdditionalpropertiesAllowsASchemaWhichShouldValidateResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -122,7 +122,7 @@ def test_an_additional_valid_property_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postAdditionalpropertiesAllowsASchemaWhichShouldValidateResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postAdditionalpropertiesAllowsASchemaWhichShouldValidateResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -131,7 +131,7 @@ def test_an_additional_valid_property_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/test_post.py index aa999d396cb..8502d634380 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostAdditionalpropertiesAreAllowedByDefaultResponseBodyFor """ ResponseBodyPostAdditionalpropertiesAreAllowedByDefaultResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -58,7 +58,7 @@ def test_additional_properties_are_allowed_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postAdditionalpropertiesAreAllowedByDefaultResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postAdditionalpropertiesAreAllowedByDefaultResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -67,7 +67,7 @@ def test_additional_properties_are_allowed_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/test_post.py index 02316667669..5a33d9a7025 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostAdditionalpropertiesCanExistByItselfResponseBodyForCon """ ResponseBodyPostAdditionalpropertiesCanExistByItselfResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -55,7 +55,7 @@ def test_an_additional_invalid_property_is_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postAdditionalpropertiesCanExistByItselfResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postAdditionalpropertiesCanExistByItselfResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -81,7 +81,7 @@ def test_an_additional_valid_property_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postAdditionalpropertiesCanExistByItselfResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postAdditionalpropertiesCanExistByItselfResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -90,7 +90,7 @@ def test_an_additional_valid_property_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/test_post.py index b55195bd91c..e9b76d85e9c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostAdditionalpropertiesShouldNotLookInApplicatorsResponse """ ResponseBodyPostAdditionalpropertiesShouldNotLookInApplicatorsResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -57,7 +57,7 @@ def test_properties_defined_in_allof_are_not_examined_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postAdditionalpropertiesShouldNotLookInApplicatorsResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postAdditionalpropertiesShouldNotLookInApplicatorsResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -85,7 +85,7 @@ def test_valid_test_case_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postAdditionalpropertiesShouldNotLookInApplicatorsResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postAdditionalpropertiesShouldNotLookInApplicatorsResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -94,7 +94,7 @@ def test_valid_test_case_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/test_post.py index 4ee2cdd94c8..f64ffc881e8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostAllofCombinedWithAnyofOneofResponseBodyForContentTypes """ ResponseBodyPostAllofCombinedWithAnyofOneofResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -52,7 +52,7 @@ def test_allof_true_anyof_false_oneof_false_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postAllofCombinedWithAnyofOneofResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postAllofCombinedWithAnyofOneofResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -76,7 +76,7 @@ def test_allof_false_anyof_false_oneof_true_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postAllofCombinedWithAnyofOneofResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postAllofCombinedWithAnyofOneofResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -100,7 +100,7 @@ def test_allof_false_anyof_true_oneof_true_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postAllofCombinedWithAnyofOneofResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postAllofCombinedWithAnyofOneofResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -124,7 +124,7 @@ def test_allof_true_anyof_true_oneof_false_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postAllofCombinedWithAnyofOneofResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postAllofCombinedWithAnyofOneofResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -147,7 +147,7 @@ def test_allof_true_anyof_true_oneof_true_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postAllofCombinedWithAnyofOneofResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postAllofCombinedWithAnyofOneofResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -156,7 +156,7 @@ def test_allof_true_anyof_true_oneof_true_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -178,7 +178,7 @@ def test_allof_true_anyof_false_oneof_true_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postAllofCombinedWithAnyofOneofResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postAllofCombinedWithAnyofOneofResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -202,7 +202,7 @@ def test_allof_false_anyof_true_oneof_false_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postAllofCombinedWithAnyofOneofResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postAllofCombinedWithAnyofOneofResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -226,7 +226,7 @@ def test_allof_false_anyof_false_oneof_false_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postAllofCombinedWithAnyofOneofResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postAllofCombinedWithAnyofOneofResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_response_body_for_content_types/test_post.py index 73b5a0c5148..d7fdf945fcb 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostAllofResponseBodyForContentTypes(ApiTestMixin, unittes """ ResponseBodyPostAllofResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -56,7 +56,7 @@ def test_allof_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postAllofResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postAllofResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -65,7 +65,7 @@ def test_allof_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -90,7 +90,7 @@ def test_mismatch_first_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postAllofResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postAllofResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -117,7 +117,7 @@ def test_mismatch_second_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postAllofResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postAllofResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -146,7 +146,7 @@ def test_wrong_type_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postAllofResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postAllofResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_simple_types_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_simple_types_response_body_for_content_types/test_post.py index 6706c806a7d..de5ec917990 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_simple_types_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_simple_types_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostAllofSimpleTypesResponseBodyForContentTypes(ApiTestMix """ ResponseBodyPostAllofSimpleTypesResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -51,7 +51,7 @@ def test_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postAllofSimpleTypesResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postAllofSimpleTypesResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -60,7 +60,7 @@ def test_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -82,7 +82,7 @@ def test_mismatch_one_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postAllofSimpleTypesResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postAllofSimpleTypesResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_with_base_schema_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_with_base_schema_response_body_for_content_types/test_post.py index 33b3efa87da..e41ff9971da 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_with_base_schema_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_with_base_schema_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostAllofWithBaseSchemaResponseBodyForContentTypes(ApiTest """ ResponseBodyPostAllofWithBaseSchemaResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -58,7 +58,7 @@ def test_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postAllofWithBaseSchemaResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postAllofWithBaseSchemaResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -67,7 +67,7 @@ def test_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -94,7 +94,7 @@ def test_mismatch_first_allof_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postAllofWithBaseSchemaResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postAllofWithBaseSchemaResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -123,7 +123,7 @@ def test_mismatch_base_schema_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postAllofWithBaseSchemaResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postAllofWithBaseSchemaResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -150,7 +150,7 @@ def test_mismatch_both_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postAllofWithBaseSchemaResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postAllofWithBaseSchemaResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -179,7 +179,7 @@ def test_mismatch_second_allof_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postAllofWithBaseSchemaResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postAllofWithBaseSchemaResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_with_one_empty_schema_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_with_one_empty_schema_response_body_for_content_types/test_post.py index 396c1346867..9b16bdb712a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_with_one_empty_schema_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_with_one_empty_schema_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostAllofWithOneEmptySchemaResponseBodyForContentTypes(Api """ ResponseBodyPostAllofWithOneEmptySchemaResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -51,7 +51,7 @@ def test_any_data_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postAllofWithOneEmptySchemaResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postAllofWithOneEmptySchemaResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -60,7 +60,7 @@ def test_any_data_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/test_post.py index 99cb9a465d8..01242c3106e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostAllofWithTheFirstEmptySchemaResponseBodyForContentType """ ResponseBodyPostAllofWithTheFirstEmptySchemaResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -52,7 +52,7 @@ def test_string_is_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postAllofWithTheFirstEmptySchemaResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postAllofWithTheFirstEmptySchemaResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -75,7 +75,7 @@ def test_number_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postAllofWithTheFirstEmptySchemaResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postAllofWithTheFirstEmptySchemaResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -84,7 +84,7 @@ def test_number_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/test_post.py index 9ff3fd037f1..5d362a82d2f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostAllofWithTheLastEmptySchemaResponseBodyForContentTypes """ ResponseBodyPostAllofWithTheLastEmptySchemaResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -52,7 +52,7 @@ def test_string_is_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postAllofWithTheLastEmptySchemaResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postAllofWithTheLastEmptySchemaResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -75,7 +75,7 @@ def test_number_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postAllofWithTheLastEmptySchemaResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postAllofWithTheLastEmptySchemaResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -84,7 +84,7 @@ def test_number_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/test_post.py index 2c04fa31690..396c71de4b3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostAllofWithTwoEmptySchemasResponseBodyForContentTypes(Ap """ ResponseBodyPostAllofWithTwoEmptySchemasResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -51,7 +51,7 @@ def test_any_data_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postAllofWithTwoEmptySchemasResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postAllofWithTwoEmptySchemasResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -60,7 +60,7 @@ def test_any_data_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_anyof_complex_types_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_anyof_complex_types_response_body_for_content_types/test_post.py index 9e78acd7622..2ef6019985a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_anyof_complex_types_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_anyof_complex_types_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostAnyofComplexTypesResponseBodyForContentTypes(ApiTestMi """ ResponseBodyPostAnyofComplexTypesResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -54,7 +54,7 @@ def test_second_anyof_valid_complex_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postAnyofComplexTypesResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postAnyofComplexTypesResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -63,7 +63,7 @@ def test_second_anyof_valid_complex_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -90,7 +90,7 @@ def test_neither_anyof_valid_complex_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postAnyofComplexTypesResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postAnyofComplexTypesResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -118,7 +118,7 @@ def test_both_anyof_valid_complex_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postAnyofComplexTypesResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postAnyofComplexTypesResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -127,7 +127,7 @@ def test_both_anyof_valid_complex_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -151,7 +151,7 @@ def test_first_anyof_valid_complex_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postAnyofComplexTypesResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postAnyofComplexTypesResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -160,7 +160,7 @@ def test_first_anyof_valid_complex_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_anyof_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_anyof_response_body_for_content_types/test_post.py index b649dba9e22..37e31470b6b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_anyof_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_anyof_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostAnyofResponseBodyForContentTypes(ApiTestMixin, unittes """ ResponseBodyPostAnyofResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -51,7 +51,7 @@ def test_second_anyof_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postAnyofResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postAnyofResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -60,7 +60,7 @@ def test_second_anyof_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -82,7 +82,7 @@ def test_neither_anyof_valid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postAnyofResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postAnyofResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -105,7 +105,7 @@ def test_both_anyof_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postAnyofResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postAnyofResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -114,7 +114,7 @@ def test_both_anyof_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -135,7 +135,7 @@ def test_first_anyof_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postAnyofResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postAnyofResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -144,7 +144,7 @@ def test_first_anyof_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_anyof_with_base_schema_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_anyof_with_base_schema_response_body_for_content_types/test_post.py index 008f6c2982f..91f861c9cff 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_anyof_with_base_schema_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_anyof_with_base_schema_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostAnyofWithBaseSchemaResponseBodyForContentTypes(ApiTest """ ResponseBodyPostAnyofWithBaseSchemaResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -51,7 +51,7 @@ def test_one_anyof_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postAnyofWithBaseSchemaResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postAnyofWithBaseSchemaResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -60,7 +60,7 @@ def test_one_anyof_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -82,7 +82,7 @@ def test_both_anyof_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postAnyofWithBaseSchemaResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postAnyofWithBaseSchemaResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -106,7 +106,7 @@ def test_mismatch_base_schema_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postAnyofWithBaseSchemaResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postAnyofWithBaseSchemaResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/test_post.py index e18cf511589..8d0694311fc 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostAnyofWithOneEmptySchemaResponseBodyForContentTypes(Api """ ResponseBodyPostAnyofWithOneEmptySchemaResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -51,7 +51,7 @@ def test_string_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postAnyofWithOneEmptySchemaResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postAnyofWithOneEmptySchemaResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -60,7 +60,7 @@ def test_string_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -81,7 +81,7 @@ def test_number_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postAnyofWithOneEmptySchemaResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postAnyofWithOneEmptySchemaResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -90,7 +90,7 @@ def test_number_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_array_type_matches_arrays_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_array_type_matches_arrays_response_body_for_content_types/test_post.py index 2d2b294bed2..872041f41d4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_array_type_matches_arrays_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_array_type_matches_arrays_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostArrayTypeMatchesArraysResponseBodyForContentTypes(ApiT """ ResponseBodyPostArrayTypeMatchesArraysResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -52,7 +52,7 @@ def test_a_float_is_not_an_array_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postArrayTypeMatchesArraysResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postArrayTypeMatchesArraysResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -76,7 +76,7 @@ def test_a_boolean_is_not_an_array_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postArrayTypeMatchesArraysResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postArrayTypeMatchesArraysResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -100,7 +100,7 @@ def test_null_is_not_an_array_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postArrayTypeMatchesArraysResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postArrayTypeMatchesArraysResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -125,7 +125,7 @@ def test_an_object_is_not_an_array_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postArrayTypeMatchesArraysResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postArrayTypeMatchesArraysResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -149,7 +149,7 @@ def test_a_string_is_not_an_array_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postArrayTypeMatchesArraysResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postArrayTypeMatchesArraysResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -173,7 +173,7 @@ def test_an_array_is_an_array_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postArrayTypeMatchesArraysResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postArrayTypeMatchesArraysResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -182,7 +182,7 @@ def test_an_array_is_an_array_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -204,7 +204,7 @@ def test_an_integer_is_not_an_array_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postArrayTypeMatchesArraysResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postArrayTypeMatchesArraysResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_boolean_type_matches_booleans_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_boolean_type_matches_booleans_response_body_for_content_types/test_post.py index 1647fc92dc7..d23da690a61 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_boolean_type_matches_booleans_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_boolean_type_matches_booleans_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostBooleanTypeMatchesBooleansResponseBodyForContentTypes( """ ResponseBodyPostBooleanTypeMatchesBooleansResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -52,7 +52,7 @@ def test_an_empty_string_is_not_a_boolean_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postBooleanTypeMatchesBooleansResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postBooleanTypeMatchesBooleansResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -76,7 +76,7 @@ def test_a_float_is_not_a_boolean_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postBooleanTypeMatchesBooleansResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postBooleanTypeMatchesBooleansResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -100,7 +100,7 @@ def test_null_is_not_a_boolean_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postBooleanTypeMatchesBooleansResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postBooleanTypeMatchesBooleansResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -124,7 +124,7 @@ def test_zero_is_not_a_boolean_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postBooleanTypeMatchesBooleansResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postBooleanTypeMatchesBooleansResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -149,7 +149,7 @@ def test_an_array_is_not_a_boolean_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postBooleanTypeMatchesBooleansResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postBooleanTypeMatchesBooleansResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -173,7 +173,7 @@ def test_a_string_is_not_a_boolean_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postBooleanTypeMatchesBooleansResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postBooleanTypeMatchesBooleansResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -196,7 +196,7 @@ def test_false_is_a_boolean_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postBooleanTypeMatchesBooleansResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postBooleanTypeMatchesBooleansResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -205,7 +205,7 @@ def test_false_is_a_boolean_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -227,7 +227,7 @@ def test_an_integer_is_not_a_boolean_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postBooleanTypeMatchesBooleansResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postBooleanTypeMatchesBooleansResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -250,7 +250,7 @@ def test_true_is_a_boolean_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postBooleanTypeMatchesBooleansResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postBooleanTypeMatchesBooleansResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -259,7 +259,7 @@ def test_true_is_a_boolean_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -282,7 +282,7 @@ def test_an_object_is_not_a_boolean_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postBooleanTypeMatchesBooleansResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postBooleanTypeMatchesBooleansResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_by_int_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_by_int_response_body_for_content_types/test_post.py index 2e58ab32525..e5cb5d840a4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_by_int_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_by_int_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostByIntResponseBodyForContentTypes(ApiTestMixin, unittes """ ResponseBodyPostByIntResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -52,7 +52,7 @@ def test_int_by_int_fail_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postByIntResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postByIntResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -75,7 +75,7 @@ def test_int_by_int_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postByIntResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postByIntResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -84,7 +84,7 @@ def test_int_by_int_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -105,7 +105,7 @@ def test_ignores_non_numbers_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postByIntResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postByIntResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -114,7 +114,7 @@ def test_ignores_non_numbers_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_by_number_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_by_number_response_body_for_content_types/test_post.py index d24ed292a3b..f4e9dcd6789 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_by_number_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_by_number_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostByNumberResponseBodyForContentTypes(ApiTestMixin, unit """ ResponseBodyPostByNumberResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -51,7 +51,7 @@ def test_45_is_multiple_of15_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postByNumberResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postByNumberResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -60,7 +60,7 @@ def test_45_is_multiple_of15_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -82,7 +82,7 @@ def test_35_is_not_multiple_of15_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postByNumberResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postByNumberResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -105,7 +105,7 @@ def test_zero_is_multiple_of_anything_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postByNumberResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postByNumberResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -114,7 +114,7 @@ def test_zero_is_multiple_of_anything_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_by_small_number_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_by_small_number_response_body_for_content_types/test_post.py index 518069b1ac7..3ac66a6bbb9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_by_small_number_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_by_small_number_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostBySmallNumberResponseBodyForContentTypes(ApiTestMixin, """ ResponseBodyPostBySmallNumberResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -52,7 +52,7 @@ def test_000751_is_not_multiple_of00001_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postBySmallNumberResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postBySmallNumberResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -75,7 +75,7 @@ def test_00075_is_multiple_of00001_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postBySmallNumberResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postBySmallNumberResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -84,7 +84,7 @@ def test_00075_is_multiple_of00001_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_date_time_format_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_date_time_format_response_body_for_content_types/test_post.py index c765d11fa5c..e52512f7db8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_date_time_format_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_date_time_format_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostDateTimeFormatResponseBodyForContentTypes(ApiTestMixin """ ResponseBodyPostDateTimeFormatResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -52,7 +52,7 @@ def test_all_string_formats_ignore_objects_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postDateTimeFormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postDateTimeFormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -61,7 +61,7 @@ def test_all_string_formats_ignore_objects_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -82,7 +82,7 @@ def test_all_string_formats_ignore_booleans_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postDateTimeFormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postDateTimeFormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -91,7 +91,7 @@ def test_all_string_formats_ignore_booleans_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -112,7 +112,7 @@ def test_all_string_formats_ignore_integers_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postDateTimeFormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postDateTimeFormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -121,7 +121,7 @@ def test_all_string_formats_ignore_integers_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -142,7 +142,7 @@ def test_all_string_formats_ignore_floats_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postDateTimeFormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postDateTimeFormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -151,7 +151,7 @@ def test_all_string_formats_ignore_floats_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -173,7 +173,7 @@ def test_all_string_formats_ignore_arrays_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postDateTimeFormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postDateTimeFormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -182,7 +182,7 @@ def test_all_string_formats_ignore_arrays_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -203,7 +203,7 @@ def test_all_string_formats_ignore_nulls_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postDateTimeFormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postDateTimeFormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -212,7 +212,7 @@ def test_all_string_formats_ignore_nulls_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_email_format_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_email_format_response_body_for_content_types/test_post.py index 9597a0abe3b..d66c2c80120 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_email_format_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_email_format_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostEmailFormatResponseBodyForContentTypes(ApiTestMixin, u """ ResponseBodyPostEmailFormatResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -52,7 +52,7 @@ def test_all_string_formats_ignore_objects_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postEmailFormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postEmailFormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -61,7 +61,7 @@ def test_all_string_formats_ignore_objects_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -82,7 +82,7 @@ def test_all_string_formats_ignore_booleans_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postEmailFormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postEmailFormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -91,7 +91,7 @@ def test_all_string_formats_ignore_booleans_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -112,7 +112,7 @@ def test_all_string_formats_ignore_integers_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postEmailFormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postEmailFormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -121,7 +121,7 @@ def test_all_string_formats_ignore_integers_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -142,7 +142,7 @@ def test_all_string_formats_ignore_floats_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postEmailFormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postEmailFormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -151,7 +151,7 @@ def test_all_string_formats_ignore_floats_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -173,7 +173,7 @@ def test_all_string_formats_ignore_arrays_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postEmailFormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postEmailFormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -182,7 +182,7 @@ def test_all_string_formats_ignore_arrays_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -203,7 +203,7 @@ def test_all_string_formats_ignore_nulls_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postEmailFormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postEmailFormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -212,7 +212,7 @@ def test_all_string_formats_ignore_nulls_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/test_post.py index 409122b321b..6846f4e4808 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostEnumWith0DoesNotMatchFalseResponseBodyForContentTypes( """ ResponseBodyPostEnumWith0DoesNotMatchFalseResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -51,7 +51,7 @@ def test_integer_zero_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postEnumWith0DoesNotMatchFalseResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postEnumWith0DoesNotMatchFalseResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -60,7 +60,7 @@ def test_integer_zero_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -81,7 +81,7 @@ def test_float_zero_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postEnumWith0DoesNotMatchFalseResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postEnumWith0DoesNotMatchFalseResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -90,7 +90,7 @@ def test_float_zero_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -112,7 +112,7 @@ def test_false_is_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postEnumWith0DoesNotMatchFalseResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postEnumWith0DoesNotMatchFalseResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/test_post.py index 485e60bbe7b..5655ead6627 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostEnumWith1DoesNotMatchTrueResponseBodyForContentTypes(A """ ResponseBodyPostEnumWith1DoesNotMatchTrueResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -52,7 +52,7 @@ def test_true_is_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postEnumWith1DoesNotMatchTrueResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postEnumWith1DoesNotMatchTrueResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -75,7 +75,7 @@ def test_integer_one_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postEnumWith1DoesNotMatchTrueResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postEnumWith1DoesNotMatchTrueResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -84,7 +84,7 @@ def test_integer_one_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -105,7 +105,7 @@ def test_float_one_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postEnumWith1DoesNotMatchTrueResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postEnumWith1DoesNotMatchTrueResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -114,7 +114,7 @@ def test_float_one_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_enum_with_escaped_characters_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_enum_with_escaped_characters_response_body_for_content_types/test_post.py index cbb01865126..483c13ad26f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_enum_with_escaped_characters_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_enum_with_escaped_characters_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostEnumWithEscapedCharactersResponseBodyForContentTypes(A """ ResponseBodyPostEnumWithEscapedCharactersResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -51,7 +51,7 @@ def test_member2_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postEnumWithEscapedCharactersResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postEnumWithEscapedCharactersResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -60,7 +60,7 @@ def test_member2_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -81,7 +81,7 @@ def test_member1_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postEnumWithEscapedCharactersResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postEnumWithEscapedCharactersResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -90,7 +90,7 @@ def test_member1_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -112,7 +112,7 @@ def test_another_string_is_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postEnumWithEscapedCharactersResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postEnumWithEscapedCharactersResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/test_post.py index 13a4d1480d6..d296712207b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostEnumWithFalseDoesNotMatch0ResponseBodyForContentTypes( """ ResponseBodyPostEnumWithFalseDoesNotMatch0ResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -51,7 +51,7 @@ def test_false_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postEnumWithFalseDoesNotMatch0ResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postEnumWithFalseDoesNotMatch0ResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -60,7 +60,7 @@ def test_false_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -82,7 +82,7 @@ def test_float_zero_is_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postEnumWithFalseDoesNotMatch0ResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postEnumWithFalseDoesNotMatch0ResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -106,7 +106,7 @@ def test_integer_zero_is_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postEnumWithFalseDoesNotMatch0ResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postEnumWithFalseDoesNotMatch0ResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/test_post.py index 27ca6cf8795..78f70bc39f4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostEnumWithTrueDoesNotMatch1ResponseBodyForContentTypes(A """ ResponseBodyPostEnumWithTrueDoesNotMatch1ResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -52,7 +52,7 @@ def test_float_one_is_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postEnumWithTrueDoesNotMatch1ResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postEnumWithTrueDoesNotMatch1ResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -75,7 +75,7 @@ def test_true_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postEnumWithTrueDoesNotMatch1ResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postEnumWithTrueDoesNotMatch1ResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -84,7 +84,7 @@ def test_true_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -106,7 +106,7 @@ def test_integer_one_is_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postEnumWithTrueDoesNotMatch1ResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postEnumWithTrueDoesNotMatch1ResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_enums_in_properties_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_enums_in_properties_response_body_for_content_types/test_post.py index 61389afb3a6..5467b3334c6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_enums_in_properties_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_enums_in_properties_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostEnumsInPropertiesResponseBodyForContentTypes(ApiTestMi """ ResponseBodyPostEnumsInPropertiesResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -54,7 +54,7 @@ def test_missing_optional_property_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postEnumsInPropertiesResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postEnumsInPropertiesResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -63,7 +63,7 @@ def test_missing_optional_property_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -90,7 +90,7 @@ def test_wrong_foo_value_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postEnumsInPropertiesResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postEnumsInPropertiesResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -118,7 +118,7 @@ def test_both_properties_are_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postEnumsInPropertiesResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postEnumsInPropertiesResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -127,7 +127,7 @@ def test_both_properties_are_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -154,7 +154,7 @@ def test_wrong_bar_value_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postEnumsInPropertiesResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postEnumsInPropertiesResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -179,7 +179,7 @@ def test_missing_all_properties_is_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postEnumsInPropertiesResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postEnumsInPropertiesResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -206,7 +206,7 @@ def test_missing_required_property_is_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postEnumsInPropertiesResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postEnumsInPropertiesResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_forbidden_property_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_forbidden_property_response_body_for_content_types/test_post.py index b59df266356..e62befbbf8f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_forbidden_property_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_forbidden_property_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostForbiddenPropertyResponseBodyForContentTypes(ApiTestMi """ ResponseBodyPostForbiddenPropertyResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -57,7 +57,7 @@ def test_property_present_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postForbiddenPropertyResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postForbiddenPropertyResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -85,7 +85,7 @@ def test_property_absent_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postForbiddenPropertyResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postForbiddenPropertyResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -94,7 +94,7 @@ def test_property_absent_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_hostname_format_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_hostname_format_response_body_for_content_types/test_post.py index 0c1e86d290f..78b1e0c4d1a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_hostname_format_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_hostname_format_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostHostnameFormatResponseBodyForContentTypes(ApiTestMixin """ ResponseBodyPostHostnameFormatResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -52,7 +52,7 @@ def test_all_string_formats_ignore_objects_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postHostnameFormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postHostnameFormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -61,7 +61,7 @@ def test_all_string_formats_ignore_objects_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -82,7 +82,7 @@ def test_all_string_formats_ignore_booleans_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postHostnameFormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postHostnameFormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -91,7 +91,7 @@ def test_all_string_formats_ignore_booleans_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -112,7 +112,7 @@ def test_all_string_formats_ignore_integers_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postHostnameFormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postHostnameFormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -121,7 +121,7 @@ def test_all_string_formats_ignore_integers_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -142,7 +142,7 @@ def test_all_string_formats_ignore_floats_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postHostnameFormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postHostnameFormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -151,7 +151,7 @@ def test_all_string_formats_ignore_floats_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -173,7 +173,7 @@ def test_all_string_formats_ignore_arrays_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postHostnameFormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postHostnameFormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -182,7 +182,7 @@ def test_all_string_formats_ignore_arrays_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -203,7 +203,7 @@ def test_all_string_formats_ignore_nulls_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postHostnameFormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postHostnameFormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -212,7 +212,7 @@ def test_all_string_formats_ignore_nulls_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_integer_type_matches_integers_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_integer_type_matches_integers_response_body_for_content_types/test_post.py index 6fb0baab0ee..120d8e3c624 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_integer_type_matches_integers_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_integer_type_matches_integers_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostIntegerTypeMatchesIntegersResponseBodyForContentTypes( """ ResponseBodyPostIntegerTypeMatchesIntegersResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -53,7 +53,7 @@ def test_an_object_is_not_an_integer_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postIntegerTypeMatchesIntegersResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postIntegerTypeMatchesIntegersResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -77,7 +77,7 @@ def test_a_string_is_not_an_integer_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postIntegerTypeMatchesIntegersResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postIntegerTypeMatchesIntegersResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -101,7 +101,7 @@ def test_null_is_not_an_integer_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postIntegerTypeMatchesIntegersResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postIntegerTypeMatchesIntegersResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -124,7 +124,7 @@ def test_a_float_with_zero_fractional_part_is_an_integer_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postIntegerTypeMatchesIntegersResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postIntegerTypeMatchesIntegersResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -133,7 +133,7 @@ def test_a_float_with_zero_fractional_part_is_an_integer_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -155,7 +155,7 @@ def test_a_float_is_not_an_integer_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postIntegerTypeMatchesIntegersResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postIntegerTypeMatchesIntegersResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -179,7 +179,7 @@ def test_a_boolean_is_not_an_integer_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postIntegerTypeMatchesIntegersResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postIntegerTypeMatchesIntegersResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -202,7 +202,7 @@ def test_an_integer_is_an_integer_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postIntegerTypeMatchesIntegersResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postIntegerTypeMatchesIntegersResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -211,7 +211,7 @@ def test_an_integer_is_an_integer_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -233,7 +233,7 @@ def test_a_string_is_still_not_an_integer_even_if_it_looks_like_one_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postIntegerTypeMatchesIntegersResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postIntegerTypeMatchesIntegersResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -258,7 +258,7 @@ def test_an_array_is_not_an_integer_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postIntegerTypeMatchesIntegersResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postIntegerTypeMatchesIntegersResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/test_post.py index f8eb7c91316..afd1165974d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostInvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf """ ResponseBodyPostInvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInfResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -52,7 +52,7 @@ def test_always_invalid_but_naive_implementations_may_raise_an_overflow_error_fa ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postInvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInfResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postInvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInfResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -75,7 +75,7 @@ def test_valid_integer_with_multipleof_float_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postInvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInfResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postInvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInfResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -84,7 +84,7 @@ def test_valid_integer_with_multipleof_float_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_invalid_string_value_for_default_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_invalid_string_value_for_default_response_body_for_content_types/test_post.py index 36ac5c4e387..e34e5c5b435 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_invalid_string_value_for_default_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_invalid_string_value_for_default_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostInvalidStringValueForDefaultResponseBodyForContentType """ ResponseBodyPostInvalidStringValueForDefaultResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -54,7 +54,7 @@ def test_valid_when_property_is_specified_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postInvalidStringValueForDefaultResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postInvalidStringValueForDefaultResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -63,7 +63,7 @@ def test_valid_when_property_is_specified_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -85,7 +85,7 @@ def test_still_valid_when_the_invalid_default_is_used_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postInvalidStringValueForDefaultResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postInvalidStringValueForDefaultResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -94,7 +94,7 @@ def test_still_valid_when_the_invalid_default_is_used_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ipv4_format_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ipv4_format_response_body_for_content_types/test_post.py index cb1138b3de6..ff4ec39ad5c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ipv4_format_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ipv4_format_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostIpv4FormatResponseBodyForContentTypes(ApiTestMixin, un """ ResponseBodyPostIpv4FormatResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -52,7 +52,7 @@ def test_all_string_formats_ignore_objects_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postIpv4FormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postIpv4FormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -61,7 +61,7 @@ def test_all_string_formats_ignore_objects_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -82,7 +82,7 @@ def test_all_string_formats_ignore_booleans_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postIpv4FormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postIpv4FormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -91,7 +91,7 @@ def test_all_string_formats_ignore_booleans_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -112,7 +112,7 @@ def test_all_string_formats_ignore_integers_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postIpv4FormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postIpv4FormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -121,7 +121,7 @@ def test_all_string_formats_ignore_integers_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -142,7 +142,7 @@ def test_all_string_formats_ignore_floats_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postIpv4FormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postIpv4FormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -151,7 +151,7 @@ def test_all_string_formats_ignore_floats_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -173,7 +173,7 @@ def test_all_string_formats_ignore_arrays_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postIpv4FormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postIpv4FormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -182,7 +182,7 @@ def test_all_string_formats_ignore_arrays_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -203,7 +203,7 @@ def test_all_string_formats_ignore_nulls_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postIpv4FormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postIpv4FormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -212,7 +212,7 @@ def test_all_string_formats_ignore_nulls_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ipv6_format_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ipv6_format_response_body_for_content_types/test_post.py index 46605190fed..2e4e2b9543b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ipv6_format_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ipv6_format_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostIpv6FormatResponseBodyForContentTypes(ApiTestMixin, un """ ResponseBodyPostIpv6FormatResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -52,7 +52,7 @@ def test_all_string_formats_ignore_objects_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postIpv6FormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postIpv6FormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -61,7 +61,7 @@ def test_all_string_formats_ignore_objects_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -82,7 +82,7 @@ def test_all_string_formats_ignore_booleans_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postIpv6FormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postIpv6FormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -91,7 +91,7 @@ def test_all_string_formats_ignore_booleans_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -112,7 +112,7 @@ def test_all_string_formats_ignore_integers_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postIpv6FormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postIpv6FormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -121,7 +121,7 @@ def test_all_string_formats_ignore_integers_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -142,7 +142,7 @@ def test_all_string_formats_ignore_floats_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postIpv6FormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postIpv6FormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -151,7 +151,7 @@ def test_all_string_formats_ignore_floats_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -173,7 +173,7 @@ def test_all_string_formats_ignore_arrays_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postIpv6FormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postIpv6FormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -182,7 +182,7 @@ def test_all_string_formats_ignore_arrays_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -203,7 +203,7 @@ def test_all_string_formats_ignore_nulls_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postIpv6FormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postIpv6FormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -212,7 +212,7 @@ def test_all_string_formats_ignore_nulls_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_json_pointer_format_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_json_pointer_format_response_body_for_content_types/test_post.py index a5f4010f9c5..9748bddda0c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_json_pointer_format_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_json_pointer_format_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostJsonPointerFormatResponseBodyForContentTypes(ApiTestMi """ ResponseBodyPostJsonPointerFormatResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -52,7 +52,7 @@ def test_all_string_formats_ignore_objects_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postJsonPointerFormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postJsonPointerFormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -61,7 +61,7 @@ def test_all_string_formats_ignore_objects_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -82,7 +82,7 @@ def test_all_string_formats_ignore_booleans_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postJsonPointerFormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postJsonPointerFormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -91,7 +91,7 @@ def test_all_string_formats_ignore_booleans_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -112,7 +112,7 @@ def test_all_string_formats_ignore_integers_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postJsonPointerFormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postJsonPointerFormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -121,7 +121,7 @@ def test_all_string_formats_ignore_integers_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -142,7 +142,7 @@ def test_all_string_formats_ignore_floats_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postJsonPointerFormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postJsonPointerFormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -151,7 +151,7 @@ def test_all_string_formats_ignore_floats_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -173,7 +173,7 @@ def test_all_string_formats_ignore_arrays_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postJsonPointerFormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postJsonPointerFormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -182,7 +182,7 @@ def test_all_string_formats_ignore_arrays_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -203,7 +203,7 @@ def test_all_string_formats_ignore_nulls_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postJsonPointerFormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postJsonPointerFormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -212,7 +212,7 @@ def test_all_string_formats_ignore_nulls_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_maximum_validation_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_maximum_validation_response_body_for_content_types/test_post.py index 1b96fbb2852..5e257b241e6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_maximum_validation_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_maximum_validation_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostMaximumValidationResponseBodyForContentTypes(ApiTestMi """ ResponseBodyPostMaximumValidationResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -51,7 +51,7 @@ def test_below_the_maximum_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postMaximumValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postMaximumValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -60,7 +60,7 @@ def test_below_the_maximum_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -81,7 +81,7 @@ def test_boundary_point_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postMaximumValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postMaximumValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -90,7 +90,7 @@ def test_boundary_point_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -112,7 +112,7 @@ def test_above_the_maximum_is_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postMaximumValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postMaximumValidationResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -135,7 +135,7 @@ def test_ignores_non_numbers_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postMaximumValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postMaximumValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -144,7 +144,7 @@ def test_ignores_non_numbers_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/test_post.py index 109bd78e510..30dfc528cf0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostMaximumValidationWithUnsignedIntegerResponseBodyForCon """ ResponseBodyPostMaximumValidationWithUnsignedIntegerResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -51,7 +51,7 @@ def test_below_the_maximum_is_invalid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postMaximumValidationWithUnsignedIntegerResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postMaximumValidationWithUnsignedIntegerResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -60,7 +60,7 @@ def test_below_the_maximum_is_invalid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -82,7 +82,7 @@ def test_above_the_maximum_is_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postMaximumValidationWithUnsignedIntegerResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postMaximumValidationWithUnsignedIntegerResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -105,7 +105,7 @@ def test_boundary_point_integer_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postMaximumValidationWithUnsignedIntegerResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postMaximumValidationWithUnsignedIntegerResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -114,7 +114,7 @@ def test_boundary_point_integer_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -135,7 +135,7 @@ def test_boundary_point_float_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postMaximumValidationWithUnsignedIntegerResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postMaximumValidationWithUnsignedIntegerResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -144,7 +144,7 @@ def test_boundary_point_float_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_maxitems_validation_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_maxitems_validation_response_body_for_content_types/test_post.py index 4aca99e236b..0399daefa6b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_maxitems_validation_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_maxitems_validation_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostMaxitemsValidationResponseBodyForContentTypes(ApiTestM """ ResponseBodyPostMaxitemsValidationResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -56,7 +56,7 @@ def test_too_long_is_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postMaxitemsValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postMaxitemsValidationResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -79,7 +79,7 @@ def test_ignores_non_arrays_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postMaxitemsValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postMaxitemsValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -88,7 +88,7 @@ def test_ignores_non_arrays_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -111,7 +111,7 @@ def test_shorter_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postMaxitemsValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postMaxitemsValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -120,7 +120,7 @@ def test_shorter_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -144,7 +144,7 @@ def test_exact_length_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postMaxitemsValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postMaxitemsValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -153,7 +153,7 @@ def test_exact_length_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_maxlength_validation_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_maxlength_validation_response_body_for_content_types/test_post.py index 5bd7839b34c..a92df39ec65 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_maxlength_validation_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_maxlength_validation_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostMaxlengthValidationResponseBodyForContentTypes(ApiTest """ ResponseBodyPostMaxlengthValidationResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -52,7 +52,7 @@ def test_too_long_is_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postMaxlengthValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postMaxlengthValidationResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -75,7 +75,7 @@ def test_ignores_non_strings_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postMaxlengthValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postMaxlengthValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -84,7 +84,7 @@ def test_ignores_non_strings_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -105,7 +105,7 @@ def test_shorter_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postMaxlengthValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postMaxlengthValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -114,7 +114,7 @@ def test_shorter_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -135,7 +135,7 @@ def test_two_supplementary_unicode_code_points_is_long_enough_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postMaxlengthValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postMaxlengthValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -144,7 +144,7 @@ def test_two_supplementary_unicode_code_points_is_long_enough_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -165,7 +165,7 @@ def test_exact_length_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postMaxlengthValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postMaxlengthValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -174,7 +174,7 @@ def test_exact_length_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/test_post.py index c12883dbb9c..364e4a2564a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostMaxproperties0MeansTheObjectIsEmptyResponseBodyForCont """ ResponseBodyPostMaxproperties0MeansTheObjectIsEmptyResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -52,7 +52,7 @@ def test_no_properties_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postMaxproperties0MeansTheObjectIsEmptyResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postMaxproperties0MeansTheObjectIsEmptyResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -61,7 +61,7 @@ def test_no_properties_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -86,7 +86,7 @@ def test_one_property_is_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postMaxproperties0MeansTheObjectIsEmptyResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postMaxproperties0MeansTheObjectIsEmptyResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_maxproperties_validation_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_maxproperties_validation_response_body_for_content_types/test_post.py index 0160a3dcf53..2050c7fa4c7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_maxproperties_validation_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_maxproperties_validation_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostMaxpropertiesValidationResponseBodyForContentTypes(Api """ ResponseBodyPostMaxpropertiesValidationResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -59,7 +59,7 @@ def test_too_long_is_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postMaxpropertiesValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postMaxpropertiesValidationResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -86,7 +86,7 @@ def test_ignores_arrays_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postMaxpropertiesValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postMaxpropertiesValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -95,7 +95,7 @@ def test_ignores_arrays_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -116,7 +116,7 @@ def test_ignores_other_non_objects_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postMaxpropertiesValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postMaxpropertiesValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -125,7 +125,7 @@ def test_ignores_other_non_objects_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -146,7 +146,7 @@ def test_ignores_strings_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postMaxpropertiesValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postMaxpropertiesValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -155,7 +155,7 @@ def test_ignores_strings_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -179,7 +179,7 @@ def test_shorter_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postMaxpropertiesValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postMaxpropertiesValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -188,7 +188,7 @@ def test_shorter_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -214,7 +214,7 @@ def test_exact_length_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postMaxpropertiesValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postMaxpropertiesValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -223,7 +223,7 @@ def test_exact_length_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_minimum_validation_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_minimum_validation_response_body_for_content_types/test_post.py index e76aa134a27..c75210d480d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_minimum_validation_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_minimum_validation_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostMinimumValidationResponseBodyForContentTypes(ApiTestMi """ ResponseBodyPostMinimumValidationResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -51,7 +51,7 @@ def test_boundary_point_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postMinimumValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postMinimumValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -60,7 +60,7 @@ def test_boundary_point_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -82,7 +82,7 @@ def test_below_the_minimum_is_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postMinimumValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postMinimumValidationResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -105,7 +105,7 @@ def test_above_the_minimum_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postMinimumValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postMinimumValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -114,7 +114,7 @@ def test_above_the_minimum_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -135,7 +135,7 @@ def test_ignores_non_numbers_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postMinimumValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postMinimumValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -144,7 +144,7 @@ def test_ignores_non_numbers_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/test_post.py index ab484a89a86..3005e012617 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostMinimumValidationWithSignedIntegerResponseBodyForConte """ ResponseBodyPostMinimumValidationWithSignedIntegerResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -51,7 +51,7 @@ def test_boundary_point_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postMinimumValidationWithSignedIntegerResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postMinimumValidationWithSignedIntegerResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -60,7 +60,7 @@ def test_boundary_point_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -81,7 +81,7 @@ def test_positive_above_the_minimum_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postMinimumValidationWithSignedIntegerResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postMinimumValidationWithSignedIntegerResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -90,7 +90,7 @@ def test_positive_above_the_minimum_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -112,7 +112,7 @@ def test_int_below_the_minimum_is_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postMinimumValidationWithSignedIntegerResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postMinimumValidationWithSignedIntegerResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -136,7 +136,7 @@ def test_float_below_the_minimum_is_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postMinimumValidationWithSignedIntegerResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postMinimumValidationWithSignedIntegerResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -159,7 +159,7 @@ def test_boundary_point_with_float_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postMinimumValidationWithSignedIntegerResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postMinimumValidationWithSignedIntegerResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -168,7 +168,7 @@ def test_boundary_point_with_float_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -189,7 +189,7 @@ def test_negative_above_the_minimum_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postMinimumValidationWithSignedIntegerResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postMinimumValidationWithSignedIntegerResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -198,7 +198,7 @@ def test_negative_above_the_minimum_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -219,7 +219,7 @@ def test_ignores_non_numbers_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postMinimumValidationWithSignedIntegerResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postMinimumValidationWithSignedIntegerResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -228,7 +228,7 @@ def test_ignores_non_numbers_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_minitems_validation_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_minitems_validation_response_body_for_content_types/test_post.py index ece37fa44a5..1e7bf0714f2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_minitems_validation_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_minitems_validation_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostMinitemsValidationResponseBodyForContentTypes(ApiTestM """ ResponseBodyPostMinitemsValidationResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -53,7 +53,7 @@ def test_too_short_is_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postMinitemsValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postMinitemsValidationResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -76,7 +76,7 @@ def test_ignores_non_arrays_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postMinitemsValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postMinitemsValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -85,7 +85,7 @@ def test_ignores_non_arrays_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -109,7 +109,7 @@ def test_longer_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postMinitemsValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postMinitemsValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -118,7 +118,7 @@ def test_longer_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -141,7 +141,7 @@ def test_exact_length_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postMinitemsValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postMinitemsValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -150,7 +150,7 @@ def test_exact_length_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_minlength_validation_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_minlength_validation_response_body_for_content_types/test_post.py index 69a4fc9ab4c..ca6653f77f7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_minlength_validation_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_minlength_validation_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostMinlengthValidationResponseBodyForContentTypes(ApiTest """ ResponseBodyPostMinlengthValidationResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -52,7 +52,7 @@ def test_too_short_is_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postMinlengthValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postMinlengthValidationResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -76,7 +76,7 @@ def test_one_supplementary_unicode_code_point_is_not_long_enough_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postMinlengthValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postMinlengthValidationResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -99,7 +99,7 @@ def test_longer_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postMinlengthValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postMinlengthValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -108,7 +108,7 @@ def test_longer_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -129,7 +129,7 @@ def test_ignores_non_strings_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postMinlengthValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postMinlengthValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -138,7 +138,7 @@ def test_ignores_non_strings_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -159,7 +159,7 @@ def test_exact_length_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postMinlengthValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postMinlengthValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -168,7 +168,7 @@ def test_exact_length_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_minproperties_validation_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_minproperties_validation_response_body_for_content_types/test_post.py index 86460b271e4..5452bf5ab7d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_minproperties_validation_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_minproperties_validation_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostMinpropertiesValidationResponseBodyForContentTypes(Api """ ResponseBodyPostMinpropertiesValidationResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -52,7 +52,7 @@ def test_ignores_arrays_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postMinpropertiesValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postMinpropertiesValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -61,7 +61,7 @@ def test_ignores_arrays_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -82,7 +82,7 @@ def test_ignores_other_non_objects_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postMinpropertiesValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postMinpropertiesValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -91,7 +91,7 @@ def test_ignores_other_non_objects_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -114,7 +114,7 @@ def test_too_short_is_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postMinpropertiesValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postMinpropertiesValidationResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -137,7 +137,7 @@ def test_ignores_strings_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postMinpropertiesValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postMinpropertiesValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -146,7 +146,7 @@ def test_ignores_strings_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -172,7 +172,7 @@ def test_longer_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postMinpropertiesValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postMinpropertiesValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -181,7 +181,7 @@ def test_longer_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -205,7 +205,7 @@ def test_exact_length_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postMinpropertiesValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postMinpropertiesValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -214,7 +214,7 @@ def test_exact_length_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/test_post.py index c62ece4e14f..bab54412170 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostNestedAllofToCheckValidationSemanticsResponseBodyForCo """ ResponseBodyPostNestedAllofToCheckValidationSemanticsResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -52,7 +52,7 @@ def test_anything_non_null_is_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postNestedAllofToCheckValidationSemanticsResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postNestedAllofToCheckValidationSemanticsResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -75,7 +75,7 @@ def test_null_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postNestedAllofToCheckValidationSemanticsResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postNestedAllofToCheckValidationSemanticsResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -84,7 +84,7 @@ def test_null_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/test_post.py index 7845d1bc02b..397b9882963 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostNestedAnyofToCheckValidationSemanticsResponseBodyForCo """ ResponseBodyPostNestedAnyofToCheckValidationSemanticsResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -52,7 +52,7 @@ def test_anything_non_null_is_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postNestedAnyofToCheckValidationSemanticsResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postNestedAnyofToCheckValidationSemanticsResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -75,7 +75,7 @@ def test_null_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postNestedAnyofToCheckValidationSemanticsResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postNestedAnyofToCheckValidationSemanticsResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -84,7 +84,7 @@ def test_null_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_nested_items_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_nested_items_response_body_for_content_types/test_post.py index f52bffb45f3..b9a56d5c1cd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_nested_items_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_nested_items_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostNestedItemsResponseBodyForContentTypes(ApiTestMixin, u """ ResponseBodyPostNestedItemsResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -80,7 +80,7 @@ def test_valid_nested_array_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postNestedItemsResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postNestedItemsResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -89,7 +89,7 @@ def test_valid_nested_array_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -140,7 +140,7 @@ def test_nested_array_with_invalid_type_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postNestedItemsResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postNestedItemsResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -187,7 +187,7 @@ def test_not_deep_enough_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postNestedItemsResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postNestedItemsResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/test_post.py index 1eb46ae0613..89e81cab1b4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostNestedOneofToCheckValidationSemanticsResponseBodyForCo """ ResponseBodyPostNestedOneofToCheckValidationSemanticsResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -52,7 +52,7 @@ def test_anything_non_null_is_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postNestedOneofToCheckValidationSemanticsResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postNestedOneofToCheckValidationSemanticsResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -75,7 +75,7 @@ def test_null_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postNestedOneofToCheckValidationSemanticsResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postNestedOneofToCheckValidationSemanticsResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -84,7 +84,7 @@ def test_null_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_not_more_complex_schema_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_not_more_complex_schema_response_body_for_content_types/test_post.py index d4afe3b96d2..072d6de1efc 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_not_more_complex_schema_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_not_more_complex_schema_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostNotMoreComplexSchemaResponseBodyForContentTypes(ApiTes """ ResponseBodyPostNotMoreComplexSchemaResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -54,7 +54,7 @@ def test_other_match_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postNotMoreComplexSchemaResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postNotMoreComplexSchemaResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -63,7 +63,7 @@ def test_other_match_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -88,7 +88,7 @@ def test_mismatch_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postNotMoreComplexSchemaResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postNotMoreComplexSchemaResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -111,7 +111,7 @@ def test_match_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postNotMoreComplexSchemaResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postNotMoreComplexSchemaResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -120,7 +120,7 @@ def test_match_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_not_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_not_response_body_for_content_types/test_post.py index 03ba1643ed9..42c7d92c5f1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_not_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_not_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostNotResponseBodyForContentTypes(ApiTestMixin, unittest. """ ResponseBodyPostNotResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -51,7 +51,7 @@ def test_allowed_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postNotResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postNotResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -60,7 +60,7 @@ def test_allowed_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -82,7 +82,7 @@ def test_disallowed_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postNotResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postNotResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_nul_characters_in_strings_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_nul_characters_in_strings_response_body_for_content_types/test_post.py index 8f976ed9a4e..8110be75468 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_nul_characters_in_strings_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_nul_characters_in_strings_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostNulCharactersInStringsResponseBodyForContentTypes(ApiT """ ResponseBodyPostNulCharactersInStringsResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -51,7 +51,7 @@ def test_match_string_with_nul_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postNulCharactersInStringsResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postNulCharactersInStringsResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -60,7 +60,7 @@ def test_match_string_with_nul_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -82,7 +82,7 @@ def test_do_not_match_string_lacking_nul_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postNulCharactersInStringsResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postNulCharactersInStringsResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/test_post.py index 8017d236778..cfac0c40a33 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostNullTypeMatchesOnlyTheNullObjectResponseBodyForContent """ ResponseBodyPostNullTypeMatchesOnlyTheNullObjectResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -52,7 +52,7 @@ def test_a_float_is_not_null_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postNullTypeMatchesOnlyTheNullObjectResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postNullTypeMatchesOnlyTheNullObjectResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -77,7 +77,7 @@ def test_an_object_is_not_null_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postNullTypeMatchesOnlyTheNullObjectResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postNullTypeMatchesOnlyTheNullObjectResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -101,7 +101,7 @@ def test_false_is_not_null_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postNullTypeMatchesOnlyTheNullObjectResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postNullTypeMatchesOnlyTheNullObjectResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -125,7 +125,7 @@ def test_an_integer_is_not_null_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postNullTypeMatchesOnlyTheNullObjectResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postNullTypeMatchesOnlyTheNullObjectResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -149,7 +149,7 @@ def test_true_is_not_null_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postNullTypeMatchesOnlyTheNullObjectResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postNullTypeMatchesOnlyTheNullObjectResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -173,7 +173,7 @@ def test_zero_is_not_null_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postNullTypeMatchesOnlyTheNullObjectResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postNullTypeMatchesOnlyTheNullObjectResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -197,7 +197,7 @@ def test_an_empty_string_is_not_null_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postNullTypeMatchesOnlyTheNullObjectResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postNullTypeMatchesOnlyTheNullObjectResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -220,7 +220,7 @@ def test_null_is_null_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postNullTypeMatchesOnlyTheNullObjectResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postNullTypeMatchesOnlyTheNullObjectResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -229,7 +229,7 @@ def test_null_is_null_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -252,7 +252,7 @@ def test_an_array_is_not_null_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postNullTypeMatchesOnlyTheNullObjectResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postNullTypeMatchesOnlyTheNullObjectResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -276,7 +276,7 @@ def test_a_string_is_not_null_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postNullTypeMatchesOnlyTheNullObjectResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postNullTypeMatchesOnlyTheNullObjectResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_number_type_matches_numbers_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_number_type_matches_numbers_response_body_for_content_types/test_post.py index 441572390e4..45e825ad25b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_number_type_matches_numbers_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_number_type_matches_numbers_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostNumberTypeMatchesNumbersResponseBodyForContentTypes(Ap """ ResponseBodyPostNumberTypeMatchesNumbersResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -53,7 +53,7 @@ def test_an_array_is_not_a_number_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postNumberTypeMatchesNumbersResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postNumberTypeMatchesNumbersResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -77,7 +77,7 @@ def test_null_is_not_a_number_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postNumberTypeMatchesNumbersResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postNumberTypeMatchesNumbersResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -102,7 +102,7 @@ def test_an_object_is_not_a_number_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postNumberTypeMatchesNumbersResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postNumberTypeMatchesNumbersResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -126,7 +126,7 @@ def test_a_boolean_is_not_a_number_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postNumberTypeMatchesNumbersResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postNumberTypeMatchesNumbersResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -149,7 +149,7 @@ def test_a_float_is_a_number_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postNumberTypeMatchesNumbersResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postNumberTypeMatchesNumbersResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -158,7 +158,7 @@ def test_a_float_is_a_number_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -180,7 +180,7 @@ def test_a_string_is_still_not_a_number_even_if_it_looks_like_one_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postNumberTypeMatchesNumbersResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postNumberTypeMatchesNumbersResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -204,7 +204,7 @@ def test_a_string_is_not_a_number_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postNumberTypeMatchesNumbersResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postNumberTypeMatchesNumbersResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -227,7 +227,7 @@ def test_an_integer_is_a_number_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postNumberTypeMatchesNumbersResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postNumberTypeMatchesNumbersResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -236,7 +236,7 @@ def test_an_integer_is_a_number_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -257,7 +257,7 @@ def test_a_float_with_zero_fractional_part_is_a_number_and_an_integer_passes(sel ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postNumberTypeMatchesNumbersResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postNumberTypeMatchesNumbersResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -266,7 +266,7 @@ def test_a_float_with_zero_fractional_part_is_a_number_and_an_integer_passes(sel assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_object_properties_validation_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_object_properties_validation_response_body_for_content_types/test_post.py index d607c60c891..56c3140a885 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_object_properties_validation_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_object_properties_validation_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostObjectPropertiesValidationResponseBodyForContentTypes( """ ResponseBodyPostObjectPropertiesValidationResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -52,7 +52,7 @@ def test_ignores_arrays_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postObjectPropertiesValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postObjectPropertiesValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -61,7 +61,7 @@ def test_ignores_arrays_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -82,7 +82,7 @@ def test_ignores_other_non_objects_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postObjectPropertiesValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postObjectPropertiesValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -91,7 +91,7 @@ def test_ignores_other_non_objects_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -119,7 +119,7 @@ def test_one_property_invalid_is_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postObjectPropertiesValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postObjectPropertiesValidationResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -147,7 +147,7 @@ def test_both_properties_present_and_valid_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postObjectPropertiesValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postObjectPropertiesValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -156,7 +156,7 @@ def test_both_properties_present_and_valid_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -181,7 +181,7 @@ def test_doesn_t_invalidate_other_properties_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postObjectPropertiesValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postObjectPropertiesValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -190,7 +190,7 @@ def test_doesn_t_invalidate_other_properties_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -219,7 +219,7 @@ def test_both_properties_invalid_is_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postObjectPropertiesValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postObjectPropertiesValidationResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_object_type_matches_objects_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_object_type_matches_objects_response_body_for_content_types/test_post.py index c2c443b8ddc..c7633c516a1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_object_type_matches_objects_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_object_type_matches_objects_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostObjectTypeMatchesObjectsResponseBodyForContentTypes(Ap """ ResponseBodyPostObjectTypeMatchesObjectsResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -52,7 +52,7 @@ def test_a_float_is_not_an_object_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postObjectTypeMatchesObjectsResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postObjectTypeMatchesObjectsResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -76,7 +76,7 @@ def test_null_is_not_an_object_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postObjectTypeMatchesObjectsResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postObjectTypeMatchesObjectsResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -101,7 +101,7 @@ def test_an_array_is_not_an_object_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postObjectTypeMatchesObjectsResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postObjectTypeMatchesObjectsResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -125,7 +125,7 @@ def test_an_object_is_an_object_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postObjectTypeMatchesObjectsResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postObjectTypeMatchesObjectsResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -134,7 +134,7 @@ def test_an_object_is_an_object_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -156,7 +156,7 @@ def test_a_string_is_not_an_object_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postObjectTypeMatchesObjectsResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postObjectTypeMatchesObjectsResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -180,7 +180,7 @@ def test_an_integer_is_not_an_object_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postObjectTypeMatchesObjectsResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postObjectTypeMatchesObjectsResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -204,7 +204,7 @@ def test_a_boolean_is_not_an_object_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postObjectTypeMatchesObjectsResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postObjectTypeMatchesObjectsResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_oneof_complex_types_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_oneof_complex_types_response_body_for_content_types/test_post.py index 15fd1b4c039..a643cc84081 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_oneof_complex_types_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_oneof_complex_types_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostOneofComplexTypesResponseBodyForContentTypes(ApiTestMi """ ResponseBodyPostOneofComplexTypesResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -54,7 +54,7 @@ def test_first_oneof_valid_complex_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postOneofComplexTypesResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postOneofComplexTypesResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -63,7 +63,7 @@ def test_first_oneof_valid_complex_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -90,7 +90,7 @@ def test_neither_oneof_valid_complex_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postOneofComplexTypesResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postOneofComplexTypesResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -119,7 +119,7 @@ def test_both_oneof_valid_complex_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postOneofComplexTypesResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postOneofComplexTypesResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -145,7 +145,7 @@ def test_second_oneof_valid_complex_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postOneofComplexTypesResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postOneofComplexTypesResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -154,7 +154,7 @@ def test_second_oneof_valid_complex_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_oneof_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_oneof_response_body_for_content_types/test_post.py index 777bbc60b3e..d15ebf6c202 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_oneof_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_oneof_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostOneofResponseBodyForContentTypes(ApiTestMixin, unittes """ ResponseBodyPostOneofResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -51,7 +51,7 @@ def test_second_oneof_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postOneofResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postOneofResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -60,7 +60,7 @@ def test_second_oneof_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -82,7 +82,7 @@ def test_both_oneof_valid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postOneofResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postOneofResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -105,7 +105,7 @@ def test_first_oneof_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postOneofResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postOneofResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -114,7 +114,7 @@ def test_first_oneof_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -136,7 +136,7 @@ def test_neither_oneof_valid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postOneofResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postOneofResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_oneof_with_base_schema_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_oneof_with_base_schema_response_body_for_content_types/test_post.py index 060e92ebca8..7e7f9c3f737 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_oneof_with_base_schema_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_oneof_with_base_schema_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostOneofWithBaseSchemaResponseBodyForContentTypes(ApiTest """ ResponseBodyPostOneofWithBaseSchemaResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -52,7 +52,7 @@ def test_both_oneof_valid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postOneofWithBaseSchemaResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postOneofWithBaseSchemaResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -76,7 +76,7 @@ def test_mismatch_base_schema_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postOneofWithBaseSchemaResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postOneofWithBaseSchemaResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -99,7 +99,7 @@ def test_one_oneof_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postOneofWithBaseSchemaResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postOneofWithBaseSchemaResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -108,7 +108,7 @@ def test_one_oneof_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_oneof_with_empty_schema_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_oneof_with_empty_schema_response_body_for_content_types/test_post.py index 495086341bc..3087651b994 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_oneof_with_empty_schema_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_oneof_with_empty_schema_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostOneofWithEmptySchemaResponseBodyForContentTypes(ApiTes """ ResponseBodyPostOneofWithEmptySchemaResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -52,7 +52,7 @@ def test_both_valid_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postOneofWithEmptySchemaResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postOneofWithEmptySchemaResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -75,7 +75,7 @@ def test_one_valid_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postOneofWithEmptySchemaResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postOneofWithEmptySchemaResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -84,7 +84,7 @@ def test_one_valid_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_oneof_with_required_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_oneof_with_required_response_body_for_content_types/test_post.py index aef28cd62d3..14c824b1cbe 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_oneof_with_required_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_oneof_with_required_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostOneofWithRequiredResponseBodyForContentTypes(ApiTestMi """ ResponseBodyPostOneofWithRequiredResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -59,7 +59,7 @@ def test_both_valid_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postOneofWithRequiredResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postOneofWithRequiredResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -86,7 +86,7 @@ def test_both_invalid_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postOneofWithRequiredResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postOneofWithRequiredResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -114,7 +114,7 @@ def test_first_valid_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postOneofWithRequiredResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postOneofWithRequiredResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -123,7 +123,7 @@ def test_first_valid_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -149,7 +149,7 @@ def test_second_valid_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postOneofWithRequiredResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postOneofWithRequiredResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -158,7 +158,7 @@ def test_second_valid_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_pattern_is_not_anchored_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_pattern_is_not_anchored_response_body_for_content_types/test_post.py index 9744739dfc8..822f00105ab 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_pattern_is_not_anchored_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_pattern_is_not_anchored_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostPatternIsNotAnchoredResponseBodyForContentTypes(ApiTes """ ResponseBodyPostPatternIsNotAnchoredResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -51,7 +51,7 @@ def test_matches_a_substring_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postPatternIsNotAnchoredResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postPatternIsNotAnchoredResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -60,7 +60,7 @@ def test_matches_a_substring_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_pattern_validation_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_pattern_validation_response_body_for_content_types/test_post.py index 52ce95246da..c0623b7cd2a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_pattern_validation_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_pattern_validation_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostPatternValidationResponseBodyForContentTypes(ApiTestMi """ ResponseBodyPostPatternValidationResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -52,7 +52,7 @@ def test_ignores_arrays_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postPatternValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postPatternValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -61,7 +61,7 @@ def test_ignores_arrays_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -83,7 +83,7 @@ def test_ignores_objects_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postPatternValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postPatternValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -92,7 +92,7 @@ def test_ignores_objects_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -113,7 +113,7 @@ def test_ignores_null_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postPatternValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postPatternValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -122,7 +122,7 @@ def test_ignores_null_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -143,7 +143,7 @@ def test_ignores_floats_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postPatternValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postPatternValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -152,7 +152,7 @@ def test_ignores_floats_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -174,7 +174,7 @@ def test_a_non_matching_pattern_is_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postPatternValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postPatternValidationResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -197,7 +197,7 @@ def test_ignores_booleans_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postPatternValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postPatternValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -206,7 +206,7 @@ def test_ignores_booleans_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -227,7 +227,7 @@ def test_a_matching_pattern_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postPatternValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postPatternValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -236,7 +236,7 @@ def test_a_matching_pattern_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -257,7 +257,7 @@ def test_ignores_integers_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postPatternValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postPatternValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -266,7 +266,7 @@ def test_ignores_integers_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_properties_with_escaped_characters_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_properties_with_escaped_characters_response_body_for_content_types/test_post.py index fab3e9f41f1..3c262c43022 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_properties_with_escaped_characters_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_properties_with_escaped_characters_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostPropertiesWithEscapedCharactersResponseBodyForContentT """ ResponseBodyPostPropertiesWithEscapedCharactersResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -64,7 +64,7 @@ def test_object_with_all_numbers_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postPropertiesWithEscapedCharactersResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postPropertiesWithEscapedCharactersResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -73,7 +73,7 @@ def test_object_with_all_numbers_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -108,7 +108,7 @@ def test_object_with_strings_is_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postPropertiesWithEscapedCharactersResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postPropertiesWithEscapedCharactersResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/test_post.py index d69ba67c15b..0e0d194127c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostPropertyNamedRefThatIsNotAReferenceResponseBodyForCont """ ResponseBodyPostPropertyNamedRefThatIsNotAReferenceResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -54,7 +54,7 @@ def test_property_named_ref_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postPropertyNamedRefThatIsNotAReferenceResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postPropertyNamedRefThatIsNotAReferenceResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -63,7 +63,7 @@ def test_property_named_ref_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -88,7 +88,7 @@ def test_property_named_ref_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postPropertyNamedRefThatIsNotAReferenceResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postPropertyNamedRefThatIsNotAReferenceResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_additionalproperties_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_additionalproperties_response_body_for_content_types/test_post.py index 97aae825319..715ffbe795a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_additionalproperties_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_additionalproperties_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostRefInAdditionalpropertiesResponseBodyForContentTypes(A """ ResponseBodyPostRefInAdditionalpropertiesResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -57,7 +57,7 @@ def test_property_named_ref_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postRefInAdditionalpropertiesResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postRefInAdditionalpropertiesResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -66,7 +66,7 @@ def test_property_named_ref_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -94,7 +94,7 @@ def test_property_named_ref_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postRefInAdditionalpropertiesResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postRefInAdditionalpropertiesResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_allof_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_allof_response_body_for_content_types/test_post.py index fc1b50a8810..507bc9c2feb 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_allof_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_allof_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostRefInAllofResponseBodyForContentTypes(ApiTestMixin, un """ ResponseBodyPostRefInAllofResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -54,7 +54,7 @@ def test_property_named_ref_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postRefInAllofResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postRefInAllofResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -63,7 +63,7 @@ def test_property_named_ref_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -88,7 +88,7 @@ def test_property_named_ref_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postRefInAllofResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postRefInAllofResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_anyof_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_anyof_response_body_for_content_types/test_post.py index 8600eb1a7e7..d2e7813df27 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_anyof_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_anyof_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostRefInAnyofResponseBodyForContentTypes(ApiTestMixin, un """ ResponseBodyPostRefInAnyofResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -54,7 +54,7 @@ def test_property_named_ref_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postRefInAnyofResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postRefInAnyofResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -63,7 +63,7 @@ def test_property_named_ref_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -88,7 +88,7 @@ def test_property_named_ref_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postRefInAnyofResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postRefInAnyofResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_items_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_items_response_body_for_content_types/test_post.py index 61895c482e8..7f60ab60e3c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_items_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_items_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostRefInItemsResponseBodyForContentTypes(ApiTestMixin, un """ ResponseBodyPostRefInItemsResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -56,7 +56,7 @@ def test_property_named_ref_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postRefInItemsResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postRefInItemsResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -65,7 +65,7 @@ def test_property_named_ref_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -92,7 +92,7 @@ def test_property_named_ref_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postRefInItemsResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postRefInItemsResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_not_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_not_response_body_for_content_types/test_post.py index 8b56040b345..9cac0c73f12 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_not_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_not_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostRefInNotResponseBodyForContentTypes(ApiTestMixin, unit """ ResponseBodyPostRefInNotResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -54,7 +54,7 @@ def test_property_named_ref_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postRefInNotResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postRefInNotResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -63,7 +63,7 @@ def test_property_named_ref_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -88,7 +88,7 @@ def test_property_named_ref_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postRefInNotResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postRefInNotResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_oneof_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_oneof_response_body_for_content_types/test_post.py index 05038bede62..562f23d12e4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_oneof_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_oneof_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostRefInOneofResponseBodyForContentTypes(ApiTestMixin, un """ ResponseBodyPostRefInOneofResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -54,7 +54,7 @@ def test_property_named_ref_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postRefInOneofResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postRefInOneofResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -63,7 +63,7 @@ def test_property_named_ref_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -88,7 +88,7 @@ def test_property_named_ref_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postRefInOneofResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postRefInOneofResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_property_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_property_response_body_for_content_types/test_post.py index 807d0845fda..9d72b2e8250 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_property_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_ref_in_property_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostRefInPropertyResponseBodyForContentTypes(ApiTestMixin, """ ResponseBodyPostRefInPropertyResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -57,7 +57,7 @@ def test_property_named_ref_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postRefInPropertyResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postRefInPropertyResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -66,7 +66,7 @@ def test_property_named_ref_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -94,7 +94,7 @@ def test_property_named_ref_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postRefInPropertyResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postRefInPropertyResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_required_default_validation_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_required_default_validation_response_body_for_content_types/test_post.py index 88100340e26..a83fcbe0673 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_required_default_validation_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_required_default_validation_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostRequiredDefaultValidationResponseBodyForContentTypes(A """ ResponseBodyPostRequiredDefaultValidationResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -52,7 +52,7 @@ def test_not_required_by_default_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postRequiredDefaultValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postRequiredDefaultValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -61,7 +61,7 @@ def test_not_required_by_default_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_required_validation_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_required_validation_response_body_for_content_types/test_post.py index c38331fed51..21a29ade444 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_required_validation_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_required_validation_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostRequiredValidationResponseBodyForContentTypes(ApiTestM """ ResponseBodyPostRequiredValidationResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -52,7 +52,7 @@ def test_ignores_arrays_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postRequiredValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postRequiredValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -61,7 +61,7 @@ def test_ignores_arrays_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -85,7 +85,7 @@ def test_present_required_property_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postRequiredValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postRequiredValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -94,7 +94,7 @@ def test_present_required_property_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -115,7 +115,7 @@ def test_ignores_other_non_objects_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postRequiredValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postRequiredValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -124,7 +124,7 @@ def test_ignores_other_non_objects_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -145,7 +145,7 @@ def test_ignores_strings_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postRequiredValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postRequiredValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -154,7 +154,7 @@ def test_ignores_strings_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -179,7 +179,7 @@ def test_non_present_required_property_is_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postRequiredValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postRequiredValidationResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_required_with_empty_array_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_required_with_empty_array_response_body_for_content_types/test_post.py index 26aaf8818cd..62cc97140f9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_required_with_empty_array_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_required_with_empty_array_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostRequiredWithEmptyArrayResponseBodyForContentTypes(ApiT """ ResponseBodyPostRequiredWithEmptyArrayResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -52,7 +52,7 @@ def test_property_not_required_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postRequiredWithEmptyArrayResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postRequiredWithEmptyArrayResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -61,7 +61,7 @@ def test_property_not_required_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_required_with_escaped_characters_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_required_with_escaped_characters_response_body_for_content_types/test_post.py index d143a42f4d9..adfabfaac8e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_required_with_escaped_characters_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_required_with_escaped_characters_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostRequiredWithEscapedCharactersResponseBodyForContentTyp """ ResponseBodyPostRequiredWithEscapedCharactersResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -57,7 +57,7 @@ def test_object_with_some_properties_missing_is_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postRequiredWithEscapedCharactersResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postRequiredWithEscapedCharactersResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -93,7 +93,7 @@ def test_object_with_all_properties_present_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postRequiredWithEscapedCharactersResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postRequiredWithEscapedCharactersResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -102,7 +102,7 @@ def test_object_with_all_properties_present_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_simple_enum_validation_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_simple_enum_validation_response_body_for_content_types/test_post.py index 9589fc1f204..4ed695355ac 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_simple_enum_validation_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_simple_enum_validation_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostSimpleEnumValidationResponseBodyForContentTypes(ApiTes """ ResponseBodyPostSimpleEnumValidationResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -52,7 +52,7 @@ def test_something_else_is_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postSimpleEnumValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postSimpleEnumValidationResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -75,7 +75,7 @@ def test_one_of_the_enum_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postSimpleEnumValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postSimpleEnumValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -84,7 +84,7 @@ def test_one_of_the_enum_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_string_type_matches_strings_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_string_type_matches_strings_response_body_for_content_types/test_post.py index aef7038974a..be32d72dab7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_string_type_matches_strings_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_string_type_matches_strings_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostStringTypeMatchesStringsResponseBodyForContentTypes(Ap """ ResponseBodyPostStringTypeMatchesStringsResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -52,7 +52,7 @@ def test_1_is_not_a_string_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postStringTypeMatchesStringsResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postStringTypeMatchesStringsResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -75,7 +75,7 @@ def test_a_string_is_still_a_string_even_if_it_looks_like_a_number_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postStringTypeMatchesStringsResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postStringTypeMatchesStringsResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -84,7 +84,7 @@ def test_a_string_is_still_a_string_even_if_it_looks_like_a_number_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -105,7 +105,7 @@ def test_an_empty_string_is_still_a_string_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postStringTypeMatchesStringsResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postStringTypeMatchesStringsResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -114,7 +114,7 @@ def test_an_empty_string_is_still_a_string_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -136,7 +136,7 @@ def test_a_float_is_not_a_string_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postStringTypeMatchesStringsResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postStringTypeMatchesStringsResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -161,7 +161,7 @@ def test_an_object_is_not_a_string_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postStringTypeMatchesStringsResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postStringTypeMatchesStringsResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -186,7 +186,7 @@ def test_an_array_is_not_a_string_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postStringTypeMatchesStringsResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postStringTypeMatchesStringsResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -210,7 +210,7 @@ def test_a_boolean_is_not_a_string_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postStringTypeMatchesStringsResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postStringTypeMatchesStringsResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -234,7 +234,7 @@ def test_null_is_not_a_string_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postStringTypeMatchesStringsResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postStringTypeMatchesStringsResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -257,7 +257,7 @@ def test_a_string_is_a_string_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postStringTypeMatchesStringsResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postStringTypeMatchesStringsResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -266,7 +266,7 @@ def test_a_string_is_a_string_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types/test_post.py index 849cbf1ee22..04f017939ea 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostTheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissi """ ResponseBodyPostTheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissingResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -52,7 +52,7 @@ def test_missing_properties_are_not_filled_in_with_the_default_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postTheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissingResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postTheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissingResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -61,7 +61,7 @@ def test_missing_properties_are_not_filled_in_with_the_default_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -85,7 +85,7 @@ def test_an_explicit_property_value_is_checked_against_maximum_passing_passes(se ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postTheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissingResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postTheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissingResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -94,7 +94,7 @@ def test_an_explicit_property_value_is_checked_against_maximum_passing_passes(se assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -119,7 +119,7 @@ def test_an_explicit_property_value_is_checked_against_maximum_failing_fails(sel ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postTheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissingResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postTheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissingResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_uniqueitems_false_validation_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_uniqueitems_false_validation_response_body_for_content_types/test_post.py index 74e6efdf91a..4caf2521df2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_uniqueitems_false_validation_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_uniqueitems_false_validation_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostUniqueitemsFalseValidationResponseBodyForContentTypes( """ ResponseBodyPostUniqueitemsFalseValidationResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -54,7 +54,7 @@ def test_non_unique_array_of_integers_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUniqueitemsFalseValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUniqueitemsFalseValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -63,7 +63,7 @@ def test_non_unique_array_of_integers_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -93,7 +93,7 @@ def test_unique_array_of_objects_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUniqueitemsFalseValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUniqueitemsFalseValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -102,7 +102,7 @@ def test_unique_array_of_objects_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -144,7 +144,7 @@ def test_non_unique_array_of_nested_objects_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUniqueitemsFalseValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUniqueitemsFalseValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -153,7 +153,7 @@ def test_non_unique_array_of_nested_objects_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -183,7 +183,7 @@ def test_non_unique_array_of_objects_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUniqueitemsFalseValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUniqueitemsFalseValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -192,7 +192,7 @@ def test_non_unique_array_of_objects_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -216,7 +216,7 @@ def test_1_and_true_are_unique_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUniqueitemsFalseValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUniqueitemsFalseValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -225,7 +225,7 @@ def test_1_and_true_are_unique_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -249,7 +249,7 @@ def test_unique_array_of_integers_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUniqueitemsFalseValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUniqueitemsFalseValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -258,7 +258,7 @@ def test_unique_array_of_integers_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -286,7 +286,7 @@ def test_non_unique_array_of_arrays_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUniqueitemsFalseValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUniqueitemsFalseValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -295,7 +295,7 @@ def test_non_unique_array_of_arrays_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -320,7 +320,7 @@ def test_numbers_are_unique_if_mathematically_unequal_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUniqueitemsFalseValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUniqueitemsFalseValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -329,7 +329,7 @@ def test_numbers_are_unique_if_mathematically_unequal_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -353,7 +353,7 @@ def test_false_is_not_equal_to_zero_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUniqueitemsFalseValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUniqueitemsFalseValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -362,7 +362,7 @@ def test_false_is_not_equal_to_zero_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -404,7 +404,7 @@ def test_unique_array_of_nested_objects_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUniqueitemsFalseValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUniqueitemsFalseValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -413,7 +413,7 @@ def test_unique_array_of_nested_objects_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -437,7 +437,7 @@ def test_0_and_false_are_unique_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUniqueitemsFalseValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUniqueitemsFalseValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -446,7 +446,7 @@ def test_0_and_false_are_unique_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -474,7 +474,7 @@ def test_unique_array_of_arrays_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUniqueitemsFalseValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUniqueitemsFalseValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -483,7 +483,7 @@ def test_unique_array_of_arrays_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -507,7 +507,7 @@ def test_true_is_not_equal_to_one_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUniqueitemsFalseValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUniqueitemsFalseValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -516,7 +516,7 @@ def test_true_is_not_equal_to_one_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -548,7 +548,7 @@ def test_non_unique_heterogeneous_types_are_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUniqueitemsFalseValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUniqueitemsFalseValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -557,7 +557,7 @@ def test_non_unique_heterogeneous_types_are_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -587,7 +587,7 @@ def test_unique_heterogeneous_types_are_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUniqueitemsFalseValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUniqueitemsFalseValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -596,7 +596,7 @@ def test_unique_heterogeneous_types_are_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_uniqueitems_validation_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_uniqueitems_validation_response_body_for_content_types/test_post.py index 4497fc096d2..ffdbdfefb71 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_uniqueitems_validation_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_uniqueitems_validation_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostUniqueitemsValidationResponseBodyForContentTypes(ApiTe """ ResponseBodyPostUniqueitemsValidationResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -60,7 +60,7 @@ def test_unique_array_of_objects_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUniqueitemsValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUniqueitemsValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -69,7 +69,7 @@ def test_unique_array_of_objects_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -99,7 +99,7 @@ def test_a_true_and_a1_are_unique_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUniqueitemsValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUniqueitemsValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -108,7 +108,7 @@ def test_a_true_and_a1_are_unique_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -141,7 +141,7 @@ def test_non_unique_heterogeneous_types_are_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUniqueitemsValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUniqueitemsValidationResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -177,7 +177,7 @@ def test_nested0_and_false_are_unique_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUniqueitemsValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUniqueitemsValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -186,7 +186,7 @@ def test_nested0_and_false_are_unique_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -216,7 +216,7 @@ def test_a_false_and_a0_are_unique_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUniqueitemsValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUniqueitemsValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -225,7 +225,7 @@ def test_a_false_and_a0_are_unique_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -251,7 +251,7 @@ def test_numbers_are_unique_if_mathematically_unequal_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUniqueitemsValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUniqueitemsValidationResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -277,7 +277,7 @@ def test_false_is_not_equal_to_zero_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUniqueitemsValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUniqueitemsValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -286,7 +286,7 @@ def test_false_is_not_equal_to_zero_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -314,7 +314,7 @@ def test_0_and_false_are_unique_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUniqueitemsValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUniqueitemsValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -323,7 +323,7 @@ def test_0_and_false_are_unique_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -351,7 +351,7 @@ def test_unique_array_of_arrays_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUniqueitemsValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUniqueitemsValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -360,7 +360,7 @@ def test_unique_array_of_arrays_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -403,7 +403,7 @@ def test_non_unique_array_of_nested_objects_is_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUniqueitemsValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUniqueitemsValidationResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -431,7 +431,7 @@ def test_non_unique_array_of_more_than_two_integers_is_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUniqueitemsValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUniqueitemsValidationResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -457,7 +457,7 @@ def test_true_is_not_equal_to_one_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUniqueitemsValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUniqueitemsValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -466,7 +466,7 @@ def test_true_is_not_equal_to_one_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -501,7 +501,7 @@ def test_objects_are_non_unique_despite_key_order_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUniqueitemsValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUniqueitemsValidationResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -528,7 +528,7 @@ def test_unique_array_of_strings_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUniqueitemsValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUniqueitemsValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -537,7 +537,7 @@ def test_unique_array_of_strings_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -565,7 +565,7 @@ def test_1_and_true_are_unique_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUniqueitemsValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUniqueitemsValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -574,7 +574,7 @@ def test_1_and_true_are_unique_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -608,7 +608,7 @@ def test_different_objects_are_unique_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUniqueitemsValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUniqueitemsValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -617,7 +617,7 @@ def test_different_objects_are_unique_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -641,7 +641,7 @@ def test_unique_array_of_integers_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUniqueitemsValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUniqueitemsValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -650,7 +650,7 @@ def test_unique_array_of_integers_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -682,7 +682,7 @@ def test_non_unique_array_of_more_than_two_arrays_is_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUniqueitemsValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUniqueitemsValidationResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -715,7 +715,7 @@ def test_non_unique_array_of_objects_is_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUniqueitemsValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUniqueitemsValidationResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -759,7 +759,7 @@ def test_unique_array_of_nested_objects_is_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUniqueitemsValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUniqueitemsValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -768,7 +768,7 @@ def test_unique_array_of_nested_objects_is_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -797,7 +797,7 @@ def test_non_unique_array_of_arrays_is_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUniqueitemsValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUniqueitemsValidationResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -825,7 +825,7 @@ def test_non_unique_array_of_strings_is_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUniqueitemsValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUniqueitemsValidationResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, @@ -861,7 +861,7 @@ def test_nested1_and_true_are_unique_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUniqueitemsValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUniqueitemsValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -870,7 +870,7 @@ def test_nested1_and_true_are_unique_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -901,7 +901,7 @@ def test_unique_heterogeneous_types_are_valid_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUniqueitemsValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUniqueitemsValidationResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -910,7 +910,7 @@ def test_unique_heterogeneous_types_are_valid_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -935,7 +935,7 @@ def test_non_unique_array_of_integers_is_invalid_fails(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUniqueitemsValidationResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUniqueitemsValidationResponseBodyForContentTypes', method='post'.upper(), content_type=None, accept_content_type=accept_content_type, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_uri_format_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_uri_format_response_body_for_content_types/test_post.py index d36a78b895a..bc318db600e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_uri_format_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_uri_format_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostUriFormatResponseBodyForContentTypes(ApiTestMixin, uni """ ResponseBodyPostUriFormatResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -52,7 +52,7 @@ def test_all_string_formats_ignore_objects_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUriFormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUriFormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -61,7 +61,7 @@ def test_all_string_formats_ignore_objects_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -82,7 +82,7 @@ def test_all_string_formats_ignore_booleans_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUriFormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUriFormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -91,7 +91,7 @@ def test_all_string_formats_ignore_booleans_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -112,7 +112,7 @@ def test_all_string_formats_ignore_integers_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUriFormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUriFormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -121,7 +121,7 @@ def test_all_string_formats_ignore_integers_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -142,7 +142,7 @@ def test_all_string_formats_ignore_floats_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUriFormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUriFormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -151,7 +151,7 @@ def test_all_string_formats_ignore_floats_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -173,7 +173,7 @@ def test_all_string_formats_ignore_arrays_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUriFormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUriFormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -182,7 +182,7 @@ def test_all_string_formats_ignore_arrays_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -203,7 +203,7 @@ def test_all_string_formats_ignore_nulls_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUriFormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUriFormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -212,7 +212,7 @@ def test_all_string_formats_ignore_nulls_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_uri_reference_format_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_uri_reference_format_response_body_for_content_types/test_post.py index ac40f09c409..a947eb4614e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_uri_reference_format_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_uri_reference_format_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostUriReferenceFormatResponseBodyForContentTypes(ApiTestM """ ResponseBodyPostUriReferenceFormatResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -52,7 +52,7 @@ def test_all_string_formats_ignore_objects_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUriReferenceFormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUriReferenceFormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -61,7 +61,7 @@ def test_all_string_formats_ignore_objects_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -82,7 +82,7 @@ def test_all_string_formats_ignore_booleans_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUriReferenceFormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUriReferenceFormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -91,7 +91,7 @@ def test_all_string_formats_ignore_booleans_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -112,7 +112,7 @@ def test_all_string_formats_ignore_integers_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUriReferenceFormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUriReferenceFormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -121,7 +121,7 @@ def test_all_string_formats_ignore_integers_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -142,7 +142,7 @@ def test_all_string_formats_ignore_floats_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUriReferenceFormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUriReferenceFormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -151,7 +151,7 @@ def test_all_string_formats_ignore_floats_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -173,7 +173,7 @@ def test_all_string_formats_ignore_arrays_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUriReferenceFormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUriReferenceFormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -182,7 +182,7 @@ def test_all_string_formats_ignore_arrays_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -203,7 +203,7 @@ def test_all_string_formats_ignore_nulls_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUriReferenceFormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUriReferenceFormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -212,7 +212,7 @@ def test_all_string_formats_ignore_nulls_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_uri_template_format_response_body_for_content_types/test_post.py b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_uri_template_format_response_body_for_content_types/test_post.py index cf67ae9a8b0..82de8b2d329 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_uri_template_format_response_body_for_content_types/test_post.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/test/test_paths/test_response_body_post_uri_template_format_response_body_for_content_types/test_post.py @@ -22,10 +22,10 @@ class TestResponseBodyPostUriTemplateFormatResponseBodyForContentTypes(ApiTestMi """ ResponseBodyPostUriTemplateFormatResponseBodyForContentTypes unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): @@ -52,7 +52,7 @@ def test_all_string_formats_ignore_objects_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUriTemplateFormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUriTemplateFormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -61,7 +61,7 @@ def test_all_string_formats_ignore_objects_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -82,7 +82,7 @@ def test_all_string_formats_ignore_booleans_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUriTemplateFormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUriTemplateFormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -91,7 +91,7 @@ def test_all_string_formats_ignore_booleans_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -112,7 +112,7 @@ def test_all_string_formats_ignore_integers_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUriTemplateFormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUriTemplateFormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -121,7 +121,7 @@ def test_all_string_formats_ignore_integers_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -142,7 +142,7 @@ def test_all_string_formats_ignore_floats_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUriTemplateFormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUriTemplateFormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -151,7 +151,7 @@ def test_all_string_formats_ignore_floats_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -173,7 +173,7 @@ def test_all_string_formats_ignore_arrays_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUriTemplateFormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUriTemplateFormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -182,7 +182,7 @@ def test_all_string_formats_ignore_arrays_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body @@ -203,7 +203,7 @@ def test_all_string_formats_ignore_nulls_passes(self): ) self.assert_pool_manager_request_called_with( mock_request, - self._configuration.host + '/responseBody/postUriTemplateFormatResponseBodyForContentTypes', + self.configuration_.host + '/responseBody/postUriTemplateFormatResponseBodyForContentTypes', method='post'.upper(), accept_content_type=accept_content_type, ) @@ -212,7 +212,7 @@ def test_all_string_formats_ignore_nulls_passes(self): assert isinstance(api_response.body, self.response_body_schema) deserialized_response_body = self.response_body_schema.from_openapi_data_( payload, - _configuration=self._configuration + configuration_=self.configuration_ ) assert api_response.body == deserialized_response_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/api_client.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/api_client.py index bdbfe8dff8d..0682e29e941 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/api_client.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/api_client.py @@ -928,7 +928,7 @@ def deserialize(cls, response: urllib3.HTTPResponse, configuration: configuratio else: raise NotImplementedError('Deserialization of {} has not yet been implemented'.format(content_type)) deserialized_body = body_schema.from_openapi_data_( - body_data, _configuration=configuration) + body_data, configuration_=configuration) elif streamed: response.release_conn() diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/_not.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/_not.py index 248700c5c8f..484decdc5eb 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/_not.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/_not.py @@ -41,12 +41,12 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_Not': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/_not.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/_not.pyi index 248700c5c8f..484decdc5eb 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/_not.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/_not.pyi @@ -41,12 +41,12 @@ class _Not( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_Not': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_allows_a_schema_which_should_validate.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_allows_a_schema_which_should_validate.py index 40f9f25cd07..e2620f5d20d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_allows_a_schema_which_should_validate.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_allows_a_schema_which_should_validate.py @@ -89,7 +89,7 @@ def __new__( *_args: typing.Union[dict, frozendict.frozendict, ], foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, bar: typing.Union[Schema_.Properties.Bar, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, bool, ], ) -> 'AdditionalpropertiesAllowsASchemaWhichShouldValidate': return super().__new__( @@ -97,6 +97,6 @@ def __new__( *_args, foo=foo, bar=bar, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_allows_a_schema_which_should_validate.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_allows_a_schema_which_should_validate.pyi index 4064df6bf3c..ef0c07afcaa 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_allows_a_schema_which_should_validate.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_allows_a_schema_which_should_validate.pyi @@ -88,7 +88,7 @@ class AdditionalpropertiesAllowsASchemaWhichShouldValidate( *_args: typing.Union[dict, frozendict.frozendict, ], foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, bar: typing.Union[Schema_.Properties.Bar, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, bool, ], ) -> 'AdditionalpropertiesAllowsASchemaWhichShouldValidate': return super().__new__( @@ -96,6 +96,6 @@ class AdditionalpropertiesAllowsASchemaWhichShouldValidate( *_args, foo=foo, bar=bar, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_are_allowed_by_default.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_are_allowed_by_default.py index 2cfacfca64b..03bf370cf78 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_are_allowed_by_default.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_are_allowed_by_default.py @@ -89,7 +89,7 @@ def __new__( *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, bar: typing.Union[Schema_.Properties.Bar, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AdditionalpropertiesAreAllowedByDefault': return super().__new__( @@ -97,6 +97,6 @@ def __new__( *_args, foo=foo, bar=bar, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_are_allowed_by_default.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_are_allowed_by_default.pyi index 2cfacfca64b..03bf370cf78 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_are_allowed_by_default.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_are_allowed_by_default.pyi @@ -89,7 +89,7 @@ class AdditionalpropertiesAreAllowedByDefault( *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, bar: typing.Union[Schema_.Properties.Bar, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AdditionalpropertiesAreAllowedByDefault': return super().__new__( @@ -97,6 +97,6 @@ class AdditionalpropertiesAreAllowedByDefault( *_args, foo=foo, bar=bar, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_can_exist_by_itself.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_can_exist_by_itself.py index b001c1ed29e..14b24b9ce25 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_can_exist_by_itself.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_can_exist_by_itself.py @@ -47,12 +47,12 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, bool, ], ) -> 'AdditionalpropertiesCanExistByItself': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_can_exist_by_itself.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_can_exist_by_itself.pyi index 2ce37940c31..dc348a0a2bb 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_can_exist_by_itself.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_can_exist_by_itself.pyi @@ -46,12 +46,12 @@ class AdditionalpropertiesCanExistByItself( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, bool, ], ) -> 'AdditionalpropertiesCanExistByItself': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_should_not_look_in_applicators.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_should_not_look_in_applicators.py index 29d31aaea24..eb02f7f7adc 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_should_not_look_in_applicators.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_should_not_look_in_applicators.py @@ -90,14 +90,14 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf0': return super().__new__( cls, *_args, foo=foo, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -115,12 +115,12 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, bool, ], ) -> 'AdditionalpropertiesShouldNotLookInApplicators': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_should_not_look_in_applicators.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_should_not_look_in_applicators.pyi index 29d31aaea24..eb02f7f7adc 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_should_not_look_in_applicators.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_should_not_look_in_applicators.pyi @@ -90,14 +90,14 @@ class AdditionalpropertiesShouldNotLookInApplicators( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf0': return super().__new__( cls, *_args, foo=foo, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -115,12 +115,12 @@ class AdditionalpropertiesShouldNotLookInApplicators( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, bool, ], ) -> 'AdditionalpropertiesShouldNotLookInApplicators': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof.py index fb115464262..939cfdb95ca 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof.py @@ -94,14 +94,14 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], bar: typing.Union[Schema_.Properties.Bar, decimal.Decimal, int, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf0': return super().__new__( cls, *_args, bar=bar, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -161,14 +161,14 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], foo: typing.Union[Schema_.Properties.Foo, str, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': return super().__new__( cls, *_args, foo=foo, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -180,12 +180,12 @@ def __new__( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Allof': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof.pyi index fb115464262..939cfdb95ca 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof.pyi @@ -94,14 +94,14 @@ class Allof( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], bar: typing.Union[Schema_.Properties.Bar, decimal.Decimal, int, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf0': return super().__new__( cls, *_args, bar=bar, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -161,14 +161,14 @@ class Allof( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], foo: typing.Union[Schema_.Properties.Foo, str, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': return super().__new__( cls, *_args, foo=foo, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -180,12 +180,12 @@ class Allof( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Allof': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_combined_with_anyof_oneof.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_combined_with_anyof_oneof.py index 18acb9fed30..7e4648077e4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_combined_with_anyof_oneof.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_combined_with_anyof_oneof.py @@ -52,13 +52,13 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf0': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -81,13 +81,13 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneOf0': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -110,13 +110,13 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyOf0': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -127,12 +127,12 @@ def __new__( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllofCombinedWithAnyofOneof': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_combined_with_anyof_oneof.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_combined_with_anyof_oneof.pyi index 47f7f48e5c5..8b6cab89ddb 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_combined_with_anyof_oneof.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_combined_with_anyof_oneof.pyi @@ -51,13 +51,13 @@ class AllofCombinedWithAnyofOneof( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf0': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -79,13 +79,13 @@ class AllofCombinedWithAnyofOneof( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneOf0': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -107,13 +107,13 @@ class AllofCombinedWithAnyofOneof( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyOf0': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -124,12 +124,12 @@ class AllofCombinedWithAnyofOneof( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllofCombinedWithAnyofOneof': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_simple_types.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_simple_types.py index dd11b7c6b36..9db8c30f0d4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_simple_types.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_simple_types.py @@ -52,13 +52,13 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf0': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -76,13 +76,13 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -94,12 +94,12 @@ def __new__( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllofSimpleTypes': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_simple_types.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_simple_types.pyi index 147190fc1f9..71dbb4f2e8e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_simple_types.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_simple_types.pyi @@ -51,13 +51,13 @@ class AllofSimpleTypes( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf0': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -74,13 +74,13 @@ class AllofSimpleTypes( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -92,12 +92,12 @@ class AllofSimpleTypes( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllofSimpleTypes': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_base_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_base_schema.py index 1fe9c8f32b9..4e0e4fe5e14 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_base_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_base_schema.py @@ -103,14 +103,14 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], foo: typing.Union[Schema_.Properties.Foo, str, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf0': return super().__new__( cls, *_args, foo=foo, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -170,14 +170,14 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], baz: typing.Union[Schema_.Properties.Baz, None, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': return super().__new__( cls, *_args, baz=baz, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -223,13 +223,13 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], bar: typing.Union[Schema_.Properties.Bar, decimal.Decimal, int, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllofWithBaseSchema': return super().__new__( cls, *_args, bar=bar, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_base_schema.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_base_schema.pyi index 1fe9c8f32b9..4e0e4fe5e14 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_base_schema.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_base_schema.pyi @@ -103,14 +103,14 @@ class AllofWithBaseSchema( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], foo: typing.Union[Schema_.Properties.Foo, str, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf0': return super().__new__( cls, *_args, foo=foo, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -170,14 +170,14 @@ class AllofWithBaseSchema( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], baz: typing.Union[Schema_.Properties.Baz, None, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': return super().__new__( cls, *_args, baz=baz, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -223,13 +223,13 @@ class AllofWithBaseSchema( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], bar: typing.Union[Schema_.Properties.Bar, decimal.Decimal, int, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllofWithBaseSchema': return super().__new__( cls, *_args, bar=bar, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_one_empty_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_one_empty_schema.py index b83c7fa257a..ebc45a455a7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_one_empty_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_one_empty_schema.py @@ -46,12 +46,12 @@ class AllOf: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllofWithOneEmptySchema': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_one_empty_schema.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_one_empty_schema.pyi index b83c7fa257a..ebc45a455a7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_one_empty_schema.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_one_empty_schema.pyi @@ -46,12 +46,12 @@ class AllofWithOneEmptySchema( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllofWithOneEmptySchema': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_the_first_empty_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_the_first_empty_schema.py index 39a3a69e543..d092cb9c15e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_the_first_empty_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_the_first_empty_schema.py @@ -48,12 +48,12 @@ class AllOf: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllofWithTheFirstEmptySchema': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_the_first_empty_schema.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_the_first_empty_schema.pyi index 39a3a69e543..d092cb9c15e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_the_first_empty_schema.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_the_first_empty_schema.pyi @@ -48,12 +48,12 @@ class AllofWithTheFirstEmptySchema( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllofWithTheFirstEmptySchema': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_the_last_empty_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_the_last_empty_schema.py index 8c164c7919d..4f292e9f983 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_the_last_empty_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_the_last_empty_schema.py @@ -48,12 +48,12 @@ class AllOf: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllofWithTheLastEmptySchema': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_the_last_empty_schema.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_the_last_empty_schema.pyi index 8c164c7919d..4f292e9f983 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_the_last_empty_schema.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_the_last_empty_schema.pyi @@ -48,12 +48,12 @@ class AllofWithTheLastEmptySchema( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllofWithTheLastEmptySchema': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_two_empty_schemas.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_two_empty_schemas.py index 2efaf053035..2018f9adce2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_two_empty_schemas.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_two_empty_schemas.py @@ -48,12 +48,12 @@ class AllOf: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllofWithTwoEmptySchemas': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_two_empty_schemas.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_two_empty_schemas.pyi index 2efaf053035..2018f9adce2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_two_empty_schemas.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_two_empty_schemas.pyi @@ -48,12 +48,12 @@ class AllofWithTwoEmptySchemas( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllofWithTwoEmptySchemas': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof.py index 3385750232d..c60be6425f9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof.py @@ -53,13 +53,13 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyOf1': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -71,12 +71,12 @@ def __new__( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Anyof': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof.pyi index 4e553a8f3ac..6b1ec7c03ed 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof.pyi @@ -52,13 +52,13 @@ class Anyof( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyOf1': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -70,12 +70,12 @@ class Anyof( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Anyof': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_complex_types.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_complex_types.py index 82b8278aaa2..c8c50ca5173 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_complex_types.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_complex_types.py @@ -94,14 +94,14 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], bar: typing.Union[Schema_.Properties.Bar, decimal.Decimal, int, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyOf0': return super().__new__( cls, *_args, bar=bar, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -161,14 +161,14 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], foo: typing.Union[Schema_.Properties.Foo, str, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyOf1': return super().__new__( cls, *_args, foo=foo, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -180,12 +180,12 @@ def __new__( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyofComplexTypes': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_complex_types.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_complex_types.pyi index 82b8278aaa2..c8c50ca5173 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_complex_types.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_complex_types.pyi @@ -94,14 +94,14 @@ class AnyofComplexTypes( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], bar: typing.Union[Schema_.Properties.Bar, decimal.Decimal, int, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyOf0': return super().__new__( cls, *_args, bar=bar, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -161,14 +161,14 @@ class AnyofComplexTypes( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], foo: typing.Union[Schema_.Properties.Foo, str, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyOf1': return super().__new__( cls, *_args, foo=foo, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -180,12 +180,12 @@ class AnyofComplexTypes( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyofComplexTypes': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_with_base_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_with_base_schema.py index 6442ce1ce2e..abc8ab2e677 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_with_base_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_with_base_schema.py @@ -54,13 +54,13 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyOf0': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -78,13 +78,13 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyOf1': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -96,10 +96,10 @@ def __new__( def __new__( cls, *_args: typing.Union[str, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'AnyofWithBaseSchema': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_with_base_schema.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_with_base_schema.pyi index 9a01b5ce2b1..8a9df3abd5f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_with_base_schema.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_with_base_schema.pyi @@ -53,13 +53,13 @@ class AnyofWithBaseSchema( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyOf0': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -76,13 +76,13 @@ class AnyofWithBaseSchema( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyOf1': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -94,10 +94,10 @@ class AnyofWithBaseSchema( def __new__( cls, *_args: typing.Union[str, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'AnyofWithBaseSchema': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_with_one_empty_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_with_one_empty_schema.py index 422485be0c1..a3a0d9db9f9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_with_one_empty_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_with_one_empty_schema.py @@ -48,12 +48,12 @@ class AnyOf: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyofWithOneEmptySchema': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_with_one_empty_schema.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_with_one_empty_schema.pyi index 422485be0c1..a3a0d9db9f9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_with_one_empty_schema.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_with_one_empty_schema.pyi @@ -48,12 +48,12 @@ class AnyofWithOneEmptySchema( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyofWithOneEmptySchema': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/array_type_matches_arrays.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/array_type_matches_arrays.py index 82bfecfa0cc..a57fcc3ab78 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/array_type_matches_arrays.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/array_type_matches_arrays.py @@ -40,12 +40,12 @@ class Schema_: def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayTypeMatchesArrays': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/array_type_matches_arrays.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/array_type_matches_arrays.pyi index 82bfecfa0cc..a57fcc3ab78 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/array_type_matches_arrays.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/array_type_matches_arrays.pyi @@ -40,12 +40,12 @@ class ArrayTypeMatchesArrays( def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayTypeMatchesArrays': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_int.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_int.py index faffd6ef4e4..387359449f3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_int.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_int.py @@ -41,12 +41,12 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ByInt': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_int.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_int.pyi index 2e50a7e0a34..56fb5fc10fe 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_int.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_int.pyi @@ -40,12 +40,12 @@ class ByInt( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ByInt': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_number.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_number.py index 80674cc3b8c..af152cd561b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_number.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_number.py @@ -41,12 +41,12 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ByNumber': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_number.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_number.pyi index f20d271b654..509f14acca7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_number.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_number.pyi @@ -40,12 +40,12 @@ class ByNumber( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ByNumber': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_small_number.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_small_number.py index 4654bae7dc0..e8a8ced40c5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_small_number.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_small_number.py @@ -41,12 +41,12 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'BySmallNumber': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_small_number.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_small_number.pyi index 8b3ae4b8196..9080a0242c7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_small_number.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_small_number.pyi @@ -40,12 +40,12 @@ class BySmallNumber( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'BySmallNumber': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/date_time_format.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/date_time_format.py index 8b187029aa1..a99d1408e0f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/date_time_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/date_time_format.py @@ -42,12 +42,12 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'DateTimeFormat': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/date_time_format.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/date_time_format.pyi index 8b187029aa1..a99d1408e0f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/date_time_format.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/date_time_format.pyi @@ -42,12 +42,12 @@ class DateTimeFormat( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'DateTimeFormat': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/email_format.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/email_format.py index babea5ad218..fba19abfb86 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/email_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/email_format.py @@ -41,12 +41,12 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'EmailFormat': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/email_format.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/email_format.pyi index babea5ad218..fba19abfb86 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/email_format.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/email_format.pyi @@ -41,12 +41,12 @@ class EmailFormat( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'EmailFormat': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/enums_in_properties.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/enums_in_properties.py index 819cdf9e7f0..96ffbb5d2d9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/enums_in_properties.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/enums_in_properties.py @@ -127,7 +127,7 @@ def __new__( *_args: typing.Union[dict, frozendict.frozendict, ], bar: typing.Union[Schema_.Properties.Bar, str, ], foo: typing.Union[Schema_.Properties.Foo, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'EnumsInProperties': return super().__new__( @@ -135,6 +135,6 @@ def __new__( *_args, bar=bar, foo=foo, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/enums_in_properties.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/enums_in_properties.pyi index ea39525d5ce..ca4bac49923 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/enums_in_properties.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/enums_in_properties.pyi @@ -108,7 +108,7 @@ class EnumsInProperties( *_args: typing.Union[dict, frozendict.frozendict, ], bar: typing.Union[Schema_.Properties.Bar, str, ], foo: typing.Union[Schema_.Properties.Foo, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'EnumsInProperties': return super().__new__( @@ -116,6 +116,6 @@ class EnumsInProperties( *_args, bar=bar, foo=foo, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/forbidden_property.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/forbidden_property.py index ea7dc18394d..55af9ed8110 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/forbidden_property.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/forbidden_property.py @@ -78,13 +78,13 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ForbiddenProperty': return super().__new__( cls, *_args, foo=foo, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/forbidden_property.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/forbidden_property.pyi index ea7dc18394d..55af9ed8110 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/forbidden_property.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/forbidden_property.pyi @@ -78,13 +78,13 @@ class ForbiddenProperty( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ForbiddenProperty': return super().__new__( cls, *_args, foo=foo, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/hostname_format.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/hostname_format.py index 1e7a5037f19..4cd7d1d090e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/hostname_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/hostname_format.py @@ -41,12 +41,12 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'HostnameFormat': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/hostname_format.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/hostname_format.pyi index 1e7a5037f19..4cd7d1d090e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/hostname_format.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/hostname_format.pyi @@ -41,12 +41,12 @@ class HostnameFormat( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'HostnameFormat': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/invalid_string_value_for_default.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/invalid_string_value_for_default.py index 1311e3b8577..2af1df720cc 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/invalid_string_value_for_default.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/invalid_string_value_for_default.py @@ -89,13 +89,13 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], bar: typing.Union[Schema_.Properties.Bar, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'InvalidStringValueForDefault': return super().__new__( cls, *_args, bar=bar, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/invalid_string_value_for_default.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/invalid_string_value_for_default.pyi index 6095352e001..9f8cebc4482 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/invalid_string_value_for_default.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/invalid_string_value_for_default.pyi @@ -83,13 +83,13 @@ class InvalidStringValueForDefault( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], bar: typing.Union[Schema_.Properties.Bar, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'InvalidStringValueForDefault': return super().__new__( cls, *_args, bar=bar, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ipv4_format.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ipv4_format.py index eb3503d477e..79ec0b77ecc 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ipv4_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ipv4_format.py @@ -41,12 +41,12 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Ipv4Format': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ipv4_format.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ipv4_format.pyi index eb3503d477e..79ec0b77ecc 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ipv4_format.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ipv4_format.pyi @@ -41,12 +41,12 @@ class Ipv4Format( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Ipv4Format': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ipv6_format.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ipv6_format.py index 28dfa4edede..0454a2cd007 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ipv6_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ipv6_format.py @@ -41,12 +41,12 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Ipv6Format': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ipv6_format.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ipv6_format.pyi index 28dfa4edede..0454a2cd007 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ipv6_format.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ipv6_format.pyi @@ -41,12 +41,12 @@ class Ipv6Format( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Ipv6Format': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/json_pointer_format.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/json_pointer_format.py index 58ce98ba281..04ae53515d2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/json_pointer_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/json_pointer_format.py @@ -41,12 +41,12 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'JsonPointerFormat': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/json_pointer_format.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/json_pointer_format.pyi index 58ce98ba281..04ae53515d2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/json_pointer_format.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/json_pointer_format.pyi @@ -41,12 +41,12 @@ class JsonPointerFormat( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'JsonPointerFormat': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maximum_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maximum_validation.py index fb77a90dd44..0358199d609 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maximum_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maximum_validation.py @@ -41,12 +41,12 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MaximumValidation': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maximum_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maximum_validation.pyi index 736d03cc74a..089a8a2d26a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maximum_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maximum_validation.pyi @@ -40,12 +40,12 @@ class MaximumValidation( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MaximumValidation': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maximum_validation_with_unsigned_integer.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maximum_validation_with_unsigned_integer.py index 4b6e7a8265a..1b933a27080 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maximum_validation_with_unsigned_integer.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maximum_validation_with_unsigned_integer.py @@ -41,12 +41,12 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MaximumValidationWithUnsignedInteger': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maximum_validation_with_unsigned_integer.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maximum_validation_with_unsigned_integer.pyi index 497f56d8f4f..f8c251e026c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maximum_validation_with_unsigned_integer.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maximum_validation_with_unsigned_integer.pyi @@ -40,12 +40,12 @@ class MaximumValidationWithUnsignedInteger( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MaximumValidationWithUnsignedInteger': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxitems_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxitems_validation.py index d14a45f3c5e..b27e93cce1e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxitems_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxitems_validation.py @@ -41,12 +41,12 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MaxitemsValidation': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxitems_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxitems_validation.pyi index 2a2f6115888..58386d56ff7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxitems_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxitems_validation.pyi @@ -40,12 +40,12 @@ class MaxitemsValidation( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MaxitemsValidation': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxlength_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxlength_validation.py index 2821e6975c8..82ac2ecbb97 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxlength_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxlength_validation.py @@ -41,12 +41,12 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MaxlengthValidation': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxlength_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxlength_validation.pyi index 3b8eeb47fa2..b2454b944c2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxlength_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxlength_validation.pyi @@ -40,12 +40,12 @@ class MaxlengthValidation( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MaxlengthValidation': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxproperties0_means_the_object_is_empty.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxproperties0_means_the_object_is_empty.py index 6208dc85048..afdf7b2bb17 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxproperties0_means_the_object_is_empty.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxproperties0_means_the_object_is_empty.py @@ -41,12 +41,12 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Maxproperties0MeansTheObjectIsEmpty': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxproperties0_means_the_object_is_empty.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxproperties0_means_the_object_is_empty.pyi index 7638166ecca..5bdd926e9bf 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxproperties0_means_the_object_is_empty.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxproperties0_means_the_object_is_empty.pyi @@ -40,12 +40,12 @@ class Maxproperties0MeansTheObjectIsEmpty( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Maxproperties0MeansTheObjectIsEmpty': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxproperties_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxproperties_validation.py index cf51086867f..c885c3be326 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxproperties_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxproperties_validation.py @@ -41,12 +41,12 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MaxpropertiesValidation': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxproperties_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxproperties_validation.pyi index db020ce5aff..39912a8d62c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxproperties_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxproperties_validation.pyi @@ -40,12 +40,12 @@ class MaxpropertiesValidation( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MaxpropertiesValidation': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minimum_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minimum_validation.py index ff26e1fa962..8a5456c102f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minimum_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minimum_validation.py @@ -41,12 +41,12 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MinimumValidation': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minimum_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minimum_validation.pyi index bc221281616..b1ea6a40cc8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minimum_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minimum_validation.pyi @@ -40,12 +40,12 @@ class MinimumValidation( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MinimumValidation': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minimum_validation_with_signed_integer.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minimum_validation_with_signed_integer.py index c423cbb5009..ee6d2353e81 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minimum_validation_with_signed_integer.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minimum_validation_with_signed_integer.py @@ -41,12 +41,12 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MinimumValidationWithSignedInteger': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minimum_validation_with_signed_integer.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minimum_validation_with_signed_integer.pyi index f785425467d..fd119fc0fe3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minimum_validation_with_signed_integer.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minimum_validation_with_signed_integer.pyi @@ -40,12 +40,12 @@ class MinimumValidationWithSignedInteger( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MinimumValidationWithSignedInteger': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minitems_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minitems_validation.py index ed08cb33d4d..5f4731e2f63 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minitems_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minitems_validation.py @@ -41,12 +41,12 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MinitemsValidation': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minitems_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minitems_validation.pyi index f6f80a01d0e..ee2d6dbb88b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minitems_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minitems_validation.pyi @@ -40,12 +40,12 @@ class MinitemsValidation( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MinitemsValidation': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minlength_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minlength_validation.py index 2696ad50430..0e3a25ce59e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minlength_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minlength_validation.py @@ -41,12 +41,12 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MinlengthValidation': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minlength_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minlength_validation.pyi index 8f857ae20a8..9298d824f1a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minlength_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minlength_validation.pyi @@ -40,12 +40,12 @@ class MinlengthValidation( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MinlengthValidation': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minproperties_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minproperties_validation.py index e08b6f24995..70239aed805 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minproperties_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minproperties_validation.py @@ -41,12 +41,12 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MinpropertiesValidation': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minproperties_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minproperties_validation.pyi index eb8d7518f14..87c93bbcff8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minproperties_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minproperties_validation.pyi @@ -40,12 +40,12 @@ class MinpropertiesValidation( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MinpropertiesValidation': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_allof_to_check_validation_semantics.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_allof_to_check_validation_semantics.py index 28c213ee178..40b0897425f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_allof_to_check_validation_semantics.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_allof_to_check_validation_semantics.py @@ -57,13 +57,13 @@ class AllOf: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf0': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -74,12 +74,12 @@ def __new__( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'NestedAllofToCheckValidationSemantics': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_allof_to_check_validation_semantics.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_allof_to_check_validation_semantics.pyi index 28c213ee178..40b0897425f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_allof_to_check_validation_semantics.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_allof_to_check_validation_semantics.pyi @@ -57,13 +57,13 @@ class NestedAllofToCheckValidationSemantics( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf0': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -74,12 +74,12 @@ class NestedAllofToCheckValidationSemantics( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'NestedAllofToCheckValidationSemantics': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_anyof_to_check_validation_semantics.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_anyof_to_check_validation_semantics.py index 9fb8d5968a1..502566772c3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_anyof_to_check_validation_semantics.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_anyof_to_check_validation_semantics.py @@ -57,13 +57,13 @@ class AnyOf: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyOf0': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -74,12 +74,12 @@ def __new__( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'NestedAnyofToCheckValidationSemantics': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_anyof_to_check_validation_semantics.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_anyof_to_check_validation_semantics.pyi index 9fb8d5968a1..502566772c3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_anyof_to_check_validation_semantics.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_anyof_to_check_validation_semantics.pyi @@ -57,13 +57,13 @@ class NestedAnyofToCheckValidationSemantics( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyOf0': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -74,12 +74,12 @@ class NestedAnyofToCheckValidationSemantics( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'NestedAnyofToCheckValidationSemantics': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_items.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_items.py index 98114b2c5fd..d25b36a9b9d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_items.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_items.py @@ -67,12 +67,12 @@ class Schema_: def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]], typing.List[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Items': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: @@ -81,12 +81,12 @@ def __getitem__(self, i: int) -> Schema_.Items: def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, list, tuple, ]], typing.List[typing.Union[Schema_.Items, list, tuple, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Items': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: @@ -95,12 +95,12 @@ def __getitem__(self, i: int) -> Schema_.Items: def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, list, tuple, ]], typing.List[typing.Union[Schema_.Items, list, tuple, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Items': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: @@ -109,12 +109,12 @@ def __getitem__(self, i: int) -> Schema_.Items: def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, list, tuple, ]], typing.List[typing.Union[Schema_.Items, list, tuple, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'NestedItems': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_items.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_items.pyi index 98114b2c5fd..d25b36a9b9d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_items.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_items.pyi @@ -67,12 +67,12 @@ class NestedItems( def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]], typing.List[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Items': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: @@ -81,12 +81,12 @@ class NestedItems( def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, list, tuple, ]], typing.List[typing.Union[Schema_.Items, list, tuple, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Items': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: @@ -95,12 +95,12 @@ class NestedItems( def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, list, tuple, ]], typing.List[typing.Union[Schema_.Items, list, tuple, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Items': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: @@ -109,12 +109,12 @@ class NestedItems( def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, list, tuple, ]], typing.List[typing.Union[Schema_.Items, list, tuple, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'NestedItems': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_oneof_to_check_validation_semantics.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_oneof_to_check_validation_semantics.py index 5808d34d599..70ecad9b2f1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_oneof_to_check_validation_semantics.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_oneof_to_check_validation_semantics.py @@ -57,13 +57,13 @@ class OneOf: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneOf0': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -74,12 +74,12 @@ def __new__( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'NestedOneofToCheckValidationSemantics': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_oneof_to_check_validation_semantics.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_oneof_to_check_validation_semantics.pyi index 5808d34d599..70ecad9b2f1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_oneof_to_check_validation_semantics.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_oneof_to_check_validation_semantics.pyi @@ -57,13 +57,13 @@ class NestedOneofToCheckValidationSemantics( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneOf0': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -74,12 +74,12 @@ class NestedOneofToCheckValidationSemantics( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'NestedOneofToCheckValidationSemantics': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/not_more_complex_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/not_more_complex_schema.py index 8057e49f91c..fbc54e8c161 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/not_more_complex_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/not_more_complex_schema.py @@ -86,14 +86,14 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], foo: typing.Union[Schema_.Properties.Foo, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_Not': return super().__new__( cls, *_args, foo=foo, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -101,12 +101,12 @@ def __new__( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'NotMoreComplexSchema': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/not_more_complex_schema.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/not_more_complex_schema.pyi index d7e47ec079e..b4759b43375 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/not_more_complex_schema.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/not_more_complex_schema.pyi @@ -85,14 +85,14 @@ class NotMoreComplexSchema( cls, *_args: typing.Union[dict, frozendict.frozendict, ], foo: typing.Union[Schema_.Properties.Foo, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_Not': return super().__new__( cls, *_args, foo=foo, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -100,12 +100,12 @@ class NotMoreComplexSchema( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'NotMoreComplexSchema': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/object_properties_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/object_properties_validation.py index c460829ea27..0dabcd43812 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/object_properties_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/object_properties_validation.py @@ -89,7 +89,7 @@ def __new__( *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], foo: typing.Union[Schema_.Properties.Foo, decimal.Decimal, int, schemas.Unset] = schemas.unset, bar: typing.Union[Schema_.Properties.Bar, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectPropertiesValidation': return super().__new__( @@ -97,6 +97,6 @@ def __new__( *_args, foo=foo, bar=bar, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/object_properties_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/object_properties_validation.pyi index c460829ea27..0dabcd43812 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/object_properties_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/object_properties_validation.pyi @@ -89,7 +89,7 @@ class ObjectPropertiesValidation( *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], foo: typing.Union[Schema_.Properties.Foo, decimal.Decimal, int, schemas.Unset] = schemas.unset, bar: typing.Union[Schema_.Properties.Bar, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectPropertiesValidation': return super().__new__( @@ -97,6 +97,6 @@ class ObjectPropertiesValidation( *_args, foo=foo, bar=bar, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof.py index 620f61b37a6..99454952b77 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof.py @@ -53,13 +53,13 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneOf1': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -71,12 +71,12 @@ def __new__( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Oneof': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof.pyi index c8df049241d..07d0dbabebf 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof.pyi @@ -52,13 +52,13 @@ class Oneof( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneOf1': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -70,12 +70,12 @@ class Oneof( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Oneof': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_complex_types.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_complex_types.py index ff35be6f3e5..a005da55314 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_complex_types.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_complex_types.py @@ -94,14 +94,14 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], bar: typing.Union[Schema_.Properties.Bar, decimal.Decimal, int, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneOf0': return super().__new__( cls, *_args, bar=bar, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -161,14 +161,14 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], foo: typing.Union[Schema_.Properties.Foo, str, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneOf1': return super().__new__( cls, *_args, foo=foo, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -180,12 +180,12 @@ def __new__( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneofComplexTypes': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_complex_types.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_complex_types.pyi index ff35be6f3e5..a005da55314 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_complex_types.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_complex_types.pyi @@ -94,14 +94,14 @@ class OneofComplexTypes( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], bar: typing.Union[Schema_.Properties.Bar, decimal.Decimal, int, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneOf0': return super().__new__( cls, *_args, bar=bar, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -161,14 +161,14 @@ class OneofComplexTypes( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], foo: typing.Union[Schema_.Properties.Foo, str, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneOf1': return super().__new__( cls, *_args, foo=foo, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -180,12 +180,12 @@ class OneofComplexTypes( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneofComplexTypes': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_base_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_base_schema.py index 2f505acaf30..504f357f7cf 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_base_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_base_schema.py @@ -54,13 +54,13 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneOf0': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -78,13 +78,13 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneOf1': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -96,10 +96,10 @@ def __new__( def __new__( cls, *_args: typing.Union[str, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'OneofWithBaseSchema': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_base_schema.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_base_schema.pyi index d6b69340075..ce12f1d96ea 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_base_schema.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_base_schema.pyi @@ -53,13 +53,13 @@ class OneofWithBaseSchema( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneOf0': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -76,13 +76,13 @@ class OneofWithBaseSchema( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneOf1': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -94,10 +94,10 @@ class OneofWithBaseSchema( def __new__( cls, *_args: typing.Union[str, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'OneofWithBaseSchema': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_empty_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_empty_schema.py index e4ce8fbe949..df7dd235afb 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_empty_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_empty_schema.py @@ -48,12 +48,12 @@ class OneOf: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneofWithEmptySchema': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_empty_schema.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_empty_schema.pyi index e4ce8fbe949..df7dd235afb 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_empty_schema.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_empty_schema.pyi @@ -48,12 +48,12 @@ class OneofWithEmptySchema( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneofWithEmptySchema': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_required.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_required.py index 56e76adea88..510c2b30894 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_required.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_required.py @@ -101,7 +101,7 @@ def __new__( *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], bar: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], foo: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneOf0': return super().__new__( @@ -109,7 +109,7 @@ def __new__( *_args, bar=bar, foo=foo, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -174,7 +174,7 @@ def __new__( *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], baz: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], foo: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneOf1': return super().__new__( @@ -182,7 +182,7 @@ def __new__( *_args, baz=baz, foo=foo, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -194,12 +194,12 @@ def __new__( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneofWithRequired': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_required.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_required.pyi index 56e76adea88..510c2b30894 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_required.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_required.pyi @@ -101,7 +101,7 @@ class OneofWithRequired( *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], bar: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], foo: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneOf0': return super().__new__( @@ -109,7 +109,7 @@ class OneofWithRequired( *_args, bar=bar, foo=foo, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -174,7 +174,7 @@ class OneofWithRequired( *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], baz: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], foo: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneOf1': return super().__new__( @@ -182,7 +182,7 @@ class OneofWithRequired( *_args, baz=baz, foo=foo, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -194,12 +194,12 @@ class OneofWithRequired( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneofWithRequired': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/pattern_is_not_anchored.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/pattern_is_not_anchored.py index 97ef9065b85..7e0ec24d526 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/pattern_is_not_anchored.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/pattern_is_not_anchored.py @@ -43,12 +43,12 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'PatternIsNotAnchored': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/pattern_is_not_anchored.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/pattern_is_not_anchored.pyi index a24801fec73..54a97dfd9c1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/pattern_is_not_anchored.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/pattern_is_not_anchored.pyi @@ -40,12 +40,12 @@ class PatternIsNotAnchored( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'PatternIsNotAnchored': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/pattern_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/pattern_validation.py index 951b97cde43..52960158515 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/pattern_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/pattern_validation.py @@ -43,12 +43,12 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'PatternValidation': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/pattern_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/pattern_validation.pyi index d2cf5e0c772..4333f180e89 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/pattern_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/pattern_validation.pyi @@ -40,12 +40,12 @@ class PatternValidation( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'PatternValidation': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/properties_with_escaped_characters.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/properties_with_escaped_characters.py index f4af14e4082..b4a7396f272 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/properties_with_escaped_characters.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/properties_with_escaped_characters.py @@ -127,12 +127,12 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'PropertiesWithEscapedCharacters': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/properties_with_escaped_characters.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/properties_with_escaped_characters.pyi index f4af14e4082..b4a7396f272 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/properties_with_escaped_characters.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/properties_with_escaped_characters.pyi @@ -127,12 +127,12 @@ class PropertiesWithEscapedCharacters( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'PropertiesWithEscapedCharacters': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/property_named_ref_that_is_not_a_reference.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/property_named_ref_that_is_not_a_reference.py index 06e6e8b2c8a..3cc27f3719b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/property_named_ref_that_is_not_a_reference.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/property_named_ref_that_is_not_a_reference.py @@ -77,12 +77,12 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'PropertyNamedRefThatIsNotAReference': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/property_named_ref_that_is_not_a_reference.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/property_named_ref_that_is_not_a_reference.pyi index 06e6e8b2c8a..3cc27f3719b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/property_named_ref_that_is_not_a_reference.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/property_named_ref_that_is_not_a_reference.pyi @@ -77,12 +77,12 @@ class PropertyNamedRefThatIsNotAReference( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'PropertyNamedRefThatIsNotAReference': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_additionalproperties.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_additionalproperties.py index d660ceb5fcb..286318c661f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_additionalproperties.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_additionalproperties.py @@ -50,13 +50,13 @@ def get_item_(self, name: str) -> 'property_named_ref_that_is_not_a_reference.Pr def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: 'property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference', ) -> 'RefInAdditionalproperties': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_additionalproperties.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_additionalproperties.pyi index 3444021c315..8be3fc5fc85 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_additionalproperties.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_additionalproperties.pyi @@ -49,13 +49,13 @@ class RefInAdditionalproperties( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: 'property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference', ) -> 'RefInAdditionalproperties': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_allof.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_allof.py index 6277a3af987..852d26af908 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_allof.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_allof.py @@ -49,13 +49,13 @@ def all_of0() -> typing.Type['property_named_ref_that_is_not_a_reference.Propert def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'RefInAllof': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_allof.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_allof.pyi index 6277a3af987..852d26af908 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_allof.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_allof.pyi @@ -49,13 +49,13 @@ class RefInAllof( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'RefInAllof': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_anyof.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_anyof.py index 890010bd4b4..8368a10c07d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_anyof.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_anyof.py @@ -49,13 +49,13 @@ def any_of0() -> typing.Type['property_named_ref_that_is_not_a_reference.Propert def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'RefInAnyof': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_anyof.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_anyof.pyi index 890010bd4b4..8368a10c07d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_anyof.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_anyof.pyi @@ -49,13 +49,13 @@ class RefInAnyof( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'RefInAnyof': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_items.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_items.py index 1c831f910e4..be67cf56c2d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_items.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_items.py @@ -43,12 +43,12 @@ def items() -> typing.Type['property_named_ref_that_is_not_a_reference.PropertyN def __new__( cls, _arg: typing.Union[typing.Tuple['property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference'], typing.List['property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference']], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'RefInItems': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> 'property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_items.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_items.pyi index 1c831f910e4..be67cf56c2d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_items.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_items.pyi @@ -43,12 +43,12 @@ class RefInItems( def __new__( cls, _arg: typing.Union[typing.Tuple['property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference'], typing.List['property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference']], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'RefInItems': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> 'property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_not.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_not.py index f054c1e5155..52ceedf27d1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_not.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_not.py @@ -44,13 +44,13 @@ def _not() -> typing.Type['property_named_ref_that_is_not_a_reference.PropertyNa def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'RefInNot': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_not.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_not.pyi index f054c1e5155..52ceedf27d1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_not.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_not.pyi @@ -44,13 +44,13 @@ class RefInNot( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'RefInNot': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_oneof.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_oneof.py index ef3ff3fade3..6d38d254dd4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_oneof.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_oneof.py @@ -49,13 +49,13 @@ def one_of0() -> typing.Type['property_named_ref_that_is_not_a_reference.Propert def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'RefInOneof': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_oneof.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_oneof.pyi index ef3ff3fade3..6d38d254dd4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_oneof.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_oneof.pyi @@ -49,13 +49,13 @@ class RefInOneof( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'RefInOneof': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_property.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_property.py index 4938e137e38..620674f4dc7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_property.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_property.py @@ -81,14 +81,14 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], a: typing.Union['property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'RefInProperty': return super().__new__( cls, *_args, a=a, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_property.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_property.pyi index 4938e137e38..620674f4dc7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_property.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_property.pyi @@ -81,14 +81,14 @@ class RefInProperty( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], a: typing.Union['property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'RefInProperty': return super().__new__( cls, *_args, a=a, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_default_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_default_validation.py index 149680ecb86..4f6ce4519cd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_default_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_default_validation.py @@ -78,13 +78,13 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'RequiredDefaultValidation': return super().__new__( cls, *_args, foo=foo, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_default_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_default_validation.pyi index 149680ecb86..4f6ce4519cd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_default_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_default_validation.pyi @@ -78,13 +78,13 @@ class RequiredDefaultValidation( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'RequiredDefaultValidation': return super().__new__( cls, *_args, foo=foo, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_validation.py index 3df8ac0be10..fa235e50f2d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_validation.py @@ -94,7 +94,7 @@ def __new__( *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], bar: typing.Union[Schema_.Properties.Bar, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'RequiredValidation': return super().__new__( @@ -102,6 +102,6 @@ def __new__( *_args, foo=foo, bar=bar, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_validation.pyi index 3df8ac0be10..fa235e50f2d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_validation.pyi @@ -94,7 +94,7 @@ class RequiredValidation( *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], bar: typing.Union[Schema_.Properties.Bar, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'RequiredValidation': return super().__new__( @@ -102,6 +102,6 @@ class RequiredValidation( *_args, foo=foo, bar=bar, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_empty_array.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_empty_array.py index 6c385ce3ec7..8ae44ad5bb9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_empty_array.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_empty_array.py @@ -78,13 +78,13 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'RequiredWithEmptyArray': return super().__new__( cls, *_args, foo=foo, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_empty_array.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_empty_array.pyi index 6c385ce3ec7..8ae44ad5bb9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_empty_array.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_empty_array.pyi @@ -78,13 +78,13 @@ class RequiredWithEmptyArray( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'RequiredWithEmptyArray': return super().__new__( cls, *_args, foo=foo, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_escaped_characters.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_escaped_characters.py index f4aaf189365..2384cbc238d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_escaped_characters.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_escaped_characters.py @@ -120,12 +120,12 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'RequiredWithEscapedCharacters': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_escaped_characters.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_escaped_characters.pyi index f4aaf189365..2384cbc238d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_escaped_characters.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_escaped_characters.pyi @@ -120,12 +120,12 @@ class RequiredWithEscapedCharacters( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'RequiredWithEscapedCharacters': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.py index 15067095fc8..0ec891be17a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.py @@ -88,13 +88,13 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], alpha: typing.Union[Schema_.Properties.Alpha, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing': return super().__new__( cls, *_args, alpha=alpha, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.pyi index 2b36264105f..b04b1364784 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.pyi @@ -81,13 +81,13 @@ class TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing( cls, *_args: typing.Union[dict, frozendict.frozendict, ], alpha: typing.Union[Schema_.Properties.Alpha, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing': return super().__new__( cls, *_args, alpha=alpha, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uniqueitems_false_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uniqueitems_false_validation.py index a4b297e5706..ee0736905d0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uniqueitems_false_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uniqueitems_false_validation.py @@ -41,12 +41,12 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'UniqueitemsFalseValidation': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uniqueitems_false_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uniqueitems_false_validation.pyi index 7816b80d9fd..b0b20afb69a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uniqueitems_false_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uniqueitems_false_validation.pyi @@ -40,12 +40,12 @@ class UniqueitemsFalseValidation( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'UniqueitemsFalseValidation': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uniqueitems_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uniqueitems_validation.py index 6f69a0d3745..9ab05dafc07 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uniqueitems_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uniqueitems_validation.py @@ -41,12 +41,12 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'UniqueitemsValidation': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uniqueitems_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uniqueitems_validation.pyi index 34b0be13f0c..0e021358ed9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uniqueitems_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uniqueitems_validation.pyi @@ -40,12 +40,12 @@ class UniqueitemsValidation( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'UniqueitemsValidation': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_format.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_format.py index 03dedb88938..536ad7ed50c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_format.py @@ -41,12 +41,12 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'UriFormat': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_format.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_format.pyi index 03dedb88938..536ad7ed50c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_format.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_format.pyi @@ -41,12 +41,12 @@ class UriFormat( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'UriFormat': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_reference_format.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_reference_format.py index dda31cf3fc6..10f9ba4d62c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_reference_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_reference_format.py @@ -41,12 +41,12 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'UriReferenceFormat': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_reference_format.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_reference_format.pyi index dda31cf3fc6..10f9ba4d62c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_reference_format.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_reference_format.pyi @@ -41,12 +41,12 @@ class UriReferenceFormat( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'UriReferenceFormat': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_template_format.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_template_format.py index d2f4ba6cc65..ce24bcc77bd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_template_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_template_format.py @@ -41,12 +41,12 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'UriTemplateFormat': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_template_format.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_template_format.pyi index d2f4ba6cc65..ce24bcc77bd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_template_format.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_template_format.pyi @@ -41,12 +41,12 @@ class UriTemplateFormat( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'UriTemplateFormat': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py index 10023d9ca20..1bb3bf385ed 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py @@ -1301,7 +1301,7 @@ def from_openapi_data_( io.BufferedReader, bytes ], - _configuration: typing.Optional[configuration_module.Configuration] = None + configuration_: typing.Optional[configuration_module.Configuration] = None ): """ Schema from_openapi_data_ @@ -1312,7 +1312,7 @@ def from_openapi_data_( arg = cast_to_allowed_types(arg, from_server, validated_path_to_schemas, ('args[0]',), path_to_type) validation_metadata = ValidationMetadata( path_to_item=('args[0]',), - configuration=_configuration or configuration_module.Configuration(), + configuration=configuration_ or configuration_module.Configuration(), validated_path_to_schemas=frozendict.frozendict(validated_path_to_schemas) ) path_to_schemas = cls.__get_new_cls(arg, validation_metadata, path_to_type) @@ -1357,7 +1357,7 @@ def __new__( io.FileIO, io.BufferedReader, 'Schema', ], - _configuration: typing.Optional[configuration_module.Configuration] = None, + configuration_: typing.Optional[configuration_module.Configuration] = None, **kwargs: typing.Union[ dict, frozendict.frozendict, @@ -1384,7 +1384,7 @@ def __new__( Args: _args (int/float/decimal.Decimal/str/list/tuple/dict/frozendict.frozendict/bool/None): the value kwargs (str, int/float/decimal.Decimal/str/list/tuple/dict/frozendict.frozendict/bool/None): dict values - _configuration: contains the configuration_module.Configuration that enables json schema validation keywords + configuration_: contains the configuration_module.Configuration that enables json schema validation keywords like minItems, minLength etc Note: double underscores are used here because pycharm thinks that these variables @@ -1406,7 +1406,7 @@ def __new__( __arg, __from_server, __validated_path_to_schemas, ('args[0]',), __path_to_type) __validation_metadata = ValidationMetadata( path_to_item=('args[0]',), - configuration=_configuration or configuration_module.Configuration(), + configuration=configuration_ or configuration_module.Configuration(), validated_path_to_schemas=frozendict.frozendict(__validated_path_to_schemas) ) __path_to_schemas = cls.__get_new_cls(__arg, __validation_metadata, __path_to_type) @@ -1421,7 +1421,7 @@ def __init__( self, *_args: typing.Union[ dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, bool, None, 'Schema'], - _configuration: typing.Optional[configuration_module.Configuration] = None, + configuration_: typing.Optional[configuration_module.Configuration] = None, **kwargs: typing.Union[ dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, bool, None, 'Schema', Unset ] @@ -2089,8 +2089,8 @@ class Schema_: types = {tuple} @classmethod - def from_openapi_data_(cls, arg: typing.List[typing.Any], _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: typing.List[typing.Any], configuration_: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, configuration_=configuration_) def __new__(cls, _arg: typing.Union[typing.List[typing.Any], typing.Tuple[typing.Any]], **kwargs: configuration_module.Configuration): return super().__new__(cls, _arg, **kwargs) @@ -2105,8 +2105,8 @@ class Schema_: types = {NoneClass} @classmethod - def from_openapi_data_(cls, arg: None, _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: None, configuration_: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, configuration_=configuration_) def __new__(cls, _arg: None, **kwargs: configuration_module.Configuration): return super().__new__(cls, _arg, **kwargs) @@ -2125,8 +2125,8 @@ class Schema_: types = {decimal.Decimal} @classmethod - def from_openapi_data_(cls, arg: typing.Union[int, float], _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: typing.Union[int, float], configuration_: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, configuration_=configuration_) def __new__(cls, _arg: typing.Union[decimal.Decimal, int, float], **kwargs: configuration_module.Configuration): return super().__new__(cls, _arg, **kwargs) @@ -2148,8 +2148,8 @@ class Schema_: format = 'int' @classmethod - def from_openapi_data_(cls, arg: int, _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: int, configuration_: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, configuration_=configuration_) def __new__(cls, _arg: typing.Union[decimal.Decimal, int], **kwargs: configuration_module.Configuration): return super().__new__(cls, _arg, **kwargs) @@ -2179,8 +2179,8 @@ class Schema_: format = 'float' @classmethod - def from_openapi_data_(cls, arg: float, _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: float, configuration_: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, configuration_=configuration_) class Float64Schema( @@ -2191,8 +2191,8 @@ class Schema_: format = 'double' @classmethod - def from_openapi_data_(cls, arg: float, _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: float, configuration_: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, configuration_=configuration_) class StrSchema( @@ -2210,8 +2210,8 @@ class Schema_: types = {str} @classmethod - def from_openapi_data_(cls, arg: str, _configuration: typing.Optional[configuration_module.Configuration] = None) -> 'StrSchema': - return super().from_openapi_data_(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: str, configuration_: typing.Optional[configuration_module.Configuration] = None) -> 'StrSchema': + return super().from_openapi_data_(arg, configuration_=configuration_) def __new__(cls, _arg: typing.Union[str, datetime.date, datetime.datetime, uuid.UUID], **kwargs: configuration_module.Configuration): return super().__new__(cls, _arg, **kwargs) @@ -2329,8 +2329,8 @@ class Schema_: types = {BoolClass} @classmethod - def from_openapi_data_(cls, arg: bool, _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: bool, configuration_: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, configuration_=configuration_) def __new__(cls, _arg: bool, **kwargs: ValidationMetadata): return super().__new__(cls, _arg, **kwargs) @@ -2369,12 +2369,12 @@ class Schema_: def __new__( cls, *_args, - _configuration: typing.Optional[configuration_module.Configuration] = None, + configuration_: typing.Optional[configuration_module.Configuration] = None, ) -> 'NotAnyTypeSchema': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, ) @@ -2387,8 +2387,8 @@ class Schema_: types = {frozendict.frozendict} @classmethod - def from_openapi_data_(cls, arg: typing.Dict[str, typing.Any], _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: typing.Dict[str, typing.Any], configuration_: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, configuration_=configuration_) def __new__(cls, *_args: typing.Union[dict, frozendict.frozendict], **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, bool, None, bytes, Schema, Unset, ValidationMetadata]): return super().__new__(cls, *_args, **kwargs) diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/test/components/schema/test_addition_operator.py b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/test/components/schema/test_addition_operator.py index e63c41beae9..388d65d762b 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/test/components/schema/test_addition_operator.py +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/test/components/schema/test_addition_operator.py @@ -18,7 +18,7 @@ class TestAdditionOperator(unittest.TestCase): """AdditionOperator unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/test/components/schema/test_operator.py b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/test/components/schema/test_operator.py index 9132c7358e4..5d2c797e2eb 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/test/components/schema/test_operator.py +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/test/components/schema/test_operator.py @@ -18,7 +18,7 @@ class TestOperator(unittest.TestCase): """Operator unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/test/components/schema/test_subtraction_operator.py b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/test/components/schema/test_subtraction_operator.py index 30f000f9550..4bdab9a0bf7 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/test/components/schema/test_subtraction_operator.py +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/test/components/schema/test_subtraction_operator.py @@ -18,7 +18,7 @@ class TestSubtractionOperator(unittest.TestCase): """SubtractionOperator unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/test/test_paths/test_operators/test_post.py b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/test/test_paths/test_operators/test_post.py index 18640b7aa2d..28a1dae982e 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/test/test_paths/test_operators/test_post.py +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/test/test_paths/test_operators/test_post.py @@ -22,10 +22,10 @@ class TestOperators(ApiTestMixin, unittest.TestCase): """ Operators unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/api_client.py b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/api_client.py index aed5c1ffb0f..f00b2588362 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/api_client.py +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/api_client.py @@ -928,7 +928,7 @@ def deserialize(cls, response: urllib3.HTTPResponse, configuration: configuratio else: raise NotImplementedError('Deserialization of {} has not yet been implemented'.format(content_type)) deserialized_body = body_schema.from_openapi_data_( - body_data, _configuration=configuration) + body_data, configuration_=configuration) elif streamed: response.release_conn() diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/addition_operator.py b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/addition_operator.py index 110810b8a14..0b52c86feca 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/addition_operator.py +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/addition_operator.py @@ -101,7 +101,7 @@ def __new__( a: typing.Union[Schema_.Properties.A, decimal.Decimal, int, float, ], b: typing.Union[Schema_.Properties.B, decimal.Decimal, int, float, ], operator_id: typing.Union[Schema_.Properties.OperatorId, str, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'AdditionOperator': return super().__new__( cls, @@ -109,5 +109,5 @@ def __new__( a=a, b=b, operator_id=operator_id, - _configuration=_configuration, + configuration_=configuration_, ) diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/addition_operator.pyi b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/addition_operator.pyi index 4803837ddab..0773438c5d2 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/addition_operator.pyi +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/addition_operator.pyi @@ -100,7 +100,7 @@ class AdditionOperator( a: typing.Union[Schema_.Properties.A, decimal.Decimal, int, float, ], b: typing.Union[Schema_.Properties.B, decimal.Decimal, int, float, ], operator_id: typing.Union[Schema_.Properties.OperatorId, str, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'AdditionOperator': return super().__new__( cls, @@ -108,5 +108,5 @@ class AdditionOperator( a=a, b=b, operator_id=operator_id, - _configuration=_configuration, + configuration_=configuration_, ) diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/operator.py b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/operator.py index da02ca18019..2687659fcf3 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/operator.py +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/operator.py @@ -65,13 +65,13 @@ def one_of1() -> typing.Type['subtraction_operator.SubtractionOperator']: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Operator': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/operator.pyi b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/operator.pyi index da02ca18019..2687659fcf3 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/operator.pyi +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/operator.pyi @@ -65,13 +65,13 @@ class Operator( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Operator': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/subtraction_operator.py b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/subtraction_operator.py index a4c3a4dd959..83d53d6b8c9 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/subtraction_operator.py +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/subtraction_operator.py @@ -101,7 +101,7 @@ def __new__( a: typing.Union[Schema_.Properties.A, decimal.Decimal, int, float, ], b: typing.Union[Schema_.Properties.B, decimal.Decimal, int, float, ], operator_id: typing.Union[Schema_.Properties.OperatorId, str, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'SubtractionOperator': return super().__new__( cls, @@ -109,5 +109,5 @@ def __new__( a=a, b=b, operator_id=operator_id, - _configuration=_configuration, + configuration_=configuration_, ) diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/subtraction_operator.pyi b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/subtraction_operator.pyi index 5bb25218494..0ba9e4376cb 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/subtraction_operator.pyi +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/subtraction_operator.pyi @@ -100,7 +100,7 @@ class SubtractionOperator( a: typing.Union[Schema_.Properties.A, decimal.Decimal, int, float, ], b: typing.Union[Schema_.Properties.B, decimal.Decimal, int, float, ], operator_id: typing.Union[Schema_.Properties.OperatorId, str, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'SubtractionOperator': return super().__new__( cls, @@ -108,5 +108,5 @@ class SubtractionOperator( a=a, b=b, operator_id=operator_id, - _configuration=_configuration, + configuration_=configuration_, ) diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py index d31ab928e19..ec2d92da6c4 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py @@ -1377,7 +1377,7 @@ def from_openapi_data_( io.BufferedReader, bytes ], - _configuration: typing.Optional[configuration_module.Configuration] = None + configuration_: typing.Optional[configuration_module.Configuration] = None ): """ Schema from_openapi_data_ @@ -1388,7 +1388,7 @@ def from_openapi_data_( arg = cast_to_allowed_types(arg, from_server, validated_path_to_schemas, ('args[0]',), path_to_type) validation_metadata = ValidationMetadata( path_to_item=('args[0]',), - configuration=_configuration or configuration_module.Configuration(), + configuration=configuration_ or configuration_module.Configuration(), validated_path_to_schemas=frozendict.frozendict(validated_path_to_schemas) ) path_to_schemas = cls.__get_new_cls(arg, validation_metadata, path_to_type) @@ -1433,7 +1433,7 @@ def __new__( io.FileIO, io.BufferedReader, 'Schema', ], - _configuration: typing.Optional[configuration_module.Configuration] = None, + configuration_: typing.Optional[configuration_module.Configuration] = None, **kwargs: typing.Union[ dict, frozendict.frozendict, @@ -1460,7 +1460,7 @@ def __new__( Args: _args (int/float/decimal.Decimal/str/list/tuple/dict/frozendict.frozendict/bool/None): the value kwargs (str, int/float/decimal.Decimal/str/list/tuple/dict/frozendict.frozendict/bool/None): dict values - _configuration: contains the configuration_module.Configuration that enables json schema validation keywords + configuration_: contains the configuration_module.Configuration that enables json schema validation keywords like minItems, minLength etc Note: double underscores are used here because pycharm thinks that these variables @@ -1482,7 +1482,7 @@ def __new__( __arg, __from_server, __validated_path_to_schemas, ('args[0]',), __path_to_type) __validation_metadata = ValidationMetadata( path_to_item=('args[0]',), - configuration=_configuration or configuration_module.Configuration(), + configuration=configuration_ or configuration_module.Configuration(), validated_path_to_schemas=frozendict.frozendict(__validated_path_to_schemas) ) __path_to_schemas = cls.__get_new_cls(__arg, __validation_metadata, __path_to_type) @@ -1497,7 +1497,7 @@ def __init__( self, *_args: typing.Union[ dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, bool, None, 'Schema'], - _configuration: typing.Optional[configuration_module.Configuration] = None, + configuration_: typing.Optional[configuration_module.Configuration] = None, **kwargs: typing.Union[ dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, bool, None, 'Schema', Unset ] @@ -2165,8 +2165,8 @@ class Schema_: types = {tuple} @classmethod - def from_openapi_data_(cls, arg: typing.List[typing.Any], _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: typing.List[typing.Any], configuration_: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, configuration_=configuration_) def __new__(cls, _arg: typing.Union[typing.List[typing.Any], typing.Tuple[typing.Any]], **kwargs: configuration_module.Configuration): return super().__new__(cls, _arg, **kwargs) @@ -2181,8 +2181,8 @@ class Schema_: types = {NoneClass} @classmethod - def from_openapi_data_(cls, arg: None, _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: None, configuration_: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, configuration_=configuration_) def __new__(cls, _arg: None, **kwargs: configuration_module.Configuration): return super().__new__(cls, _arg, **kwargs) @@ -2201,8 +2201,8 @@ class Schema_: types = {decimal.Decimal} @classmethod - def from_openapi_data_(cls, arg: typing.Union[int, float], _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: typing.Union[int, float], configuration_: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, configuration_=configuration_) def __new__(cls, _arg: typing.Union[decimal.Decimal, int, float], **kwargs: configuration_module.Configuration): return super().__new__(cls, _arg, **kwargs) @@ -2224,8 +2224,8 @@ class Schema_: format = 'int' @classmethod - def from_openapi_data_(cls, arg: int, _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: int, configuration_: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, configuration_=configuration_) def __new__(cls, _arg: typing.Union[decimal.Decimal, int], **kwargs: configuration_module.Configuration): return super().__new__(cls, _arg, **kwargs) @@ -2255,8 +2255,8 @@ class Schema_: format = 'float' @classmethod - def from_openapi_data_(cls, arg: float, _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: float, configuration_: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, configuration_=configuration_) class Float64Schema( @@ -2267,8 +2267,8 @@ class Schema_: format = 'double' @classmethod - def from_openapi_data_(cls, arg: float, _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: float, configuration_: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, configuration_=configuration_) class StrSchema( @@ -2286,8 +2286,8 @@ class Schema_: types = {str} @classmethod - def from_openapi_data_(cls, arg: str, _configuration: typing.Optional[configuration_module.Configuration] = None) -> 'StrSchema': - return super().from_openapi_data_(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: str, configuration_: typing.Optional[configuration_module.Configuration] = None) -> 'StrSchema': + return super().from_openapi_data_(arg, configuration_=configuration_) def __new__(cls, _arg: typing.Union[str, datetime.date, datetime.datetime, uuid.UUID], **kwargs: configuration_module.Configuration): return super().__new__(cls, _arg, **kwargs) @@ -2405,8 +2405,8 @@ class Schema_: types = {BoolClass} @classmethod - def from_openapi_data_(cls, arg: bool, _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: bool, configuration_: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, configuration_=configuration_) def __new__(cls, _arg: bool, **kwargs: ValidationMetadata): return super().__new__(cls, _arg, **kwargs) @@ -2445,12 +2445,12 @@ class Schema_: def __new__( cls, *_args, - _configuration: typing.Optional[configuration_module.Configuration] = None, + configuration_: typing.Optional[configuration_module.Configuration] = None, ) -> 'NotAnyTypeSchema': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, ) @@ -2463,8 +2463,8 @@ class Schema_: types = {frozendict.frozendict} @classmethod - def from_openapi_data_(cls, arg: typing.Dict[str, typing.Any], _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: typing.Dict[str, typing.Any], configuration_: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, configuration_=configuration_) def __new__(cls, *_args: typing.Union[dict, frozendict.frozendict], **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, bool, None, bytes, Schema, Unset, ValidationMetadata]): return super().__new__(cls, *_args, **kwargs) diff --git a/samples/openapi3/client/petstore/python/petstore_api/api_client.py b/samples/openapi3/client/petstore/python/petstore_api/api_client.py index 841c019bbb7..63ca7adfea5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/api_client.py +++ b/samples/openapi3/client/petstore/python/petstore_api/api_client.py @@ -928,7 +928,7 @@ def deserialize(cls, response: urllib3.HTTPResponse, configuration: configuratio else: raise NotImplementedError('Deserialization of {} has not yet been implemented'.format(content_type)) deserialized_body = body_schema.from_openapi_data_( - body_data, _configuration=configuration) + body_data, configuration_=configuration) elif streamed: response.release_conn() diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/request_bodies/request_body_user_array/application_json.py b/samples/openapi3/client/petstore/python/petstore_api/components/request_bodies/request_body_user_array/application_json.py index 074a341ade3..4c17e94ad99 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/request_bodies/request_body_user_array/application_json.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/request_bodies/request_body_user_array/application_json.py @@ -38,12 +38,12 @@ def items() -> typing.Type['user.User']: def __new__( cls, _arg: typing.Union[typing.Tuple['user.User'], typing.List['user.User']], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ApplicationJson': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> 'user.User': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/request_bodies/request_body_user_array/application_json.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/request_bodies/request_body_user_array/application_json.pyi index 074a341ade3..4c17e94ad99 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/request_bodies/request_body_user_array/application_json.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/request_bodies/request_body_user_array/application_json.pyi @@ -38,12 +38,12 @@ class ApplicationJson( def __new__( cls, _arg: typing.Union[typing.Tuple['user.User'], typing.List['user.User']], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ApplicationJson': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> 'user.User': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/responses/response_success_inline_content_and_header/application_json.py b/samples/openapi3/client/petstore/python/petstore_api/components/responses/response_success_inline_content_and_header/application_json.py index eb4d14630bd..3ccd90fa744 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/responses/response_success_inline_content_and_header/application_json.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/responses/response_success_inline_content_and_header/application_json.py @@ -42,12 +42,12 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, decimal.Decimal, int, ], ) -> 'ApplicationJson': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/responses/response_success_inline_content_and_header/application_json.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/responses/response_success_inline_content_and_header/application_json.pyi index 5be40d9fb37..71f49582ebe 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/responses/response_success_inline_content_and_header/application_json.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/responses/response_success_inline_content_and_header/application_json.pyi @@ -41,12 +41,12 @@ class ApplicationJson( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, decimal.Decimal, int, ], ) -> 'ApplicationJson': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/_200_response.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/_200_response.py index 0f19e9ce618..7854d1a1c36 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/_200_response.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/_200_response.py @@ -90,13 +90,13 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], name: typing.Union[Schema_.Properties.Name, decimal.Decimal, int, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_200Response': return super().__new__( cls, *_args, name=name, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/_200_response.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/_200_response.pyi index 0f19e9ce618..7854d1a1c36 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/_200_response.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/_200_response.pyi @@ -90,13 +90,13 @@ class _200Response( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], name: typing.Union[Schema_.Properties.Name, decimal.Decimal, int, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_200Response': return super().__new__( cls, *_args, name=name, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/_return.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/_return.py index cc20979a62c..982e68f7732 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/_return.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/_return.py @@ -79,12 +79,12 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_Return': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/_return.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/_return.pyi index cc20979a62c..982e68f7732 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/_return.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/_return.pyi @@ -79,12 +79,12 @@ class _Return( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_Return': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/abstract_step_message.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/abstract_step_message.py index 09969f92207..0fddc78517e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/abstract_step_message.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/abstract_step_message.py @@ -126,7 +126,7 @@ def __new__( description: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], discriminator: typing.Union[Schema_.Properties.Discriminator, str, ], sequenceNumber: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AbstractStepMessage': return super().__new__( @@ -135,6 +135,6 @@ def __new__( description=description, discriminator=discriminator, sequenceNumber=sequenceNumber, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/abstract_step_message.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/abstract_step_message.pyi index 09969f92207..0fddc78517e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/abstract_step_message.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/abstract_step_message.pyi @@ -126,7 +126,7 @@ class AbstractStepMessage( description: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], discriminator: typing.Union[Schema_.Properties.Discriminator, str, ], sequenceNumber: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AbstractStepMessage': return super().__new__( @@ -135,6 +135,6 @@ class AbstractStepMessage( description=description, discriminator=discriminator, sequenceNumber=sequenceNumber, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_class.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_class.py index a5ed20d6c8a..a014bb07ee0 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_class.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_class.py @@ -58,13 +58,13 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], ) -> 'MapProperty': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -97,13 +97,13 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], ) -> 'AdditionalProperties': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -117,13 +117,13 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, ], ) -> 'MapOfMapProperty': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) Anytype1 = schemas.AnyTypeSchema @@ -150,13 +150,13 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], ) -> 'MapWithUndeclaredPropertiesAnytype3': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -173,12 +173,12 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'EmptyMap': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, ) @@ -201,13 +201,13 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], ) -> 'MapWithUndeclaredPropertiesString': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) __annotations__ = { @@ -319,7 +319,7 @@ def __new__( map_with_undeclared_properties_anytype_3: typing.Union[Schema_.Properties.MapWithUndeclaredPropertiesAnytype3, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, empty_map: typing.Union[Schema_.Properties.EmptyMap, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, map_with_undeclared_properties_string: typing.Union[Schema_.Properties.MapWithUndeclaredPropertiesString, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AdditionalPropertiesClass': return super().__new__( @@ -333,6 +333,6 @@ def __new__( map_with_undeclared_properties_anytype_3=map_with_undeclared_properties_anytype_3, empty_map=empty_map, map_with_undeclared_properties_string=map_with_undeclared_properties_string, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_class.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_class.pyi index de73396b565..abb0df4197e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_class.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_class.pyi @@ -56,13 +56,13 @@ class AdditionalPropertiesClass( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], ) -> 'MapProperty': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -93,13 +93,13 @@ class AdditionalPropertiesClass( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], ) -> 'AdditionalProperties': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -113,13 +113,13 @@ class AdditionalPropertiesClass( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, ], ) -> 'MapOfMapProperty': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) Anytype1 = schemas.AnyTypeSchema @@ -145,13 +145,13 @@ class AdditionalPropertiesClass( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], ) -> 'MapWithUndeclaredPropertiesAnytype3': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -167,12 +167,12 @@ class AdditionalPropertiesClass( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'EmptyMap': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, ) @@ -194,13 +194,13 @@ class AdditionalPropertiesClass( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], ) -> 'MapWithUndeclaredPropertiesString': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) __annotations__ = { @@ -312,7 +312,7 @@ class AdditionalPropertiesClass( map_with_undeclared_properties_anytype_3: typing.Union[Schema_.Properties.MapWithUndeclaredPropertiesAnytype3, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, empty_map: typing.Union[Schema_.Properties.EmptyMap, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, map_with_undeclared_properties_string: typing.Union[Schema_.Properties.MapWithUndeclaredPropertiesString, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AdditionalPropertiesClass': return super().__new__( @@ -326,6 +326,6 @@ class AdditionalPropertiesClass( map_with_undeclared_properties_anytype_3=map_with_undeclared_properties_anytype_3, empty_map=empty_map, map_with_undeclared_properties_string=map_with_undeclared_properties_string, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_validator.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_validator.py index 4481563bb3a..f6366771b2b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_validator.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_validator.py @@ -60,13 +60,13 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], ) -> 'AllOf0': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -93,13 +93,13 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AdditionalProperties': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -113,13 +113,13 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], ) -> 'AllOf1': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -146,13 +146,13 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AdditionalProperties': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -166,13 +166,13 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], ) -> 'AllOf2': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -185,12 +185,12 @@ def __new__( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AdditionalPropertiesValidator': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_validator.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_validator.pyi index b7831b52f15..d9edb5c76f1 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_validator.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_validator.pyi @@ -59,13 +59,13 @@ class AdditionalPropertiesValidator( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], ) -> 'AllOf0': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -90,13 +90,13 @@ class AdditionalPropertiesValidator( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AdditionalProperties': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -110,13 +110,13 @@ class AdditionalPropertiesValidator( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], ) -> 'AllOf1': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -141,13 +141,13 @@ class AdditionalPropertiesValidator( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AdditionalProperties': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -161,13 +161,13 @@ class AdditionalPropertiesValidator( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], ) -> 'AllOf2': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -180,12 +180,12 @@ class AdditionalPropertiesValidator( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AdditionalPropertiesValidator': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_with_array_of_enums.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_with_array_of_enums.py index ed698ab4939..e542c692a30 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_with_array_of_enums.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_with_array_of_enums.py @@ -52,12 +52,12 @@ def items() -> typing.Type['enum_class.EnumClass']: def __new__( cls, _arg: typing.Union[typing.Tuple['enum_class.EnumClass'], typing.List['enum_class.EnumClass']], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'AdditionalProperties': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> 'enum_class.EnumClass': @@ -73,13 +73,13 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, list, tuple, ], ) -> 'AdditionalPropertiesWithArrayOfEnums': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_with_array_of_enums.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_with_array_of_enums.pyi index 774eb6a98b9..2c969224e1b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_with_array_of_enums.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_with_array_of_enums.pyi @@ -51,12 +51,12 @@ class AdditionalPropertiesWithArrayOfEnums( def __new__( cls, _arg: typing.Union[typing.Tuple['enum_class.EnumClass'], typing.List['enum_class.EnumClass']], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'AdditionalProperties': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> 'enum_class.EnumClass': @@ -72,13 +72,13 @@ class AdditionalPropertiesWithArrayOfEnums( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, list, tuple, ], ) -> 'AdditionalPropertiesWithArrayOfEnums': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/address.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/address.py index f432d918efd..b09e0cfdb9f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/address.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/address.py @@ -47,12 +47,12 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, decimal.Decimal, int, ], ) -> 'Address': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/address.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/address.pyi index ec0cc65282e..83e91fd5da3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/address.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/address.pyi @@ -46,12 +46,12 @@ class Address( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, decimal.Decimal, int, ], ) -> 'Address': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal.py index a1c1a8aff24..52fba81a3e8 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal.py @@ -102,7 +102,7 @@ def __new__( *_args: typing.Union[dict, frozendict.frozendict, ], className: typing.Union[Schema_.Properties.ClassName, str, ], color: typing.Union[Schema_.Properties.Color, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Animal': return super().__new__( @@ -110,7 +110,7 @@ def __new__( *_args, className=className, color=color, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal.pyi index c947d25dc1b..c1f383ea42e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal.pyi @@ -101,7 +101,7 @@ class Animal( *_args: typing.Union[dict, frozendict.frozendict, ], className: typing.Union[Schema_.Properties.ClassName, str, ], color: typing.Union[Schema_.Properties.Color, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Animal': return super().__new__( @@ -109,7 +109,7 @@ class Animal( *_args, className=className, color=color, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal_farm.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal_farm.py index 318feb7d59b..c7190936ea3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal_farm.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal_farm.py @@ -43,12 +43,12 @@ def items() -> typing.Type['animal.Animal']: def __new__( cls, _arg: typing.Union[typing.Tuple['animal.Animal'], typing.List['animal.Animal']], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'AnimalFarm': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> 'animal.Animal': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal_farm.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal_farm.pyi index 318feb7d59b..c7190936ea3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal_farm.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal_farm.pyi @@ -43,12 +43,12 @@ class AnimalFarm( def __new__( cls, _arg: typing.Union[typing.Tuple['animal.Animal'], typing.List['animal.Animal']], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'AnimalFarm': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> 'animal.Animal': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_and_format.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_and_format.py index dfa0276738f..ccde1a70575 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_and_format.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_and_format.py @@ -53,13 +53,13 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Uuid': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -78,13 +78,13 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Date': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -103,13 +103,13 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'DateTime': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -128,13 +128,13 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Number': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -152,13 +152,13 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Binary': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -176,13 +176,13 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Int32': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -200,13 +200,13 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Int64': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -224,13 +224,13 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Double': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -248,13 +248,13 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_Float': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) __annotations__ = { @@ -374,7 +374,7 @@ def __new__( int32: typing.Union[Schema_.Properties.Int32, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, int64: typing.Union[Schema_.Properties.Int64, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, double: typing.Union[Schema_.Properties.Double, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyTypeAndFormat': return super().__new__( @@ -387,6 +387,6 @@ def __new__( int32=int32, int64=int64, double=double, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_and_format.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_and_format.pyi index 441ade97b24..97444713df1 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_and_format.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_and_format.pyi @@ -52,13 +52,13 @@ class AnyTypeAndFormat( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Uuid': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -77,13 +77,13 @@ class AnyTypeAndFormat( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Date': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -102,13 +102,13 @@ class AnyTypeAndFormat( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'DateTime': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -127,13 +127,13 @@ class AnyTypeAndFormat( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Number': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -151,13 +151,13 @@ class AnyTypeAndFormat( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Binary': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -175,13 +175,13 @@ class AnyTypeAndFormat( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Int32': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -199,13 +199,13 @@ class AnyTypeAndFormat( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Int64': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -223,13 +223,13 @@ class AnyTypeAndFormat( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Double': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -247,13 +247,13 @@ class AnyTypeAndFormat( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_Float': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) __annotations__ = { @@ -373,7 +373,7 @@ class AnyTypeAndFormat( int32: typing.Union[Schema_.Properties.Int32, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, int64: typing.Union[Schema_.Properties.Int64, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, double: typing.Union[Schema_.Properties.Double, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyTypeAndFormat': return super().__new__( @@ -386,6 +386,6 @@ class AnyTypeAndFormat( int32=int32, int64=int64, double=double, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_not_string.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_not_string.py index f8a6aa9cc0a..d509795744a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_not_string.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_not_string.py @@ -41,12 +41,12 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyTypeNotString': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_not_string.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_not_string.pyi index f8a6aa9cc0a..d509795744a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_not_string.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_not_string.pyi @@ -41,12 +41,12 @@ class AnyTypeNotString( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyTypeNotString': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/api_response.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/api_response.py index 19655969541..a98fcb3bd90 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/api_response.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/api_response.py @@ -99,7 +99,7 @@ def __new__( code: typing.Union[Schema_.Properties.Code, decimal.Decimal, int, schemas.Unset] = schemas.unset, type: typing.Union[Schema_.Properties.Type, str, schemas.Unset] = schemas.unset, message: typing.Union[Schema_.Properties.Message, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ApiResponse': return super().__new__( @@ -108,6 +108,6 @@ def __new__( code=code, type=type, message=message, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/api_response.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/api_response.pyi index a32498e0766..149efca7ee3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/api_response.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/api_response.pyi @@ -98,7 +98,7 @@ class ApiResponse( code: typing.Union[Schema_.Properties.Code, decimal.Decimal, int, schemas.Unset] = schemas.unset, type: typing.Union[Schema_.Properties.Type, str, schemas.Unset] = schemas.unset, message: typing.Union[Schema_.Properties.Message, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ApiResponse': return super().__new__( @@ -107,6 +107,6 @@ class ApiResponse( code=code, type=type, message=message, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple.py index b9f180f78b5..8af651cb32b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple.py @@ -128,13 +128,13 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, None, ], origin: typing.Union[Schema_.Properties.Origin, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Apple': return super().__new__( cls, *_args, origin=origin, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple.pyi index 4bf3173ea2f..c4e9877fba2 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple.pyi @@ -109,13 +109,13 @@ class Apple( cls, *_args: typing.Union[dict, frozendict.frozendict, None, ], origin: typing.Union[Schema_.Properties.Origin, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Apple': return super().__new__( cls, *_args, origin=origin, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple_req.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple_req.py index 1b7c1159901..597a3e751e4 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple_req.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple_req.py @@ -86,12 +86,12 @@ def __new__( *_args: typing.Union[dict, frozendict.frozendict, ], cultivar: typing.Union[Schema_.Properties.Cultivar, str, ], mealy: typing.Union[Schema_.Properties.Mealy, bool, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'AppleReq': return super().__new__( cls, *_args, cultivar=cultivar, mealy=mealy, - _configuration=_configuration, + configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple_req.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple_req.pyi index 2ee4fbf3d27..5501837fdbb 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple_req.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple_req.pyi @@ -85,12 +85,12 @@ class AppleReq( *_args: typing.Union[dict, frozendict.frozendict, ], cultivar: typing.Union[Schema_.Properties.Cultivar, str, ], mealy: typing.Union[Schema_.Properties.Mealy, bool, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'AppleReq': return super().__new__( cls, *_args, cultivar=cultivar, mealy=mealy, - _configuration=_configuration, + configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_holding_any_type.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_holding_any_type.py index 310927ba17b..6de82cdc022 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_holding_any_type.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_holding_any_type.py @@ -40,12 +40,12 @@ class Schema_: def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayHoldingAnyType': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_holding_any_type.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_holding_any_type.pyi index 310927ba17b..6de82cdc022 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_holding_any_type.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_holding_any_type.pyi @@ -40,12 +40,12 @@ class ArrayHoldingAnyType( def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayHoldingAnyType': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_array_of_number_only.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_array_of_number_only.py index 60f7f95dd4f..ac6fbe54c52 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_array_of_number_only.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_array_of_number_only.py @@ -60,12 +60,12 @@ class Schema_: def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]], typing.List[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Items': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: @@ -74,12 +74,12 @@ def __getitem__(self, i: int) -> Schema_.Items: def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, list, tuple, ]], typing.List[typing.Union[Schema_.Items, list, tuple, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayArrayNumber': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: @@ -123,13 +123,13 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], ArrayArrayNumber: typing.Union[Schema_.Properties.ArrayArrayNumber, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ArrayOfArrayOfNumberOnly': return super().__new__( cls, *_args, ArrayArrayNumber=ArrayArrayNumber, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_array_of_number_only.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_array_of_number_only.pyi index 1bb875e4395..bb037132e53 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_array_of_number_only.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_array_of_number_only.pyi @@ -59,12 +59,12 @@ class ArrayOfArrayOfNumberOnly( def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]], typing.List[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Items': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: @@ -73,12 +73,12 @@ class ArrayOfArrayOfNumberOnly( def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, list, tuple, ]], typing.List[typing.Union[Schema_.Items, list, tuple, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayArrayNumber': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: @@ -122,13 +122,13 @@ class ArrayOfArrayOfNumberOnly( cls, *_args: typing.Union[dict, frozendict.frozendict, ], ArrayArrayNumber: typing.Union[Schema_.Properties.ArrayArrayNumber, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ArrayOfArrayOfNumberOnly': return super().__new__( cls, *_args, ArrayArrayNumber=ArrayArrayNumber, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_enums.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_enums.py index ebc25921c91..48bcb2b30d1 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_enums.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_enums.py @@ -43,12 +43,12 @@ def items() -> typing.Type['string_enum.StringEnum']: def __new__( cls, _arg: typing.Union[typing.Tuple['string_enum.StringEnum'], typing.List['string_enum.StringEnum']], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayOfEnums': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> 'string_enum.StringEnum': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_enums.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_enums.pyi index ebc25921c91..48bcb2b30d1 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_enums.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_enums.pyi @@ -43,12 +43,12 @@ class ArrayOfEnums( def __new__( cls, _arg: typing.Union[typing.Tuple['string_enum.StringEnum'], typing.List['string_enum.StringEnum']], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayOfEnums': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> 'string_enum.StringEnum': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_number_only.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_number_only.py index 753fa3e9116..8a69ba34205 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_number_only.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_number_only.py @@ -51,12 +51,12 @@ class Schema_: def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]], typing.List[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayNumber': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: @@ -100,13 +100,13 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], ArrayNumber: typing.Union[Schema_.Properties.ArrayNumber, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ArrayOfNumberOnly': return super().__new__( cls, *_args, ArrayNumber=ArrayNumber, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_number_only.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_number_only.pyi index bb375952824..db23e37d35c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_number_only.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_number_only.pyi @@ -50,12 +50,12 @@ class ArrayOfNumberOnly( def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]], typing.List[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayNumber': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: @@ -99,13 +99,13 @@ class ArrayOfNumberOnly( cls, *_args: typing.Union[dict, frozendict.frozendict, ], ArrayNumber: typing.Union[Schema_.Properties.ArrayNumber, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ArrayOfNumberOnly': return super().__new__( cls, *_args, ArrayNumber=ArrayNumber, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_test.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_test.py index 7cc52c42a65..5f770247aeb 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_test.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_test.py @@ -51,12 +51,12 @@ class Schema_: def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayOfString': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: @@ -84,12 +84,12 @@ class Schema_: def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, decimal.Decimal, int, ]], typing.List[typing.Union[Schema_.Items, decimal.Decimal, int, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Items': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: @@ -98,12 +98,12 @@ def __getitem__(self, i: int) -> Schema_.Items: def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, list, tuple, ]], typing.List[typing.Union[Schema_.Items, list, tuple, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayArrayOfInteger': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: @@ -134,12 +134,12 @@ def items() -> typing.Type['read_only_first.ReadOnlyFirst']: def __new__( cls, _arg: typing.Union[typing.Tuple['read_only_first.ReadOnlyFirst'], typing.List['read_only_first.ReadOnlyFirst']], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Items': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> 'read_only_first.ReadOnlyFirst': @@ -148,12 +148,12 @@ def __getitem__(self, i: int) -> 'read_only_first.ReadOnlyFirst': def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, list, tuple, ]], typing.List[typing.Union[Schema_.Items, list, tuple, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayArrayOfModel': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: @@ -217,7 +217,7 @@ def __new__( array_of_string: typing.Union[Schema_.Properties.ArrayOfString, list, tuple, schemas.Unset] = schemas.unset, array_array_of_integer: typing.Union[Schema_.Properties.ArrayArrayOfInteger, list, tuple, schemas.Unset] = schemas.unset, array_array_of_model: typing.Union[Schema_.Properties.ArrayArrayOfModel, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ArrayTest': return super().__new__( @@ -226,7 +226,7 @@ def __new__( array_of_string=array_of_string, array_array_of_integer=array_array_of_integer, array_array_of_model=array_array_of_model, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_test.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_test.pyi index 36420d0bc8e..daa0089ac7a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_test.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_test.pyi @@ -50,12 +50,12 @@ class ArrayTest( def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayOfString': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: @@ -83,12 +83,12 @@ class ArrayTest( def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, decimal.Decimal, int, ]], typing.List[typing.Union[Schema_.Items, decimal.Decimal, int, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Items': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: @@ -97,12 +97,12 @@ class ArrayTest( def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, list, tuple, ]], typing.List[typing.Union[Schema_.Items, list, tuple, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayArrayOfInteger': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: @@ -133,12 +133,12 @@ class ArrayTest( def __new__( cls, _arg: typing.Union[typing.Tuple['read_only_first.ReadOnlyFirst'], typing.List['read_only_first.ReadOnlyFirst']], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Items': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> 'read_only_first.ReadOnlyFirst': @@ -147,12 +147,12 @@ class ArrayTest( def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, list, tuple, ]], typing.List[typing.Union[Schema_.Items, list, tuple, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayArrayOfModel': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: @@ -216,7 +216,7 @@ class ArrayTest( array_of_string: typing.Union[Schema_.Properties.ArrayOfString, list, tuple, schemas.Unset] = schemas.unset, array_array_of_integer: typing.Union[Schema_.Properties.ArrayArrayOfInteger, list, tuple, schemas.Unset] = schemas.unset, array_array_of_model: typing.Union[Schema_.Properties.ArrayArrayOfModel, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ArrayTest': return super().__new__( @@ -225,7 +225,7 @@ class ArrayTest( array_of_string=array_of_string, array_array_of_integer=array_array_of_integer, array_array_of_model=array_array_of_model, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_with_validations_in_items.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_with_validations_in_items.py index 29c45b0b9e2..d4d9defb02c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_with_validations_in_items.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_with_validations_in_items.py @@ -53,12 +53,12 @@ class Schema_: def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, decimal.Decimal, int, ]], typing.List[typing.Union[Schema_.Items, decimal.Decimal, int, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayWithValidationsInItems': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_with_validations_in_items.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_with_validations_in_items.pyi index 5e9340d5610..f39ebdd2d8d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_with_validations_in_items.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_with_validations_in_items.pyi @@ -46,12 +46,12 @@ class ArrayWithValidationsInItems( def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, decimal.Decimal, int, ]], typing.List[typing.Union[Schema_.Items, decimal.Decimal, int, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayWithValidationsInItems': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana.py index 73ab574a1a8..bc5898ac045 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana.py @@ -82,13 +82,13 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], lengthCm: typing.Union[Schema_.Properties.LengthCm, decimal.Decimal, int, float, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Banana': return super().__new__( cls, *_args, lengthCm=lengthCm, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana.pyi index ea1041ee11a..2daeb74229c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana.pyi @@ -81,13 +81,13 @@ class Banana( cls, *_args: typing.Union[dict, frozendict.frozendict, ], lengthCm: typing.Union[Schema_.Properties.LengthCm, decimal.Decimal, int, float, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Banana': return super().__new__( cls, *_args, lengthCm=lengthCm, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana_req.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana_req.py index cf5c097778b..addcb39096c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana_req.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana_req.py @@ -86,12 +86,12 @@ def __new__( *_args: typing.Union[dict, frozendict.frozendict, ], lengthCm: typing.Union[Schema_.Properties.LengthCm, decimal.Decimal, int, float, ], sweet: typing.Union[Schema_.Properties.Sweet, bool, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'BananaReq': return super().__new__( cls, *_args, lengthCm=lengthCm, sweet=sweet, - _configuration=_configuration, + configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana_req.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana_req.pyi index b17b27f15a5..394d7a272de 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana_req.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana_req.pyi @@ -85,12 +85,12 @@ class BananaReq( *_args: typing.Union[dict, frozendict.frozendict, ], lengthCm: typing.Union[Schema_.Properties.LengthCm, decimal.Decimal, int, float, ], sweet: typing.Union[Schema_.Properties.Sweet, bool, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'BananaReq': return super().__new__( cls, *_args, lengthCm=lengthCm, sweet=sweet, - _configuration=_configuration, + configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/basque_pig.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/basque_pig.py index 035a925db60..2cf6530c9fd 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/basque_pig.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/basque_pig.py @@ -99,13 +99,13 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], className: typing.Union[Schema_.Properties.ClassName, str, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'BasquePig': return super().__new__( cls, *_args, className=className, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/basque_pig.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/basque_pig.pyi index 77cc8f985a0..310be9758c2 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/basque_pig.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/basque_pig.pyi @@ -89,13 +89,13 @@ class BasquePig( cls, *_args: typing.Union[dict, frozendict.frozendict, ], className: typing.Union[Schema_.Properties.ClassName, str, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'BasquePig': return super().__new__( cls, *_args, className=className, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/capitalization.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/capitalization.py index 335f8a19e30..c6a728d6b52 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/capitalization.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/capitalization.py @@ -132,7 +132,7 @@ def __new__( Capital_Snake: typing.Union[Schema_.Properties.CapitalSnake, str, schemas.Unset] = schemas.unset, SCA_ETH_Flow_Points: typing.Union[Schema_.Properties.SCAETHFlowPoints, str, schemas.Unset] = schemas.unset, ATT_NAME: typing.Union[Schema_.Properties.ATTNAME, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Capitalization': return super().__new__( @@ -144,6 +144,6 @@ def __new__( Capital_Snake=Capital_Snake, SCA_ETH_Flow_Points=SCA_ETH_Flow_Points, ATT_NAME=ATT_NAME, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/capitalization.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/capitalization.pyi index 3fc3006af66..42364f15116 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/capitalization.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/capitalization.pyi @@ -131,7 +131,7 @@ class Capitalization( Capital_Snake: typing.Union[Schema_.Properties.CapitalSnake, str, schemas.Unset] = schemas.unset, SCA_ETH_Flow_Points: typing.Union[Schema_.Properties.SCAETHFlowPoints, str, schemas.Unset] = schemas.unset, ATT_NAME: typing.Union[Schema_.Properties.ATTNAME, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Capitalization': return super().__new__( @@ -143,6 +143,6 @@ class Capitalization( Capital_Snake=Capital_Snake, SCA_ETH_Flow_Points=SCA_ETH_Flow_Points, ATT_NAME=ATT_NAME, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/cat.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/cat.py index b3b2f7a8c99..043a807c826 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/cat.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/cat.py @@ -92,14 +92,14 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], declawed: typing.Union[Schema_.Properties.Declawed, bool, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': return super().__new__( cls, *_args, declawed=declawed, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -111,13 +111,13 @@ def __new__( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Cat': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/cat.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/cat.pyi index 723503db76f..360c63d9bdb 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/cat.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/cat.pyi @@ -91,14 +91,14 @@ class Cat( cls, *_args: typing.Union[dict, frozendict.frozendict, ], declawed: typing.Union[Schema_.Properties.Declawed, bool, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': return super().__new__( cls, *_args, declawed=declawed, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -110,13 +110,13 @@ class Cat( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Cat': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/category.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/category.py index 2b52c6642f2..a7427da1d90 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/category.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/category.py @@ -93,7 +93,7 @@ def __new__( *_args: typing.Union[dict, frozendict.frozendict, ], name: typing.Union[Schema_.Properties.Name, str, ], id: typing.Union[Schema_.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Category': return super().__new__( @@ -101,6 +101,6 @@ def __new__( *_args, name=name, id=id, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/category.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/category.pyi index 4868a9e52d0..48964effa6f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/category.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/category.pyi @@ -92,7 +92,7 @@ class Category( *_args: typing.Union[dict, frozendict.frozendict, ], name: typing.Union[Schema_.Properties.Name, str, ], id: typing.Union[Schema_.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Category': return super().__new__( @@ -100,6 +100,6 @@ class Category( *_args, name=name, id=id, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/child_cat.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/child_cat.py index dc63899c877..3862d6b6969 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/child_cat.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/child_cat.py @@ -92,14 +92,14 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], name: typing.Union[Schema_.Properties.Name, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': return super().__new__( cls, *_args, name=name, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -111,13 +111,13 @@ def __new__( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ChildCat': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/child_cat.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/child_cat.pyi index 4b084f5b66f..37e161de3da 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/child_cat.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/child_cat.pyi @@ -91,14 +91,14 @@ class ChildCat( cls, *_args: typing.Union[dict, frozendict.frozendict, ], name: typing.Union[Schema_.Properties.Name, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': return super().__new__( cls, *_args, name=name, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -110,13 +110,13 @@ class ChildCat( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ChildCat': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/class_model.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/class_model.py index 759f4754965..e7c5a5e7b72 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/class_model.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/class_model.py @@ -80,13 +80,13 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], _class: typing.Union[Schema_.Properties._Class, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ClassModel': return super().__new__( cls, *_args, _class=_class, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/class_model.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/class_model.pyi index 759f4754965..e7c5a5e7b72 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/class_model.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/class_model.pyi @@ -80,13 +80,13 @@ class ClassModel( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], _class: typing.Union[Schema_.Properties._Class, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ClassModel': return super().__new__( cls, *_args, _class=_class, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/client.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/client.py index 3741fdda39a..a1451ef2654 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/client.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/client.py @@ -77,13 +77,13 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], client: typing.Union[Schema_.Properties.Client, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Client': return super().__new__( cls, *_args, client=client, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/client.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/client.pyi index 1ebf77a48c1..8e14050d43a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/client.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/client.pyi @@ -76,13 +76,13 @@ class Client( cls, *_args: typing.Union[dict, frozendict.frozendict, ], client: typing.Union[Schema_.Properties.Client, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Client': return super().__new__( cls, *_args, client=client, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/complex_quadrilateral.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/complex_quadrilateral.py index 39d6818dc15..3579eb78391 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/complex_quadrilateral.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/complex_quadrilateral.py @@ -109,14 +109,14 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], quadrilateralType: typing.Union[Schema_.Properties.QuadrilateralType, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': return super().__new__( cls, *_args, quadrilateralType=quadrilateralType, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -128,13 +128,13 @@ def __new__( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ComplexQuadrilateral': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/complex_quadrilateral.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/complex_quadrilateral.pyi index 396dee02f8d..c21fcb5b003 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/complex_quadrilateral.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/complex_quadrilateral.pyi @@ -99,14 +99,14 @@ class ComplexQuadrilateral( cls, *_args: typing.Union[dict, frozendict.frozendict, ], quadrilateralType: typing.Union[Schema_.Properties.QuadrilateralType, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': return super().__new__( cls, *_args, quadrilateralType=quadrilateralType, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -118,13 +118,13 @@ class ComplexQuadrilateral( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ComplexQuadrilateral': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_any_of_different_types_no_validations.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_any_of_different_types_no_validations.py index 342829abe15..c5f248c7526 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_any_of_different_types_no_validations.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_any_of_different_types_no_validations.py @@ -60,12 +60,12 @@ class Schema_: def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'AnyOf9': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: @@ -99,12 +99,12 @@ def __getitem__(self, i: int) -> Schema_.Items: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ComposedAnyOfDifferentTypesNoValidations': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_any_of_different_types_no_validations.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_any_of_different_types_no_validations.pyi index 342829abe15..c5f248c7526 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_any_of_different_types_no_validations.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_any_of_different_types_no_validations.pyi @@ -60,12 +60,12 @@ class ComposedAnyOfDifferentTypesNoValidations( def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'AnyOf9': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: @@ -99,12 +99,12 @@ class ComposedAnyOfDifferentTypesNoValidations( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ComposedAnyOfDifferentTypesNoValidations': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_array.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_array.py index b8a4d355033..e6d16c4ebd7 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_array.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_array.py @@ -40,12 +40,12 @@ class Schema_: def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ComposedArray': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_array.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_array.pyi index b8a4d355033..e6d16c4ebd7 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_array.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_array.pyi @@ -40,12 +40,12 @@ class ComposedArray( def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ComposedArray': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_bool.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_bool.py index c1bdc656e79..07ae6c96400 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_bool.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_bool.py @@ -48,10 +48,10 @@ class AllOf: def __new__( cls, *_args: typing.Union[bool, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ComposedBool': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_bool.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_bool.pyi index c1bdc656e79..07ae6c96400 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_bool.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_bool.pyi @@ -48,10 +48,10 @@ class ComposedBool( def __new__( cls, *_args: typing.Union[bool, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ComposedBool': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_none.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_none.py index 8ad887e42be..d5f6c3d8dd3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_none.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_none.py @@ -48,10 +48,10 @@ class AllOf: def __new__( cls, *_args: typing.Union[None, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ComposedNone': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_none.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_none.pyi index 8ad887e42be..d5f6c3d8dd3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_none.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_none.pyi @@ -48,10 +48,10 @@ class ComposedNone( def __new__( cls, *_args: typing.Union[None, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ComposedNone': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_number.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_number.py index 09bc9ac18c8..d872d7fedb8 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_number.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_number.py @@ -48,10 +48,10 @@ class AllOf: def __new__( cls, *_args: typing.Union[decimal.Decimal, int, float, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ComposedNumber': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_number.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_number.pyi index 09bc9ac18c8..d872d7fedb8 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_number.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_number.pyi @@ -48,10 +48,10 @@ class ComposedNumber( def __new__( cls, *_args: typing.Union[decimal.Decimal, int, float, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ComposedNumber': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_object.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_object.py index bfb8d1268d0..22fbb9b04af 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_object.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_object.py @@ -48,12 +48,12 @@ class AllOf: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ComposedObject': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_object.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_object.pyi index bfb8d1268d0..22fbb9b04af 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_object.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_object.pyi @@ -48,12 +48,12 @@ class ComposedObject( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ComposedObject': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_one_of_different_types.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_one_of_different_types.py index d71e2e33fea..85dd87e6d6f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_one_of_different_types.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_one_of_different_types.py @@ -64,13 +64,13 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneOf4': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -89,12 +89,12 @@ class Schema_: def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'OneOf5': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: @@ -128,13 +128,13 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ComposedOneOfDifferentTypes': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_one_of_different_types.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_one_of_different_types.pyi index 60a300c50b9..47270ebd1f7 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_one_of_different_types.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_one_of_different_types.pyi @@ -58,13 +58,13 @@ class ComposedOneOfDifferentTypes( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneOf4': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -83,12 +83,12 @@ class ComposedOneOfDifferentTypes( def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'OneOf5': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: @@ -113,13 +113,13 @@ class ComposedOneOfDifferentTypes( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ComposedOneOfDifferentTypes': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_string.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_string.py index 0e1dae2a237..bc5c0784d6e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_string.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_string.py @@ -48,10 +48,10 @@ class AllOf: def __new__( cls, *_args: typing.Union[str, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ComposedString': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_string.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_string.pyi index 0e1dae2a237..bc5c0784d6e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_string.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_string.pyi @@ -48,10 +48,10 @@ class ComposedString( def __new__( cls, *_args: typing.Union[str, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ComposedString': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/danish_pig.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/danish_pig.py index 36a42a84bd2..a691c1b8995 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/danish_pig.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/danish_pig.py @@ -99,13 +99,13 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], className: typing.Union[Schema_.Properties.ClassName, str, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'DanishPig': return super().__new__( cls, *_args, className=className, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/danish_pig.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/danish_pig.pyi index e5cafacb9da..1e733865fb7 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/danish_pig.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/danish_pig.pyi @@ -89,13 +89,13 @@ class DanishPig( cls, *_args: typing.Union[dict, frozendict.frozendict, ], className: typing.Union[Schema_.Properties.ClassName, str, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'DanishPig': return super().__new__( cls, *_args, className=className, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/dog.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/dog.py index 8020f8c99d7..d5885b8a893 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/dog.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/dog.py @@ -92,14 +92,14 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], breed: typing.Union[Schema_.Properties.Breed, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': return super().__new__( cls, *_args, breed=breed, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -111,13 +111,13 @@ def __new__( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Dog': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/dog.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/dog.pyi index 842cd345137..90ba76a272b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/dog.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/dog.pyi @@ -91,14 +91,14 @@ class Dog( cls, *_args: typing.Union[dict, frozendict.frozendict, ], breed: typing.Union[Schema_.Properties.Breed, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': return super().__new__( cls, *_args, breed=breed, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -110,13 +110,13 @@ class Dog( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Dog': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/drawing.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/drawing.py index e62a633d951..1f855a56990 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/drawing.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/drawing.py @@ -66,12 +66,12 @@ def items() -> typing.Type['shape.Shape']: def __new__( cls, _arg: typing.Union[typing.Tuple['shape.Shape'], typing.List['shape.Shape']], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Shapes': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> 'shape.Shape': @@ -149,7 +149,7 @@ def __new__( shapeOrNull: typing.Union['shape_or_null.ShapeOrNull', schemas.Unset] = schemas.unset, nullableShape: typing.Union['nullable_shape.NullableShape', schemas.Unset] = schemas.unset, shapes: typing.Union[Schema_.Properties.Shapes, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: 'fruit.Fruit', ) -> 'Drawing': return super().__new__( @@ -159,7 +159,7 @@ def __new__( shapeOrNull=shapeOrNull, nullableShape=nullableShape, shapes=shapes, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/drawing.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/drawing.pyi index e21d660fafd..8ccf22f1702 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/drawing.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/drawing.pyi @@ -65,12 +65,12 @@ class Drawing( def __new__( cls, _arg: typing.Union[typing.Tuple['shape.Shape'], typing.List['shape.Shape']], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Shapes': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> 'shape.Shape': @@ -148,7 +148,7 @@ class Drawing( shapeOrNull: typing.Union['shape_or_null.ShapeOrNull', schemas.Unset] = schemas.unset, nullableShape: typing.Union['nullable_shape.NullableShape', schemas.Unset] = schemas.unset, shapes: typing.Union[Schema_.Properties.Shapes, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: 'fruit.Fruit', ) -> 'Drawing': return super().__new__( @@ -158,7 +158,7 @@ class Drawing( shapeOrNull=shapeOrNull, nullableShape=nullableShape, shapes=shapes, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_arrays.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_arrays.py index d4b8d48c9ae..0742af28483 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_arrays.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_arrays.py @@ -96,12 +96,12 @@ def CRAB(cls): def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayEnum': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: @@ -155,7 +155,7 @@ def __new__( *_args: typing.Union[dict, frozendict.frozendict, ], just_symbol: typing.Union[Schema_.Properties.JustSymbol, str, schemas.Unset] = schemas.unset, array_enum: typing.Union[Schema_.Properties.ArrayEnum, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'EnumArrays': return super().__new__( @@ -163,6 +163,6 @@ def __new__( *_args, just_symbol=just_symbol, array_enum=array_enum, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_arrays.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_arrays.pyi index f97e08aa400..900df3878b5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_arrays.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_arrays.pyi @@ -75,12 +75,12 @@ class EnumArrays( def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayEnum': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: @@ -134,7 +134,7 @@ class EnumArrays( *_args: typing.Union[dict, frozendict.frozendict, ], just_symbol: typing.Union[Schema_.Properties.JustSymbol, str, schemas.Unset] = schemas.unset, array_enum: typing.Union[Schema_.Properties.ArrayEnum, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'EnumArrays': return super().__new__( @@ -142,6 +142,6 @@ class EnumArrays( *_args, just_symbol=just_symbol, array_enum=array_enum, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_test.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_test.py index 13c09dfca5b..6ba79bd2c6f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_test.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_test.py @@ -285,7 +285,7 @@ def __new__( StringEnumWithDefaultValue: typing.Union['string_enum_with_default_value.StringEnumWithDefaultValue', schemas.Unset] = schemas.unset, IntegerEnumWithDefaultValue: typing.Union['integer_enum_with_default_value.IntegerEnumWithDefaultValue', schemas.Unset] = schemas.unset, IntegerEnumOneValue: typing.Union['integer_enum_one_value.IntegerEnumOneValue', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'EnumTest': return super().__new__( @@ -300,7 +300,7 @@ def __new__( StringEnumWithDefaultValue=StringEnumWithDefaultValue, IntegerEnumWithDefaultValue=IntegerEnumWithDefaultValue, IntegerEnumOneValue=IntegerEnumOneValue, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_test.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_test.pyi index caf51a27046..8404365a24e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_test.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_test.pyi @@ -240,7 +240,7 @@ class EnumTest( StringEnumWithDefaultValue: typing.Union['string_enum_with_default_value.StringEnumWithDefaultValue', schemas.Unset] = schemas.unset, IntegerEnumWithDefaultValue: typing.Union['integer_enum_with_default_value.IntegerEnumWithDefaultValue', schemas.Unset] = schemas.unset, IntegerEnumOneValue: typing.Union['integer_enum_one_value.IntegerEnumOneValue', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'EnumTest': return super().__new__( @@ -255,7 +255,7 @@ class EnumTest( StringEnumWithDefaultValue=StringEnumWithDefaultValue, IntegerEnumWithDefaultValue=IntegerEnumWithDefaultValue, IntegerEnumOneValue=IntegerEnumOneValue, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/equilateral_triangle.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/equilateral_triangle.py index 858fddbdbdc..0621c8816b7 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/equilateral_triangle.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/equilateral_triangle.py @@ -109,14 +109,14 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], triangleType: typing.Union[Schema_.Properties.TriangleType, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': return super().__new__( cls, *_args, triangleType=triangleType, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -128,13 +128,13 @@ def __new__( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'EquilateralTriangle': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/equilateral_triangle.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/equilateral_triangle.pyi index f82ac7ffcda..3582289291b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/equilateral_triangle.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/equilateral_triangle.pyi @@ -99,14 +99,14 @@ class EquilateralTriangle( cls, *_args: typing.Union[dict, frozendict.frozendict, ], triangleType: typing.Union[Schema_.Properties.TriangleType, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': return super().__new__( cls, *_args, triangleType=triangleType, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -118,13 +118,13 @@ class EquilateralTriangle( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'EquilateralTriangle': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/file.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/file.py index 017a0936d3e..80f2850ee73 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/file.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/file.py @@ -79,13 +79,13 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], sourceURI: typing.Union[Schema_.Properties.SourceURI, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'File': return super().__new__( cls, *_args, sourceURI=sourceURI, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/file.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/file.pyi index b5ed8cd8b66..29451521792 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/file.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/file.pyi @@ -78,13 +78,13 @@ class File( cls, *_args: typing.Union[dict, frozendict.frozendict, ], sourceURI: typing.Union[Schema_.Properties.SourceURI, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'File': return super().__new__( cls, *_args, sourceURI=sourceURI, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/file_schema_test_class.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/file_schema_test_class.py index 169b661c76e..b72c526d559 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/file_schema_test_class.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/file_schema_test_class.py @@ -58,12 +58,12 @@ def items() -> typing.Type['file.File']: def __new__( cls, _arg: typing.Union[typing.Tuple['file.File'], typing.List['file.File']], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Files': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> 'file.File': @@ -117,7 +117,7 @@ def __new__( *_args: typing.Union[dict, frozendict.frozendict, ], file: typing.Union['file.File', schemas.Unset] = schemas.unset, files: typing.Union[Schema_.Properties.Files, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'FileSchemaTestClass': return super().__new__( @@ -125,7 +125,7 @@ def __new__( *_args, file=file, files=files, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/file_schema_test_class.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/file_schema_test_class.pyi index b9310a72509..b535625bf23 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/file_schema_test_class.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/file_schema_test_class.pyi @@ -57,12 +57,12 @@ class FileSchemaTestClass( def __new__( cls, _arg: typing.Union[typing.Tuple['file.File'], typing.List['file.File']], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Files': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> 'file.File': @@ -116,7 +116,7 @@ class FileSchemaTestClass( *_args: typing.Union[dict, frozendict.frozendict, ], file: typing.Union['file.File', schemas.Unset] = schemas.unset, files: typing.Union[Schema_.Properties.Files, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'FileSchemaTestClass': return super().__new__( @@ -124,7 +124,7 @@ class FileSchemaTestClass( *_args, file=file, files=files, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/foo.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/foo.py index 77ca0dc3e06..6680b037c31 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/foo.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/foo.py @@ -80,14 +80,14 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], bar: typing.Union['bar.Bar', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Foo': return super().__new__( cls, *_args, bar=bar, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/foo.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/foo.pyi index a8501b5b3c6..43f18d7c9c7 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/foo.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/foo.pyi @@ -79,14 +79,14 @@ class Foo( cls, *_args: typing.Union[dict, frozendict.frozendict, ], bar: typing.Union['bar.Bar', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Foo': return super().__new__( cls, *_args, bar=bar, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/format_test.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/format_test.py index 70a839bf543..d7ebbe3ca5e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/format_test.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/format_test.py @@ -133,12 +133,12 @@ class Schema_: def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]], typing.List[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayWithUniqueItems': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: @@ -455,7 +455,7 @@ def __new__( pattern_with_digits: typing.Union[Schema_.Properties.PatternWithDigits, str, schemas.Unset] = schemas.unset, pattern_with_digits_and_delimiter: typing.Union[Schema_.Properties.PatternWithDigitsAndDelimiter, str, schemas.Unset] = schemas.unset, noneProp: typing.Union[Schema_.Properties.NoneProp, None, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'FormatTest': return super().__new__( @@ -481,6 +481,6 @@ def __new__( pattern_with_digits=pattern_with_digits, pattern_with_digits_and_delimiter=pattern_with_digits_and_delimiter, noneProp=noneProp, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/format_test.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/format_test.pyi index 7abbc650997..bcab847b865 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/format_test.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/format_test.pyi @@ -91,12 +91,12 @@ class FormatTest( def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]], typing.List[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayWithUniqueItems': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: @@ -375,7 +375,7 @@ class FormatTest( pattern_with_digits: typing.Union[Schema_.Properties.PatternWithDigits, str, schemas.Unset] = schemas.unset, pattern_with_digits_and_delimiter: typing.Union[Schema_.Properties.PatternWithDigitsAndDelimiter, str, schemas.Unset] = schemas.unset, noneProp: typing.Union[Schema_.Properties.NoneProp, None, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'FormatTest': return super().__new__( @@ -401,6 +401,6 @@ class FormatTest( pattern_with_digits=pattern_with_digits, pattern_with_digits_and_delimiter=pattern_with_digits_and_delimiter, noneProp=noneProp, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/from_schema.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/from_schema.py index 146adcbb42f..4effa15a9cf 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/from_schema.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/from_schema.py @@ -88,7 +88,7 @@ def __new__( *_args: typing.Union[dict, frozendict.frozendict, ], data: typing.Union[Schema_.Properties.Data, str, schemas.Unset] = schemas.unset, id: typing.Union[Schema_.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'FromSchema': return super().__new__( @@ -96,6 +96,6 @@ def __new__( *_args, data=data, id=id, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/from_schema.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/from_schema.pyi index aeb7b95772b..569a0b15191 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/from_schema.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/from_schema.pyi @@ -87,7 +87,7 @@ class FromSchema( *_args: typing.Union[dict, frozendict.frozendict, ], data: typing.Union[Schema_.Properties.Data, str, schemas.Unset] = schemas.unset, id: typing.Union[Schema_.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'FromSchema': return super().__new__( @@ -95,6 +95,6 @@ class FromSchema( *_args, data=data, id=id, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit.py index 50cae3168aa..58e21280f53 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit.py @@ -92,14 +92,14 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], color: typing.Union[Schema_.Properties.Color, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Fruit': return super().__new__( cls, *_args, color=color, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit.pyi index 50cae3168aa..58e21280f53 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit.pyi @@ -92,14 +92,14 @@ class Fruit( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], color: typing.Union[Schema_.Properties.Color, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Fruit': return super().__new__( cls, *_args, color=color, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit_req.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit_req.py index d10ed9f0923..ea2dba1eb49 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit_req.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit_req.py @@ -56,13 +56,13 @@ def one_of2() -> typing.Type['banana_req.BananaReq']: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'FruitReq': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit_req.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit_req.pyi index d10ed9f0923..ea2dba1eb49 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit_req.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit_req.pyi @@ -56,13 +56,13 @@ class FruitReq( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'FruitReq': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/gm_fruit.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/gm_fruit.py index 5ad1abac4c7..ad631107262 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/gm_fruit.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/gm_fruit.py @@ -92,14 +92,14 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], color: typing.Union[Schema_.Properties.Color, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'GmFruit': return super().__new__( cls, *_args, color=color, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/gm_fruit.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/gm_fruit.pyi index 5ad1abac4c7..ad631107262 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/gm_fruit.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/gm_fruit.pyi @@ -92,14 +92,14 @@ class GmFruit( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], color: typing.Union[Schema_.Properties.Color, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'GmFruit': return super().__new__( cls, *_args, color=color, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/grandparent_animal.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/grandparent_animal.py index 2bd20d41acf..377e8df6219 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/grandparent_animal.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/grandparent_animal.py @@ -91,14 +91,14 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], pet_type: typing.Union[Schema_.Properties.PetType, str, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'GrandparentAnimal': return super().__new__( cls, *_args, pet_type=pet_type, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/grandparent_animal.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/grandparent_animal.pyi index 41817d90ceb..76e02ffddde 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/grandparent_animal.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/grandparent_animal.pyi @@ -90,14 +90,14 @@ class GrandparentAnimal( cls, *_args: typing.Union[dict, frozendict.frozendict, ], pet_type: typing.Union[Schema_.Properties.PetType, str, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'GrandparentAnimal': return super().__new__( cls, *_args, pet_type=pet_type, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/has_only_read_only.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/has_only_read_only.py index c98f66e88f5..99cd69b38e5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/has_only_read_only.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/has_only_read_only.py @@ -88,7 +88,7 @@ def __new__( *_args: typing.Union[dict, frozendict.frozendict, ], bar: typing.Union[Schema_.Properties.Bar, str, schemas.Unset] = schemas.unset, foo: typing.Union[Schema_.Properties.Foo, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'HasOnlyReadOnly': return super().__new__( @@ -96,6 +96,6 @@ def __new__( *_args, bar=bar, foo=foo, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/has_only_read_only.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/has_only_read_only.pyi index 99ec0499095..de04bf392d8 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/has_only_read_only.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/has_only_read_only.pyi @@ -87,7 +87,7 @@ class HasOnlyReadOnly( *_args: typing.Union[dict, frozendict.frozendict, ], bar: typing.Union[Schema_.Properties.Bar, str, schemas.Unset] = schemas.unset, foo: typing.Union[Schema_.Properties.Foo, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'HasOnlyReadOnly': return super().__new__( @@ -95,6 +95,6 @@ class HasOnlyReadOnly( *_args, bar=bar, foo=foo, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/health_check_result.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/health_check_result.py index d34d060149c..f44d6d3e7e1 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/health_check_result.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/health_check_result.py @@ -59,12 +59,12 @@ class Schema_: def __new__( cls, *_args: typing.Union[None, str, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'NullableMessage': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, ) __annotations__ = { "NullableMessage": NullableMessage, @@ -105,13 +105,13 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], NullableMessage: typing.Union[Schema_.Properties.NullableMessage, None, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'HealthCheckResult': return super().__new__( cls, *_args, NullableMessage=NullableMessage, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/health_check_result.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/health_check_result.pyi index 7f8fa9bf6d8..4d8cfb6f817 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/health_check_result.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/health_check_result.pyi @@ -58,12 +58,12 @@ class HealthCheckResult( def __new__( cls, *_args: typing.Union[None, str, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'NullableMessage': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, ) __annotations__ = { "NullableMessage": NullableMessage, @@ -104,13 +104,13 @@ class HealthCheckResult( cls, *_args: typing.Union[dict, frozendict.frozendict, ], NullableMessage: typing.Union[Schema_.Properties.NullableMessage, None, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'HealthCheckResult': return super().__new__( cls, *_args, NullableMessage=NullableMessage, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/isosceles_triangle.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/isosceles_triangle.py index d78b50f6ace..1e961a07406 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/isosceles_triangle.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/isosceles_triangle.py @@ -109,14 +109,14 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], triangleType: typing.Union[Schema_.Properties.TriangleType, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': return super().__new__( cls, *_args, triangleType=triangleType, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -128,13 +128,13 @@ def __new__( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'IsoscelesTriangle': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/isosceles_triangle.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/isosceles_triangle.pyi index d9020cfd5b7..2fd4cf0a2f5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/isosceles_triangle.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/isosceles_triangle.pyi @@ -99,14 +99,14 @@ class IsoscelesTriangle( cls, *_args: typing.Union[dict, frozendict.frozendict, ], triangleType: typing.Union[Schema_.Properties.TriangleType, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': return super().__new__( cls, *_args, triangleType=triangleType, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -118,13 +118,13 @@ class IsoscelesTriangle( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'IsoscelesTriangle': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request.py index 03fd042041d..ae89f5ac7ff 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request.py @@ -68,25 +68,25 @@ def one_of2() -> typing.Type['json_patch_request_move_copy.JSONPatchRequestMoveC def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Items': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'JSONPatchRequest': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request.pyi index 03fd042041d..ae89f5ac7ff 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request.pyi @@ -68,25 +68,25 @@ class JSONPatchRequest( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Items': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'JSONPatchRequest': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_add_replace_test.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_add_replace_test.py index 104ca709a8a..ce5695a8c18 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_add_replace_test.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_add_replace_test.py @@ -128,7 +128,7 @@ def __new__( op: typing.Union[Schema_.Properties.Op, str, ], path: typing.Union[Schema_.Properties.Path, str, ], value: typing.Union[Schema_.Properties.Value, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'JSONPatchRequestAddReplaceTest': return super().__new__( cls, @@ -136,5 +136,5 @@ def __new__( op=op, path=path, value=value, - _configuration=_configuration, + configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_add_replace_test.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_add_replace_test.pyi index 67deb3e9b76..5afc2e816ec 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_add_replace_test.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_add_replace_test.pyi @@ -116,7 +116,7 @@ class JSONPatchRequestAddReplaceTest( op: typing.Union[Schema_.Properties.Op, str, ], path: typing.Union[Schema_.Properties.Path, str, ], value: typing.Union[Schema_.Properties.Value, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'JSONPatchRequestAddReplaceTest': return super().__new__( cls, @@ -124,5 +124,5 @@ class JSONPatchRequestAddReplaceTest( op=op, path=path, value=value, - _configuration=_configuration, + configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_move_copy.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_move_copy.py index 44955843751..a059dbd981b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_move_copy.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_move_copy.py @@ -121,12 +121,12 @@ def __new__( *_args: typing.Union[dict, frozendict.frozendict, ], op: typing.Union[Schema_.Properties.Op, str, ], path: typing.Union[Schema_.Properties.Path, str, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'JSONPatchRequestMoveCopy': return super().__new__( cls, *_args, op=op, path=path, - _configuration=_configuration, + configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_move_copy.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_move_copy.pyi index 49a7bf18e70..a4381ee343f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_move_copy.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_move_copy.pyi @@ -110,12 +110,12 @@ class JSONPatchRequestMoveCopy( *_args: typing.Union[dict, frozendict.frozendict, ], op: typing.Union[Schema_.Properties.Op, str, ], path: typing.Union[Schema_.Properties.Path, str, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'JSONPatchRequestMoveCopy': return super().__new__( cls, *_args, op=op, path=path, - _configuration=_configuration, + configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_remove.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_remove.py index 5295da46620..2ac2cbc6606 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_remove.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_remove.py @@ -105,12 +105,12 @@ def __new__( *_args: typing.Union[dict, frozendict.frozendict, ], op: typing.Union[Schema_.Properties.Op, str, ], path: typing.Union[Schema_.Properties.Path, str, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'JSONPatchRequestRemove': return super().__new__( cls, *_args, op=op, path=path, - _configuration=_configuration, + configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_remove.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_remove.pyi index 2b46cb3026a..e2e33c708a9 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_remove.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_remove.pyi @@ -95,12 +95,12 @@ class JSONPatchRequestRemove( *_args: typing.Union[dict, frozendict.frozendict, ], op: typing.Union[Schema_.Properties.Op, str, ], path: typing.Union[Schema_.Properties.Path, str, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'JSONPatchRequestRemove': return super().__new__( cls, *_args, op=op, path=path, - _configuration=_configuration, + configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/mammal.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/mammal.py index 413456d409f..05c1755a539 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/mammal.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/mammal.py @@ -69,13 +69,13 @@ def one_of2() -> typing.Type['pig.Pig']: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Mammal': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/mammal.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/mammal.pyi index 413456d409f..05c1755a539 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/mammal.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/mammal.pyi @@ -69,13 +69,13 @@ class Mammal( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Mammal': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/map_test.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/map_test.py index e489afe01be..5c19cbffd33 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/map_test.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/map_test.py @@ -67,13 +67,13 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], ) -> 'AdditionalProperties': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -87,13 +87,13 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, ], ) -> 'MapMapOfString': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -139,13 +139,13 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], ) -> 'MapOfEnumString': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -169,13 +169,13 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, bool, ], ) -> 'DirectMap': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -251,7 +251,7 @@ def __new__( map_of_enum_string: typing.Union[Schema_.Properties.MapOfEnumString, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, direct_map: typing.Union[Schema_.Properties.DirectMap, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, indirect_map: typing.Union['string_boolean_map.StringBooleanMap', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MapTest': return super().__new__( @@ -261,7 +261,7 @@ def __new__( map_of_enum_string=map_of_enum_string, direct_map=direct_map, indirect_map=indirect_map, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/map_test.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/map_test.pyi index e4e53a6ce1f..112677dd4d1 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/map_test.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/map_test.pyi @@ -64,13 +64,13 @@ class MapTest( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], ) -> 'AdditionalProperties': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -84,13 +84,13 @@ class MapTest( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, ], ) -> 'MapMapOfString': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -125,13 +125,13 @@ class MapTest( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], ) -> 'MapOfEnumString': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -154,13 +154,13 @@ class MapTest( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, bool, ], ) -> 'DirectMap': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -236,7 +236,7 @@ class MapTest( map_of_enum_string: typing.Union[Schema_.Properties.MapOfEnumString, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, direct_map: typing.Union[Schema_.Properties.DirectMap, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, indirect_map: typing.Union['string_boolean_map.StringBooleanMap', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MapTest': return super().__new__( @@ -246,7 +246,7 @@ class MapTest( map_of_enum_string=map_of_enum_string, direct_map=direct_map, indirect_map=indirect_map, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/mixed_properties_and_additional_properties_class.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/mixed_properties_and_additional_properties_class.py index 4eeb795c2b1..a0c71a716f1 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/mixed_properties_and_additional_properties_class.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/mixed_properties_and_additional_properties_class.py @@ -63,13 +63,13 @@ def get_item_(self, name: str) -> 'animal.Animal': def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: 'animal.Animal', ) -> 'Map': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) __annotations__ = { @@ -131,7 +131,7 @@ def __new__( uuid: typing.Union[Schema_.Properties.Uuid, str, uuid.UUID, schemas.Unset] = schemas.unset, dateTime: typing.Union[Schema_.Properties.DateTime, str, datetime.datetime, schemas.Unset] = schemas.unset, map: typing.Union[Schema_.Properties.Map, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MixedPropertiesAndAdditionalPropertiesClass': return super().__new__( @@ -140,7 +140,7 @@ def __new__( uuid=uuid, dateTime=dateTime, map=map, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/mixed_properties_and_additional_properties_class.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/mixed_properties_and_additional_properties_class.pyi index 1880db13d0e..82424fa4fba 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/mixed_properties_and_additional_properties_class.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/mixed_properties_and_additional_properties_class.pyi @@ -61,13 +61,13 @@ class MixedPropertiesAndAdditionalPropertiesClass( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: 'animal.Animal', ) -> 'Map': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) __annotations__ = { @@ -129,7 +129,7 @@ class MixedPropertiesAndAdditionalPropertiesClass( uuid: typing.Union[Schema_.Properties.Uuid, str, uuid.UUID, schemas.Unset] = schemas.unset, dateTime: typing.Union[Schema_.Properties.DateTime, str, datetime.datetime, schemas.Unset] = schemas.unset, map: typing.Union[Schema_.Properties.Map, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MixedPropertiesAndAdditionalPropertiesClass': return super().__new__( @@ -138,7 +138,7 @@ class MixedPropertiesAndAdditionalPropertiesClass( uuid=uuid, dateTime=dateTime, map=map, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/money.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/money.py index b2ca71729a8..0fafe09910f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/money.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/money.py @@ -98,7 +98,7 @@ def __new__( *_args: typing.Union[dict, frozendict.frozendict, ], amount: typing.Union[Schema_.Properties.Amount, str, ], currency: 'currency.Currency', - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Money': return super().__new__( @@ -106,7 +106,7 @@ def __new__( *_args, amount=amount, currency=currency, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/money.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/money.pyi index cefad06ccf1..f7fb25b0ea1 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/money.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/money.pyi @@ -97,7 +97,7 @@ class Money( *_args: typing.Union[dict, frozendict.frozendict, ], amount: typing.Union[Schema_.Properties.Amount, str, ], currency: 'currency.Currency', - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Money': return super().__new__( @@ -105,7 +105,7 @@ class Money( *_args, amount=amount, currency=currency, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/name.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/name.py index 50a756ea332..2530bc93d21 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/name.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/name.py @@ -106,7 +106,7 @@ def __new__( *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], name: typing.Union[Schema_.Properties.Name, decimal.Decimal, int, ], snake_case: typing.Union[Schema_.Properties.SnakeCase, decimal.Decimal, int, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Name': return super().__new__( @@ -114,6 +114,6 @@ def __new__( *_args, name=name, snake_case=snake_case, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/name.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/name.pyi index 50a756ea332..2530bc93d21 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/name.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/name.pyi @@ -106,7 +106,7 @@ class Name( *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], name: typing.Union[Schema_.Properties.Name, decimal.Decimal, int, ], snake_case: typing.Union[Schema_.Properties.SnakeCase, decimal.Decimal, int, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Name': return super().__new__( @@ -114,6 +114,6 @@ class Name( *_args, name=name, snake_case=snake_case, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/no_additional_properties.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/no_additional_properties.py index d9d3639eb1b..b96812deb41 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/no_additional_properties.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/no_additional_properties.py @@ -86,12 +86,12 @@ def __new__( *_args: typing.Union[dict, frozendict.frozendict, ], id: typing.Union[Schema_.Properties.Id, decimal.Decimal, int, ], petId: typing.Union[Schema_.Properties.PetId, decimal.Decimal, int, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'NoAdditionalProperties': return super().__new__( cls, *_args, id=id, petId=petId, - _configuration=_configuration, + configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/no_additional_properties.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/no_additional_properties.pyi index 578b215435c..a88bbb791eb 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/no_additional_properties.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/no_additional_properties.pyi @@ -85,12 +85,12 @@ class NoAdditionalProperties( *_args: typing.Union[dict, frozendict.frozendict, ], id: typing.Union[Schema_.Properties.Id, decimal.Decimal, int, ], petId: typing.Union[Schema_.Properties.PetId, decimal.Decimal, int, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'NoAdditionalProperties': return super().__new__( cls, *_args, id=id, petId=petId, - _configuration=_configuration, + configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_class.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_class.py index 0e28f6eb8be..50d4978b382 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_class.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_class.py @@ -58,12 +58,12 @@ class Schema_: def __new__( cls, *_args: typing.Union[None, decimal.Decimal, int, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'IntegerProp': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, ) @@ -85,12 +85,12 @@ class Schema_: def __new__( cls, *_args: typing.Union[None, decimal.Decimal, int, float, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'NumberProp': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, ) @@ -112,12 +112,12 @@ class Schema_: def __new__( cls, *_args: typing.Union[None, bool, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'BooleanProp': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, ) @@ -139,12 +139,12 @@ class Schema_: def __new__( cls, *_args: typing.Union[None, str, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'StringProp': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, ) @@ -168,12 +168,12 @@ class Schema_: def __new__( cls, *_args: typing.Union[None, str, datetime.date, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'DateProp': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, ) @@ -197,12 +197,12 @@ class Schema_: def __new__( cls, *_args: typing.Union[None, str, datetime.datetime, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'DatetimeProp': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, ) @@ -225,12 +225,12 @@ class Schema_: def __new__( cls, *_args: typing.Union[list, tuple, None, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayNullableProp': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, ) @@ -267,13 +267,13 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, None, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Items': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -281,12 +281,12 @@ def __new__( def __new__( cls, *_args: typing.Union[list, tuple, None, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayAndItemsNullableProp': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, ) @@ -317,25 +317,25 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, None, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Items': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, None, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, None, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayItemsNullable': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: @@ -368,13 +368,13 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, None, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, ], ) -> 'ObjectNullableProp': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -412,13 +412,13 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, None, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AdditionalProperties': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -433,13 +433,13 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, None, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, None, ], ) -> 'ObjectAndItemsNullableProp': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -471,13 +471,13 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, None, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AdditionalProperties': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -491,13 +491,13 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, None, ], ) -> 'ObjectItemsNullable': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) __annotations__ = { @@ -534,13 +534,13 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, None, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AdditionalProperties': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -678,7 +678,7 @@ def __new__( object_nullable_prop: typing.Union[Schema_.Properties.ObjectNullableProp, dict, frozendict.frozendict, None, schemas.Unset] = schemas.unset, object_and_items_nullable_prop: typing.Union[Schema_.Properties.ObjectAndItemsNullableProp, dict, frozendict.frozendict, None, schemas.Unset] = schemas.unset, object_items_nullable: typing.Union[Schema_.Properties.ObjectItemsNullable, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, None, ], ) -> 'NullableClass': return super().__new__( @@ -696,6 +696,6 @@ def __new__( object_nullable_prop=object_nullable_prop, object_and_items_nullable_prop=object_and_items_nullable_prop, object_items_nullable=object_items_nullable, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_class.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_class.pyi index 78ff81df900..1706a493af4 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_class.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_class.pyi @@ -57,12 +57,12 @@ class NullableClass( def __new__( cls, *_args: typing.Union[None, decimal.Decimal, int, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'IntegerProp': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, ) @@ -84,12 +84,12 @@ class NullableClass( def __new__( cls, *_args: typing.Union[None, decimal.Decimal, int, float, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'NumberProp': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, ) @@ -111,12 +111,12 @@ class NullableClass( def __new__( cls, *_args: typing.Union[None, bool, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'BooleanProp': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, ) @@ -138,12 +138,12 @@ class NullableClass( def __new__( cls, *_args: typing.Union[None, str, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'StringProp': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, ) @@ -167,12 +167,12 @@ class NullableClass( def __new__( cls, *_args: typing.Union[None, str, datetime.date, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'DateProp': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, ) @@ -196,12 +196,12 @@ class NullableClass( def __new__( cls, *_args: typing.Union[None, str, datetime.datetime, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'DatetimeProp': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, ) @@ -224,12 +224,12 @@ class NullableClass( def __new__( cls, *_args: typing.Union[list, tuple, None, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayNullableProp': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, ) @@ -266,13 +266,13 @@ class NullableClass( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, None, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Items': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -280,12 +280,12 @@ class NullableClass( def __new__( cls, *_args: typing.Union[list, tuple, None, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayAndItemsNullableProp': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, ) @@ -316,25 +316,25 @@ class NullableClass( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, None, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Items': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, None, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, None, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayItemsNullable': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: @@ -367,13 +367,13 @@ class NullableClass( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, None, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, ], ) -> 'ObjectNullableProp': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -411,13 +411,13 @@ class NullableClass( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, None, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AdditionalProperties': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -432,13 +432,13 @@ class NullableClass( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, None, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, None, ], ) -> 'ObjectAndItemsNullableProp': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -469,13 +469,13 @@ class NullableClass( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, None, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AdditionalProperties': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -489,13 +489,13 @@ class NullableClass( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, None, ], ) -> 'ObjectItemsNullable': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) __annotations__ = { @@ -532,13 +532,13 @@ class NullableClass( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, None, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AdditionalProperties': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) @@ -676,7 +676,7 @@ class NullableClass( object_nullable_prop: typing.Union[Schema_.Properties.ObjectNullableProp, dict, frozendict.frozendict, None, schemas.Unset] = schemas.unset, object_and_items_nullable_prop: typing.Union[Schema_.Properties.ObjectAndItemsNullableProp, dict, frozendict.frozendict, None, schemas.Unset] = schemas.unset, object_items_nullable: typing.Union[Schema_.Properties.ObjectItemsNullable, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, None, ], ) -> 'NullableClass': return super().__new__( @@ -694,6 +694,6 @@ class NullableClass( object_nullable_prop=object_nullable_prop, object_and_items_nullable_prop=object_and_items_nullable_prop, object_items_nullable=object_items_nullable, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_shape.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_shape.py index db40181e789..bdbb1c49d2e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_shape.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_shape.py @@ -58,13 +58,13 @@ def one_of1() -> typing.Type['quadrilateral.Quadrilateral']: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'NullableShape': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_shape.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_shape.pyi index db40181e789..bdbb1c49d2e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_shape.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_shape.pyi @@ -58,13 +58,13 @@ class NullableShape( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'NullableShape': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_string.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_string.py index 9b42a9af606..a294ff69455 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_string.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_string.py @@ -46,10 +46,10 @@ class Schema_: def __new__( cls, *_args: typing.Union[None, str, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'NullableString': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_string.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_string.pyi index 9b42a9af606..a294ff69455 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_string.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_string.pyi @@ -46,10 +46,10 @@ class NullableString( def __new__( cls, *_args: typing.Union[None, str, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'NullableString': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/number_only.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/number_only.py index efb04ab4dfa..5945f410d77 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/number_only.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/number_only.py @@ -77,13 +77,13 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], JustNumber: typing.Union[Schema_.Properties.JustNumber, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'NumberOnly': return super().__new__( cls, *_args, JustNumber=JustNumber, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/number_only.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/number_only.pyi index 87ba6e01255..fae89a3deaf 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/number_only.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/number_only.pyi @@ -76,13 +76,13 @@ class NumberOnly( cls, *_args: typing.Union[dict, frozendict.frozendict, ], JustNumber: typing.Union[Schema_.Properties.JustNumber, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'NumberOnly': return super().__new__( cls, *_args, JustNumber=JustNumber, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_arg_and_args_properties.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_arg_and_args_properties.py index 084f1ec3221..8e72896dd1d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_arg_and_args_properties.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_arg_and_args_properties.py @@ -95,7 +95,7 @@ def __new__( *_args: typing.Union[dict, frozendict.frozendict, ], arg: typing.Union[Schema_.Properties.Arg, str, ], args: typing.Union[Schema_.Properties.Args, str, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectModelWithArgAndArgsProperties': return super().__new__( @@ -103,6 +103,6 @@ def __new__( *_args, arg=arg, args=args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_arg_and_args_properties.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_arg_and_args_properties.pyi index e9ef6cf30c7..02c9a3eb84e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_arg_and_args_properties.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_arg_and_args_properties.pyi @@ -94,7 +94,7 @@ class ObjectModelWithArgAndArgsProperties( *_args: typing.Union[dict, frozendict.frozendict, ], arg: typing.Union[Schema_.Properties.Arg, str, ], args: typing.Union[Schema_.Properties.Args, str, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectModelWithArgAndArgsProperties': return super().__new__( @@ -102,6 +102,6 @@ class ObjectModelWithArgAndArgsProperties( *_args, arg=arg, args=args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_ref_props.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_ref_props.py index 1373de18e80..f1a99930733 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_ref_props.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_ref_props.py @@ -110,7 +110,7 @@ def __new__( myNumber: typing.Union['number_with_validations.NumberWithValidations', schemas.Unset] = schemas.unset, myString: typing.Union['string.String', schemas.Unset] = schemas.unset, myBoolean: typing.Union['boolean.Boolean', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectModelWithRefProps': return super().__new__( @@ -119,7 +119,7 @@ def __new__( myNumber=myNumber, myString=myString, myBoolean=myBoolean, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_ref_props.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_ref_props.pyi index 496b2f92f9b..69b88b652aa 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_ref_props.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_ref_props.pyi @@ -109,7 +109,7 @@ class ObjectModelWithRefProps( myNumber: typing.Union['number_with_validations.NumberWithValidations', schemas.Unset] = schemas.unset, myString: typing.Union['string.String', schemas.Unset] = schemas.unset, myBoolean: typing.Union['boolean.Boolean', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectModelWithRefProps': return super().__new__( @@ -118,7 +118,7 @@ class ObjectModelWithRefProps( myNumber=myNumber, myString=myString, myBoolean=myBoolean, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.py index 547c9d40cb9..47d80cab64f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.py @@ -106,7 +106,7 @@ def __new__( *_args: typing.Union[dict, frozendict.frozendict, ], test: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], name: typing.Union[Schema_.Properties.Name, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': return super().__new__( @@ -114,7 +114,7 @@ def __new__( *_args, test=test, name=name, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -126,13 +126,13 @@ def __new__( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectWithAllOfWithReqTestPropFromUnsetAddProp': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.pyi index 01cdae1ea54..b3c2688a0c4 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.pyi @@ -105,7 +105,7 @@ class ObjectWithAllOfWithReqTestPropFromUnsetAddProp( *_args: typing.Union[dict, frozendict.frozendict, ], test: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], name: typing.Union[Schema_.Properties.Name, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': return super().__new__( @@ -113,7 +113,7 @@ class ObjectWithAllOfWithReqTestPropFromUnsetAddProp( *_args, test=test, name=name, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -125,13 +125,13 @@ class ObjectWithAllOfWithReqTestPropFromUnsetAddProp( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectWithAllOfWithReqTestPropFromUnsetAddProp': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_decimal_properties.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_decimal_properties.py index f587bf6830b..75dd5ebf232 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_decimal_properties.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_decimal_properties.py @@ -105,7 +105,7 @@ def __new__( length: typing.Union['decimal_payload.DecimalPayload', schemas.Unset] = schemas.unset, width: typing.Union[Schema_.Properties.Width, str, schemas.Unset] = schemas.unset, cost: typing.Union['money.Money', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectWithDecimalProperties': return super().__new__( @@ -114,7 +114,7 @@ def __new__( length=length, width=width, cost=cost, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_decimal_properties.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_decimal_properties.pyi index af50ba93ad1..15f6a104d74 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_decimal_properties.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_decimal_properties.pyi @@ -104,7 +104,7 @@ class ObjectWithDecimalProperties( length: typing.Union['decimal_payload.DecimalPayload', schemas.Unset] = schemas.unset, width: typing.Union[Schema_.Properties.Width, str, schemas.Unset] = schemas.unset, cost: typing.Union['money.Money', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectWithDecimalProperties': return super().__new__( @@ -113,7 +113,7 @@ class ObjectWithDecimalProperties( length=length, width=width, cost=cost, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_difficultly_named_props.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_difficultly_named_props.py index d2fdb284561..161f5e97e0b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_difficultly_named_props.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_difficultly_named_props.py @@ -102,12 +102,12 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectWithDifficultlyNamedProps': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_difficultly_named_props.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_difficultly_named_props.pyi index 7a8bd9a10ba..c0e46e8ab4f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_difficultly_named_props.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_difficultly_named_props.pyi @@ -101,12 +101,12 @@ class ObjectWithDifficultlyNamedProps( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectWithDifficultlyNamedProps': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_inline_composition_property.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_inline_composition_property.py index 2db8ff8033f..862f3874446 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_inline_composition_property.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_inline_composition_property.py @@ -68,13 +68,13 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'SomeProp': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) __annotations__ = { @@ -116,13 +116,13 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], someProp: typing.Union[Schema_.Properties.SomeProp, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectWithInlineCompositionProperty': return super().__new__( cls, *_args, someProp=someProp, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_inline_composition_property.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_inline_composition_property.pyi index 33d9769c844..35c98a70951 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_inline_composition_property.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_inline_composition_property.pyi @@ -61,13 +61,13 @@ class ObjectWithInlineCompositionProperty( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'SomeProp': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) __annotations__ = { @@ -109,13 +109,13 @@ class ObjectWithInlineCompositionProperty( cls, *_args: typing.Union[dict, frozendict.frozendict, ], someProp: typing.Union[Schema_.Properties.SomeProp, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectWithInlineCompositionProperty': return super().__new__( cls, *_args, someProp=someProp, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_invalid_named_refed_properties.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_invalid_named_refed_properties.py index f93749d7ef3..e5d1194373a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_invalid_named_refed_properties.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_invalid_named_refed_properties.py @@ -97,13 +97,13 @@ def get_item_( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectWithInvalidNamedRefedProperties': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_invalid_named_refed_properties.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_invalid_named_refed_properties.pyi index f558b07fd6a..75ca6bcf5e2 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_invalid_named_refed_properties.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_invalid_named_refed_properties.pyi @@ -96,13 +96,13 @@ class ObjectWithInvalidNamedRefedProperties( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectWithInvalidNamedRefedProperties': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_optional_test_prop.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_optional_test_prop.py index cf3dbf9c6c5..41bd0fa7a08 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_optional_test_prop.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_optional_test_prop.py @@ -77,13 +77,13 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], test: typing.Union[Schema_.Properties.Test, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectWithOptionalTestProp': return super().__new__( cls, *_args, test=test, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_optional_test_prop.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_optional_test_prop.pyi index a672d90f347..bfedaf0f0cf 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_optional_test_prop.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_optional_test_prop.pyi @@ -76,13 +76,13 @@ class ObjectWithOptionalTestProp( cls, *_args: typing.Union[dict, frozendict.frozendict, ], test: typing.Union[Schema_.Properties.Test, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectWithOptionalTestProp': return super().__new__( cls, *_args, test=test, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_validations.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_validations.py index 1017103b4b3..e392f3853e6 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_validations.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_validations.py @@ -40,12 +40,12 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectWithValidations': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_validations.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_validations.pyi index 29e8accd9c9..8b3fc9995ba 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_validations.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_validations.pyi @@ -35,12 +35,12 @@ class ObjectWithValidations( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectWithValidations': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/order.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/order.py index 7a3ce4b136f..3d33c0e19c0 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/order.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/order.py @@ -159,7 +159,7 @@ def __new__( shipDate: typing.Union[Schema_.Properties.ShipDate, str, datetime.datetime, schemas.Unset] = schemas.unset, status: typing.Union[Schema_.Properties.Status, str, schemas.Unset] = schemas.unset, complete: typing.Union[Schema_.Properties.Complete, bool, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Order': return super().__new__( @@ -171,6 +171,6 @@ def __new__( shipDate=shipDate, status=status, complete=complete, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/order.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/order.pyi index 90bfbfaa5e6..1dcc0202fae 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/order.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/order.pyi @@ -147,7 +147,7 @@ class Order( shipDate: typing.Union[Schema_.Properties.ShipDate, str, datetime.datetime, schemas.Unset] = schemas.unset, status: typing.Union[Schema_.Properties.Status, str, schemas.Unset] = schemas.unset, complete: typing.Union[Schema_.Properties.Complete, bool, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Order': return super().__new__( @@ -159,6 +159,6 @@ class Order( shipDate=shipDate, status=status, complete=complete, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/parent_pet.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/parent_pet.py index 480f4f0e9ca..c3523d51841 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/parent_pet.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/parent_pet.py @@ -59,13 +59,13 @@ def all_of0() -> typing.Type['grandparent_animal.GrandparentAnimal']: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ParentPet': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/parent_pet.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/parent_pet.pyi index 480f4f0e9ca..c3523d51841 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/parent_pet.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/parent_pet.pyi @@ -59,13 +59,13 @@ class ParentPet( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ParentPet': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/pet.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/pet.py index 5a1e7d8b16a..8d71d915d8d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/pet.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/pet.py @@ -63,12 +63,12 @@ class Schema_: def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'PhotoUrls': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: @@ -90,12 +90,12 @@ def items() -> typing.Type['tag.Tag']: def __new__( cls, _arg: typing.Union[typing.Tuple['tag.Tag'], typing.List['tag.Tag']], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Tags': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> 'tag.Tag': @@ -220,7 +220,7 @@ def __new__( category: typing.Union['category.Category', schemas.Unset] = schemas.unset, tags: typing.Union[Schema_.Properties.Tags, list, tuple, schemas.Unset] = schemas.unset, status: typing.Union[Schema_.Properties.Status, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Pet': return super().__new__( @@ -232,7 +232,7 @@ def __new__( category=category, tags=tags, status=status, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/pet.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/pet.pyi index 401ec29f523..5c0808bc776 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/pet.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/pet.pyi @@ -62,12 +62,12 @@ class Pet( def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'PhotoUrls': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: @@ -89,12 +89,12 @@ class Pet( def __new__( cls, _arg: typing.Union[typing.Tuple['tag.Tag'], typing.List['tag.Tag']], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Tags': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> 'tag.Tag': @@ -208,7 +208,7 @@ class Pet( category: typing.Union['category.Category', schemas.Unset] = schemas.unset, tags: typing.Union[Schema_.Properties.Tags, list, tuple, schemas.Unset] = schemas.unset, status: typing.Union[Schema_.Properties.Status, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Pet': return super().__new__( @@ -220,7 +220,7 @@ class Pet( category=category, tags=tags, status=status, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/pig.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/pig.py index c30d3d98b35..cfd3f56864e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/pig.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/pig.py @@ -63,13 +63,13 @@ def one_of1() -> typing.Type['danish_pig.DanishPig']: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Pig': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/pig.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/pig.pyi index c30d3d98b35..cfd3f56864e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/pig.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/pig.pyi @@ -63,13 +63,13 @@ class Pig( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Pig': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/player.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/player.py index fbb0c10d2b2..c8cc2ac408b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/player.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/player.py @@ -93,7 +93,7 @@ def __new__( *_args: typing.Union[dict, frozendict.frozendict, ], name: typing.Union[Schema_.Properties.Name, str, schemas.Unset] = schemas.unset, enemyPlayer: typing.Union['Player', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Player': return super().__new__( @@ -101,6 +101,6 @@ def __new__( *_args, name=name, enemyPlayer=enemyPlayer, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/player.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/player.pyi index f78105038e0..260481f75f9 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/player.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/player.pyi @@ -92,7 +92,7 @@ class Player( *_args: typing.Union[dict, frozendict.frozendict, ], name: typing.Union[Schema_.Properties.Name, str, schemas.Unset] = schemas.unset, enemyPlayer: typing.Union['Player', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Player': return super().__new__( @@ -100,6 +100,6 @@ class Player( *_args, name=name, enemyPlayer=enemyPlayer, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral.py index a94631d666d..cea360022ec 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral.py @@ -63,13 +63,13 @@ def one_of1() -> typing.Type['complex_quadrilateral.ComplexQuadrilateral']: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Quadrilateral': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral.pyi index a94631d666d..cea360022ec 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral.pyi @@ -63,13 +63,13 @@ class Quadrilateral( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Quadrilateral': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral_interface.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral_interface.py index 9d7ba7da7e3..33e024ea4d6 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral_interface.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral_interface.py @@ -113,7 +113,7 @@ def __new__( *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], quadrilateralType: typing.Union[Schema_.Properties.QuadrilateralType, str, ], shapeType: typing.Union[Schema_.Properties.ShapeType, str, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'QuadrilateralInterface': return super().__new__( @@ -121,6 +121,6 @@ def __new__( *_args, quadrilateralType=quadrilateralType, shapeType=shapeType, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral_interface.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral_interface.pyi index bb98cc4361d..c13e83edc27 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral_interface.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral_interface.pyi @@ -104,7 +104,7 @@ class QuadrilateralInterface( *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], quadrilateralType: typing.Union[Schema_.Properties.QuadrilateralType, str, ], shapeType: typing.Union[Schema_.Properties.ShapeType, str, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'QuadrilateralInterface': return super().__new__( @@ -112,6 +112,6 @@ class QuadrilateralInterface( *_args, quadrilateralType=quadrilateralType, shapeType=shapeType, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/read_only_first.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/read_only_first.py index 9469952acae..dbb583e185c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/read_only_first.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/read_only_first.py @@ -88,7 +88,7 @@ def __new__( *_args: typing.Union[dict, frozendict.frozendict, ], bar: typing.Union[Schema_.Properties.Bar, str, schemas.Unset] = schemas.unset, baz: typing.Union[Schema_.Properties.Baz, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ReadOnlyFirst': return super().__new__( @@ -96,6 +96,6 @@ def __new__( *_args, bar=bar, baz=baz, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/read_only_first.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/read_only_first.pyi index 32e8fe86da2..4106c252dfb 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/read_only_first.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/read_only_first.pyi @@ -87,7 +87,7 @@ class ReadOnlyFirst( *_args: typing.Union[dict, frozendict.frozendict, ], bar: typing.Union[Schema_.Properties.Bar, str, schemas.Unset] = schemas.unset, baz: typing.Union[Schema_.Properties.Baz, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ReadOnlyFirst': return super().__new__( @@ -95,6 +95,6 @@ class ReadOnlyFirst( *_args, bar=bar, baz=baz, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_explicit_add_props.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_explicit_add_props.py index 2a4ad4391bf..c39fe8ce9b7 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_explicit_add_props.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_explicit_add_props.py @@ -86,13 +86,13 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], validName: typing.Union[Schema_.AdditionalProperties, str, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], ) -> 'ReqPropsFromExplicitAddProps': return super().__new__( cls, *_args, validName=validName, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_explicit_add_props.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_explicit_add_props.pyi index d7def74f01c..49243230fec 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_explicit_add_props.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_explicit_add_props.pyi @@ -85,13 +85,13 @@ class ReqPropsFromExplicitAddProps( cls, *_args: typing.Union[dict, frozendict.frozendict, ], validName: typing.Union[Schema_.AdditionalProperties, str, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], ) -> 'ReqPropsFromExplicitAddProps': return super().__new__( cls, *_args, validName=validName, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_true_add_props.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_true_add_props.py index 4be93977383..c1bbf82e7bf 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_true_add_props.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_true_add_props.py @@ -86,13 +86,13 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], validName: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], ) -> 'ReqPropsFromTrueAddProps': return super().__new__( cls, *_args, validName=validName, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_true_add_props.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_true_add_props.pyi index 980be902aa8..e3a13671be2 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_true_add_props.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_true_add_props.pyi @@ -85,13 +85,13 @@ class ReqPropsFromTrueAddProps( cls, *_args: typing.Union[dict, frozendict.frozendict, ], validName: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], ) -> 'ReqPropsFromTrueAddProps': return super().__new__( cls, *_args, validName=validName, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_unset_add_props.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_unset_add_props.py index 4b551367b88..d558dc200c5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_unset_add_props.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_unset_add_props.py @@ -85,13 +85,13 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], validName: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ReqPropsFromUnsetAddProps': return super().__new__( cls, *_args, validName=validName, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_unset_add_props.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_unset_add_props.pyi index 68470491b1e..ce9d20b535b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_unset_add_props.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_unset_add_props.pyi @@ -84,13 +84,13 @@ class ReqPropsFromUnsetAddProps( cls, *_args: typing.Union[dict, frozendict.frozendict, ], validName: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ReqPropsFromUnsetAddProps': return super().__new__( cls, *_args, validName=validName, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/scalene_triangle.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/scalene_triangle.py index 3d534f88e64..0a201c3c24e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/scalene_triangle.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/scalene_triangle.py @@ -109,14 +109,14 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], triangleType: typing.Union[Schema_.Properties.TriangleType, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': return super().__new__( cls, *_args, triangleType=triangleType, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -128,13 +128,13 @@ def __new__( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ScaleneTriangle': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/scalene_triangle.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/scalene_triangle.pyi index 7aa91a2efae..79e327a062a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/scalene_triangle.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/scalene_triangle.pyi @@ -99,14 +99,14 @@ class ScaleneTriangle( cls, *_args: typing.Union[dict, frozendict.frozendict, ], triangleType: typing.Union[Schema_.Properties.TriangleType, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': return super().__new__( cls, *_args, triangleType=triangleType, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -118,13 +118,13 @@ class ScaleneTriangle( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ScaleneTriangle': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_array_model.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_array_model.py index a05037d7076..78b705e709e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_array_model.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_array_model.py @@ -43,12 +43,12 @@ def items() -> typing.Type['SelfReferencingArrayModel']: def __new__( cls, _arg: typing.Union[typing.Tuple['SelfReferencingArrayModel'], typing.List['SelfReferencingArrayModel']], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'SelfReferencingArrayModel': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> 'SelfReferencingArrayModel': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_array_model.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_array_model.pyi index a05037d7076..78b705e709e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_array_model.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_array_model.pyi @@ -43,12 +43,12 @@ class SelfReferencingArrayModel( def __new__( cls, _arg: typing.Union[typing.Tuple['SelfReferencingArrayModel'], typing.List['SelfReferencingArrayModel']], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'SelfReferencingArrayModel': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> 'SelfReferencingArrayModel': diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_object_model.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_object_model.py index fb1093d03ea..c5e91c5cf70 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_object_model.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_object_model.py @@ -84,13 +84,13 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], selfRef: typing.Union['SelfReferencingObjectModel', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: 'SelfReferencingObjectModel', ) -> 'SelfReferencingObjectModel': return super().__new__( cls, *_args, selfRef=selfRef, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_object_model.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_object_model.pyi index 44281554daf..8b0467596a7 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_object_model.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_object_model.pyi @@ -83,13 +83,13 @@ class SelfReferencingObjectModel( cls, *_args: typing.Union[dict, frozendict.frozendict, ], selfRef: typing.Union['SelfReferencingObjectModel', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: 'SelfReferencingObjectModel', ) -> 'SelfReferencingObjectModel': return super().__new__( cls, *_args, selfRef=selfRef, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape.py index 0a41c203bf9..f320e7f4a3c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape.py @@ -63,13 +63,13 @@ def one_of1() -> typing.Type['quadrilateral.Quadrilateral']: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Shape': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape.pyi index 0a41c203bf9..f320e7f4a3c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape.pyi @@ -63,13 +63,13 @@ class Shape( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Shape': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape_or_null.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape_or_null.py index cc735d82ce9..3bf1938bcfb 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape_or_null.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape_or_null.py @@ -67,13 +67,13 @@ def one_of2() -> typing.Type['quadrilateral.Quadrilateral']: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ShapeOrNull': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape_or_null.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape_or_null.pyi index cc735d82ce9..3bf1938bcfb 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape_or_null.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape_or_null.pyi @@ -67,13 +67,13 @@ class ShapeOrNull( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ShapeOrNull': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/simple_quadrilateral.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/simple_quadrilateral.py index cd3089e560a..09b59479a73 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/simple_quadrilateral.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/simple_quadrilateral.py @@ -109,14 +109,14 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], quadrilateralType: typing.Union[Schema_.Properties.QuadrilateralType, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': return super().__new__( cls, *_args, quadrilateralType=quadrilateralType, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -128,13 +128,13 @@ def __new__( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'SimpleQuadrilateral': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/simple_quadrilateral.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/simple_quadrilateral.pyi index d9403621495..1bcaad9a38f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/simple_quadrilateral.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/simple_quadrilateral.pyi @@ -99,14 +99,14 @@ class SimpleQuadrilateral( cls, *_args: typing.Union[dict, frozendict.frozendict, ], quadrilateralType: typing.Union[Schema_.Properties.QuadrilateralType, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': return super().__new__( cls, *_args, quadrilateralType=quadrilateralType, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) classes = [ @@ -118,13 +118,13 @@ class SimpleQuadrilateral( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'SimpleQuadrilateral': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/some_object.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/some_object.py index fcebbace325..f3a51a33261 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/some_object.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/some_object.py @@ -49,13 +49,13 @@ def all_of0() -> typing.Type['object_interface.ObjectInterface']: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'SomeObject': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/some_object.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/some_object.pyi index fcebbace325..f3a51a33261 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/some_object.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/some_object.pyi @@ -49,13 +49,13 @@ class SomeObject( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'SomeObject': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/special_model_name.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/special_model_name.py index 602a8c505c7..812223bf4be 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/special_model_name.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/special_model_name.py @@ -79,13 +79,13 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], a: typing.Union[Schema_.Properties.A, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'SpecialModelName': return super().__new__( cls, *_args, a=a, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/special_model_name.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/special_model_name.pyi index 7138d365563..a6e5b26e551 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/special_model_name.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/special_model_name.pyi @@ -78,13 +78,13 @@ class SpecialModelName( cls, *_args: typing.Union[dict, frozendict.frozendict, ], a: typing.Union[Schema_.Properties.A, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'SpecialModelName': return super().__new__( cls, *_args, a=a, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_boolean_map.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_boolean_map.py index 3f27625b087..1eb146a693e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_boolean_map.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_boolean_map.py @@ -47,12 +47,12 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, bool, ], ) -> 'StringBooleanMap': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_boolean_map.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_boolean_map.pyi index e1f597b94d5..87ed2aa6a26 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_boolean_map.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_boolean_map.pyi @@ -46,12 +46,12 @@ class StringBooleanMap( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, bool, ], ) -> 'StringBooleanMap': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_enum.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_enum.py index 5360ed9e3fe..a67f5e04ae3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_enum.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_enum.py @@ -83,10 +83,10 @@ def NONE(cls): def __new__( cls, *_args: typing.Union[None, str, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'StringEnum': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_enum.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_enum.pyi index 5360ed9e3fe..a67f5e04ae3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_enum.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_enum.pyi @@ -83,10 +83,10 @@ class StringEnum( def __new__( cls, *_args: typing.Union[None, str, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'StringEnum': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/tag.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/tag.py index 8bb8fecc1d3..5a3e59fe185 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/tag.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/tag.py @@ -88,7 +88,7 @@ def __new__( *_args: typing.Union[dict, frozendict.frozendict, ], id: typing.Union[Schema_.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, name: typing.Union[Schema_.Properties.Name, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Tag': return super().__new__( @@ -96,6 +96,6 @@ def __new__( *_args, id=id, name=name, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/tag.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/tag.pyi index b6a7ddb24e3..6310cce9457 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/tag.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/tag.pyi @@ -87,7 +87,7 @@ class Tag( *_args: typing.Union[dict, frozendict.frozendict, ], id: typing.Union[Schema_.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, name: typing.Union[Schema_.Properties.Name, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Tag': return super().__new__( @@ -95,6 +95,6 @@ class Tag( *_args, id=id, name=name, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle.py index 61dffe725d9..c9331b8bc0f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle.py @@ -69,13 +69,13 @@ def one_of2() -> typing.Type['scalene_triangle.ScaleneTriangle']: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Triangle': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle.pyi index 61dffe725d9..c9331b8bc0f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle.pyi @@ -69,13 +69,13 @@ class Triangle( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Triangle': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle_interface.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle_interface.py index aeb6d22a05d..5d5affbb8b4 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle_interface.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle_interface.py @@ -113,7 +113,7 @@ def __new__( *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], shapeType: typing.Union[Schema_.Properties.ShapeType, str, ], triangleType: typing.Union[Schema_.Properties.TriangleType, str, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'TriangleInterface': return super().__new__( @@ -121,6 +121,6 @@ def __new__( *_args, shapeType=shapeType, triangleType=triangleType, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle_interface.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle_interface.pyi index 9fc92faff35..aad3d116116 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle_interface.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle_interface.pyi @@ -104,7 +104,7 @@ class TriangleInterface( *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], shapeType: typing.Union[Schema_.Properties.ShapeType, str, ], triangleType: typing.Union[Schema_.Properties.TriangleType, str, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'TriangleInterface': return super().__new__( @@ -112,6 +112,6 @@ class TriangleInterface( *_args, shapeType=shapeType, triangleType=triangleType, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/user.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/user.py index 3e4db52f919..b2573aa1c3a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/user.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/user.py @@ -66,13 +66,13 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, None, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectWithNoDeclaredPropsNullable': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) AnyTypeProp = schemas.AnyTypeSchema @@ -91,13 +91,13 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyTypeExceptNullProp': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) AnyTypePropNullable = schemas.AnyTypeSchema @@ -260,7 +260,7 @@ def __new__( anyTypeProp: typing.Union[Schema_.Properties.AnyTypeProp, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, anyTypeExceptNullProp: typing.Union[Schema_.Properties.AnyTypeExceptNullProp, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, anyTypePropNullable: typing.Union[Schema_.Properties.AnyTypePropNullable, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'User': return super().__new__( @@ -279,6 +279,6 @@ def __new__( anyTypeProp=anyTypeProp, anyTypeExceptNullProp=anyTypeExceptNullProp, anyTypePropNullable=anyTypePropNullable, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/user.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/user.pyi index a308d66a86c..ed936ce7cd0 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/user.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/user.pyi @@ -65,13 +65,13 @@ class User( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, None, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectWithNoDeclaredPropsNullable': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) AnyTypeProp = schemas.AnyTypeSchema @@ -90,13 +90,13 @@ class User( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyTypeExceptNullProp': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) AnyTypePropNullable = schemas.AnyTypeSchema @@ -259,7 +259,7 @@ class User( anyTypeProp: typing.Union[Schema_.Properties.AnyTypeProp, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, anyTypeExceptNullProp: typing.Union[Schema_.Properties.AnyTypeExceptNullProp, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, anyTypePropNullable: typing.Union[Schema_.Properties.AnyTypePropNullable, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'User': return super().__new__( @@ -278,6 +278,6 @@ class User( anyTypeProp=anyTypeProp, anyTypeExceptNullProp=anyTypeExceptNullProp, anyTypePropNullable=anyTypePropNullable, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/whale.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/whale.py index a95e034ecb5..465173b2c7c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/whale.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/whale.py @@ -121,7 +121,7 @@ def __new__( className: typing.Union[Schema_.Properties.ClassName, str, ], hasBaleen: typing.Union[Schema_.Properties.HasBaleen, bool, schemas.Unset] = schemas.unset, hasTeeth: typing.Union[Schema_.Properties.HasTeeth, bool, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Whale': return super().__new__( @@ -130,6 +130,6 @@ def __new__( className=className, hasBaleen=hasBaleen, hasTeeth=hasTeeth, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/whale.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/whale.pyi index a8ddc09a0a9..4b4064af05a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/whale.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/whale.pyi @@ -111,7 +111,7 @@ class Whale( className: typing.Union[Schema_.Properties.ClassName, str, ], hasBaleen: typing.Union[Schema_.Properties.HasBaleen, bool, schemas.Unset] = schemas.unset, hasTeeth: typing.Union[Schema_.Properties.HasTeeth, bool, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Whale': return super().__new__( @@ -120,6 +120,6 @@ class Whale( className=className, hasBaleen=hasBaleen, hasTeeth=hasTeeth, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/zebra.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/zebra.py index 1fccee95e66..2e374b929f5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/zebra.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/zebra.py @@ -138,7 +138,7 @@ def __new__( *_args: typing.Union[dict, frozendict.frozendict, ], className: typing.Union[Schema_.Properties.ClassName, str, ], type: typing.Union[Schema_.Properties.Type, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], ) -> 'Zebra': return super().__new__( @@ -146,6 +146,6 @@ def __new__( *_args, className=className, type=type, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/zebra.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/zebra.pyi index 8880687652d..c1cdc6bc2fa 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/zebra.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/zebra.pyi @@ -117,7 +117,7 @@ class Zebra( *_args: typing.Union[dict, frozendict.frozendict, ], className: typing.Union[Schema_.Properties.ClassName, str, ], type: typing.Union[Schema_.Properties.Type, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], ) -> 'Zebra': return super().__new__( @@ -125,6 +125,6 @@ class Zebra( *_args, className=className, type=type, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_0/schema.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_0/schema.py index 057380600af..69c89420829 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_0/schema.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_0/schema.py @@ -57,12 +57,12 @@ def DOLLAR(cls): def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_0/schema.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_0/schema.pyi index b2650b9537e..39b54eed16f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_0/schema.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_0/schema.pyi @@ -47,12 +47,12 @@ class Schema( def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_2/schema.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_2/schema.py index 057380600af..69c89420829 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_2/schema.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_2/schema.py @@ -57,12 +57,12 @@ def DOLLAR(cls): def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_2/schema.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_2/schema.pyi index b2650b9537e..39b54eed16f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_2/schema.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_2/schema.pyi @@ -47,12 +47,12 @@ class Schema( def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/request_body/application_x_www_form_urlencoded.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/request_body/application_x_www_form_urlencoded.py index 6d841115132..d949071a879 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/request_body/application_x_www_form_urlencoded.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/request_body/application_x_www_form_urlencoded.py @@ -68,12 +68,12 @@ def DOLLAR(cls): def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'EnumFormStringArray': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: @@ -155,7 +155,7 @@ def __new__( *_args: typing.Union[dict, frozendict.frozendict, ], enum_form_string_array: typing.Union[Schema_.Properties.EnumFormStringArray, list, tuple, schemas.Unset] = schemas.unset, enum_form_string: typing.Union[Schema_.Properties.EnumFormString, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ApplicationXWwwFormUrlencoded': return super().__new__( @@ -163,6 +163,6 @@ def __new__( *_args, enum_form_string_array=enum_form_string_array, enum_form_string=enum_form_string, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/request_body/application_x_www_form_urlencoded.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/request_body/application_x_www_form_urlencoded.pyi index 0ead855fbbd..06101a2f117 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/request_body/application_x_www_form_urlencoded.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/request_body/application_x_www_form_urlencoded.pyi @@ -57,12 +57,12 @@ class ApplicationXWwwFormUrlencoded( def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'EnumFormStringArray': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: @@ -133,7 +133,7 @@ class ApplicationXWwwFormUrlencoded( *_args: typing.Union[dict, frozendict.frozendict, ], enum_form_string_array: typing.Union[Schema_.Properties.EnumFormStringArray, list, tuple, schemas.Unset] = schemas.unset, enum_form_string: typing.Union[Schema_.Properties.EnumFormString, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ApplicationXWwwFormUrlencoded': return super().__new__( @@ -141,6 +141,6 @@ class ApplicationXWwwFormUrlencoded( *_args, enum_form_string_array=enum_form_string_array, enum_form_string=enum_form_string, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/post/request_body/application_x_www_form_urlencoded.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/post/request_body/application_x_www_form_urlencoded.py index 523f171aee9..94715c6f4dc 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/post/request_body/application_x_www_form_urlencoded.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/post/request_body/application_x_www_form_urlencoded.py @@ -330,7 +330,7 @@ def __new__( dateTime: typing.Union[Schema_.Properties.DateTime, str, datetime.datetime, schemas.Unset] = schemas.unset, password: typing.Union[Schema_.Properties.Password, str, schemas.Unset] = schemas.unset, callback: typing.Union[Schema_.Properties.Callback, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ApplicationXWwwFormUrlencoded': return super().__new__( @@ -349,6 +349,6 @@ def __new__( dateTime=dateTime, password=password, callback=callback, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/post/request_body/application_x_www_form_urlencoded.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/post/request_body/application_x_www_form_urlencoded.pyi index 26d47358d81..f637790b398 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/post/request_body/application_x_www_form_urlencoded.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/post/request_body/application_x_www_form_urlencoded.pyi @@ -264,7 +264,7 @@ class ApplicationXWwwFormUrlencoded( dateTime: typing.Union[Schema_.Properties.DateTime, str, datetime.datetime, schemas.Unset] = schemas.unset, password: typing.Union[Schema_.Properties.Password, str, schemas.Unset] = schemas.unset, callback: typing.Union[Schema_.Properties.Callback, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ApplicationXWwwFormUrlencoded': return super().__new__( @@ -283,6 +283,6 @@ class ApplicationXWwwFormUrlencoded( dateTime=dateTime, password=password, callback=callback, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_additional_properties/post/request_body/application_json.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_additional_properties/post/request_body/application_json.py index 8ba1c17a8ce..899d87fb739 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_additional_properties/post/request_body/application_json.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_additional_properties/post/request_body/application_json.py @@ -42,12 +42,12 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], ) -> 'ApplicationJson': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_additional_properties/post/request_body/application_json.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_additional_properties/post/request_body/application_json.pyi index 4c0c84be476..b1a501feec9 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_additional_properties/post/request_body/application_json.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_additional_properties/post/request_body/application_json.pyi @@ -41,12 +41,12 @@ class ApplicationJson( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], ) -> 'ApplicationJson': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_0/schema.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_0/schema.py index d500d586766..16c08389297 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_0/schema.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_0/schema.py @@ -52,12 +52,12 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Schema': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_0/schema.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_0/schema.pyi index 37e40ed7a63..7411a15afa6 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_0/schema.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_0/schema.pyi @@ -46,12 +46,12 @@ class Schema( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Schema': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_1/schema.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_1/schema.py index e27139ab11f..39a0eba35cc 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_1/schema.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_1/schema.py @@ -63,13 +63,13 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'SomeProp': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) __annotations__ = { @@ -111,13 +111,13 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], someProp: typing.Union[Schema_.Properties.SomeProp, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Schema': return super().__new__( cls, *_args, someProp=someProp, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_1/schema.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_1/schema.pyi index 0223cb5d967..6f18a86cf02 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_1/schema.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_1/schema.pyi @@ -56,13 +56,13 @@ class Schema( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'SomeProp': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) __annotations__ = { @@ -104,13 +104,13 @@ class Schema( cls, *_args: typing.Union[dict, frozendict.frozendict, ], someProp: typing.Union[Schema_.Properties.SomeProp, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Schema': return super().__new__( cls, *_args, someProp=someProp, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/application_json.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/application_json.py index d31d5550638..25537ddd5e5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/application_json.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/application_json.py @@ -52,12 +52,12 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ApplicationJson': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/application_json.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/application_json.pyi index 7f2bb3ef6c3..aa80bd56272 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/application_json.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/application_json.pyi @@ -46,12 +46,12 @@ class ApplicationJson( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ApplicationJson': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/multipart_form_data.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/multipart_form_data.py index 0828d8473dd..7b4400c2573 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/multipart_form_data.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/multipart_form_data.py @@ -63,13 +63,13 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'SomeProp': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) __annotations__ = { @@ -111,13 +111,13 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], someProp: typing.Union[Schema_.Properties.SomeProp, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MultipartFormData': return super().__new__( cls, *_args, someProp=someProp, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/multipart_form_data.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/multipart_form_data.pyi index 17504327acf..2ee52f51f4d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/multipart_form_data.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/multipart_form_data.pyi @@ -56,13 +56,13 @@ class MultipartFormData( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'SomeProp': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) __annotations__ = { @@ -104,13 +104,13 @@ class MultipartFormData( cls, *_args: typing.Union[dict, frozendict.frozendict, ], someProp: typing.Union[Schema_.Properties.SomeProp, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MultipartFormData': return super().__new__( cls, *_args, someProp=someProp, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/application_json.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/application_json.py index d31d5550638..25537ddd5e5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/application_json.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/application_json.py @@ -52,12 +52,12 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ApplicationJson': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/application_json.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/application_json.pyi index 7f2bb3ef6c3..aa80bd56272 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/application_json.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/application_json.pyi @@ -46,12 +46,12 @@ class ApplicationJson( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ApplicationJson': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/multipart_form_data.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/multipart_form_data.py index 0828d8473dd..7b4400c2573 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/multipart_form_data.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/multipart_form_data.py @@ -63,13 +63,13 @@ class Schema_: def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'SomeProp': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) __annotations__ = { @@ -111,13 +111,13 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], someProp: typing.Union[Schema_.Properties.SomeProp, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MultipartFormData': return super().__new__( cls, *_args, someProp=someProp, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/multipart_form_data.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/multipart_form_data.pyi index 17504327acf..2ee52f51f4d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/multipart_form_data.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/multipart_form_data.pyi @@ -56,13 +56,13 @@ class MultipartFormData( def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'SomeProp': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) __annotations__ = { @@ -104,13 +104,13 @@ class MultipartFormData( cls, *_args: typing.Union[dict, frozendict.frozendict, ], someProp: typing.Union[Schema_.Properties.SomeProp, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MultipartFormData': return super().__new__( cls, *_args, someProp=someProp, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_form_data/get/request_body/application_x_www_form_urlencoded.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_form_data/get/request_body/application_x_www_form_urlencoded.py index 303be1d70ec..323a7478dcc 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_form_data/get/request_body/application_x_www_form_urlencoded.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_form_data/get/request_body/application_x_www_form_urlencoded.py @@ -90,7 +90,7 @@ def __new__( *_args: typing.Union[dict, frozendict.frozendict, ], param: typing.Union[Schema_.Properties.Param, str, ], param2: typing.Union[Schema_.Properties.Param2, str, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ApplicationXWwwFormUrlencoded': return super().__new__( @@ -98,6 +98,6 @@ def __new__( *_args, param=param, param2=param2, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_form_data/get/request_body/application_x_www_form_urlencoded.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_form_data/get/request_body/application_x_www_form_urlencoded.pyi index e687b354b4f..faa0c5965a3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_form_data/get/request_body/application_x_www_form_urlencoded.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_form_data/get/request_body/application_x_www_form_urlencoded.pyi @@ -89,7 +89,7 @@ class ApplicationXWwwFormUrlencoded( *_args: typing.Union[dict, frozendict.frozendict, ], param: typing.Union[Schema_.Properties.Param, str, ], param2: typing.Union[Schema_.Properties.Param2, str, ], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ApplicationXWwwFormUrlencoded': return super().__new__( @@ -97,6 +97,6 @@ class ApplicationXWwwFormUrlencoded( *_args, param=param, param2=param2, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_obj_in_query/get/parameter_0/schema.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_obj_in_query/get/parameter_0/schema.py index 63e368c293a..ac7e18ede8d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_obj_in_query/get/parameter_0/schema.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_obj_in_query/get/parameter_0/schema.py @@ -72,13 +72,13 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], keyword: typing.Union[Schema_.Properties.Keyword, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Schema': return super().__new__( cls, *_args, keyword=keyword, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_obj_in_query/get/parameter_0/schema.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_obj_in_query/get/parameter_0/schema.pyi index e5682864a38..9af8c4dd3cf 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_obj_in_query/get/parameter_0/schema.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_obj_in_query/get/parameter_0/schema.pyi @@ -71,13 +71,13 @@ class Schema( cls, *_args: typing.Union[dict, frozendict.frozendict, ], keyword: typing.Union[Schema_.Properties.Keyword, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Schema': return super().__new__( cls, *_args, keyword=keyword, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/request_body/multipart_form_data.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/request_body/multipart_form_data.py index b8a22fe8821..5b6d9831929 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/request_body/multipart_form_data.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/request_body/multipart_form_data.py @@ -88,7 +88,7 @@ def __new__( *_args: typing.Union[dict, frozendict.frozendict, ], requiredFile: typing.Union[Schema_.Properties.RequiredFile, bytes, io.FileIO, io.BufferedReader, ], additionalMetadata: typing.Union[Schema_.Properties.AdditionalMetadata, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MultipartFormData': return super().__new__( @@ -96,6 +96,6 @@ def __new__( *_args, requiredFile=requiredFile, additionalMetadata=additionalMetadata, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/request_body/multipart_form_data.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/request_body/multipart_form_data.pyi index 360b295af71..e0d43203b39 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/request_body/multipart_form_data.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/request_body/multipart_form_data.pyi @@ -87,7 +87,7 @@ class MultipartFormData( *_args: typing.Union[dict, frozendict.frozendict, ], requiredFile: typing.Union[Schema_.Properties.RequiredFile, bytes, io.FileIO, io.BufferedReader, ], additionalMetadata: typing.Union[Schema_.Properties.AdditionalMetadata, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MultipartFormData': return super().__new__( @@ -95,6 +95,6 @@ class MultipartFormData( *_args, requiredFile=requiredFile, additionalMetadata=additionalMetadata, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_0/schema.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_0/schema.py index d99a5388a2e..876decfeb6d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_0/schema.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_0/schema.py @@ -35,12 +35,12 @@ class Schema_: def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_0/schema.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_0/schema.pyi index d99a5388a2e..876decfeb6d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_0/schema.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_0/schema.pyi @@ -35,12 +35,12 @@ class Schema( def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_1/schema.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_1/schema.py index d99a5388a2e..876decfeb6d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_1/schema.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_1/schema.py @@ -35,12 +35,12 @@ class Schema_: def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_1/schema.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_1/schema.pyi index d99a5388a2e..876decfeb6d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_1/schema.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_1/schema.pyi @@ -35,12 +35,12 @@ class Schema( def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_2/schema.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_2/schema.py index d99a5388a2e..876decfeb6d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_2/schema.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_2/schema.py @@ -35,12 +35,12 @@ class Schema_: def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_2/schema.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_2/schema.pyi index d99a5388a2e..876decfeb6d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_2/schema.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_2/schema.pyi @@ -35,12 +35,12 @@ class Schema( def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_3/schema.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_3/schema.py index d99a5388a2e..876decfeb6d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_3/schema.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_3/schema.py @@ -35,12 +35,12 @@ class Schema_: def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_3/schema.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_3/schema.pyi index d99a5388a2e..876decfeb6d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_3/schema.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_3/schema.pyi @@ -35,12 +35,12 @@ class Schema( def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_4/schema.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_4/schema.py index d99a5388a2e..876decfeb6d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_4/schema.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_4/schema.py @@ -35,12 +35,12 @@ class Schema_: def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_4/schema.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_4/schema.pyi index d99a5388a2e..876decfeb6d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_4/schema.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_4/schema.pyi @@ -35,12 +35,12 @@ class Schema( def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_file/post/request_body/multipart_form_data.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_file/post/request_body/multipart_form_data.py index af0d8833687..5209e17c154 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_file/post/request_body/multipart_form_data.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_file/post/request_body/multipart_form_data.py @@ -88,7 +88,7 @@ def __new__( *_args: typing.Union[dict, frozendict.frozendict, ], file: typing.Union[Schema_.Properties.File, bytes, io.FileIO, io.BufferedReader, ], additionalMetadata: typing.Union[Schema_.Properties.AdditionalMetadata, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MultipartFormData': return super().__new__( @@ -96,6 +96,6 @@ def __new__( *_args, file=file, additionalMetadata=additionalMetadata, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_file/post/request_body/multipart_form_data.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_file/post/request_body/multipart_form_data.pyi index 76e337c8235..21e8e5ab668 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_file/post/request_body/multipart_form_data.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_file/post/request_body/multipart_form_data.pyi @@ -87,7 +87,7 @@ class MultipartFormData( *_args: typing.Union[dict, frozendict.frozendict, ], file: typing.Union[Schema_.Properties.File, bytes, io.FileIO, io.BufferedReader, ], additionalMetadata: typing.Union[Schema_.Properties.AdditionalMetadata, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MultipartFormData': return super().__new__( @@ -95,6 +95,6 @@ class MultipartFormData( *_args, file=file, additionalMetadata=additionalMetadata, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_files/post/request_body/multipart_form_data.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_files/post/request_body/multipart_form_data.py index 72fd13e38e4..c49995f0c54 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_files/post/request_body/multipart_form_data.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_files/post/request_body/multipart_form_data.py @@ -46,12 +46,12 @@ class Schema_: def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, bytes, io.FileIO, io.BufferedReader, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Files': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: @@ -95,13 +95,13 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], files: typing.Union[Schema_.Properties.Files, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MultipartFormData': return super().__new__( cls, *_args, files=files, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_files/post/request_body/multipart_form_data.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_files/post/request_body/multipart_form_data.pyi index 126c2fda0bf..19b2d8e127e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_files/post/request_body/multipart_form_data.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_files/post/request_body/multipart_form_data.pyi @@ -45,12 +45,12 @@ class MultipartFormData( def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, bytes, io.FileIO, io.BufferedReader, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Files': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: @@ -94,13 +94,13 @@ class MultipartFormData( cls, *_args: typing.Union[dict, frozendict.frozendict, ], files: typing.Union[Schema_.Properties.Files, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MultipartFormData': return super().__new__( cls, *_args, files=files, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/foo/get/response_for_default/application_json.py b/samples/openapi3/client/petstore/python/petstore_api/paths/foo/get/response_for_default/application_json.py index 207df06c443..9148e4669bd 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/foo/get/response_for_default/application_json.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/foo/get/response_for_default/application_json.py @@ -75,14 +75,14 @@ def __new__( cls, *_args: typing.Union[dict, frozendict.frozendict, ], string: typing.Union['foo.Foo', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ApplicationJson': return super().__new__( cls, *_args, string=string, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/foo/get/response_for_default/application_json.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/foo/get/response_for_default/application_json.pyi index cbe12c58693..a564a1d84bf 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/foo/get/response_for_default/application_json.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/foo/get/response_for_default/application_json.pyi @@ -74,14 +74,14 @@ class ApplicationJson( cls, *_args: typing.Union[dict, frozendict.frozendict, ], string: typing.Union['foo.Foo', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ApplicationJson': return super().__new__( cls, *_args, string=string, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/parameter_0/schema.py b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/parameter_0/schema.py index f25748c3989..5b1e4c0b04b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/parameter_0/schema.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/parameter_0/schema.py @@ -62,12 +62,12 @@ def SOLD(cls): def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/parameter_0/schema.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/parameter_0/schema.pyi index ddcacde23cd..bfd9f850d57 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/parameter_0/schema.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/parameter_0/schema.pyi @@ -51,12 +51,12 @@ class Schema( def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/response_for_200/application_json.py b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/response_for_200/application_json.py index 1b9309a8b2a..d9903c834d9 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/response_for_200/application_json.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/response_for_200/application_json.py @@ -38,12 +38,12 @@ def items() -> typing.Type['pet.Pet']: def __new__( cls, _arg: typing.Union[typing.Tuple['pet.Pet'], typing.List['pet.Pet']], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ApplicationJson': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> 'pet.Pet': diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/response_for_200/application_json.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/response_for_200/application_json.pyi index 1b9309a8b2a..d9903c834d9 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/response_for_200/application_json.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/response_for_200/application_json.pyi @@ -38,12 +38,12 @@ class ApplicationJson( def __new__( cls, _arg: typing.Union[typing.Tuple['pet.Pet'], typing.List['pet.Pet']], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ApplicationJson': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> 'pet.Pet': diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/response_for_200/application_xml.py b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/response_for_200/application_xml.py index f06c88d4ba1..ca4a727ddba 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/response_for_200/application_xml.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/response_for_200/application_xml.py @@ -38,12 +38,12 @@ def items() -> typing.Type['pet.Pet']: def __new__( cls, _arg: typing.Union[typing.Tuple['pet.Pet'], typing.List['pet.Pet']], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ApplicationXml': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> 'pet.Pet': diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/response_for_200/application_xml.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/response_for_200/application_xml.pyi index f06c88d4ba1..ca4a727ddba 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/response_for_200/application_xml.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/response_for_200/application_xml.pyi @@ -38,12 +38,12 @@ class ApplicationXml( def __new__( cls, _arg: typing.Union[typing.Tuple['pet.Pet'], typing.List['pet.Pet']], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ApplicationXml': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> 'pet.Pet': diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/parameter_0/schema.py b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/parameter_0/schema.py index d99a5388a2e..876decfeb6d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/parameter_0/schema.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/parameter_0/schema.py @@ -35,12 +35,12 @@ class Schema_: def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/parameter_0/schema.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/parameter_0/schema.pyi index d99a5388a2e..876decfeb6d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/parameter_0/schema.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/parameter_0/schema.pyi @@ -35,12 +35,12 @@ class Schema( def __new__( cls, _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> Schema_.Items: diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/response_for_200/application_json.py b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/response_for_200/application_json.py index 1b9309a8b2a..d9903c834d9 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/response_for_200/application_json.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/response_for_200/application_json.py @@ -38,12 +38,12 @@ def items() -> typing.Type['pet.Pet']: def __new__( cls, _arg: typing.Union[typing.Tuple['pet.Pet'], typing.List['pet.Pet']], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ApplicationJson': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> 'pet.Pet': diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/response_for_200/application_json.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/response_for_200/application_json.pyi index 1b9309a8b2a..d9903c834d9 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/response_for_200/application_json.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/response_for_200/application_json.pyi @@ -38,12 +38,12 @@ class ApplicationJson( def __new__( cls, _arg: typing.Union[typing.Tuple['pet.Pet'], typing.List['pet.Pet']], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ApplicationJson': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> 'pet.Pet': diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/response_for_200/application_xml.py b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/response_for_200/application_xml.py index f06c88d4ba1..ca4a727ddba 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/response_for_200/application_xml.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/response_for_200/application_xml.py @@ -38,12 +38,12 @@ def items() -> typing.Type['pet.Pet']: def __new__( cls, _arg: typing.Union[typing.Tuple['pet.Pet'], typing.List['pet.Pet']], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ApplicationXml': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> 'pet.Pet': diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/response_for_200/application_xml.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/response_for_200/application_xml.pyi index f06c88d4ba1..ca4a727ddba 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/response_for_200/application_xml.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/response_for_200/application_xml.pyi @@ -38,12 +38,12 @@ class ApplicationXml( def __new__( cls, _arg: typing.Union[typing.Tuple['pet.Pet'], typing.List['pet.Pet']], - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ApplicationXml': return super().__new__( cls, _arg, - _configuration=_configuration, + configuration_=configuration_, ) def __getitem__(self, i: int) -> 'pet.Pet': diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/post/request_body/application_x_www_form_urlencoded.py b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/post/request_body/application_x_www_form_urlencoded.py index 112d9aac402..16e37b3f669 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/post/request_body/application_x_www_form_urlencoded.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/post/request_body/application_x_www_form_urlencoded.py @@ -83,7 +83,7 @@ def __new__( *_args: typing.Union[dict, frozendict.frozendict, ], name: typing.Union[Schema_.Properties.Name, str, schemas.Unset] = schemas.unset, status: typing.Union[Schema_.Properties.Status, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ApplicationXWwwFormUrlencoded': return super().__new__( @@ -91,6 +91,6 @@ def __new__( *_args, name=name, status=status, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/post/request_body/application_x_www_form_urlencoded.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/post/request_body/application_x_www_form_urlencoded.pyi index 8c7683cdfee..c485e661458 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/post/request_body/application_x_www_form_urlencoded.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/post/request_body/application_x_www_form_urlencoded.pyi @@ -82,7 +82,7 @@ class ApplicationXWwwFormUrlencoded( *_args: typing.Union[dict, frozendict.frozendict, ], name: typing.Union[Schema_.Properties.Name, str, schemas.Unset] = schemas.unset, status: typing.Union[Schema_.Properties.Status, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ApplicationXWwwFormUrlencoded': return super().__new__( @@ -90,6 +90,6 @@ class ApplicationXWwwFormUrlencoded( *_args, name=name, status=status, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id_upload_image/post/request_body/multipart_form_data.py b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id_upload_image/post/request_body/multipart_form_data.py index 767ba43d245..7e9cbade6cb 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id_upload_image/post/request_body/multipart_form_data.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id_upload_image/post/request_body/multipart_form_data.py @@ -83,7 +83,7 @@ def __new__( *_args: typing.Union[dict, frozendict.frozendict, ], additionalMetadata: typing.Union[Schema_.Properties.AdditionalMetadata, str, schemas.Unset] = schemas.unset, file: typing.Union[Schema_.Properties.File, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MultipartFormData': return super().__new__( @@ -91,6 +91,6 @@ def __new__( *_args, additionalMetadata=additionalMetadata, file=file, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id_upload_image/post/request_body/multipart_form_data.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id_upload_image/post/request_body/multipart_form_data.pyi index 8b58780b179..b77f4f0b3ec 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id_upload_image/post/request_body/multipart_form_data.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id_upload_image/post/request_body/multipart_form_data.pyi @@ -82,7 +82,7 @@ class MultipartFormData( *_args: typing.Union[dict, frozendict.frozendict, ], additionalMetadata: typing.Union[Schema_.Properties.AdditionalMetadata, str, schemas.Unset] = schemas.unset, file: typing.Union[Schema_.Properties.File, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.configuration_module.Configuration] = None, + configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MultipartFormData': return super().__new__( @@ -90,6 +90,6 @@ class MultipartFormData( *_args, additionalMetadata=additionalMetadata, file=file, - _configuration=_configuration, + configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/schemas.py b/samples/openapi3/client/petstore/python/petstore_api/schemas.py index ddb44f2aa51..2df8681ebc6 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/schemas.py +++ b/samples/openapi3/client/petstore/python/petstore_api/schemas.py @@ -1301,7 +1301,7 @@ def from_openapi_data_( io.BufferedReader, bytes ], - _configuration: typing.Optional[configuration_module.Configuration] = None + configuration_: typing.Optional[configuration_module.Configuration] = None ): """ Schema from_openapi_data_ @@ -1312,7 +1312,7 @@ def from_openapi_data_( arg = cast_to_allowed_types(arg, from_server, validated_path_to_schemas, ('args[0]',), path_to_type) validation_metadata = ValidationMetadata( path_to_item=('args[0]',), - configuration=_configuration or configuration_module.Configuration(), + configuration=configuration_ or configuration_module.Configuration(), validated_path_to_schemas=frozendict.frozendict(validated_path_to_schemas) ) path_to_schemas = cls.__get_new_cls(arg, validation_metadata, path_to_type) @@ -1357,7 +1357,7 @@ def __new__( io.FileIO, io.BufferedReader, 'Schema', ], - _configuration: typing.Optional[configuration_module.Configuration] = None, + configuration_: typing.Optional[configuration_module.Configuration] = None, **kwargs: typing.Union[ dict, frozendict.frozendict, @@ -1384,7 +1384,7 @@ def __new__( Args: _args (int/float/decimal.Decimal/str/list/tuple/dict/frozendict.frozendict/bool/None): the value kwargs (str, int/float/decimal.Decimal/str/list/tuple/dict/frozendict.frozendict/bool/None): dict values - _configuration: contains the configuration_module.Configuration that enables json schema validation keywords + configuration_: contains the configuration_module.Configuration that enables json schema validation keywords like minItems, minLength etc Note: double underscores are used here because pycharm thinks that these variables @@ -1406,7 +1406,7 @@ def __new__( __arg, __from_server, __validated_path_to_schemas, ('args[0]',), __path_to_type) __validation_metadata = ValidationMetadata( path_to_item=('args[0]',), - configuration=_configuration or configuration_module.Configuration(), + configuration=configuration_ or configuration_module.Configuration(), validated_path_to_schemas=frozendict.frozendict(__validated_path_to_schemas) ) __path_to_schemas = cls.__get_new_cls(__arg, __validation_metadata, __path_to_type) @@ -1421,7 +1421,7 @@ def __init__( self, *_args: typing.Union[ dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, bool, None, 'Schema'], - _configuration: typing.Optional[configuration_module.Configuration] = None, + configuration_: typing.Optional[configuration_module.Configuration] = None, **kwargs: typing.Union[ dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, bool, None, 'Schema', Unset ] @@ -2089,8 +2089,8 @@ class Schema_: types = {tuple} @classmethod - def from_openapi_data_(cls, arg: typing.List[typing.Any], _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: typing.List[typing.Any], configuration_: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, configuration_=configuration_) def __new__(cls, _arg: typing.Union[typing.List[typing.Any], typing.Tuple[typing.Any]], **kwargs: configuration_module.Configuration): return super().__new__(cls, _arg, **kwargs) @@ -2105,8 +2105,8 @@ class Schema_: types = {NoneClass} @classmethod - def from_openapi_data_(cls, arg: None, _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: None, configuration_: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, configuration_=configuration_) def __new__(cls, _arg: None, **kwargs: configuration_module.Configuration): return super().__new__(cls, _arg, **kwargs) @@ -2125,8 +2125,8 @@ class Schema_: types = {decimal.Decimal} @classmethod - def from_openapi_data_(cls, arg: typing.Union[int, float], _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: typing.Union[int, float], configuration_: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, configuration_=configuration_) def __new__(cls, _arg: typing.Union[decimal.Decimal, int, float], **kwargs: configuration_module.Configuration): return super().__new__(cls, _arg, **kwargs) @@ -2148,8 +2148,8 @@ class Schema_: format = 'int' @classmethod - def from_openapi_data_(cls, arg: int, _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: int, configuration_: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, configuration_=configuration_) def __new__(cls, _arg: typing.Union[decimal.Decimal, int], **kwargs: configuration_module.Configuration): return super().__new__(cls, _arg, **kwargs) @@ -2179,8 +2179,8 @@ class Schema_: format = 'float' @classmethod - def from_openapi_data_(cls, arg: float, _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: float, configuration_: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, configuration_=configuration_) class Float64Schema( @@ -2191,8 +2191,8 @@ class Schema_: format = 'double' @classmethod - def from_openapi_data_(cls, arg: float, _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: float, configuration_: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, configuration_=configuration_) class StrSchema( @@ -2210,8 +2210,8 @@ class Schema_: types = {str} @classmethod - def from_openapi_data_(cls, arg: str, _configuration: typing.Optional[configuration_module.Configuration] = None) -> 'StrSchema': - return super().from_openapi_data_(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: str, configuration_: typing.Optional[configuration_module.Configuration] = None) -> 'StrSchema': + return super().from_openapi_data_(arg, configuration_=configuration_) def __new__(cls, _arg: typing.Union[str, datetime.date, datetime.datetime, uuid.UUID], **kwargs: configuration_module.Configuration): return super().__new__(cls, _arg, **kwargs) @@ -2329,8 +2329,8 @@ class Schema_: types = {BoolClass} @classmethod - def from_openapi_data_(cls, arg: bool, _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: bool, configuration_: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, configuration_=configuration_) def __new__(cls, _arg: bool, **kwargs: ValidationMetadata): return super().__new__(cls, _arg, **kwargs) @@ -2369,12 +2369,12 @@ class Schema_: def __new__( cls, *_args, - _configuration: typing.Optional[configuration_module.Configuration] = None, + configuration_: typing.Optional[configuration_module.Configuration] = None, ) -> 'NotAnyTypeSchema': return super().__new__( cls, *_args, - _configuration=_configuration, + configuration_=configuration_, ) @@ -2387,8 +2387,8 @@ class Schema_: types = {frozendict.frozendict} @classmethod - def from_openapi_data_(cls, arg: typing.Dict[str, typing.Any], _configuration: typing.Optional[configuration_module.Configuration] = None): - return super().from_openapi_data_(arg, _configuration=_configuration) + def from_openapi_data_(cls, arg: typing.Dict[str, typing.Any], configuration_: typing.Optional[configuration_module.Configuration] = None): + return super().from_openapi_data_(arg, configuration_=configuration_) def __new__(cls, *_args: typing.Union[dict, frozendict.frozendict], **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, bool, None, bytes, Schema, Unset, ValidationMetadata]): return super().__new__(cls, *_args, **kwargs) diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test__200_response.py b/samples/openapi3/client/petstore/python/test/components/schema/test__200_response.py index dbf0ae3b408..deb2f94830c 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test__200_response.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test__200_response.py @@ -18,7 +18,7 @@ class Test_200Response(unittest.TestCase): """_200Response unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test__return.py b/samples/openapi3/client/petstore/python/test/components/schema/test__return.py index f568447fc71..8fa9ceb0498 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test__return.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test__return.py @@ -18,7 +18,7 @@ class Test_Return(unittest.TestCase): """_Return unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_abstract_step_message.py b/samples/openapi3/client/petstore/python/test/components/schema/test_abstract_step_message.py index 7daba93f8a8..ea28523253d 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_abstract_step_message.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_abstract_step_message.py @@ -18,7 +18,7 @@ class TestAbstractStepMessage(unittest.TestCase): """AbstractStepMessage unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_additional_properties_class.py b/samples/openapi3/client/petstore/python/test/components/schema/test_additional_properties_class.py index 8aa09106708..de0ce1ec765 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_additional_properties_class.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_additional_properties_class.py @@ -18,7 +18,7 @@ class TestAdditionalPropertiesClass(unittest.TestCase): """AdditionalPropertiesClass unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_additional_properties_validator.py b/samples/openapi3/client/petstore/python/test/components/schema/test_additional_properties_validator.py index f1ec27f7a68..0ec955e3cf8 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_additional_properties_validator.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_additional_properties_validator.py @@ -18,7 +18,7 @@ class TestAdditionalPropertiesValidator(unittest.TestCase): """AdditionalPropertiesValidator unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_additional_properties_with_array_of_enums.py b/samples/openapi3/client/petstore/python/test/components/schema/test_additional_properties_with_array_of_enums.py index ebacf6f2566..29b2fc99908 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_additional_properties_with_array_of_enums.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_additional_properties_with_array_of_enums.py @@ -18,7 +18,7 @@ class TestAdditionalPropertiesWithArrayOfEnums(unittest.TestCase): """AdditionalPropertiesWithArrayOfEnums unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_address.py b/samples/openapi3/client/petstore/python/test/components/schema/test_address.py index aa3b444923c..d55177c635d 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_address.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_address.py @@ -18,7 +18,7 @@ class TestAddress(unittest.TestCase): """Address unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_animal.py b/samples/openapi3/client/petstore/python/test/components/schema/test_animal.py index 02b0b28c776..350231586f6 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_animal.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_animal.py @@ -18,7 +18,7 @@ class TestAnimal(unittest.TestCase): """Animal unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_animal_farm.py b/samples/openapi3/client/petstore/python/test/components/schema/test_animal_farm.py index c81ee608560..88dfc51af01 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_animal_farm.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_animal_farm.py @@ -18,7 +18,7 @@ class TestAnimalFarm(unittest.TestCase): """AnimalFarm unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_any_type_and_format.py b/samples/openapi3/client/petstore/python/test/components/schema/test_any_type_and_format.py index 312389fdcee..69b1574bdf7 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_any_type_and_format.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_any_type_and_format.py @@ -18,7 +18,7 @@ class TestAnyTypeAndFormat(unittest.TestCase): """AnyTypeAndFormat unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_any_type_not_string.py b/samples/openapi3/client/petstore/python/test/components/schema/test_any_type_not_string.py index b8392bdc42f..47982eb372f 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_any_type_not_string.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_any_type_not_string.py @@ -18,7 +18,7 @@ class TestAnyTypeNotString(unittest.TestCase): """AnyTypeNotString unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_api_response.py b/samples/openapi3/client/petstore/python/test/components/schema/test_api_response.py index 09b2c9e8dfc..c03921bb881 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_api_response.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_api_response.py @@ -18,7 +18,7 @@ class TestApiResponse(unittest.TestCase): """ApiResponse unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_apple.py b/samples/openapi3/client/petstore/python/test/components/schema/test_apple.py index 3662d1e2aee..6ce6365fa5b 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_apple.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_apple.py @@ -18,7 +18,7 @@ class TestApple(unittest.TestCase): """Apple unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_apple_req.py b/samples/openapi3/client/petstore/python/test/components/schema/test_apple_req.py index a8709008fa3..87d4d9c6133 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_apple_req.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_apple_req.py @@ -18,7 +18,7 @@ class TestAppleReq(unittest.TestCase): """AppleReq unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_array_holding_any_type.py b/samples/openapi3/client/petstore/python/test/components/schema/test_array_holding_any_type.py index dc453e72a83..a7d32b13123 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_array_holding_any_type.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_array_holding_any_type.py @@ -18,7 +18,7 @@ class TestArrayHoldingAnyType(unittest.TestCase): """ArrayHoldingAnyType unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_array_of_array_of_number_only.py b/samples/openapi3/client/petstore/python/test/components/schema/test_array_of_array_of_number_only.py index 1170d7bbc2b..1e0e42e91f8 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_array_of_array_of_number_only.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_array_of_array_of_number_only.py @@ -18,7 +18,7 @@ class TestArrayOfArrayOfNumberOnly(unittest.TestCase): """ArrayOfArrayOfNumberOnly unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_array_of_enums.py b/samples/openapi3/client/petstore/python/test/components/schema/test_array_of_enums.py index 595474d7a1a..ffa2f888e63 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_array_of_enums.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_array_of_enums.py @@ -18,7 +18,7 @@ class TestArrayOfEnums(unittest.TestCase): """ArrayOfEnums unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_array_of_number_only.py b/samples/openapi3/client/petstore/python/test/components/schema/test_array_of_number_only.py index f538c7eb0fe..ccab096fb2a 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_array_of_number_only.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_array_of_number_only.py @@ -18,7 +18,7 @@ class TestArrayOfNumberOnly(unittest.TestCase): """ArrayOfNumberOnly unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_array_test.py b/samples/openapi3/client/petstore/python/test/components/schema/test_array_test.py index 3d74d16746f..457cc528dcf 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_array_test.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_array_test.py @@ -18,7 +18,7 @@ class TestArrayTest(unittest.TestCase): """ArrayTest unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_array_with_validations_in_items.py b/samples/openapi3/client/petstore/python/test/components/schema/test_array_with_validations_in_items.py index b3fbd82f6a1..787db54b415 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_array_with_validations_in_items.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_array_with_validations_in_items.py @@ -18,7 +18,7 @@ class TestArrayWithValidationsInItems(unittest.TestCase): """ArrayWithValidationsInItems unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_banana.py b/samples/openapi3/client/petstore/python/test/components/schema/test_banana.py index dcbfbfc2d48..43bfd68daaf 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_banana.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_banana.py @@ -18,7 +18,7 @@ class TestBanana(unittest.TestCase): """Banana unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_banana_req.py b/samples/openapi3/client/petstore/python/test/components/schema/test_banana_req.py index 508ef000715..86df3cb5c18 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_banana_req.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_banana_req.py @@ -18,7 +18,7 @@ class TestBananaReq(unittest.TestCase): """BananaReq unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_bar.py b/samples/openapi3/client/petstore/python/test/components/schema/test_bar.py index 4c583f22c2c..3bbf5cd213d 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_bar.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_bar.py @@ -18,7 +18,7 @@ class TestBar(unittest.TestCase): """Bar unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_basque_pig.py b/samples/openapi3/client/petstore/python/test/components/schema/test_basque_pig.py index 1da70dbe0b1..d5d37d39497 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_basque_pig.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_basque_pig.py @@ -18,7 +18,7 @@ class TestBasquePig(unittest.TestCase): """BasquePig unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_boolean.py b/samples/openapi3/client/petstore/python/test/components/schema/test_boolean.py index e0e2048d72c..ee781769cde 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_boolean.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_boolean.py @@ -18,7 +18,7 @@ class TestBoolean(unittest.TestCase): """Boolean unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_boolean_enum.py b/samples/openapi3/client/petstore/python/test/components/schema/test_boolean_enum.py index 1509659f4f8..2899e6b7868 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_boolean_enum.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_boolean_enum.py @@ -18,7 +18,7 @@ class TestBooleanEnum(unittest.TestCase): """BooleanEnum unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_capitalization.py b/samples/openapi3/client/petstore/python/test/components/schema/test_capitalization.py index f3873a5f6d5..6b677687e29 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_capitalization.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_capitalization.py @@ -18,7 +18,7 @@ class TestCapitalization(unittest.TestCase): """Capitalization unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_cat.py b/samples/openapi3/client/petstore/python/test/components/schema/test_cat.py index 2356ee93d36..a965c063a3c 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_cat.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_cat.py @@ -18,7 +18,7 @@ class TestCat(unittest.TestCase): """Cat unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_category.py b/samples/openapi3/client/petstore/python/test/components/schema/test_category.py index 0bdb489d0bb..016432e14b6 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_category.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_category.py @@ -18,7 +18,7 @@ class TestCategory(unittest.TestCase): """Category unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_child_cat.py b/samples/openapi3/client/petstore/python/test/components/schema/test_child_cat.py index c7f781d5cd3..97397ce9684 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_child_cat.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_child_cat.py @@ -18,7 +18,7 @@ class TestChildCat(unittest.TestCase): """ChildCat unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_class_model.py b/samples/openapi3/client/petstore/python/test/components/schema/test_class_model.py index c3323c671b0..b3da5a4f451 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_class_model.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_class_model.py @@ -18,7 +18,7 @@ class TestClassModel(unittest.TestCase): """ClassModel unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_client.py b/samples/openapi3/client/petstore/python/test/components/schema/test_client.py index 723dfd34d6c..6180542faf3 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_client.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_client.py @@ -18,7 +18,7 @@ class TestClient(unittest.TestCase): """Client unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_complex_quadrilateral.py b/samples/openapi3/client/petstore/python/test/components/schema/test_complex_quadrilateral.py index 7bc5faf4f32..794c4c269d0 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_complex_quadrilateral.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_complex_quadrilateral.py @@ -18,7 +18,7 @@ class TestComplexQuadrilateral(unittest.TestCase): """ComplexQuadrilateral unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_composed_any_of_different_types_no_validations.py b/samples/openapi3/client/petstore/python/test/components/schema/test_composed_any_of_different_types_no_validations.py index bd0605c1943..88113c6cb51 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_composed_any_of_different_types_no_validations.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_composed_any_of_different_types_no_validations.py @@ -18,7 +18,7 @@ class TestComposedAnyOfDifferentTypesNoValidations(unittest.TestCase): """ComposedAnyOfDifferentTypesNoValidations unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_composed_array.py b/samples/openapi3/client/petstore/python/test/components/schema/test_composed_array.py index 95b9c6230ba..167481df527 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_composed_array.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_composed_array.py @@ -18,7 +18,7 @@ class TestComposedArray(unittest.TestCase): """ComposedArray unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_composed_bool.py b/samples/openapi3/client/petstore/python/test/components/schema/test_composed_bool.py index 1c38e60b7a3..8493cafdba5 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_composed_bool.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_composed_bool.py @@ -18,7 +18,7 @@ class TestComposedBool(unittest.TestCase): """ComposedBool unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_composed_none.py b/samples/openapi3/client/petstore/python/test/components/schema/test_composed_none.py index 279e44b258a..0a103e94271 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_composed_none.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_composed_none.py @@ -18,7 +18,7 @@ class TestComposedNone(unittest.TestCase): """ComposedNone unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_composed_number.py b/samples/openapi3/client/petstore/python/test/components/schema/test_composed_number.py index 84519b919a9..200db8e4414 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_composed_number.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_composed_number.py @@ -18,7 +18,7 @@ class TestComposedNumber(unittest.TestCase): """ComposedNumber unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_composed_object.py b/samples/openapi3/client/petstore/python/test/components/schema/test_composed_object.py index ab3ad73a628..83062a12636 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_composed_object.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_composed_object.py @@ -18,7 +18,7 @@ class TestComposedObject(unittest.TestCase): """ComposedObject unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_composed_one_of_different_types.py b/samples/openapi3/client/petstore/python/test/components/schema/test_composed_one_of_different_types.py index 49a0483e30c..e2dab67828c 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_composed_one_of_different_types.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_composed_one_of_different_types.py @@ -18,7 +18,7 @@ class TestComposedOneOfDifferentTypes(unittest.TestCase): """ComposedOneOfDifferentTypes unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_composed_string.py b/samples/openapi3/client/petstore/python/test/components/schema/test_composed_string.py index 83b45c26226..2c140dcec68 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_composed_string.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_composed_string.py @@ -18,7 +18,7 @@ class TestComposedString(unittest.TestCase): """ComposedString unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_currency.py b/samples/openapi3/client/petstore/python/test/components/schema/test_currency.py index 515f156bb46..c945ca412fd 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_currency.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_currency.py @@ -18,7 +18,7 @@ class TestCurrency(unittest.TestCase): """Currency unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_danish_pig.py b/samples/openapi3/client/petstore/python/test/components/schema/test_danish_pig.py index f66f2e0af27..fa769174910 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_danish_pig.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_danish_pig.py @@ -18,7 +18,7 @@ class TestDanishPig(unittest.TestCase): """DanishPig unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_date_time_test.py b/samples/openapi3/client/petstore/python/test/components/schema/test_date_time_test.py index 4979d3f1724..6367350816f 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_date_time_test.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_date_time_test.py @@ -18,7 +18,7 @@ class TestDateTimeTest(unittest.TestCase): """DateTimeTest unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_date_time_with_validations.py b/samples/openapi3/client/petstore/python/test/components/schema/test_date_time_with_validations.py index 5cdc679472b..1ac6a9be494 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_date_time_with_validations.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_date_time_with_validations.py @@ -18,7 +18,7 @@ class TestDateTimeWithValidations(unittest.TestCase): """DateTimeWithValidations unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_date_with_validations.py b/samples/openapi3/client/petstore/python/test/components/schema/test_date_with_validations.py index cfab4f00713..513ec01586f 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_date_with_validations.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_date_with_validations.py @@ -18,7 +18,7 @@ class TestDateWithValidations(unittest.TestCase): """DateWithValidations unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_decimal_payload.py b/samples/openapi3/client/petstore/python/test/components/schema/test_decimal_payload.py index 870c95061a6..1ce1d489eaf 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_decimal_payload.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_decimal_payload.py @@ -18,7 +18,7 @@ class TestDecimalPayload(unittest.TestCase): """DecimalPayload unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_dog.py b/samples/openapi3/client/petstore/python/test/components/schema/test_dog.py index f30d06c8439..c6410ad1260 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_dog.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_dog.py @@ -18,7 +18,7 @@ class TestDog(unittest.TestCase): """Dog unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_drawing.py b/samples/openapi3/client/petstore/python/test/components/schema/test_drawing.py index 31fe628596b..7324969b5d0 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_drawing.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_drawing.py @@ -18,7 +18,7 @@ class TestDrawing(unittest.TestCase): """Drawing unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_enum_arrays.py b/samples/openapi3/client/petstore/python/test/components/schema/test_enum_arrays.py index b44ecaca694..61b576f2bae 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_enum_arrays.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_enum_arrays.py @@ -18,7 +18,7 @@ class TestEnumArrays(unittest.TestCase): """EnumArrays unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_enum_class.py b/samples/openapi3/client/petstore/python/test/components/schema/test_enum_class.py index b5019034b60..abe05a6ed64 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_enum_class.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_enum_class.py @@ -18,7 +18,7 @@ class TestEnumClass(unittest.TestCase): """EnumClass unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_enum_test.py b/samples/openapi3/client/petstore/python/test/components/schema/test_enum_test.py index e13c90df04d..ecd8cfa1ada 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_enum_test.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_enum_test.py @@ -18,7 +18,7 @@ class TestEnumTest(unittest.TestCase): """EnumTest unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_equilateral_triangle.py b/samples/openapi3/client/petstore/python/test/components/schema/test_equilateral_triangle.py index a017d0a5ea2..3ba85c637e4 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_equilateral_triangle.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_equilateral_triangle.py @@ -18,7 +18,7 @@ class TestEquilateralTriangle(unittest.TestCase): """EquilateralTriangle unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_file.py b/samples/openapi3/client/petstore/python/test/components/schema/test_file.py index dd610b6b7f6..1f1bc243698 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_file.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_file.py @@ -18,7 +18,7 @@ class TestFile(unittest.TestCase): """File unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_file_schema_test_class.py b/samples/openapi3/client/petstore/python/test/components/schema/test_file_schema_test_class.py index aeef3d815a1..8745ba5fcc2 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_file_schema_test_class.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_file_schema_test_class.py @@ -18,7 +18,7 @@ class TestFileSchemaTestClass(unittest.TestCase): """FileSchemaTestClass unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_foo.py b/samples/openapi3/client/petstore/python/test/components/schema/test_foo.py index 42a074eb2f5..1068b170825 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_foo.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_foo.py @@ -18,7 +18,7 @@ class TestFoo(unittest.TestCase): """Foo unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_format_test.py b/samples/openapi3/client/petstore/python/test/components/schema/test_format_test.py index 1f7154c23cc..718ca9798d8 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_format_test.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_format_test.py @@ -18,7 +18,7 @@ class TestFormatTest(unittest.TestCase): """FormatTest unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_from_schema.py b/samples/openapi3/client/petstore/python/test/components/schema/test_from_schema.py index 8f38981ced3..7bd6216d980 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_from_schema.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_from_schema.py @@ -18,7 +18,7 @@ class TestFromSchema(unittest.TestCase): """FromSchema unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_fruit.py b/samples/openapi3/client/petstore/python/test/components/schema/test_fruit.py index 6898cbdbde3..5edef25fc35 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_fruit.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_fruit.py @@ -18,7 +18,7 @@ class TestFruit(unittest.TestCase): """Fruit unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_fruit_req.py b/samples/openapi3/client/petstore/python/test/components/schema/test_fruit_req.py index 8f170b0e371..b33d9b062b0 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_fruit_req.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_fruit_req.py @@ -18,7 +18,7 @@ class TestFruitReq(unittest.TestCase): """FruitReq unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_gm_fruit.py b/samples/openapi3/client/petstore/python/test/components/schema/test_gm_fruit.py index 0629c5c7fe6..4b6a114e7c9 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_gm_fruit.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_gm_fruit.py @@ -18,7 +18,7 @@ class TestGmFruit(unittest.TestCase): """GmFruit unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_grandparent_animal.py b/samples/openapi3/client/petstore/python/test/components/schema/test_grandparent_animal.py index 1ff81b7d942..4a5893ec5b5 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_grandparent_animal.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_grandparent_animal.py @@ -18,7 +18,7 @@ class TestGrandparentAnimal(unittest.TestCase): """GrandparentAnimal unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_has_only_read_only.py b/samples/openapi3/client/petstore/python/test/components/schema/test_has_only_read_only.py index aeee8e7e0f3..2340b8d5e29 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_has_only_read_only.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_has_only_read_only.py @@ -18,7 +18,7 @@ class TestHasOnlyReadOnly(unittest.TestCase): """HasOnlyReadOnly unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_health_check_result.py b/samples/openapi3/client/petstore/python/test/components/schema/test_health_check_result.py index 6cffea38e63..455a67caf18 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_health_check_result.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_health_check_result.py @@ -18,7 +18,7 @@ class TestHealthCheckResult(unittest.TestCase): """HealthCheckResult unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_integer_enum.py b/samples/openapi3/client/petstore/python/test/components/schema/test_integer_enum.py index 126d4b980c1..91243f73dca 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_integer_enum.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_integer_enum.py @@ -18,7 +18,7 @@ class TestIntegerEnum(unittest.TestCase): """IntegerEnum unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_integer_enum_big.py b/samples/openapi3/client/petstore/python/test/components/schema/test_integer_enum_big.py index b56d3a85fd3..f8ff435014d 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_integer_enum_big.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_integer_enum_big.py @@ -18,7 +18,7 @@ class TestIntegerEnumBig(unittest.TestCase): """IntegerEnumBig unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_integer_enum_one_value.py b/samples/openapi3/client/petstore/python/test/components/schema/test_integer_enum_one_value.py index ba41c9ea341..cadac70f52d 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_integer_enum_one_value.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_integer_enum_one_value.py @@ -18,7 +18,7 @@ class TestIntegerEnumOneValue(unittest.TestCase): """IntegerEnumOneValue unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_integer_enum_with_default_value.py b/samples/openapi3/client/petstore/python/test/components/schema/test_integer_enum_with_default_value.py index 7a9bd46f6c5..ea32c163bc6 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_integer_enum_with_default_value.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_integer_enum_with_default_value.py @@ -18,7 +18,7 @@ class TestIntegerEnumWithDefaultValue(unittest.TestCase): """IntegerEnumWithDefaultValue unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_integer_max10.py b/samples/openapi3/client/petstore/python/test/components/schema/test_integer_max10.py index cf3001d643a..a3d7411dbd8 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_integer_max10.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_integer_max10.py @@ -18,7 +18,7 @@ class TestIntegerMax10(unittest.TestCase): """IntegerMax10 unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_integer_min15.py b/samples/openapi3/client/petstore/python/test/components/schema/test_integer_min15.py index e7639c72d76..e166e5ba45b 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_integer_min15.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_integer_min15.py @@ -18,7 +18,7 @@ class TestIntegerMin15(unittest.TestCase): """IntegerMin15 unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_isosceles_triangle.py b/samples/openapi3/client/petstore/python/test/components/schema/test_isosceles_triangle.py index 1e39b2cd02c..d49705e691a 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_isosceles_triangle.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_isosceles_triangle.py @@ -18,7 +18,7 @@ class TestIsoscelesTriangle(unittest.TestCase): """IsoscelesTriangle unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_json_patch_request.py b/samples/openapi3/client/petstore/python/test/components/schema/test_json_patch_request.py index 83a3196d66b..cac008ff3e7 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_json_patch_request.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_json_patch_request.py @@ -18,7 +18,7 @@ class TestJSONPatchRequest(unittest.TestCase): """JSONPatchRequest unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_json_patch_request_add_replace_test.py b/samples/openapi3/client/petstore/python/test/components/schema/test_json_patch_request_add_replace_test.py index 20227e4b64b..7533d170f2b 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_json_patch_request_add_replace_test.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_json_patch_request_add_replace_test.py @@ -18,7 +18,7 @@ class TestJSONPatchRequestAddReplaceTest(unittest.TestCase): """JSONPatchRequestAddReplaceTest unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_json_patch_request_move_copy.py b/samples/openapi3/client/petstore/python/test/components/schema/test_json_patch_request_move_copy.py index e5382437cc0..3797d7478e2 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_json_patch_request_move_copy.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_json_patch_request_move_copy.py @@ -18,7 +18,7 @@ class TestJSONPatchRequestMoveCopy(unittest.TestCase): """JSONPatchRequestMoveCopy unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_json_patch_request_remove.py b/samples/openapi3/client/petstore/python/test/components/schema/test_json_patch_request_remove.py index e0e7ce7d034..2bbb7f6fcea 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_json_patch_request_remove.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_json_patch_request_remove.py @@ -18,7 +18,7 @@ class TestJSONPatchRequestRemove(unittest.TestCase): """JSONPatchRequestRemove unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_mammal.py b/samples/openapi3/client/petstore/python/test/components/schema/test_mammal.py index e6139351be3..7894605344a 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_mammal.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_mammal.py @@ -18,7 +18,7 @@ class TestMammal(unittest.TestCase): """Mammal unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_map_test.py b/samples/openapi3/client/petstore/python/test/components/schema/test_map_test.py index 3d613b722f5..fed1e79ef71 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_map_test.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_map_test.py @@ -18,7 +18,7 @@ class TestMapTest(unittest.TestCase): """MapTest unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_mixed_properties_and_additional_properties_class.py b/samples/openapi3/client/petstore/python/test/components/schema/test_mixed_properties_and_additional_properties_class.py index fc2364b3ba6..2205bda8ba6 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_mixed_properties_and_additional_properties_class.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_mixed_properties_and_additional_properties_class.py @@ -18,7 +18,7 @@ class TestMixedPropertiesAndAdditionalPropertiesClass(unittest.TestCase): """MixedPropertiesAndAdditionalPropertiesClass unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_money.py b/samples/openapi3/client/petstore/python/test/components/schema/test_money.py index c714cd3f071..3fb2d7d9608 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_money.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_money.py @@ -18,7 +18,7 @@ class TestMoney(unittest.TestCase): """Money unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_name.py b/samples/openapi3/client/petstore/python/test/components/schema/test_name.py index 2528d3de6d1..a06892840be 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_name.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_name.py @@ -18,7 +18,7 @@ class TestName(unittest.TestCase): """Name unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_no_additional_properties.py b/samples/openapi3/client/petstore/python/test/components/schema/test_no_additional_properties.py index fa33821fd1e..96ea8eb23da 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_no_additional_properties.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_no_additional_properties.py @@ -18,7 +18,7 @@ class TestNoAdditionalProperties(unittest.TestCase): """NoAdditionalProperties unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_nullable_class.py b/samples/openapi3/client/petstore/python/test/components/schema/test_nullable_class.py index 131c65d796f..3d97a3ff04b 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_nullable_class.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_nullable_class.py @@ -18,7 +18,7 @@ class TestNullableClass(unittest.TestCase): """NullableClass unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_nullable_shape.py b/samples/openapi3/client/petstore/python/test/components/schema/test_nullable_shape.py index 4c0aec52f2c..57b7c8cd85c 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_nullable_shape.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_nullable_shape.py @@ -18,7 +18,7 @@ class TestNullableShape(unittest.TestCase): """NullableShape unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_nullable_string.py b/samples/openapi3/client/petstore/python/test/components/schema/test_nullable_string.py index fe75a05dfff..ee6cb683512 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_nullable_string.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_nullable_string.py @@ -18,7 +18,7 @@ class TestNullableString(unittest.TestCase): """NullableString unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_number.py b/samples/openapi3/client/petstore/python/test/components/schema/test_number.py index 635bf94b01b..c89510b2fe4 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_number.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_number.py @@ -18,7 +18,7 @@ class TestNumber(unittest.TestCase): """Number unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_number_only.py b/samples/openapi3/client/petstore/python/test/components/schema/test_number_only.py index 7ab3095e52d..ca244d6f109 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_number_only.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_number_only.py @@ -18,7 +18,7 @@ class TestNumberOnly(unittest.TestCase): """NumberOnly unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_number_with_validations.py b/samples/openapi3/client/petstore/python/test/components/schema/test_number_with_validations.py index 691fd5fb799..64af8c8ee64 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_number_with_validations.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_number_with_validations.py @@ -18,7 +18,7 @@ class TestNumberWithValidations(unittest.TestCase): """NumberWithValidations unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_object_interface.py b/samples/openapi3/client/petstore/python/test/components/schema/test_object_interface.py index 538b94fa113..e43d79ac108 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_object_interface.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_object_interface.py @@ -18,7 +18,7 @@ class TestObjectInterface(unittest.TestCase): """ObjectInterface unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_object_model_with_arg_and_args_properties.py b/samples/openapi3/client/petstore/python/test/components/schema/test_object_model_with_arg_and_args_properties.py index 80ea275f951..3ae3bb9bddf 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_object_model_with_arg_and_args_properties.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_object_model_with_arg_and_args_properties.py @@ -18,7 +18,7 @@ class TestObjectModelWithArgAndArgsProperties(unittest.TestCase): """ObjectModelWithArgAndArgsProperties unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_object_model_with_ref_props.py b/samples/openapi3/client/petstore/python/test/components/schema/test_object_model_with_ref_props.py index 75f6583793a..e5289bebc11 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_object_model_with_ref_props.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_object_model_with_ref_props.py @@ -18,7 +18,7 @@ class TestObjectModelWithRefProps(unittest.TestCase): """ObjectModelWithRefProps unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_object_with_all_of_with_req_test_prop_from_unset_add_prop.py b/samples/openapi3/client/petstore/python/test/components/schema/test_object_with_all_of_with_req_test_prop_from_unset_add_prop.py index d2da2132ed1..3875e8bb107 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_object_with_all_of_with_req_test_prop_from_unset_add_prop.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_object_with_all_of_with_req_test_prop_from_unset_add_prop.py @@ -18,7 +18,7 @@ class TestObjectWithAllOfWithReqTestPropFromUnsetAddProp(unittest.TestCase): """ObjectWithAllOfWithReqTestPropFromUnsetAddProp unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_object_with_decimal_properties.py b/samples/openapi3/client/petstore/python/test/components/schema/test_object_with_decimal_properties.py index da11142371d..6d7b55974c6 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_object_with_decimal_properties.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_object_with_decimal_properties.py @@ -18,7 +18,7 @@ class TestObjectWithDecimalProperties(unittest.TestCase): """ObjectWithDecimalProperties unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_object_with_difficultly_named_props.py b/samples/openapi3/client/petstore/python/test/components/schema/test_object_with_difficultly_named_props.py index 12714bd8309..84b3dd37592 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_object_with_difficultly_named_props.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_object_with_difficultly_named_props.py @@ -18,7 +18,7 @@ class TestObjectWithDifficultlyNamedProps(unittest.TestCase): """ObjectWithDifficultlyNamedProps unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_object_with_inline_composition_property.py b/samples/openapi3/client/petstore/python/test/components/schema/test_object_with_inline_composition_property.py index 4a9759281c0..dfe26002ad0 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_object_with_inline_composition_property.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_object_with_inline_composition_property.py @@ -18,7 +18,7 @@ class TestObjectWithInlineCompositionProperty(unittest.TestCase): """ObjectWithInlineCompositionProperty unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_object_with_invalid_named_refed_properties.py b/samples/openapi3/client/petstore/python/test/components/schema/test_object_with_invalid_named_refed_properties.py index 941fdb58d0c..8e5fc89ea0e 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_object_with_invalid_named_refed_properties.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_object_with_invalid_named_refed_properties.py @@ -18,7 +18,7 @@ class TestObjectWithInvalidNamedRefedProperties(unittest.TestCase): """ObjectWithInvalidNamedRefedProperties unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_object_with_optional_test_prop.py b/samples/openapi3/client/petstore/python/test/components/schema/test_object_with_optional_test_prop.py index 8da69416663..6ebc4ea6938 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_object_with_optional_test_prop.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_object_with_optional_test_prop.py @@ -18,7 +18,7 @@ class TestObjectWithOptionalTestProp(unittest.TestCase): """ObjectWithOptionalTestProp unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_object_with_validations.py b/samples/openapi3/client/petstore/python/test/components/schema/test_object_with_validations.py index c2a32b31ab1..0cb73c465ed 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_object_with_validations.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_object_with_validations.py @@ -18,7 +18,7 @@ class TestObjectWithValidations(unittest.TestCase): """ObjectWithValidations unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_order.py b/samples/openapi3/client/petstore/python/test/components/schema/test_order.py index 16e105fb98d..6309f746a48 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_order.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_order.py @@ -18,7 +18,7 @@ class TestOrder(unittest.TestCase): """Order unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_parent_pet.py b/samples/openapi3/client/petstore/python/test/components/schema/test_parent_pet.py index cd59bd34bc4..b588af3dce4 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_parent_pet.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_parent_pet.py @@ -18,7 +18,7 @@ class TestParentPet(unittest.TestCase): """ParentPet unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_pet.py b/samples/openapi3/client/petstore/python/test/components/schema/test_pet.py index e80a51e38c1..b7c0e80b19f 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_pet.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_pet.py @@ -18,7 +18,7 @@ class TestPet(unittest.TestCase): """Pet unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_pig.py b/samples/openapi3/client/petstore/python/test/components/schema/test_pig.py index 8305491ba38..95f4a8ce616 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_pig.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_pig.py @@ -18,7 +18,7 @@ class TestPig(unittest.TestCase): """Pig unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_player.py b/samples/openapi3/client/petstore/python/test/components/schema/test_player.py index 3cea2f7fcf7..0f52b5aab44 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_player.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_player.py @@ -18,7 +18,7 @@ class TestPlayer(unittest.TestCase): """Player unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_quadrilateral.py b/samples/openapi3/client/petstore/python/test/components/schema/test_quadrilateral.py index bd0df64b143..2c6ae118061 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_quadrilateral.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_quadrilateral.py @@ -18,7 +18,7 @@ class TestQuadrilateral(unittest.TestCase): """Quadrilateral unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_quadrilateral_interface.py b/samples/openapi3/client/petstore/python/test/components/schema/test_quadrilateral_interface.py index 579a02747de..70458703e45 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_quadrilateral_interface.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_quadrilateral_interface.py @@ -18,7 +18,7 @@ class TestQuadrilateralInterface(unittest.TestCase): """QuadrilateralInterface unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_read_only_first.py b/samples/openapi3/client/petstore/python/test/components/schema/test_read_only_first.py index 2b8f9ec8866..f60b345e420 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_read_only_first.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_read_only_first.py @@ -18,7 +18,7 @@ class TestReadOnlyFirst(unittest.TestCase): """ReadOnlyFirst unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_req_props_from_explicit_add_props.py b/samples/openapi3/client/petstore/python/test/components/schema/test_req_props_from_explicit_add_props.py index a4c114c67d4..96c97fc5afa 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_req_props_from_explicit_add_props.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_req_props_from_explicit_add_props.py @@ -18,7 +18,7 @@ class TestReqPropsFromExplicitAddProps(unittest.TestCase): """ReqPropsFromExplicitAddProps unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_req_props_from_true_add_props.py b/samples/openapi3/client/petstore/python/test/components/schema/test_req_props_from_true_add_props.py index 1f57865c0e9..c1817221f8a 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_req_props_from_true_add_props.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_req_props_from_true_add_props.py @@ -18,7 +18,7 @@ class TestReqPropsFromTrueAddProps(unittest.TestCase): """ReqPropsFromTrueAddProps unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_req_props_from_unset_add_props.py b/samples/openapi3/client/petstore/python/test/components/schema/test_req_props_from_unset_add_props.py index ab3289ecb73..d62d2ceb709 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_req_props_from_unset_add_props.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_req_props_from_unset_add_props.py @@ -18,7 +18,7 @@ class TestReqPropsFromUnsetAddProps(unittest.TestCase): """ReqPropsFromUnsetAddProps unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_scalene_triangle.py b/samples/openapi3/client/petstore/python/test/components/schema/test_scalene_triangle.py index c1d5563ff49..97e483721db 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_scalene_triangle.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_scalene_triangle.py @@ -18,7 +18,7 @@ class TestScaleneTriangle(unittest.TestCase): """ScaleneTriangle unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_self_referencing_array_model.py b/samples/openapi3/client/petstore/python/test/components/schema/test_self_referencing_array_model.py index 0362a2505e5..d5860134a37 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_self_referencing_array_model.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_self_referencing_array_model.py @@ -18,7 +18,7 @@ class TestSelfReferencingArrayModel(unittest.TestCase): """SelfReferencingArrayModel unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_self_referencing_object_model.py b/samples/openapi3/client/petstore/python/test/components/schema/test_self_referencing_object_model.py index 8e2f2e6c76f..70dccf29c07 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_self_referencing_object_model.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_self_referencing_object_model.py @@ -18,7 +18,7 @@ class TestSelfReferencingObjectModel(unittest.TestCase): """SelfReferencingObjectModel unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_shape.py b/samples/openapi3/client/petstore/python/test/components/schema/test_shape.py index f1d6498d9e6..ba3193d8650 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_shape.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_shape.py @@ -18,7 +18,7 @@ class TestShape(unittest.TestCase): """Shape unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_shape_or_null.py b/samples/openapi3/client/petstore/python/test/components/schema/test_shape_or_null.py index 5c070603dde..40da516a99b 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_shape_or_null.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_shape_or_null.py @@ -18,7 +18,7 @@ class TestShapeOrNull(unittest.TestCase): """ShapeOrNull unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_simple_quadrilateral.py b/samples/openapi3/client/petstore/python/test/components/schema/test_simple_quadrilateral.py index 491b3199a27..6c8685411e1 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_simple_quadrilateral.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_simple_quadrilateral.py @@ -18,7 +18,7 @@ class TestSimpleQuadrilateral(unittest.TestCase): """SimpleQuadrilateral unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_some_object.py b/samples/openapi3/client/petstore/python/test/components/schema/test_some_object.py index cd3924eb896..391c8516f1c 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_some_object.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_some_object.py @@ -18,7 +18,7 @@ class TestSomeObject(unittest.TestCase): """SomeObject unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_special_model_name.py b/samples/openapi3/client/petstore/python/test/components/schema/test_special_model_name.py index 33a3ab307d5..c6ebe917b13 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_special_model_name.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_special_model_name.py @@ -18,7 +18,7 @@ class TestSpecialModelName(unittest.TestCase): """SpecialModelName unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_string.py b/samples/openapi3/client/petstore/python/test/components/schema/test_string.py index 31e1c2a1a88..5f377adedf0 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_string.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_string.py @@ -18,7 +18,7 @@ class TestString(unittest.TestCase): """String unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_string_boolean_map.py b/samples/openapi3/client/petstore/python/test/components/schema/test_string_boolean_map.py index dc662a16980..8e1912bc824 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_string_boolean_map.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_string_boolean_map.py @@ -18,7 +18,7 @@ class TestStringBooleanMap(unittest.TestCase): """StringBooleanMap unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_string_enum.py b/samples/openapi3/client/petstore/python/test/components/schema/test_string_enum.py index e17bc3a0ef6..8df265feda4 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_string_enum.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_string_enum.py @@ -18,7 +18,7 @@ class TestStringEnum(unittest.TestCase): """StringEnum unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_string_enum_with_default_value.py b/samples/openapi3/client/petstore/python/test/components/schema/test_string_enum_with_default_value.py index ff82ef6b7a9..07e1004768d 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_string_enum_with_default_value.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_string_enum_with_default_value.py @@ -18,7 +18,7 @@ class TestStringEnumWithDefaultValue(unittest.TestCase): """StringEnumWithDefaultValue unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_string_with_validation.py b/samples/openapi3/client/petstore/python/test/components/schema/test_string_with_validation.py index db4ed01ca72..d50a1d48d8b 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_string_with_validation.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_string_with_validation.py @@ -18,7 +18,7 @@ class TestStringWithValidation(unittest.TestCase): """StringWithValidation unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_tag.py b/samples/openapi3/client/petstore/python/test/components/schema/test_tag.py index f33a75587eb..a13d8566eac 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_tag.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_tag.py @@ -18,7 +18,7 @@ class TestTag(unittest.TestCase): """Tag unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_triangle.py b/samples/openapi3/client/petstore/python/test/components/schema/test_triangle.py index d1834fa382e..83d7197de67 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_triangle.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_triangle.py @@ -18,7 +18,7 @@ class TestTriangle(unittest.TestCase): """Triangle unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_triangle_interface.py b/samples/openapi3/client/petstore/python/test/components/schema/test_triangle_interface.py index e2dd99318ae..4b522f4fb50 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_triangle_interface.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_triangle_interface.py @@ -18,7 +18,7 @@ class TestTriangleInterface(unittest.TestCase): """TriangleInterface unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_user.py b/samples/openapi3/client/petstore/python/test/components/schema/test_user.py index 4eb5097f44f..a22f5026b91 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_user.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_user.py @@ -18,7 +18,7 @@ class TestUser(unittest.TestCase): """User unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_uuid_string.py b/samples/openapi3/client/petstore/python/test/components/schema/test_uuid_string.py index 1356e156ea4..50960cfd0be 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_uuid_string.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_uuid_string.py @@ -18,7 +18,7 @@ class TestUUIDString(unittest.TestCase): """UUIDString unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_whale.py b/samples/openapi3/client/petstore/python/test/components/schema/test_whale.py index bd860a01602..16b4012def8 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_whale.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_whale.py @@ -18,7 +18,7 @@ class TestWhale(unittest.TestCase): """Whale unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_zebra.py b/samples/openapi3/client/petstore/python/test/components/schema/test_zebra.py index d53a83960ae..d63048b5d14 100644 --- a/samples/openapi3/client/petstore/python/test/components/schema/test_zebra.py +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_zebra.py @@ -18,7 +18,7 @@ class TestZebra(unittest.TestCase): """Zebra unit test stubs""" - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() if __name__ == '__main__': diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_another_fake_dummy/test_patch.py b/samples/openapi3/client/petstore/python/test/test_paths/test_another_fake_dummy/test_patch.py index 2149a601389..693fe5215af 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_another_fake_dummy/test_patch.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_another_fake_dummy/test_patch.py @@ -23,10 +23,10 @@ class TestAnotherFakeDummy(ApiTestMixin, unittest.TestCase): AnotherFakeDummy unit test stubs To test special tags # noqa: E501 """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = patch.ApiForpatch(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_fake/test_delete.py b/samples/openapi3/client/petstore/python/test/test_paths/test_fake/test_delete.py index 4eed6ab78ac..1f13c0a840a 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_fake/test_delete.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_fake/test_delete.py @@ -23,10 +23,10 @@ class TestFake(ApiTestMixin, unittest.TestCase): Fake unit test stubs Fake endpoint to test group parameters (optional) # noqa: E501 """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = delete.ApiFordelete(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_fake/test_get.py b/samples/openapi3/client/petstore/python/test/test_paths/test_fake/test_get.py index 044372ef9a6..ab4f50a4620 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_fake/test_get.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_fake/test_get.py @@ -23,10 +23,10 @@ class TestFake(ApiTestMixin, unittest.TestCase): Fake unit test stubs To test enum parameters # noqa: E501 """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = get.ApiForget(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_fake/test_patch.py b/samples/openapi3/client/petstore/python/test/test_paths/test_fake/test_patch.py index 338a0243229..9a05bcd5d8b 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_fake/test_patch.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_fake/test_patch.py @@ -23,10 +23,10 @@ class TestFake(ApiTestMixin, unittest.TestCase): Fake unit test stubs To test \"client\" model # noqa: E501 """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = patch.ApiForpatch(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_fake/test_post.py b/samples/openapi3/client/petstore/python/test/test_paths/test_fake/test_post.py index 910c0695bf3..52175314fcd 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_fake/test_post.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_fake/test_post.py @@ -23,10 +23,10 @@ class TestFake(ApiTestMixin, unittest.TestCase): Fake unit test stubs Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 # noqa: E501 """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_additional_properties_with_array_of_enums/test_get.py b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_additional_properties_with_array_of_enums/test_get.py index 8c62bb8c4d7..b47d66136f9 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_additional_properties_with_array_of_enums/test_get.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_additional_properties_with_array_of_enums/test_get.py @@ -23,10 +23,10 @@ class TestFakeAdditionalPropertiesWithArrayOfEnums(ApiTestMixin, unittest.TestCa FakeAdditionalPropertiesWithArrayOfEnums unit test stubs Additional Properties with Array of Enums # noqa: E501 """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = get.ApiForget(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_body_with_file_schema/test_put.py b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_body_with_file_schema/test_put.py index 8e99ff7b70f..700ffe47d52 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_body_with_file_schema/test_put.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_body_with_file_schema/test_put.py @@ -22,10 +22,10 @@ class TestFakeBodyWithFileSchema(ApiTestMixin, unittest.TestCase): """ FakeBodyWithFileSchema unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = put.ApiForput(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_body_with_query_params/test_put.py b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_body_with_query_params/test_put.py index eb1768016b3..54844694284 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_body_with_query_params/test_put.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_body_with_query_params/test_put.py @@ -22,10 +22,10 @@ class TestFakeBodyWithQueryParams(ApiTestMixin, unittest.TestCase): """ FakeBodyWithQueryParams unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = put.ApiForput(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_case_sensitive_params/test_put.py b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_case_sensitive_params/test_put.py index 2669b681484..66b3e49f3a7 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_case_sensitive_params/test_put.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_case_sensitive_params/test_put.py @@ -22,10 +22,10 @@ class TestFakeCaseSensitiveParams(ApiTestMixin, unittest.TestCase): """ FakeCaseSensitiveParams unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = put.ApiForput(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_classname_test/test_patch.py b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_classname_test/test_patch.py index 9a8186c598c..9ff8a1b74c2 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_classname_test/test_patch.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_classname_test/test_patch.py @@ -23,10 +23,10 @@ class TestFakeClassnameTest(ApiTestMixin, unittest.TestCase): FakeClassnameTest unit test stubs To test class name in snake case # noqa: E501 """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = patch.ApiForpatch(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_delete_coffee_id/test_delete.py b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_delete_coffee_id/test_delete.py index 5896e9b03b7..c7e25d6389d 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_delete_coffee_id/test_delete.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_delete_coffee_id/test_delete.py @@ -23,10 +23,10 @@ class TestFakeDeleteCoffeeId(ApiTestMixin, unittest.TestCase): FakeDeleteCoffeeId unit test stubs Delete coffee # noqa: E501 """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = delete.ApiFordelete(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_health/test_get.py b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_health/test_get.py index 06f1652a96c..a0e8bbe7338 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_health/test_get.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_health/test_get.py @@ -23,10 +23,10 @@ class TestFakeHealth(ApiTestMixin, unittest.TestCase): FakeHealth unit test stubs Health check endpoint # noqa: E501 """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = get.ApiForget(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_inline_additional_properties/test_post.py b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_inline_additional_properties/test_post.py index 2e69f23e9f2..54326ca9266 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_inline_additional_properties/test_post.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_inline_additional_properties/test_post.py @@ -23,10 +23,10 @@ class TestFakeInlineAdditionalProperties(ApiTestMixin, unittest.TestCase): FakeInlineAdditionalProperties unit test stubs test inline additionalProperties # noqa: E501 """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_inline_composition/test_post.py b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_inline_composition/test_post.py index f02c040610b..125b7e31e65 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_inline_composition/test_post.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_inline_composition/test_post.py @@ -23,10 +23,10 @@ class TestFakeInlineComposition(ApiTestMixin, unittest.TestCase): FakeInlineComposition unit test stubs testing composed schemas at inline locations # noqa: E501 """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_json_form_data/test_get.py b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_json_form_data/test_get.py index 4c63e28a1aa..8ad86b50ecc 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_json_form_data/test_get.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_json_form_data/test_get.py @@ -23,10 +23,10 @@ class TestFakeJsonFormData(ApiTestMixin, unittest.TestCase): FakeJsonFormData unit test stubs test json serialization of form data # noqa: E501 """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = get.ApiForget(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_json_patch/test_patch.py b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_json_patch/test_patch.py index c3d35ee5a47..c92ba55fbd4 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_json_patch/test_patch.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_json_patch/test_patch.py @@ -23,10 +23,10 @@ class TestFakeJsonPatch(ApiTestMixin, unittest.TestCase): FakeJsonPatch unit test stubs json patch # noqa: E501 """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = patch.ApiForpatch(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_json_with_charset/test_post.py b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_json_with_charset/test_post.py index b658c1ed84d..9f29d277aee 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_json_with_charset/test_post.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_json_with_charset/test_post.py @@ -23,10 +23,10 @@ class TestFakeJsonWithCharset(ApiTestMixin, unittest.TestCase): FakeJsonWithCharset unit test stubs json with charset tx and rx # noqa: E501 """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_obj_in_query/test_get.py b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_obj_in_query/test_get.py index 972fec835e1..b99a97748e4 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_obj_in_query/test_get.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_obj_in_query/test_get.py @@ -23,10 +23,10 @@ class TestFakeObjInQuery(ApiTestMixin, unittest.TestCase): FakeObjInQuery unit test stubs user list # noqa: E501 """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = get.ApiForget(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_parameter_collisions1_abab_self_ab/test_post.py b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_parameter_collisions1_abab_self_ab/test_post.py index 8a9c2f03d89..6db9ac4836f 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_parameter_collisions1_abab_self_ab/test_post.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_parameter_collisions1_abab_self_ab/test_post.py @@ -23,10 +23,10 @@ class TestFakeParameterCollisions1ABAbSelfAB(ApiTestMixin, unittest.TestCase): FakeParameterCollisions1ABAbSelfAB unit test stubs parameter collision case # noqa: E501 """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_pet_id_upload_image_with_required_file/test_post.py b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_pet_id_upload_image_with_required_file/test_post.py index 5795de92ef7..a707a82bd84 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_pet_id_upload_image_with_required_file/test_post.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_pet_id_upload_image_with_required_file/test_post.py @@ -23,10 +23,10 @@ class TestFakePetIdUploadImageWithRequiredFile(ApiTestMixin, unittest.TestCase): FakePetIdUploadImageWithRequiredFile unit test stubs uploads an image (required) # noqa: E501 """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_query_param_with_json_content_type/test_get.py b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_query_param_with_json_content_type/test_get.py index 84755598180..7723b43fb6b 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_query_param_with_json_content_type/test_get.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_query_param_with_json_content_type/test_get.py @@ -23,10 +23,10 @@ class TestFakeQueryParamWithJsonContentType(ApiTestMixin, unittest.TestCase): FakeQueryParamWithJsonContentType unit test stubs query param with json content-type # noqa: E501 """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = get.ApiForget(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_ref_obj_in_query/test_get.py b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_ref_obj_in_query/test_get.py index 527c281cc56..22bd48e509b 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_ref_obj_in_query/test_get.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_ref_obj_in_query/test_get.py @@ -23,10 +23,10 @@ class TestFakeRefObjInQuery(ApiTestMixin, unittest.TestCase): FakeRefObjInQuery unit test stubs user list # noqa: E501 """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = get.ApiForget(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_refs_array_of_enums/test_post.py b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_refs_array_of_enums/test_post.py index 84de737c521..264c4d27141 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_refs_array_of_enums/test_post.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_refs_array_of_enums/test_post.py @@ -23,10 +23,10 @@ class TestFakeRefsArrayOfEnums(ApiTestMixin, unittest.TestCase): FakeRefsArrayOfEnums unit test stubs Array of Enums # noqa: E501 """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_refs_arraymodel/test_post.py b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_refs_arraymodel/test_post.py index 2158fa0c003..86482c61277 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_refs_arraymodel/test_post.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_refs_arraymodel/test_post.py @@ -22,10 +22,10 @@ class TestFakeRefsArraymodel(ApiTestMixin, unittest.TestCase): """ FakeRefsArraymodel unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_refs_boolean/test_post.py b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_refs_boolean/test_post.py index 4d5a60ade1f..96403af923e 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_refs_boolean/test_post.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_refs_boolean/test_post.py @@ -22,10 +22,10 @@ class TestFakeRefsBoolean(ApiTestMixin, unittest.TestCase): """ FakeRefsBoolean unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_refs_composed_one_of_number_with_validations/test_post.py b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_refs_composed_one_of_number_with_validations/test_post.py index d758297024b..99f27d72341 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_refs_composed_one_of_number_with_validations/test_post.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_refs_composed_one_of_number_with_validations/test_post.py @@ -22,10 +22,10 @@ class TestFakeRefsComposedOneOfNumberWithValidations(ApiTestMixin, unittest.Test """ FakeRefsComposedOneOfNumberWithValidations unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_refs_enum/test_post.py b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_refs_enum/test_post.py index 2b3d6d86df7..15522562789 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_refs_enum/test_post.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_refs_enum/test_post.py @@ -22,10 +22,10 @@ class TestFakeRefsEnum(ApiTestMixin, unittest.TestCase): """ FakeRefsEnum unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_refs_mammal/test_post.py b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_refs_mammal/test_post.py index 992cf7e9af5..fcdaa43e662 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_refs_mammal/test_post.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_refs_mammal/test_post.py @@ -22,10 +22,10 @@ class TestFakeRefsMammal(ApiTestMixin, unittest.TestCase): """ FakeRefsMammal unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_refs_number/test_post.py b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_refs_number/test_post.py index f2c8a3afb5f..e8b5db3436c 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_refs_number/test_post.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_refs_number/test_post.py @@ -22,10 +22,10 @@ class TestFakeRefsNumber(ApiTestMixin, unittest.TestCase): """ FakeRefsNumber unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_refs_object_model_with_ref_props/test_post.py b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_refs_object_model_with_ref_props/test_post.py index 7b3cfebff99..bbd490f5afb 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_refs_object_model_with_ref_props/test_post.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_refs_object_model_with_ref_props/test_post.py @@ -22,10 +22,10 @@ class TestFakeRefsObjectModelWithRefProps(ApiTestMixin, unittest.TestCase): """ FakeRefsObjectModelWithRefProps unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_refs_string/test_post.py b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_refs_string/test_post.py index b2682a8be08..c8e130a7ee8 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_refs_string/test_post.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_refs_string/test_post.py @@ -22,10 +22,10 @@ class TestFakeRefsString(ApiTestMixin, unittest.TestCase): """ FakeRefsString unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_response_without_schema/test_get.py b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_response_without_schema/test_get.py index 4cc2002e2f2..34a8a3bad07 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_response_without_schema/test_get.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_response_without_schema/test_get.py @@ -23,10 +23,10 @@ class TestFakeResponseWithoutSchema(ApiTestMixin, unittest.TestCase): FakeResponseWithoutSchema unit test stubs receives a response without schema # noqa: E501 """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = get.ApiForget(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_test_query_paramters/test_put.py b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_test_query_paramters/test_put.py index 683f36306c9..07f89240340 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_test_query_paramters/test_put.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_test_query_paramters/test_put.py @@ -22,10 +22,10 @@ class TestFakeTestQueryParamters(ApiTestMixin, unittest.TestCase): """ FakeTestQueryParamters unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = put.ApiForput(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_upload_download_file/test_post.py b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_upload_download_file/test_post.py index f3dce6e431f..938ccb64bf5 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_upload_download_file/test_post.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_upload_download_file/test_post.py @@ -23,10 +23,10 @@ class TestFakeUploadDownloadFile(ApiTestMixin, unittest.TestCase): FakeUploadDownloadFile unit test stubs uploads a file and downloads a file using application/octet-stream # noqa: E501 """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_upload_file/test_post.py b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_upload_file/test_post.py index 0846e7f1495..91194b0aecd 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_upload_file/test_post.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_upload_file/test_post.py @@ -23,10 +23,10 @@ class TestFakeUploadFile(ApiTestMixin, unittest.TestCase): FakeUploadFile unit test stubs uploads a file using multipart/form-data # noqa: E501 """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_upload_files/test_post.py b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_upload_files/test_post.py index e00c81354fc..122d23b7499 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_fake_upload_files/test_post.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_fake_upload_files/test_post.py @@ -23,10 +23,10 @@ class TestFakeUploadFiles(ApiTestMixin, unittest.TestCase): FakeUploadFiles unit test stubs uploads files using multipart/form-data # noqa: E501 """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_foo/test_get.py b/samples/openapi3/client/petstore/python/test/test_paths/test_foo/test_get.py index 5e049eb9a2b..75596507276 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_foo/test_get.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_foo/test_get.py @@ -22,10 +22,10 @@ class TestFoo(ApiTestMixin, unittest.TestCase): """ Foo unit test stubs """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = get.ApiForget(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_pet/test_post.py b/samples/openapi3/client/petstore/python/test/test_paths/test_pet/test_post.py index c21409c3740..9e4318e9ad2 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_pet/test_post.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_pet/test_post.py @@ -23,10 +23,10 @@ class TestPet(ApiTestMixin, unittest.TestCase): Pet unit test stubs Add a new pet to the store # noqa: E501 """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_pet/test_put.py b/samples/openapi3/client/petstore/python/test/test_paths/test_pet/test_put.py index 4e5a1548de4..8dc86d80604 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_pet/test_put.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_pet/test_put.py @@ -23,10 +23,10 @@ class TestPet(ApiTestMixin, unittest.TestCase): Pet unit test stubs Update an existing pet # noqa: E501 """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = put.ApiForput(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_pet_find_by_status/test_get.py b/samples/openapi3/client/petstore/python/test/test_paths/test_pet_find_by_status/test_get.py index 0753075c46f..99b5c1f0063 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_pet_find_by_status/test_get.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_pet_find_by_status/test_get.py @@ -23,10 +23,10 @@ class TestPetFindByStatus(ApiTestMixin, unittest.TestCase): PetFindByStatus unit test stubs Finds Pets by status # noqa: E501 """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = get.ApiForget(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_pet_find_by_tags/test_get.py b/samples/openapi3/client/petstore/python/test/test_paths/test_pet_find_by_tags/test_get.py index ee1a1989461..c90b7d8be42 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_pet_find_by_tags/test_get.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_pet_find_by_tags/test_get.py @@ -23,10 +23,10 @@ class TestPetFindByTags(ApiTestMixin, unittest.TestCase): PetFindByTags unit test stubs Finds Pets by tags # noqa: E501 """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = get.ApiForget(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_pet_pet_id/test_delete.py b/samples/openapi3/client/petstore/python/test/test_paths/test_pet_pet_id/test_delete.py index c37b5cec672..4db73e05daa 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_pet_pet_id/test_delete.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_pet_pet_id/test_delete.py @@ -23,10 +23,10 @@ class TestPetPetId(ApiTestMixin, unittest.TestCase): PetPetId unit test stubs Deletes a pet # noqa: E501 """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = delete.ApiFordelete(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_pet_pet_id/test_get.py b/samples/openapi3/client/petstore/python/test/test_paths/test_pet_pet_id/test_get.py index 4f0ec3c5873..3894e484cee 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_pet_pet_id/test_get.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_pet_pet_id/test_get.py @@ -23,10 +23,10 @@ class TestPetPetId(ApiTestMixin, unittest.TestCase): PetPetId unit test stubs Find pet by ID # noqa: E501 """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = get.ApiForget(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_pet_pet_id/test_post.py b/samples/openapi3/client/petstore/python/test/test_paths/test_pet_pet_id/test_post.py index cc0829912f6..9ffb92126cd 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_pet_pet_id/test_post.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_pet_pet_id/test_post.py @@ -23,10 +23,10 @@ class TestPetPetId(ApiTestMixin, unittest.TestCase): PetPetId unit test stubs Updates a pet in the store with form data # noqa: E501 """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_pet_pet_id_upload_image/test_post.py b/samples/openapi3/client/petstore/python/test/test_paths/test_pet_pet_id_upload_image/test_post.py index 95c90480755..5c2a3156f8f 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_pet_pet_id_upload_image/test_post.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_pet_pet_id_upload_image/test_post.py @@ -23,10 +23,10 @@ class TestPetPetIdUploadImage(ApiTestMixin, unittest.TestCase): PetPetIdUploadImage unit test stubs uploads an image # noqa: E501 """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_store_inventory/test_get.py b/samples/openapi3/client/petstore/python/test/test_paths/test_store_inventory/test_get.py index 4ecac607c7e..8fea847197f 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_store_inventory/test_get.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_store_inventory/test_get.py @@ -23,10 +23,10 @@ class TestStoreInventory(ApiTestMixin, unittest.TestCase): StoreInventory unit test stubs Returns pet inventories by status # noqa: E501 """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = get.ApiForget(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_store_order/test_post.py b/samples/openapi3/client/petstore/python/test/test_paths/test_store_order/test_post.py index f3cd9abaa8d..44b90fa7a2a 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_store_order/test_post.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_store_order/test_post.py @@ -23,10 +23,10 @@ class TestStoreOrder(ApiTestMixin, unittest.TestCase): StoreOrder unit test stubs Place an order for a pet # noqa: E501 """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_store_order_order_id/test_delete.py b/samples/openapi3/client/petstore/python/test/test_paths/test_store_order_order_id/test_delete.py index c9a1a2fd5dd..5767c6c32fc 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_store_order_order_id/test_delete.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_store_order_order_id/test_delete.py @@ -23,10 +23,10 @@ class TestStoreOrderOrderId(ApiTestMixin, unittest.TestCase): StoreOrderOrderId unit test stubs Delete purchase order by ID # noqa: E501 """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = delete.ApiFordelete(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_store_order_order_id/test_get.py b/samples/openapi3/client/petstore/python/test/test_paths/test_store_order_order_id/test_get.py index 547460d2fe3..f98a2eecf6c 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_store_order_order_id/test_get.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_store_order_order_id/test_get.py @@ -23,10 +23,10 @@ class TestStoreOrderOrderId(ApiTestMixin, unittest.TestCase): StoreOrderOrderId unit test stubs Find purchase order by ID # noqa: E501 """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = get.ApiForget(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_user/test_post.py b/samples/openapi3/client/petstore/python/test/test_paths/test_user/test_post.py index a6563d8d2ac..e36668daf9e 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_user/test_post.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_user/test_post.py @@ -23,10 +23,10 @@ class TestUser(ApiTestMixin, unittest.TestCase): User unit test stubs Create user # noqa: E501 """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_user_create_with_array/test_post.py b/samples/openapi3/client/petstore/python/test/test_paths/test_user_create_with_array/test_post.py index 94e2acbc96b..5dbfd57cb01 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_user_create_with_array/test_post.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_user_create_with_array/test_post.py @@ -23,10 +23,10 @@ class TestUserCreateWithArray(ApiTestMixin, unittest.TestCase): UserCreateWithArray unit test stubs Creates list of users with given input array # noqa: E501 """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_user_create_with_list/test_post.py b/samples/openapi3/client/petstore/python/test/test_paths/test_user_create_with_list/test_post.py index 79428b7c0d6..44a0ce37f8e 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_user_create_with_list/test_post.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_user_create_with_list/test_post.py @@ -23,10 +23,10 @@ class TestUserCreateWithList(ApiTestMixin, unittest.TestCase): UserCreateWithList unit test stubs Creates list of users with given input array # noqa: E501 """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = post.ApiForpost(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_user_login/test_get.py b/samples/openapi3/client/petstore/python/test/test_paths/test_user_login/test_get.py index ffe000219b9..b483b712092 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_user_login/test_get.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_user_login/test_get.py @@ -23,10 +23,10 @@ class TestUserLogin(ApiTestMixin, unittest.TestCase): UserLogin unit test stubs Logs user into the system # noqa: E501 """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = get.ApiForget(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_user_logout/test_get.py b/samples/openapi3/client/petstore/python/test/test_paths/test_user_logout/test_get.py index e7fa1f83468..7dbf7c4e663 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_user_logout/test_get.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_user_logout/test_get.py @@ -23,10 +23,10 @@ class TestUserLogout(ApiTestMixin, unittest.TestCase): UserLogout unit test stubs Logs out current logged in user session # noqa: E501 """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = get.ApiForget(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_user_username/test_delete.py b/samples/openapi3/client/petstore/python/test/test_paths/test_user_username/test_delete.py index 573f7918269..b55dab5bc15 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_user_username/test_delete.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_user_username/test_delete.py @@ -23,10 +23,10 @@ class TestUserUsername(ApiTestMixin, unittest.TestCase): UserUsername unit test stubs Delete user # noqa: E501 """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = delete.ApiFordelete(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_user_username/test_get.py b/samples/openapi3/client/petstore/python/test/test_paths/test_user_username/test_get.py index d457d02cc92..bb9095e7824 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_user_username/test_get.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_user_username/test_get.py @@ -23,10 +23,10 @@ class TestUserUsername(ApiTestMixin, unittest.TestCase): UserUsername unit test stubs Get user by user name # noqa: E501 """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = get.ApiForget(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/test/test_paths/test_user_username/test_put.py b/samples/openapi3/client/petstore/python/test/test_paths/test_user_username/test_put.py index 955a26355f4..298660a4267 100644 --- a/samples/openapi3/client/petstore/python/test/test_paths/test_user_username/test_put.py +++ b/samples/openapi3/client/petstore/python/test/test_paths/test_user_username/test_put.py @@ -23,10 +23,10 @@ class TestUserUsername(ApiTestMixin, unittest.TestCase): UserUsername unit test stubs Updated user # noqa: E501 """ - _configuration = configuration.Configuration() + configuration_ = configuration.Configuration() def setUp(self): - used_api_client = api_client.ApiClient(configuration=self._configuration) + used_api_client = api_client.ApiClient(configuration=self.configuration_) self.api = put.ApiForput(api_client=used_api_client) # noqa: E501 def tearDown(self): diff --git a/samples/openapi3/client/petstore/python/tests_manual/test_validate.py b/samples/openapi3/client/petstore/python/tests_manual/test_validate.py index 3637455b5d9..839a292495f 100644 --- a/samples/openapi3/client/petstore/python/tests_manual/test_validate.py +++ b/samples/openapi3/client/petstore/python/tests_manual/test_validate.py @@ -179,7 +179,7 @@ def test_list_validate_direct_instantiation(self): side_effect=ArrayWithValidationsInItems.Schema_.Items._validate, ) as mock_inner_validate: used_configuration = configuration.Configuration() - ArrayWithValidationsInItems([7], _configuration=used_configuration) + ArrayWithValidationsInItems([7], configuration_=used_configuration) mock_outer_validate.assert_called_once_with( (Decimal("7"),), validation_metadata=ValidationMetadata(path_to_item=("args[0]",), configuration=used_configuration) @@ -203,7 +203,7 @@ def test_list_validate_direct_instantiation_cast_item(self): side_effect=ArrayWithValidationsInItems.Schema_.Items._validate, ) as mock_inner_validate: used_configuration = configuration.Configuration() - ArrayWithValidationsInItems([item], _configuration=used_configuration) + ArrayWithValidationsInItems([item], configuration_=used_configuration) mock_outer_validate.assert_called_once_with( tuple([Decimal('7')]), validation_metadata=ValidationMetadata( @@ -226,7 +226,7 @@ def test_list_validate_from_openai_data_instantiation(self): side_effect=ArrayWithValidationsInItems.Schema_.Items._validate, ) as mock_inner_validate: used_configuration = configuration.Configuration() - ArrayWithValidationsInItems.from_openapi_data_([7], _configuration=used_configuration) + ArrayWithValidationsInItems.from_openapi_data_([7], configuration_=used_configuration) mock_outer_validate.assert_called_once_with( (Decimal("7"),), validation_metadata=ValidationMetadata(path_to_item=("args[0]",), configuration=used_configuration) @@ -244,7 +244,7 @@ def test_dict_validate_direct_instantiation(self): side_effect=Bar._validate, ) as mock_inner_validate: used_configuration = configuration.Configuration() - Foo(bar="a", _configuration=used_configuration) + Foo(bar="a", configuration_=used_configuration) mock_outer_validate.assert_called_once_with( frozendict.frozendict({"bar": "a"}), validation_metadata=ValidationMetadata( @@ -270,7 +270,7 @@ def test_dict_validate_direct_instantiation_cast_item(self): side_effect=Bar._validate, ) as mock_inner_validate: used_configuration = configuration.Configuration() - Foo(bar=bar, _configuration=used_configuration) + Foo(bar=bar, configuration_=used_configuration) mock_outer_validate.assert_called_once_with( frozendict.frozendict(dict(bar='a')), validation_metadata=ValidationMetadata( @@ -289,7 +289,7 @@ def test_dict_validate_from_openapi_data_instantiation(self): side_effect=Bar._validate, ) as mock_inner_validate: used_configuration = configuration.Configuration() - Foo.from_openapi_data_({"bar": "a"}, _configuration=used_configuration) + Foo.from_openapi_data_({"bar": "a"}, configuration_=used_configuration) mock_outer_validate.assert_called_once_with( frozendict.frozendict({"bar": "a"}), validation_metadata=ValidationMetadata( From a89409fc7d670704c74799bda53f2adf4fd3c8a7 Mon Sep 17 00:00:00 2001 From: Justin Black Date: Fri, 30 Dec 2022 09:13:29 -0800 Subject: [PATCH 27/29] _arg -> arg_ --- .../python/model_templates/new.handlebars | 4 +- .../main/resources/python/schemas.handlebars | 80 +++++++++---------- .../schema/array_type_matches_arrays.py | 4 +- .../schema/array_type_matches_arrays.pyi | 4 +- .../components/schema/nested_items.py | 16 ++-- .../components/schema/nested_items.pyi | 16 ++-- .../components/schema/ref_in_items.py | 4 +- .../components/schema/ref_in_items.pyi | 4 +- .../python/unit_test_api/schemas.py | 80 +++++++++---------- .../python/this_package/schemas.py | 80 +++++++++---------- .../application_json.py | 4 +- .../application_json.pyi | 4 +- ...ditional_properties_with_array_of_enums.py | 4 +- ...itional_properties_with_array_of_enums.pyi | 4 +- .../components/schema/animal_farm.py | 4 +- .../components/schema/animal_farm.pyi | 4 +- .../schema/array_holding_any_type.py | 4 +- .../schema/array_holding_any_type.pyi | 4 +- .../schema/array_of_array_of_number_only.py | 8 +- .../schema/array_of_array_of_number_only.pyi | 8 +- .../components/schema/array_of_enums.py | 4 +- .../components/schema/array_of_enums.pyi | 4 +- .../components/schema/array_of_number_only.py | 4 +- .../schema/array_of_number_only.pyi | 4 +- .../components/schema/array_test.py | 20 ++--- .../components/schema/array_test.pyi | 20 ++--- .../schema/array_with_validations_in_items.py | 4 +- .../array_with_validations_in_items.pyi | 4 +- ...d_any_of_different_types_no_validations.py | 4 +- ..._any_of_different_types_no_validations.pyi | 4 +- .../components/schema/composed_array.py | 4 +- .../components/schema/composed_array.pyi | 4 +- .../schema/composed_one_of_different_types.py | 4 +- .../composed_one_of_different_types.pyi | 4 +- .../petstore_api/components/schema/drawing.py | 4 +- .../components/schema/drawing.pyi | 4 +- .../components/schema/enum_arrays.py | 4 +- .../components/schema/enum_arrays.pyi | 4 +- .../schema/file_schema_test_class.py | 4 +- .../schema/file_schema_test_class.pyi | 4 +- .../components/schema/format_test.py | 4 +- .../components/schema/format_test.pyi | 4 +- .../components/schema/json_patch_request.py | 4 +- .../components/schema/json_patch_request.pyi | 4 +- .../components/schema/nullable_class.py | 4 +- .../components/schema/nullable_class.pyi | 4 +- .../petstore_api/components/schema/pet.py | 8 +- .../petstore_api/components/schema/pet.pyi | 8 +- .../schema/self_referencing_array_model.py | 4 +- .../schema/self_referencing_array_model.pyi | 4 +- .../paths/fake/get/parameter_0/schema.py | 4 +- .../paths/fake/get/parameter_0/schema.pyi | 4 +- .../paths/fake/get/parameter_2/schema.py | 4 +- .../paths/fake/get/parameter_2/schema.pyi | 4 +- .../application_x_www_form_urlencoded.py | 4 +- .../application_x_www_form_urlencoded.pyi | 4 +- .../put/parameter_0/schema.py | 4 +- .../put/parameter_0/schema.pyi | 4 +- .../put/parameter_1/schema.py | 4 +- .../put/parameter_1/schema.pyi | 4 +- .../put/parameter_2/schema.py | 4 +- .../put/parameter_2/schema.pyi | 4 +- .../put/parameter_3/schema.py | 4 +- .../put/parameter_3/schema.pyi | 4 +- .../put/parameter_4/schema.py | 4 +- .../put/parameter_4/schema.pyi | 4 +- .../post/request_body/multipart_form_data.py | 4 +- .../post/request_body/multipart_form_data.pyi | 4 +- .../get/parameter_0/schema.py | 4 +- .../get/parameter_0/schema.pyi | 4 +- .../get/response_for_200/application_json.py | 4 +- .../get/response_for_200/application_json.pyi | 4 +- .../get/response_for_200/application_xml.py | 4 +- .../get/response_for_200/application_xml.pyi | 4 +- .../get/parameter_0/schema.py | 4 +- .../get/parameter_0/schema.pyi | 4 +- .../get/response_for_200/application_json.py | 4 +- .../get/response_for_200/application_json.pyi | 4 +- .../get/response_for_200/application_xml.py | 4 +- .../get/response_for_200/application_xml.pyi | 4 +- .../petstore/python/petstore_api/schemas.py | 80 +++++++++---------- 81 files changed, 350 insertions(+), 350 deletions(-) diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/model_templates/new.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/model_templates/new.handlebars index c65e883e11a..2cc00ce77a0 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/model_templates/new.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/model_templates/new.handlebars @@ -4,7 +4,7 @@ def __new__( *_args: typing.Union[{{> model_templates/schema_python_types }}], {{else}} {{#if isArray }} - _arg: typing.Union[typing.Tuple[{{#with items}}{{#if refClass}}'{{> refclass_with_module }}'{{else}}typing.Union[Schema_.{{name.getCamelCaseName}}, {{> model_templates/schema_python_types }}]{{/if}}{{/with}}], typing.List[{{#with items}}{{#if refClass}}'{{> refclass_with_module }}'{{else}}typing.Union[Schema_.{{name.getCamelCaseName}}, {{> model_templates/schema_python_types }}]{{/if}}{{/with}}]], + arg_: typing.Union[typing.Tuple[{{#with items}}{{#if refClass}}'{{> refclass_with_module }}'{{else}}typing.Union[Schema_.{{name.getCamelCaseName}}, {{> model_templates/schema_python_types }}]{{/if}}{{/with}}], typing.List[{{#with items}}{{#if refClass}}'{{> refclass_with_module }}'{{else}}typing.Union[Schema_.{{name.getCamelCaseName}}, {{> model_templates/schema_python_types }}]{{/if}}{{/with}}]], {{else}} *_args: typing.Union[{{> model_templates/schema_python_types }}], {{/if}} @@ -62,7 +62,7 @@ def __new__( *_args, {{else}} {{#if isArray }} - _arg, + arg_, {{else}} *_args, {{/if}} diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars index 2f52d5fa88a..a9788f17ccf 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars @@ -39,17 +39,17 @@ class FileIO(io.FileIO): Note: this class is not immutable """ - def __new__(cls, _arg: typing.Union[io.FileIO, io.BufferedReader]): - if isinstance(_arg, (io.FileIO, io.BufferedReader)): - if _arg.closed: + def __new__(cls, arg_: typing.Union[io.FileIO, io.BufferedReader]): + if isinstance(arg_, (io.FileIO, io.BufferedReader)): + if arg_.closed: raise exceptions.ApiValueError('Invalid file state; file is closed and must be open') - _arg.close() - inst = super(FileIO, cls).__new__(cls, _arg.name) - super(FileIO, inst).__init__(_arg.name) + arg_.close() + inst = super(FileIO, cls).__new__(cls, arg_.name) + super(FileIO, inst).__init__(arg_.name) return inst - raise exceptions.ApiValueError('FileIO must be passed _arg which contains the open file') + raise exceptions.ApiValueError('FileIO must be passed arg_ which contains the open file') - def __init__(self, _arg: typing.Union[io.FileIO, io.BufferedReader]): + def __init__(self, arg_: typing.Union[io.FileIO, io.BufferedReader]): pass @@ -143,11 +143,11 @@ def add_deeper_validated_schemas(validation_metadata: ValidationMetadata, path_t class Singleton: """ Enums and singletons are the same - The same instance is returned for a given key of (cls, _arg) + The same instance is returned for a given key of (cls, arg_) """ _instances = {} - def __new__(cls, _arg: typing.Any, **kwargs): + def __new__(cls, arg_: typing.Any, **kwargs): """ cls base classes: BoolClass, NoneClass, str, decimal.Decimal The 3rd key is used in the tuple below for a corner case where an enum contains integer 1 @@ -155,15 +155,15 @@ class Singleton: Decimal('1.0') == Decimal('1') But if we omitted the 3rd value in the key, then Decimal('1.0') would be stored as Decimal('1') and json serializing that instance would be '1' rather than the expected '1.0' - Adding the 3rd value, the str of _arg ensures that 1.0 -> Decimal('1.0') which is serialized as 1.0 + Adding the 3rd value, the str of arg_ ensures that 1.0 -> Decimal('1.0') which is serialized as 1.0 """ - key = (cls, _arg, str(_arg)) + key = (cls, arg_, str(arg_)) if key not in cls._instances: - if isinstance(_arg, (none_type, bool, BoolClass, NoneClass)): + if isinstance(arg_, (none_type, bool, BoolClass, NoneClass)): inst = super().__new__(cls) cls._instances[key] = inst else: - cls._instances[key] = super().__new__(cls, _arg) + cls._instances[key] = super().__new__(cls, arg_) return cls._instances[key] def __repr__(self): @@ -2179,8 +2179,8 @@ class ListSchema( def from_openapi_data_(cls, arg: typing.List[typing.Any], configuration_: typing.Optional[configuration_module.Configuration] = None): return super().from_openapi_data_(arg, configuration_=configuration_) - def __new__(cls, _arg: typing.Union[typing.List[typing.Any], typing.Tuple[typing.Any]], **kwargs: configuration_module.Configuration): - return super().__new__(cls, _arg, **kwargs) + def __new__(cls, arg_: typing.Union[typing.List[typing.Any], typing.Tuple[typing.Any]], **kwargs: configuration_module.Configuration): + return super().__new__(cls, arg_, **kwargs) class NoneSchema( @@ -2195,8 +2195,8 @@ class NoneSchema( def from_openapi_data_(cls, arg: None, configuration_: typing.Optional[configuration_module.Configuration] = None): return super().from_openapi_data_(arg, configuration_=configuration_) - def __new__(cls, _arg: None, **kwargs: configuration_module.Configuration): - return super().__new__(cls, _arg, **kwargs) + def __new__(cls, arg_: None, **kwargs: configuration_module.Configuration): + return super().__new__(cls, arg_, **kwargs) class NumberSchema( @@ -2215,8 +2215,8 @@ class NumberSchema( def from_openapi_data_(cls, arg: typing.Union[int, float], configuration_: typing.Optional[configuration_module.Configuration] = None): return super().from_openapi_data_(arg, configuration_=configuration_) - def __new__(cls, _arg: typing.Union[decimal.Decimal, int, float], **kwargs: configuration_module.Configuration): - return super().__new__(cls, _arg, **kwargs) + def __new__(cls, arg_: typing.Union[decimal.Decimal, int, float], **kwargs: configuration_module.Configuration): + return super().__new__(cls, arg_, **kwargs) class IntBase: @@ -2238,8 +2238,8 @@ class IntSchema(IntBase, NumberSchema): def from_openapi_data_(cls, arg: int, configuration_: typing.Optional[configuration_module.Configuration] = None): return super().from_openapi_data_(arg, configuration_=configuration_) - def __new__(cls, _arg: typing.Union[decimal.Decimal, int], **kwargs: configuration_module.Configuration): - return super().__new__(cls, _arg, **kwargs) + def __new__(cls, arg_: typing.Union[decimal.Decimal, int], **kwargs: configuration_module.Configuration): + return super().__new__(cls, arg_, **kwargs) class Int32Schema( @@ -2300,8 +2300,8 @@ class StrSchema( def from_openapi_data_(cls, arg: str, configuration_: typing.Optional[configuration_module.Configuration] = None) -> 'StrSchema': return super().from_openapi_data_(arg, configuration_=configuration_) - def __new__(cls, _arg: typing.Union[str, datetime.date, datetime.datetime, uuid.UUID], **kwargs: configuration_module.Configuration): - return super().__new__(cls, _arg, **kwargs) + def __new__(cls, arg_: typing.Union[str, datetime.date, datetime.datetime, uuid.UUID], **kwargs: configuration_module.Configuration): + return super().__new__(cls, arg_, **kwargs) class UUIDSchema(UUIDBase, StrSchema): @@ -2309,8 +2309,8 @@ class UUIDSchema(UUIDBase, StrSchema): types = {str} format = 'uuid' - def __new__(cls, _arg: typing.Union[str, uuid.UUID], **kwargs: configuration_module.Configuration): - return super().__new__(cls, _arg, **kwargs) + def __new__(cls, arg_: typing.Union[str, uuid.UUID], **kwargs: configuration_module.Configuration): + return super().__new__(cls, arg_, **kwargs) class DateSchema(DateBase, StrSchema): @@ -2318,8 +2318,8 @@ class DateSchema(DateBase, StrSchema): types = {str} format = 'date' - def __new__(cls, _arg: typing.Union[str, datetime.date], **kwargs: configuration_module.Configuration): - return super().__new__(cls, _arg, **kwargs) + def __new__(cls, arg_: typing.Union[str, datetime.date], **kwargs: configuration_module.Configuration): + return super().__new__(cls, arg_, **kwargs) class DateTimeSchema(DateTimeBase, StrSchema): @@ -2327,8 +2327,8 @@ class DateTimeSchema(DateTimeBase, StrSchema): types = {str} format = 'date-time' - def __new__(cls, _arg: typing.Union[str, datetime.datetime], **kwargs: configuration_module.Configuration): - return super().__new__(cls, _arg, **kwargs) + def __new__(cls, arg_: typing.Union[str, datetime.datetime], **kwargs: configuration_module.Configuration): + return super().__new__(cls, arg_, **kwargs) class DecimalSchema(DecimalBase, StrSchema): @@ -2336,7 +2336,7 @@ class DecimalSchema(DecimalBase, StrSchema): types = {str} format = 'number' - def __new__(cls, _arg: str, **kwargs: configuration_module.Configuration): + def __new__(cls, arg_: str, **kwargs: configuration_module.Configuration): """ Note: Decimals may not be passed in because cast_to_allowed_types is only invoked once for payloads which can be simple (str) or complex (dicts or lists with nested values) @@ -2345,7 +2345,7 @@ class DecimalSchema(DecimalBase, StrSchema): if one was using it for a StrSchema (where it should be cast to str) or one is using it for NumberSchema where it should stay as Decimal. """ - return super().__new__(cls, _arg, **kwargs) + return super().__new__(cls, arg_, **kwargs) class BytesSchema( @@ -2358,8 +2358,8 @@ class BytesSchema( class Schema_: types = {bytes} - def __new__(cls, _arg: bytes, **kwargs: configuration_module.Configuration): - return super(Schema, cls).__new__(cls, _arg) + def __new__(cls, arg_: bytes, **kwargs: configuration_module.Configuration): + return super(Schema, cls).__new__(cls, arg_) class FileSchema( @@ -2385,8 +2385,8 @@ class FileSchema( class Schema_: types = {FileIO} - def __new__(cls, _arg: typing.Union[io.FileIO, io.BufferedReader], **kwargs: configuration_module.Configuration): - return super(Schema, cls).__new__(cls, _arg) + def __new__(cls, arg_: typing.Union[io.FileIO, io.BufferedReader], **kwargs: configuration_module.Configuration): + return super(Schema, cls).__new__(cls, arg_) class BinarySchema( @@ -2403,8 +2403,8 @@ class BinarySchema( FileSchema, ] - def __new__(cls, _arg: typing.Union[io.FileIO, io.BufferedReader, bytes], **kwargs: configuration_module.Configuration): - return super().__new__(cls, _arg) + def __new__(cls, arg_: typing.Union[io.FileIO, io.BufferedReader, bytes], **kwargs: configuration_module.Configuration): + return super().__new__(cls, arg_) class BoolSchema( @@ -2419,8 +2419,8 @@ class BoolSchema( def from_openapi_data_(cls, arg: bool, configuration_: typing.Optional[configuration_module.Configuration] = None): return super().from_openapi_data_(arg, configuration_=configuration_) - def __new__(cls, _arg: bool, **kwargs: ValidationMetadata): - return super().__new__(cls, _arg, **kwargs) + def __new__(cls, arg_: bool, **kwargs: ValidationMetadata): + return super().__new__(cls, arg_, **kwargs) class AnyTypeSchema( diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/array_type_matches_arrays.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/array_type_matches_arrays.py index a57fcc3ab78..85167b81ab0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/array_type_matches_arrays.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/array_type_matches_arrays.py @@ -39,12 +39,12 @@ class Schema_: def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayTypeMatchesArrays': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/array_type_matches_arrays.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/array_type_matches_arrays.pyi index a57fcc3ab78..85167b81ab0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/array_type_matches_arrays.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/array_type_matches_arrays.pyi @@ -39,12 +39,12 @@ class ArrayTypeMatchesArrays( def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayTypeMatchesArrays': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_items.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_items.py index d25b36a9b9d..77c97f23090 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_items.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_items.py @@ -66,12 +66,12 @@ class Schema_: def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]], typing.List[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]], typing.List[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Items': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) @@ -80,12 +80,12 @@ def __getitem__(self, i: int) -> Schema_.Items: def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, list, tuple, ]], typing.List[typing.Union[Schema_.Items, list, tuple, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, list, tuple, ]], typing.List[typing.Union[Schema_.Items, list, tuple, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Items': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) @@ -94,12 +94,12 @@ def __getitem__(self, i: int) -> Schema_.Items: def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, list, tuple, ]], typing.List[typing.Union[Schema_.Items, list, tuple, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, list, tuple, ]], typing.List[typing.Union[Schema_.Items, list, tuple, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Items': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) @@ -108,12 +108,12 @@ def __getitem__(self, i: int) -> Schema_.Items: def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, list, tuple, ]], typing.List[typing.Union[Schema_.Items, list, tuple, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, list, tuple, ]], typing.List[typing.Union[Schema_.Items, list, tuple, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'NestedItems': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_items.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_items.pyi index d25b36a9b9d..77c97f23090 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_items.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_items.pyi @@ -66,12 +66,12 @@ class NestedItems( def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]], typing.List[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]], typing.List[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Items': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) @@ -80,12 +80,12 @@ class NestedItems( def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, list, tuple, ]], typing.List[typing.Union[Schema_.Items, list, tuple, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, list, tuple, ]], typing.List[typing.Union[Schema_.Items, list, tuple, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Items': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) @@ -94,12 +94,12 @@ class NestedItems( def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, list, tuple, ]], typing.List[typing.Union[Schema_.Items, list, tuple, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, list, tuple, ]], typing.List[typing.Union[Schema_.Items, list, tuple, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Items': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) @@ -108,12 +108,12 @@ class NestedItems( def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, list, tuple, ]], typing.List[typing.Union[Schema_.Items, list, tuple, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, list, tuple, ]], typing.List[typing.Union[Schema_.Items, list, tuple, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'NestedItems': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_items.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_items.py index be67cf56c2d..53d37484467 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_items.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_items.py @@ -42,12 +42,12 @@ def items() -> typing.Type['property_named_ref_that_is_not_a_reference.PropertyN def __new__( cls, - _arg: typing.Union[typing.Tuple['property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference'], typing.List['property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference']], + arg_: typing.Union[typing.Tuple['property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference'], typing.List['property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference']], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'RefInItems': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_items.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_items.pyi index be67cf56c2d..53d37484467 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_items.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_items.pyi @@ -42,12 +42,12 @@ class RefInItems( def __new__( cls, - _arg: typing.Union[typing.Tuple['property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference'], typing.List['property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference']], + arg_: typing.Union[typing.Tuple['property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference'], typing.List['property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference']], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'RefInItems': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py index 1bb3bf385ed..5629134815a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py @@ -46,17 +46,17 @@ class FileIO(io.FileIO): Note: this class is not immutable """ - def __new__(cls, _arg: typing.Union[io.FileIO, io.BufferedReader]): - if isinstance(_arg, (io.FileIO, io.BufferedReader)): - if _arg.closed: + def __new__(cls, arg_: typing.Union[io.FileIO, io.BufferedReader]): + if isinstance(arg_, (io.FileIO, io.BufferedReader)): + if arg_.closed: raise exceptions.ApiValueError('Invalid file state; file is closed and must be open') - _arg.close() - inst = super(FileIO, cls).__new__(cls, _arg.name) - super(FileIO, inst).__init__(_arg.name) + arg_.close() + inst = super(FileIO, cls).__new__(cls, arg_.name) + super(FileIO, inst).__init__(arg_.name) return inst - raise exceptions.ApiValueError('FileIO must be passed _arg which contains the open file') + raise exceptions.ApiValueError('FileIO must be passed arg_ which contains the open file') - def __init__(self, _arg: typing.Union[io.FileIO, io.BufferedReader]): + def __init__(self, arg_: typing.Union[io.FileIO, io.BufferedReader]): pass @@ -150,11 +150,11 @@ def add_deeper_validated_schemas(validation_metadata: ValidationMetadata, path_t class Singleton: """ Enums and singletons are the same - The same instance is returned for a given key of (cls, _arg) + The same instance is returned for a given key of (cls, arg_) """ _instances = {} - def __new__(cls, _arg: typing.Any, **kwargs): + def __new__(cls, arg_: typing.Any, **kwargs): """ cls base classes: BoolClass, NoneClass, str, decimal.Decimal The 3rd key is used in the tuple below for a corner case where an enum contains integer 1 @@ -162,15 +162,15 @@ def __new__(cls, _arg: typing.Any, **kwargs): Decimal('1.0') == Decimal('1') But if we omitted the 3rd value in the key, then Decimal('1.0') would be stored as Decimal('1') and json serializing that instance would be '1' rather than the expected '1.0' - Adding the 3rd value, the str of _arg ensures that 1.0 -> Decimal('1.0') which is serialized as 1.0 + Adding the 3rd value, the str of arg_ ensures that 1.0 -> Decimal('1.0') which is serialized as 1.0 """ - key = (cls, _arg, str(_arg)) + key = (cls, arg_, str(arg_)) if key not in cls._instances: - if isinstance(_arg, (none_type, bool, BoolClass, NoneClass)): + if isinstance(arg_, (none_type, bool, BoolClass, NoneClass)): inst = super().__new__(cls) cls._instances[key] = inst else: - cls._instances[key] = super().__new__(cls, _arg) + cls._instances[key] = super().__new__(cls, arg_) return cls._instances[key] def __repr__(self): @@ -2092,8 +2092,8 @@ class Schema_: def from_openapi_data_(cls, arg: typing.List[typing.Any], configuration_: typing.Optional[configuration_module.Configuration] = None): return super().from_openapi_data_(arg, configuration_=configuration_) - def __new__(cls, _arg: typing.Union[typing.List[typing.Any], typing.Tuple[typing.Any]], **kwargs: configuration_module.Configuration): - return super().__new__(cls, _arg, **kwargs) + def __new__(cls, arg_: typing.Union[typing.List[typing.Any], typing.Tuple[typing.Any]], **kwargs: configuration_module.Configuration): + return super().__new__(cls, arg_, **kwargs) class NoneSchema( @@ -2108,8 +2108,8 @@ class Schema_: def from_openapi_data_(cls, arg: None, configuration_: typing.Optional[configuration_module.Configuration] = None): return super().from_openapi_data_(arg, configuration_=configuration_) - def __new__(cls, _arg: None, **kwargs: configuration_module.Configuration): - return super().__new__(cls, _arg, **kwargs) + def __new__(cls, arg_: None, **kwargs: configuration_module.Configuration): + return super().__new__(cls, arg_, **kwargs) class NumberSchema( @@ -2128,8 +2128,8 @@ class Schema_: def from_openapi_data_(cls, arg: typing.Union[int, float], configuration_: typing.Optional[configuration_module.Configuration] = None): return super().from_openapi_data_(arg, configuration_=configuration_) - def __new__(cls, _arg: typing.Union[decimal.Decimal, int, float], **kwargs: configuration_module.Configuration): - return super().__new__(cls, _arg, **kwargs) + def __new__(cls, arg_: typing.Union[decimal.Decimal, int, float], **kwargs: configuration_module.Configuration): + return super().__new__(cls, arg_, **kwargs) class IntBase: @@ -2151,8 +2151,8 @@ class Schema_: def from_openapi_data_(cls, arg: int, configuration_: typing.Optional[configuration_module.Configuration] = None): return super().from_openapi_data_(arg, configuration_=configuration_) - def __new__(cls, _arg: typing.Union[decimal.Decimal, int], **kwargs: configuration_module.Configuration): - return super().__new__(cls, _arg, **kwargs) + def __new__(cls, arg_: typing.Union[decimal.Decimal, int], **kwargs: configuration_module.Configuration): + return super().__new__(cls, arg_, **kwargs) class Int32Schema( @@ -2213,8 +2213,8 @@ class Schema_: def from_openapi_data_(cls, arg: str, configuration_: typing.Optional[configuration_module.Configuration] = None) -> 'StrSchema': return super().from_openapi_data_(arg, configuration_=configuration_) - def __new__(cls, _arg: typing.Union[str, datetime.date, datetime.datetime, uuid.UUID], **kwargs: configuration_module.Configuration): - return super().__new__(cls, _arg, **kwargs) + def __new__(cls, arg_: typing.Union[str, datetime.date, datetime.datetime, uuid.UUID], **kwargs: configuration_module.Configuration): + return super().__new__(cls, arg_, **kwargs) class UUIDSchema(UUIDBase, StrSchema): @@ -2222,8 +2222,8 @@ class Schema_: types = {str} format = 'uuid' - def __new__(cls, _arg: typing.Union[str, uuid.UUID], **kwargs: configuration_module.Configuration): - return super().__new__(cls, _arg, **kwargs) + def __new__(cls, arg_: typing.Union[str, uuid.UUID], **kwargs: configuration_module.Configuration): + return super().__new__(cls, arg_, **kwargs) class DateSchema(DateBase, StrSchema): @@ -2231,8 +2231,8 @@ class Schema_: types = {str} format = 'date' - def __new__(cls, _arg: typing.Union[str, datetime.date], **kwargs: configuration_module.Configuration): - return super().__new__(cls, _arg, **kwargs) + def __new__(cls, arg_: typing.Union[str, datetime.date], **kwargs: configuration_module.Configuration): + return super().__new__(cls, arg_, **kwargs) class DateTimeSchema(DateTimeBase, StrSchema): @@ -2240,8 +2240,8 @@ class Schema_: types = {str} format = 'date-time' - def __new__(cls, _arg: typing.Union[str, datetime.datetime], **kwargs: configuration_module.Configuration): - return super().__new__(cls, _arg, **kwargs) + def __new__(cls, arg_: typing.Union[str, datetime.datetime], **kwargs: configuration_module.Configuration): + return super().__new__(cls, arg_, **kwargs) class DecimalSchema(DecimalBase, StrSchema): @@ -2249,7 +2249,7 @@ class Schema_: types = {str} format = 'number' - def __new__(cls, _arg: str, **kwargs: configuration_module.Configuration): + def __new__(cls, arg_: str, **kwargs: configuration_module.Configuration): """ Note: Decimals may not be passed in because cast_to_allowed_types is only invoked once for payloads which can be simple (str) or complex (dicts or lists with nested values) @@ -2258,7 +2258,7 @@ def __new__(cls, _arg: str, **kwargs: configuration_module.Configuration): if one was using it for a StrSchema (where it should be cast to str) or one is using it for NumberSchema where it should stay as Decimal. """ - return super().__new__(cls, _arg, **kwargs) + return super().__new__(cls, arg_, **kwargs) class BytesSchema( @@ -2271,8 +2271,8 @@ class BytesSchema( class Schema_: types = {bytes} - def __new__(cls, _arg: bytes, **kwargs: configuration_module.Configuration): - return super(Schema, cls).__new__(cls, _arg) + def __new__(cls, arg_: bytes, **kwargs: configuration_module.Configuration): + return super(Schema, cls).__new__(cls, arg_) class FileSchema( @@ -2298,8 +2298,8 @@ class FileSchema( class Schema_: types = {FileIO} - def __new__(cls, _arg: typing.Union[io.FileIO, io.BufferedReader], **kwargs: configuration_module.Configuration): - return super(Schema, cls).__new__(cls, _arg) + def __new__(cls, arg_: typing.Union[io.FileIO, io.BufferedReader], **kwargs: configuration_module.Configuration): + return super(Schema, cls).__new__(cls, arg_) class BinarySchema( @@ -2316,8 +2316,8 @@ class OneOf: FileSchema, ] - def __new__(cls, _arg: typing.Union[io.FileIO, io.BufferedReader, bytes], **kwargs: configuration_module.Configuration): - return super().__new__(cls, _arg) + def __new__(cls, arg_: typing.Union[io.FileIO, io.BufferedReader, bytes], **kwargs: configuration_module.Configuration): + return super().__new__(cls, arg_) class BoolSchema( @@ -2332,8 +2332,8 @@ class Schema_: def from_openapi_data_(cls, arg: bool, configuration_: typing.Optional[configuration_module.Configuration] = None): return super().from_openapi_data_(arg, configuration_=configuration_) - def __new__(cls, _arg: bool, **kwargs: ValidationMetadata): - return super().__new__(cls, _arg, **kwargs) + def __new__(cls, arg_: bool, **kwargs: ValidationMetadata): + return super().__new__(cls, arg_, **kwargs) class AnyTypeSchema( diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py index ec2d92da6c4..02a1a529a31 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py @@ -46,17 +46,17 @@ class FileIO(io.FileIO): Note: this class is not immutable """ - def __new__(cls, _arg: typing.Union[io.FileIO, io.BufferedReader]): - if isinstance(_arg, (io.FileIO, io.BufferedReader)): - if _arg.closed: + def __new__(cls, arg_: typing.Union[io.FileIO, io.BufferedReader]): + if isinstance(arg_, (io.FileIO, io.BufferedReader)): + if arg_.closed: raise exceptions.ApiValueError('Invalid file state; file is closed and must be open') - _arg.close() - inst = super(FileIO, cls).__new__(cls, _arg.name) - super(FileIO, inst).__init__(_arg.name) + arg_.close() + inst = super(FileIO, cls).__new__(cls, arg_.name) + super(FileIO, inst).__init__(arg_.name) return inst - raise exceptions.ApiValueError('FileIO must be passed _arg which contains the open file') + raise exceptions.ApiValueError('FileIO must be passed arg_ which contains the open file') - def __init__(self, _arg: typing.Union[io.FileIO, io.BufferedReader]): + def __init__(self, arg_: typing.Union[io.FileIO, io.BufferedReader]): pass @@ -150,11 +150,11 @@ def add_deeper_validated_schemas(validation_metadata: ValidationMetadata, path_t class Singleton: """ Enums and singletons are the same - The same instance is returned for a given key of (cls, _arg) + The same instance is returned for a given key of (cls, arg_) """ _instances = {} - def __new__(cls, _arg: typing.Any, **kwargs): + def __new__(cls, arg_: typing.Any, **kwargs): """ cls base classes: BoolClass, NoneClass, str, decimal.Decimal The 3rd key is used in the tuple below for a corner case where an enum contains integer 1 @@ -162,15 +162,15 @@ def __new__(cls, _arg: typing.Any, **kwargs): Decimal('1.0') == Decimal('1') But if we omitted the 3rd value in the key, then Decimal('1.0') would be stored as Decimal('1') and json serializing that instance would be '1' rather than the expected '1.0' - Adding the 3rd value, the str of _arg ensures that 1.0 -> Decimal('1.0') which is serialized as 1.0 + Adding the 3rd value, the str of arg_ ensures that 1.0 -> Decimal('1.0') which is serialized as 1.0 """ - key = (cls, _arg, str(_arg)) + key = (cls, arg_, str(arg_)) if key not in cls._instances: - if isinstance(_arg, (none_type, bool, BoolClass, NoneClass)): + if isinstance(arg_, (none_type, bool, BoolClass, NoneClass)): inst = super().__new__(cls) cls._instances[key] = inst else: - cls._instances[key] = super().__new__(cls, _arg) + cls._instances[key] = super().__new__(cls, arg_) return cls._instances[key] def __repr__(self): @@ -2168,8 +2168,8 @@ class Schema_: def from_openapi_data_(cls, arg: typing.List[typing.Any], configuration_: typing.Optional[configuration_module.Configuration] = None): return super().from_openapi_data_(arg, configuration_=configuration_) - def __new__(cls, _arg: typing.Union[typing.List[typing.Any], typing.Tuple[typing.Any]], **kwargs: configuration_module.Configuration): - return super().__new__(cls, _arg, **kwargs) + def __new__(cls, arg_: typing.Union[typing.List[typing.Any], typing.Tuple[typing.Any]], **kwargs: configuration_module.Configuration): + return super().__new__(cls, arg_, **kwargs) class NoneSchema( @@ -2184,8 +2184,8 @@ class Schema_: def from_openapi_data_(cls, arg: None, configuration_: typing.Optional[configuration_module.Configuration] = None): return super().from_openapi_data_(arg, configuration_=configuration_) - def __new__(cls, _arg: None, **kwargs: configuration_module.Configuration): - return super().__new__(cls, _arg, **kwargs) + def __new__(cls, arg_: None, **kwargs: configuration_module.Configuration): + return super().__new__(cls, arg_, **kwargs) class NumberSchema( @@ -2204,8 +2204,8 @@ class Schema_: def from_openapi_data_(cls, arg: typing.Union[int, float], configuration_: typing.Optional[configuration_module.Configuration] = None): return super().from_openapi_data_(arg, configuration_=configuration_) - def __new__(cls, _arg: typing.Union[decimal.Decimal, int, float], **kwargs: configuration_module.Configuration): - return super().__new__(cls, _arg, **kwargs) + def __new__(cls, arg_: typing.Union[decimal.Decimal, int, float], **kwargs: configuration_module.Configuration): + return super().__new__(cls, arg_, **kwargs) class IntBase: @@ -2227,8 +2227,8 @@ class Schema_: def from_openapi_data_(cls, arg: int, configuration_: typing.Optional[configuration_module.Configuration] = None): return super().from_openapi_data_(arg, configuration_=configuration_) - def __new__(cls, _arg: typing.Union[decimal.Decimal, int], **kwargs: configuration_module.Configuration): - return super().__new__(cls, _arg, **kwargs) + def __new__(cls, arg_: typing.Union[decimal.Decimal, int], **kwargs: configuration_module.Configuration): + return super().__new__(cls, arg_, **kwargs) class Int32Schema( @@ -2289,8 +2289,8 @@ class Schema_: def from_openapi_data_(cls, arg: str, configuration_: typing.Optional[configuration_module.Configuration] = None) -> 'StrSchema': return super().from_openapi_data_(arg, configuration_=configuration_) - def __new__(cls, _arg: typing.Union[str, datetime.date, datetime.datetime, uuid.UUID], **kwargs: configuration_module.Configuration): - return super().__new__(cls, _arg, **kwargs) + def __new__(cls, arg_: typing.Union[str, datetime.date, datetime.datetime, uuid.UUID], **kwargs: configuration_module.Configuration): + return super().__new__(cls, arg_, **kwargs) class UUIDSchema(UUIDBase, StrSchema): @@ -2298,8 +2298,8 @@ class Schema_: types = {str} format = 'uuid' - def __new__(cls, _arg: typing.Union[str, uuid.UUID], **kwargs: configuration_module.Configuration): - return super().__new__(cls, _arg, **kwargs) + def __new__(cls, arg_: typing.Union[str, uuid.UUID], **kwargs: configuration_module.Configuration): + return super().__new__(cls, arg_, **kwargs) class DateSchema(DateBase, StrSchema): @@ -2307,8 +2307,8 @@ class Schema_: types = {str} format = 'date' - def __new__(cls, _arg: typing.Union[str, datetime.date], **kwargs: configuration_module.Configuration): - return super().__new__(cls, _arg, **kwargs) + def __new__(cls, arg_: typing.Union[str, datetime.date], **kwargs: configuration_module.Configuration): + return super().__new__(cls, arg_, **kwargs) class DateTimeSchema(DateTimeBase, StrSchema): @@ -2316,8 +2316,8 @@ class Schema_: types = {str} format = 'date-time' - def __new__(cls, _arg: typing.Union[str, datetime.datetime], **kwargs: configuration_module.Configuration): - return super().__new__(cls, _arg, **kwargs) + def __new__(cls, arg_: typing.Union[str, datetime.datetime], **kwargs: configuration_module.Configuration): + return super().__new__(cls, arg_, **kwargs) class DecimalSchema(DecimalBase, StrSchema): @@ -2325,7 +2325,7 @@ class Schema_: types = {str} format = 'number' - def __new__(cls, _arg: str, **kwargs: configuration_module.Configuration): + def __new__(cls, arg_: str, **kwargs: configuration_module.Configuration): """ Note: Decimals may not be passed in because cast_to_allowed_types is only invoked once for payloads which can be simple (str) or complex (dicts or lists with nested values) @@ -2334,7 +2334,7 @@ def __new__(cls, _arg: str, **kwargs: configuration_module.Configuration): if one was using it for a StrSchema (where it should be cast to str) or one is using it for NumberSchema where it should stay as Decimal. """ - return super().__new__(cls, _arg, **kwargs) + return super().__new__(cls, arg_, **kwargs) class BytesSchema( @@ -2347,8 +2347,8 @@ class BytesSchema( class Schema_: types = {bytes} - def __new__(cls, _arg: bytes, **kwargs: configuration_module.Configuration): - return super(Schema, cls).__new__(cls, _arg) + def __new__(cls, arg_: bytes, **kwargs: configuration_module.Configuration): + return super(Schema, cls).__new__(cls, arg_) class FileSchema( @@ -2374,8 +2374,8 @@ class FileSchema( class Schema_: types = {FileIO} - def __new__(cls, _arg: typing.Union[io.FileIO, io.BufferedReader], **kwargs: configuration_module.Configuration): - return super(Schema, cls).__new__(cls, _arg) + def __new__(cls, arg_: typing.Union[io.FileIO, io.BufferedReader], **kwargs: configuration_module.Configuration): + return super(Schema, cls).__new__(cls, arg_) class BinarySchema( @@ -2392,8 +2392,8 @@ class OneOf: FileSchema, ] - def __new__(cls, _arg: typing.Union[io.FileIO, io.BufferedReader, bytes], **kwargs: configuration_module.Configuration): - return super().__new__(cls, _arg) + def __new__(cls, arg_: typing.Union[io.FileIO, io.BufferedReader, bytes], **kwargs: configuration_module.Configuration): + return super().__new__(cls, arg_) class BoolSchema( @@ -2408,8 +2408,8 @@ class Schema_: def from_openapi_data_(cls, arg: bool, configuration_: typing.Optional[configuration_module.Configuration] = None): return super().from_openapi_data_(arg, configuration_=configuration_) - def __new__(cls, _arg: bool, **kwargs: ValidationMetadata): - return super().__new__(cls, _arg, **kwargs) + def __new__(cls, arg_: bool, **kwargs: ValidationMetadata): + return super().__new__(cls, arg_, **kwargs) class AnyTypeSchema( diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/request_bodies/request_body_user_array/application_json.py b/samples/openapi3/client/petstore/python/petstore_api/components/request_bodies/request_body_user_array/application_json.py index 4c17e94ad99..7845783962f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/request_bodies/request_body_user_array/application_json.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/request_bodies/request_body_user_array/application_json.py @@ -37,12 +37,12 @@ def items() -> typing.Type['user.User']: def __new__( cls, - _arg: typing.Union[typing.Tuple['user.User'], typing.List['user.User']], + arg_: typing.Union[typing.Tuple['user.User'], typing.List['user.User']], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ApplicationJson': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/request_bodies/request_body_user_array/application_json.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/request_bodies/request_body_user_array/application_json.pyi index 4c17e94ad99..7845783962f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/request_bodies/request_body_user_array/application_json.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/request_bodies/request_body_user_array/application_json.pyi @@ -37,12 +37,12 @@ class ApplicationJson( def __new__( cls, - _arg: typing.Union[typing.Tuple['user.User'], typing.List['user.User']], + arg_: typing.Union[typing.Tuple['user.User'], typing.List['user.User']], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ApplicationJson': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_with_array_of_enums.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_with_array_of_enums.py index e542c692a30..ba5e67255f2 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_with_array_of_enums.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_with_array_of_enums.py @@ -51,12 +51,12 @@ def items() -> typing.Type['enum_class.EnumClass']: def __new__( cls, - _arg: typing.Union[typing.Tuple['enum_class.EnumClass'], typing.List['enum_class.EnumClass']], + arg_: typing.Union[typing.Tuple['enum_class.EnumClass'], typing.List['enum_class.EnumClass']], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'AdditionalProperties': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_with_array_of_enums.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_with_array_of_enums.pyi index 2c969224e1b..5d99fd7e3d5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_with_array_of_enums.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_with_array_of_enums.pyi @@ -50,12 +50,12 @@ class AdditionalPropertiesWithArrayOfEnums( def __new__( cls, - _arg: typing.Union[typing.Tuple['enum_class.EnumClass'], typing.List['enum_class.EnumClass']], + arg_: typing.Union[typing.Tuple['enum_class.EnumClass'], typing.List['enum_class.EnumClass']], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'AdditionalProperties': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal_farm.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal_farm.py index c7190936ea3..c850c6255b3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal_farm.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal_farm.py @@ -42,12 +42,12 @@ def items() -> typing.Type['animal.Animal']: def __new__( cls, - _arg: typing.Union[typing.Tuple['animal.Animal'], typing.List['animal.Animal']], + arg_: typing.Union[typing.Tuple['animal.Animal'], typing.List['animal.Animal']], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'AnimalFarm': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal_farm.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal_farm.pyi index c7190936ea3..c850c6255b3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal_farm.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal_farm.pyi @@ -42,12 +42,12 @@ class AnimalFarm( def __new__( cls, - _arg: typing.Union[typing.Tuple['animal.Animal'], typing.List['animal.Animal']], + arg_: typing.Union[typing.Tuple['animal.Animal'], typing.List['animal.Animal']], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'AnimalFarm': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_holding_any_type.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_holding_any_type.py index 6de82cdc022..2d69afb3eff 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_holding_any_type.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_holding_any_type.py @@ -39,12 +39,12 @@ class Schema_: def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayHoldingAnyType': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_holding_any_type.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_holding_any_type.pyi index 6de82cdc022..2d69afb3eff 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_holding_any_type.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_holding_any_type.pyi @@ -39,12 +39,12 @@ class ArrayHoldingAnyType( def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayHoldingAnyType': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_array_of_number_only.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_array_of_number_only.py index ac6fbe54c52..b8d51c04f5d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_array_of_number_only.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_array_of_number_only.py @@ -59,12 +59,12 @@ class Schema_: def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]], typing.List[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]], typing.List[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Items': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) @@ -73,12 +73,12 @@ def __getitem__(self, i: int) -> Schema_.Items: def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, list, tuple, ]], typing.List[typing.Union[Schema_.Items, list, tuple, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, list, tuple, ]], typing.List[typing.Union[Schema_.Items, list, tuple, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayArrayNumber': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_array_of_number_only.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_array_of_number_only.pyi index bb037132e53..189d109994b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_array_of_number_only.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_array_of_number_only.pyi @@ -58,12 +58,12 @@ class ArrayOfArrayOfNumberOnly( def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]], typing.List[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]], typing.List[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Items': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) @@ -72,12 +72,12 @@ class ArrayOfArrayOfNumberOnly( def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, list, tuple, ]], typing.List[typing.Union[Schema_.Items, list, tuple, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, list, tuple, ]], typing.List[typing.Union[Schema_.Items, list, tuple, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayArrayNumber': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_enums.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_enums.py index 48bcb2b30d1..c1a7a764cd8 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_enums.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_enums.py @@ -42,12 +42,12 @@ def items() -> typing.Type['string_enum.StringEnum']: def __new__( cls, - _arg: typing.Union[typing.Tuple['string_enum.StringEnum'], typing.List['string_enum.StringEnum']], + arg_: typing.Union[typing.Tuple['string_enum.StringEnum'], typing.List['string_enum.StringEnum']], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayOfEnums': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_enums.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_enums.pyi index 48bcb2b30d1..c1a7a764cd8 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_enums.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_enums.pyi @@ -42,12 +42,12 @@ class ArrayOfEnums( def __new__( cls, - _arg: typing.Union[typing.Tuple['string_enum.StringEnum'], typing.List['string_enum.StringEnum']], + arg_: typing.Union[typing.Tuple['string_enum.StringEnum'], typing.List['string_enum.StringEnum']], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayOfEnums': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_number_only.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_number_only.py index 8a69ba34205..3e467b3d8c7 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_number_only.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_number_only.py @@ -50,12 +50,12 @@ class Schema_: def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]], typing.List[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]], typing.List[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayNumber': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_number_only.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_number_only.pyi index db23e37d35c..23def3244dd 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_number_only.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_number_only.pyi @@ -49,12 +49,12 @@ class ArrayOfNumberOnly( def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]], typing.List[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]], typing.List[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayNumber': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_test.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_test.py index 5f770247aeb..f43042ab456 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_test.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_test.py @@ -50,12 +50,12 @@ class Schema_: def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayOfString': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) @@ -83,12 +83,12 @@ class Schema_: def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, decimal.Decimal, int, ]], typing.List[typing.Union[Schema_.Items, decimal.Decimal, int, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, decimal.Decimal, int, ]], typing.List[typing.Union[Schema_.Items, decimal.Decimal, int, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Items': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) @@ -97,12 +97,12 @@ def __getitem__(self, i: int) -> Schema_.Items: def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, list, tuple, ]], typing.List[typing.Union[Schema_.Items, list, tuple, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, list, tuple, ]], typing.List[typing.Union[Schema_.Items, list, tuple, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayArrayOfInteger': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) @@ -133,12 +133,12 @@ def items() -> typing.Type['read_only_first.ReadOnlyFirst']: def __new__( cls, - _arg: typing.Union[typing.Tuple['read_only_first.ReadOnlyFirst'], typing.List['read_only_first.ReadOnlyFirst']], + arg_: typing.Union[typing.Tuple['read_only_first.ReadOnlyFirst'], typing.List['read_only_first.ReadOnlyFirst']], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Items': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) @@ -147,12 +147,12 @@ def __getitem__(self, i: int) -> 'read_only_first.ReadOnlyFirst': def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, list, tuple, ]], typing.List[typing.Union[Schema_.Items, list, tuple, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, list, tuple, ]], typing.List[typing.Union[Schema_.Items, list, tuple, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayArrayOfModel': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_test.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_test.pyi index daa0089ac7a..15dd03059b6 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_test.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_test.pyi @@ -49,12 +49,12 @@ class ArrayTest( def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayOfString': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) @@ -82,12 +82,12 @@ class ArrayTest( def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, decimal.Decimal, int, ]], typing.List[typing.Union[Schema_.Items, decimal.Decimal, int, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, decimal.Decimal, int, ]], typing.List[typing.Union[Schema_.Items, decimal.Decimal, int, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Items': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) @@ -96,12 +96,12 @@ class ArrayTest( def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, list, tuple, ]], typing.List[typing.Union[Schema_.Items, list, tuple, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, list, tuple, ]], typing.List[typing.Union[Schema_.Items, list, tuple, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayArrayOfInteger': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) @@ -132,12 +132,12 @@ class ArrayTest( def __new__( cls, - _arg: typing.Union[typing.Tuple['read_only_first.ReadOnlyFirst'], typing.List['read_only_first.ReadOnlyFirst']], + arg_: typing.Union[typing.Tuple['read_only_first.ReadOnlyFirst'], typing.List['read_only_first.ReadOnlyFirst']], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Items': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) @@ -146,12 +146,12 @@ class ArrayTest( def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, list, tuple, ]], typing.List[typing.Union[Schema_.Items, list, tuple, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, list, tuple, ]], typing.List[typing.Union[Schema_.Items, list, tuple, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayArrayOfModel': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_with_validations_in_items.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_with_validations_in_items.py index d4d9defb02c..7c73ee016e0 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_with_validations_in_items.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_with_validations_in_items.py @@ -52,12 +52,12 @@ class Schema_: def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, decimal.Decimal, int, ]], typing.List[typing.Union[Schema_.Items, decimal.Decimal, int, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, decimal.Decimal, int, ]], typing.List[typing.Union[Schema_.Items, decimal.Decimal, int, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayWithValidationsInItems': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_with_validations_in_items.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_with_validations_in_items.pyi index f39ebdd2d8d..5e13857cb1c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_with_validations_in_items.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_with_validations_in_items.pyi @@ -45,12 +45,12 @@ class ArrayWithValidationsInItems( def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, decimal.Decimal, int, ]], typing.List[typing.Union[Schema_.Items, decimal.Decimal, int, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, decimal.Decimal, int, ]], typing.List[typing.Union[Schema_.Items, decimal.Decimal, int, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayWithValidationsInItems': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_any_of_different_types_no_validations.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_any_of_different_types_no_validations.py index c5f248c7526..1dcb188593d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_any_of_different_types_no_validations.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_any_of_different_types_no_validations.py @@ -59,12 +59,12 @@ class Schema_: def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'AnyOf9': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_any_of_different_types_no_validations.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_any_of_different_types_no_validations.pyi index c5f248c7526..1dcb188593d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_any_of_different_types_no_validations.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_any_of_different_types_no_validations.pyi @@ -59,12 +59,12 @@ class ComposedAnyOfDifferentTypesNoValidations( def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'AnyOf9': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_array.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_array.py index e6d16c4ebd7..66a475be607 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_array.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_array.py @@ -39,12 +39,12 @@ class Schema_: def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ComposedArray': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_array.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_array.pyi index e6d16c4ebd7..66a475be607 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_array.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_array.pyi @@ -39,12 +39,12 @@ class ComposedArray( def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ComposedArray': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_one_of_different_types.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_one_of_different_types.py index 85dd87e6d6f..1cf97c64b1d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_one_of_different_types.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_one_of_different_types.py @@ -88,12 +88,12 @@ class Schema_: def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'OneOf5': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_one_of_different_types.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_one_of_different_types.pyi index 47270ebd1f7..32d9a3fba38 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_one_of_different_types.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_one_of_different_types.pyi @@ -82,12 +82,12 @@ class ComposedOneOfDifferentTypes( def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'OneOf5': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/drawing.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/drawing.py index 1f855a56990..0fe935a50f5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/drawing.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/drawing.py @@ -65,12 +65,12 @@ def items() -> typing.Type['shape.Shape']: def __new__( cls, - _arg: typing.Union[typing.Tuple['shape.Shape'], typing.List['shape.Shape']], + arg_: typing.Union[typing.Tuple['shape.Shape'], typing.List['shape.Shape']], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Shapes': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/drawing.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/drawing.pyi index 8ccf22f1702..cbb187fe69c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/drawing.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/drawing.pyi @@ -64,12 +64,12 @@ class Drawing( def __new__( cls, - _arg: typing.Union[typing.Tuple['shape.Shape'], typing.List['shape.Shape']], + arg_: typing.Union[typing.Tuple['shape.Shape'], typing.List['shape.Shape']], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Shapes': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_arrays.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_arrays.py index 0742af28483..c2ab649d66b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_arrays.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_arrays.py @@ -95,12 +95,12 @@ def CRAB(cls): def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayEnum': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_arrays.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_arrays.pyi index 900df3878b5..926857daf9e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_arrays.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_arrays.pyi @@ -74,12 +74,12 @@ class EnumArrays( def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayEnum': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/file_schema_test_class.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/file_schema_test_class.py index b72c526d559..b3832d4b4b6 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/file_schema_test_class.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/file_schema_test_class.py @@ -57,12 +57,12 @@ def items() -> typing.Type['file.File']: def __new__( cls, - _arg: typing.Union[typing.Tuple['file.File'], typing.List['file.File']], + arg_: typing.Union[typing.Tuple['file.File'], typing.List['file.File']], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Files': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/file_schema_test_class.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/file_schema_test_class.pyi index b535625bf23..67d256a3ae9 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/file_schema_test_class.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/file_schema_test_class.pyi @@ -56,12 +56,12 @@ class FileSchemaTestClass( def __new__( cls, - _arg: typing.Union[typing.Tuple['file.File'], typing.List['file.File']], + arg_: typing.Union[typing.Tuple['file.File'], typing.List['file.File']], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Files': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/format_test.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/format_test.py index d7ebbe3ca5e..9629ed791e4 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/format_test.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/format_test.py @@ -132,12 +132,12 @@ class Schema_: def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]], typing.List[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]], typing.List[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayWithUniqueItems': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/format_test.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/format_test.pyi index bcab847b865..f5c23ed86ce 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/format_test.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/format_test.pyi @@ -90,12 +90,12 @@ class FormatTest( def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]], typing.List[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]], typing.List[typing.Union[Schema_.Items, decimal.Decimal, int, float, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayWithUniqueItems': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request.py index ae89f5ac7ff..180fb962286 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request.py @@ -80,12 +80,12 @@ def __new__( def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'JSONPatchRequest': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request.pyi index ae89f5ac7ff..180fb962286 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request.pyi @@ -80,12 +80,12 @@ class JSONPatchRequest( def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'JSONPatchRequest': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_class.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_class.py index 50d4978b382..6c81e221fad 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_class.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_class.py @@ -329,12 +329,12 @@ def __new__( def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, None, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, None, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, None, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, None, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayItemsNullable': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_class.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_class.pyi index 1706a493af4..c3e5e766e8e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_class.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_class.pyi @@ -328,12 +328,12 @@ class NullableClass( def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, None, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, None, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, dict, frozendict.frozendict, None, ]], typing.List[typing.Union[Schema_.Items, dict, frozendict.frozendict, None, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayItemsNullable': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/pet.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/pet.py index 8d71d915d8d..f44a96b4299 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/pet.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/pet.py @@ -62,12 +62,12 @@ class Schema_: def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'PhotoUrls': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) @@ -89,12 +89,12 @@ def items() -> typing.Type['tag.Tag']: def __new__( cls, - _arg: typing.Union[typing.Tuple['tag.Tag'], typing.List['tag.Tag']], + arg_: typing.Union[typing.Tuple['tag.Tag'], typing.List['tag.Tag']], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Tags': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/pet.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/pet.pyi index 5c0808bc776..7308ea5d577 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/pet.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/pet.pyi @@ -61,12 +61,12 @@ class Pet( def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'PhotoUrls': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) @@ -88,12 +88,12 @@ class Pet( def __new__( cls, - _arg: typing.Union[typing.Tuple['tag.Tag'], typing.List['tag.Tag']], + arg_: typing.Union[typing.Tuple['tag.Tag'], typing.List['tag.Tag']], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Tags': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_array_model.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_array_model.py index 78b705e709e..c42c01a223a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_array_model.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_array_model.py @@ -42,12 +42,12 @@ def items() -> typing.Type['SelfReferencingArrayModel']: def __new__( cls, - _arg: typing.Union[typing.Tuple['SelfReferencingArrayModel'], typing.List['SelfReferencingArrayModel']], + arg_: typing.Union[typing.Tuple['SelfReferencingArrayModel'], typing.List['SelfReferencingArrayModel']], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'SelfReferencingArrayModel': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_array_model.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_array_model.pyi index 78b705e709e..c42c01a223a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_array_model.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_array_model.pyi @@ -42,12 +42,12 @@ class SelfReferencingArrayModel( def __new__( cls, - _arg: typing.Union[typing.Tuple['SelfReferencingArrayModel'], typing.List['SelfReferencingArrayModel']], + arg_: typing.Union[typing.Tuple['SelfReferencingArrayModel'], typing.List['SelfReferencingArrayModel']], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'SelfReferencingArrayModel': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_0/schema.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_0/schema.py index 69c89420829..2c957953c1e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_0/schema.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_0/schema.py @@ -56,12 +56,12 @@ def DOLLAR(cls): def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_0/schema.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_0/schema.pyi index 39b54eed16f..ecb68992ffc 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_0/schema.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_0/schema.pyi @@ -46,12 +46,12 @@ class Schema( def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_2/schema.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_2/schema.py index 69c89420829..2c957953c1e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_2/schema.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_2/schema.py @@ -56,12 +56,12 @@ def DOLLAR(cls): def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_2/schema.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_2/schema.pyi index 39b54eed16f..ecb68992ffc 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_2/schema.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/parameter_2/schema.pyi @@ -46,12 +46,12 @@ class Schema( def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/request_body/application_x_www_form_urlencoded.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/request_body/application_x_www_form_urlencoded.py index d949071a879..cdb67c8e0c5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/request_body/application_x_www_form_urlencoded.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/request_body/application_x_www_form_urlencoded.py @@ -67,12 +67,12 @@ def DOLLAR(cls): def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'EnumFormStringArray': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/request_body/application_x_www_form_urlencoded.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/request_body/application_x_www_form_urlencoded.pyi index 06101a2f117..f491705e0e9 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/request_body/application_x_www_form_urlencoded.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/request_body/application_x_www_form_urlencoded.pyi @@ -56,12 +56,12 @@ class ApplicationXWwwFormUrlencoded( def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'EnumFormStringArray': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_0/schema.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_0/schema.py index 876decfeb6d..a35e06d2539 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_0/schema.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_0/schema.py @@ -34,12 +34,12 @@ class Schema_: def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_0/schema.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_0/schema.pyi index 876decfeb6d..a35e06d2539 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_0/schema.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_0/schema.pyi @@ -34,12 +34,12 @@ class Schema( def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_1/schema.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_1/schema.py index 876decfeb6d..a35e06d2539 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_1/schema.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_1/schema.py @@ -34,12 +34,12 @@ class Schema_: def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_1/schema.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_1/schema.pyi index 876decfeb6d..a35e06d2539 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_1/schema.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_1/schema.pyi @@ -34,12 +34,12 @@ class Schema( def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_2/schema.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_2/schema.py index 876decfeb6d..a35e06d2539 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_2/schema.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_2/schema.py @@ -34,12 +34,12 @@ class Schema_: def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_2/schema.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_2/schema.pyi index 876decfeb6d..a35e06d2539 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_2/schema.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_2/schema.pyi @@ -34,12 +34,12 @@ class Schema( def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_3/schema.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_3/schema.py index 876decfeb6d..a35e06d2539 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_3/schema.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_3/schema.py @@ -34,12 +34,12 @@ class Schema_: def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_3/schema.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_3/schema.pyi index 876decfeb6d..a35e06d2539 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_3/schema.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_3/schema.pyi @@ -34,12 +34,12 @@ class Schema( def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_4/schema.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_4/schema.py index 876decfeb6d..a35e06d2539 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_4/schema.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_4/schema.py @@ -34,12 +34,12 @@ class Schema_: def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_4/schema.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_4/schema.pyi index 876decfeb6d..a35e06d2539 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_4/schema.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_4/schema.pyi @@ -34,12 +34,12 @@ class Schema( def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_files/post/request_body/multipart_form_data.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_files/post/request_body/multipart_form_data.py index c49995f0c54..c6ea348a490 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_files/post/request_body/multipart_form_data.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_files/post/request_body/multipart_form_data.py @@ -45,12 +45,12 @@ class Schema_: def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, bytes, io.FileIO, io.BufferedReader, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, bytes, io.FileIO, io.BufferedReader, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Files': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_files/post/request_body/multipart_form_data.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_files/post/request_body/multipart_form_data.pyi index 19b2d8e127e..09feda64d89 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_files/post/request_body/multipart_form_data.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_files/post/request_body/multipart_form_data.pyi @@ -44,12 +44,12 @@ class MultipartFormData( def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, bytes, io.FileIO, io.BufferedReader, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, bytes, io.FileIO, io.BufferedReader, ]], typing.List[typing.Union[Schema_.Items, bytes, io.FileIO, io.BufferedReader, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Files': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/parameter_0/schema.py b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/parameter_0/schema.py index 5b1e4c0b04b..e6214a5bf77 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/parameter_0/schema.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/parameter_0/schema.py @@ -61,12 +61,12 @@ def SOLD(cls): def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/parameter_0/schema.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/parameter_0/schema.pyi index bfd9f850d57..54eca73a580 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/parameter_0/schema.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/parameter_0/schema.pyi @@ -50,12 +50,12 @@ class Schema( def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/response_for_200/application_json.py b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/response_for_200/application_json.py index d9903c834d9..d5323927bd9 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/response_for_200/application_json.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/response_for_200/application_json.py @@ -37,12 +37,12 @@ def items() -> typing.Type['pet.Pet']: def __new__( cls, - _arg: typing.Union[typing.Tuple['pet.Pet'], typing.List['pet.Pet']], + arg_: typing.Union[typing.Tuple['pet.Pet'], typing.List['pet.Pet']], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ApplicationJson': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/response_for_200/application_json.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/response_for_200/application_json.pyi index d9903c834d9..d5323927bd9 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/response_for_200/application_json.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/response_for_200/application_json.pyi @@ -37,12 +37,12 @@ class ApplicationJson( def __new__( cls, - _arg: typing.Union[typing.Tuple['pet.Pet'], typing.List['pet.Pet']], + arg_: typing.Union[typing.Tuple['pet.Pet'], typing.List['pet.Pet']], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ApplicationJson': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/response_for_200/application_xml.py b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/response_for_200/application_xml.py index ca4a727ddba..0248977eea8 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/response_for_200/application_xml.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/response_for_200/application_xml.py @@ -37,12 +37,12 @@ def items() -> typing.Type['pet.Pet']: def __new__( cls, - _arg: typing.Union[typing.Tuple['pet.Pet'], typing.List['pet.Pet']], + arg_: typing.Union[typing.Tuple['pet.Pet'], typing.List['pet.Pet']], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ApplicationXml': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/response_for_200/application_xml.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/response_for_200/application_xml.pyi index ca4a727ddba..0248977eea8 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/response_for_200/application_xml.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/response_for_200/application_xml.pyi @@ -37,12 +37,12 @@ class ApplicationXml( def __new__( cls, - _arg: typing.Union[typing.Tuple['pet.Pet'], typing.List['pet.Pet']], + arg_: typing.Union[typing.Tuple['pet.Pet'], typing.List['pet.Pet']], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ApplicationXml': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/parameter_0/schema.py b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/parameter_0/schema.py index 876decfeb6d..a35e06d2539 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/parameter_0/schema.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/parameter_0/schema.py @@ -34,12 +34,12 @@ class Schema_: def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/parameter_0/schema.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/parameter_0/schema.pyi index 876decfeb6d..a35e06d2539 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/parameter_0/schema.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/parameter_0/schema.pyi @@ -34,12 +34,12 @@ class Schema( def __new__( cls, - _arg: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], + arg_: typing.Union[typing.Tuple[typing.Union[Schema_.Items, str, ]], typing.List[typing.Union[Schema_.Items, str, ]]], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'Schema': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/response_for_200/application_json.py b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/response_for_200/application_json.py index d9903c834d9..d5323927bd9 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/response_for_200/application_json.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/response_for_200/application_json.py @@ -37,12 +37,12 @@ def items() -> typing.Type['pet.Pet']: def __new__( cls, - _arg: typing.Union[typing.Tuple['pet.Pet'], typing.List['pet.Pet']], + arg_: typing.Union[typing.Tuple['pet.Pet'], typing.List['pet.Pet']], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ApplicationJson': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/response_for_200/application_json.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/response_for_200/application_json.pyi index d9903c834d9..d5323927bd9 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/response_for_200/application_json.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/response_for_200/application_json.pyi @@ -37,12 +37,12 @@ class ApplicationJson( def __new__( cls, - _arg: typing.Union[typing.Tuple['pet.Pet'], typing.List['pet.Pet']], + arg_: typing.Union[typing.Tuple['pet.Pet'], typing.List['pet.Pet']], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ApplicationJson': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/response_for_200/application_xml.py b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/response_for_200/application_xml.py index ca4a727ddba..0248977eea8 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/response_for_200/application_xml.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/response_for_200/application_xml.py @@ -37,12 +37,12 @@ def items() -> typing.Type['pet.Pet']: def __new__( cls, - _arg: typing.Union[typing.Tuple['pet.Pet'], typing.List['pet.Pet']], + arg_: typing.Union[typing.Tuple['pet.Pet'], typing.List['pet.Pet']], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ApplicationXml': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/response_for_200/application_xml.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/response_for_200/application_xml.pyi index ca4a727ddba..0248977eea8 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/response_for_200/application_xml.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/response_for_200/application_xml.pyi @@ -37,12 +37,12 @@ class ApplicationXml( def __new__( cls, - _arg: typing.Union[typing.Tuple['pet.Pet'], typing.List['pet.Pet']], + arg_: typing.Union[typing.Tuple['pet.Pet'], typing.List['pet.Pet']], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ApplicationXml': return super().__new__( cls, - _arg, + arg_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/schemas.py b/samples/openapi3/client/petstore/python/petstore_api/schemas.py index 2df8681ebc6..799837276f4 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/schemas.py +++ b/samples/openapi3/client/petstore/python/petstore_api/schemas.py @@ -46,17 +46,17 @@ class FileIO(io.FileIO): Note: this class is not immutable """ - def __new__(cls, _arg: typing.Union[io.FileIO, io.BufferedReader]): - if isinstance(_arg, (io.FileIO, io.BufferedReader)): - if _arg.closed: + def __new__(cls, arg_: typing.Union[io.FileIO, io.BufferedReader]): + if isinstance(arg_, (io.FileIO, io.BufferedReader)): + if arg_.closed: raise exceptions.ApiValueError('Invalid file state; file is closed and must be open') - _arg.close() - inst = super(FileIO, cls).__new__(cls, _arg.name) - super(FileIO, inst).__init__(_arg.name) + arg_.close() + inst = super(FileIO, cls).__new__(cls, arg_.name) + super(FileIO, inst).__init__(arg_.name) return inst - raise exceptions.ApiValueError('FileIO must be passed _arg which contains the open file') + raise exceptions.ApiValueError('FileIO must be passed arg_ which contains the open file') - def __init__(self, _arg: typing.Union[io.FileIO, io.BufferedReader]): + def __init__(self, arg_: typing.Union[io.FileIO, io.BufferedReader]): pass @@ -150,11 +150,11 @@ def add_deeper_validated_schemas(validation_metadata: ValidationMetadata, path_t class Singleton: """ Enums and singletons are the same - The same instance is returned for a given key of (cls, _arg) + The same instance is returned for a given key of (cls, arg_) """ _instances = {} - def __new__(cls, _arg: typing.Any, **kwargs): + def __new__(cls, arg_: typing.Any, **kwargs): """ cls base classes: BoolClass, NoneClass, str, decimal.Decimal The 3rd key is used in the tuple below for a corner case where an enum contains integer 1 @@ -162,15 +162,15 @@ def __new__(cls, _arg: typing.Any, **kwargs): Decimal('1.0') == Decimal('1') But if we omitted the 3rd value in the key, then Decimal('1.0') would be stored as Decimal('1') and json serializing that instance would be '1' rather than the expected '1.0' - Adding the 3rd value, the str of _arg ensures that 1.0 -> Decimal('1.0') which is serialized as 1.0 + Adding the 3rd value, the str of arg_ ensures that 1.0 -> Decimal('1.0') which is serialized as 1.0 """ - key = (cls, _arg, str(_arg)) + key = (cls, arg_, str(arg_)) if key not in cls._instances: - if isinstance(_arg, (none_type, bool, BoolClass, NoneClass)): + if isinstance(arg_, (none_type, bool, BoolClass, NoneClass)): inst = super().__new__(cls) cls._instances[key] = inst else: - cls._instances[key] = super().__new__(cls, _arg) + cls._instances[key] = super().__new__(cls, arg_) return cls._instances[key] def __repr__(self): @@ -2092,8 +2092,8 @@ class Schema_: def from_openapi_data_(cls, arg: typing.List[typing.Any], configuration_: typing.Optional[configuration_module.Configuration] = None): return super().from_openapi_data_(arg, configuration_=configuration_) - def __new__(cls, _arg: typing.Union[typing.List[typing.Any], typing.Tuple[typing.Any]], **kwargs: configuration_module.Configuration): - return super().__new__(cls, _arg, **kwargs) + def __new__(cls, arg_: typing.Union[typing.List[typing.Any], typing.Tuple[typing.Any]], **kwargs: configuration_module.Configuration): + return super().__new__(cls, arg_, **kwargs) class NoneSchema( @@ -2108,8 +2108,8 @@ class Schema_: def from_openapi_data_(cls, arg: None, configuration_: typing.Optional[configuration_module.Configuration] = None): return super().from_openapi_data_(arg, configuration_=configuration_) - def __new__(cls, _arg: None, **kwargs: configuration_module.Configuration): - return super().__new__(cls, _arg, **kwargs) + def __new__(cls, arg_: None, **kwargs: configuration_module.Configuration): + return super().__new__(cls, arg_, **kwargs) class NumberSchema( @@ -2128,8 +2128,8 @@ class Schema_: def from_openapi_data_(cls, arg: typing.Union[int, float], configuration_: typing.Optional[configuration_module.Configuration] = None): return super().from_openapi_data_(arg, configuration_=configuration_) - def __new__(cls, _arg: typing.Union[decimal.Decimal, int, float], **kwargs: configuration_module.Configuration): - return super().__new__(cls, _arg, **kwargs) + def __new__(cls, arg_: typing.Union[decimal.Decimal, int, float], **kwargs: configuration_module.Configuration): + return super().__new__(cls, arg_, **kwargs) class IntBase: @@ -2151,8 +2151,8 @@ class Schema_: def from_openapi_data_(cls, arg: int, configuration_: typing.Optional[configuration_module.Configuration] = None): return super().from_openapi_data_(arg, configuration_=configuration_) - def __new__(cls, _arg: typing.Union[decimal.Decimal, int], **kwargs: configuration_module.Configuration): - return super().__new__(cls, _arg, **kwargs) + def __new__(cls, arg_: typing.Union[decimal.Decimal, int], **kwargs: configuration_module.Configuration): + return super().__new__(cls, arg_, **kwargs) class Int32Schema( @@ -2213,8 +2213,8 @@ class Schema_: def from_openapi_data_(cls, arg: str, configuration_: typing.Optional[configuration_module.Configuration] = None) -> 'StrSchema': return super().from_openapi_data_(arg, configuration_=configuration_) - def __new__(cls, _arg: typing.Union[str, datetime.date, datetime.datetime, uuid.UUID], **kwargs: configuration_module.Configuration): - return super().__new__(cls, _arg, **kwargs) + def __new__(cls, arg_: typing.Union[str, datetime.date, datetime.datetime, uuid.UUID], **kwargs: configuration_module.Configuration): + return super().__new__(cls, arg_, **kwargs) class UUIDSchema(UUIDBase, StrSchema): @@ -2222,8 +2222,8 @@ class Schema_: types = {str} format = 'uuid' - def __new__(cls, _arg: typing.Union[str, uuid.UUID], **kwargs: configuration_module.Configuration): - return super().__new__(cls, _arg, **kwargs) + def __new__(cls, arg_: typing.Union[str, uuid.UUID], **kwargs: configuration_module.Configuration): + return super().__new__(cls, arg_, **kwargs) class DateSchema(DateBase, StrSchema): @@ -2231,8 +2231,8 @@ class Schema_: types = {str} format = 'date' - def __new__(cls, _arg: typing.Union[str, datetime.date], **kwargs: configuration_module.Configuration): - return super().__new__(cls, _arg, **kwargs) + def __new__(cls, arg_: typing.Union[str, datetime.date], **kwargs: configuration_module.Configuration): + return super().__new__(cls, arg_, **kwargs) class DateTimeSchema(DateTimeBase, StrSchema): @@ -2240,8 +2240,8 @@ class Schema_: types = {str} format = 'date-time' - def __new__(cls, _arg: typing.Union[str, datetime.datetime], **kwargs: configuration_module.Configuration): - return super().__new__(cls, _arg, **kwargs) + def __new__(cls, arg_: typing.Union[str, datetime.datetime], **kwargs: configuration_module.Configuration): + return super().__new__(cls, arg_, **kwargs) class DecimalSchema(DecimalBase, StrSchema): @@ -2249,7 +2249,7 @@ class Schema_: types = {str} format = 'number' - def __new__(cls, _arg: str, **kwargs: configuration_module.Configuration): + def __new__(cls, arg_: str, **kwargs: configuration_module.Configuration): """ Note: Decimals may not be passed in because cast_to_allowed_types is only invoked once for payloads which can be simple (str) or complex (dicts or lists with nested values) @@ -2258,7 +2258,7 @@ def __new__(cls, _arg: str, **kwargs: configuration_module.Configuration): if one was using it for a StrSchema (where it should be cast to str) or one is using it for NumberSchema where it should stay as Decimal. """ - return super().__new__(cls, _arg, **kwargs) + return super().__new__(cls, arg_, **kwargs) class BytesSchema( @@ -2271,8 +2271,8 @@ class BytesSchema( class Schema_: types = {bytes} - def __new__(cls, _arg: bytes, **kwargs: configuration_module.Configuration): - return super(Schema, cls).__new__(cls, _arg) + def __new__(cls, arg_: bytes, **kwargs: configuration_module.Configuration): + return super(Schema, cls).__new__(cls, arg_) class FileSchema( @@ -2298,8 +2298,8 @@ class FileSchema( class Schema_: types = {FileIO} - def __new__(cls, _arg: typing.Union[io.FileIO, io.BufferedReader], **kwargs: configuration_module.Configuration): - return super(Schema, cls).__new__(cls, _arg) + def __new__(cls, arg_: typing.Union[io.FileIO, io.BufferedReader], **kwargs: configuration_module.Configuration): + return super(Schema, cls).__new__(cls, arg_) class BinarySchema( @@ -2316,8 +2316,8 @@ class OneOf: FileSchema, ] - def __new__(cls, _arg: typing.Union[io.FileIO, io.BufferedReader, bytes], **kwargs: configuration_module.Configuration): - return super().__new__(cls, _arg) + def __new__(cls, arg_: typing.Union[io.FileIO, io.BufferedReader, bytes], **kwargs: configuration_module.Configuration): + return super().__new__(cls, arg_) class BoolSchema( @@ -2332,8 +2332,8 @@ class Schema_: def from_openapi_data_(cls, arg: bool, configuration_: typing.Optional[configuration_module.Configuration] = None): return super().from_openapi_data_(arg, configuration_=configuration_) - def __new__(cls, _arg: bool, **kwargs: ValidationMetadata): - return super().__new__(cls, _arg, **kwargs) + def __new__(cls, arg_: bool, **kwargs: ValidationMetadata): + return super().__new__(cls, arg_, **kwargs) class AnyTypeSchema( From 6d45597b12c9b0cf7d2613ab875eac1d01eceb65 Mon Sep 17 00:00:00 2001 From: Justin Black Date: Fri, 30 Dec 2022 09:15:29 -0800 Subject: [PATCH 28/29] _args -> args_ --- .../python/model_templates/new.handlebars | 8 +-- .../main/resources/python/schemas.handlebars | 22 +++--- .../unit_test_api/components/schema/_not.py | 4 +- .../unit_test_api/components/schema/_not.pyi | 4 +- ...s_allows_a_schema_which_should_validate.py | 4 +- ..._allows_a_schema_which_should_validate.pyi | 4 +- ...tionalproperties_are_allowed_by_default.py | 4 +- ...ionalproperties_are_allowed_by_default.pyi | 4 +- ...dditionalproperties_can_exist_by_itself.py | 4 +- ...ditionalproperties_can_exist_by_itself.pyi | 4 +- ...operties_should_not_look_in_applicators.py | 8 +-- ...perties_should_not_look_in_applicators.pyi | 8 +-- .../unit_test_api/components/schema/allof.py | 12 ++-- .../unit_test_api/components/schema/allof.pyi | 12 ++-- .../schema/allof_combined_with_anyof_oneof.py | 16 ++--- .../allof_combined_with_anyof_oneof.pyi | 16 ++--- .../components/schema/allof_simple_types.py | 12 ++-- .../components/schema/allof_simple_types.pyi | 12 ++-- .../schema/allof_with_base_schema.py | 12 ++-- .../schema/allof_with_base_schema.pyi | 12 ++-- .../schema/allof_with_one_empty_schema.py | 4 +- .../schema/allof_with_one_empty_schema.pyi | 4 +- .../allof_with_the_first_empty_schema.py | 4 +- .../allof_with_the_first_empty_schema.pyi | 4 +- .../allof_with_the_last_empty_schema.py | 4 +- .../allof_with_the_last_empty_schema.pyi | 4 +- .../schema/allof_with_two_empty_schemas.py | 4 +- .../schema/allof_with_two_empty_schemas.pyi | 4 +- .../unit_test_api/components/schema/anyof.py | 8 +-- .../unit_test_api/components/schema/anyof.pyi | 8 +-- .../components/schema/anyof_complex_types.py | 12 ++-- .../components/schema/anyof_complex_types.pyi | 12 ++-- .../schema/anyof_with_base_schema.py | 12 ++-- .../schema/anyof_with_base_schema.pyi | 12 ++-- .../schema/anyof_with_one_empty_schema.py | 4 +- .../schema/anyof_with_one_empty_schema.pyi | 4 +- .../unit_test_api/components/schema/by_int.py | 4 +- .../components/schema/by_int.pyi | 4 +- .../components/schema/by_number.py | 4 +- .../components/schema/by_number.pyi | 4 +- .../components/schema/by_small_number.py | 4 +- .../components/schema/by_small_number.pyi | 4 +- .../components/schema/date_time_format.py | 4 +- .../components/schema/date_time_format.pyi | 4 +- .../components/schema/email_format.py | 4 +- .../components/schema/email_format.pyi | 4 +- .../components/schema/enums_in_properties.py | 4 +- .../components/schema/enums_in_properties.pyi | 4 +- .../components/schema/forbidden_property.py | 4 +- .../components/schema/forbidden_property.pyi | 4 +- .../components/schema/hostname_format.py | 4 +- .../components/schema/hostname_format.pyi | 4 +- .../invalid_string_value_for_default.py | 4 +- .../invalid_string_value_for_default.pyi | 4 +- .../components/schema/ipv4_format.py | 4 +- .../components/schema/ipv4_format.pyi | 4 +- .../components/schema/ipv6_format.py | 4 +- .../components/schema/ipv6_format.pyi | 4 +- .../components/schema/json_pointer_format.py | 4 +- .../components/schema/json_pointer_format.pyi | 4 +- .../components/schema/maximum_validation.py | 4 +- .../components/schema/maximum_validation.pyi | 4 +- ...aximum_validation_with_unsigned_integer.py | 4 +- ...ximum_validation_with_unsigned_integer.pyi | 4 +- .../components/schema/maxitems_validation.py | 4 +- .../components/schema/maxitems_validation.pyi | 4 +- .../components/schema/maxlength_validation.py | 4 +- .../schema/maxlength_validation.pyi | 4 +- ...axproperties0_means_the_object_is_empty.py | 4 +- ...xproperties0_means_the_object_is_empty.pyi | 4 +- .../schema/maxproperties_validation.py | 4 +- .../schema/maxproperties_validation.pyi | 4 +- .../components/schema/minimum_validation.py | 4 +- .../components/schema/minimum_validation.pyi | 4 +- .../minimum_validation_with_signed_integer.py | 4 +- ...minimum_validation_with_signed_integer.pyi | 4 +- .../components/schema/minitems_validation.py | 4 +- .../components/schema/minitems_validation.pyi | 4 +- .../components/schema/minlength_validation.py | 4 +- .../schema/minlength_validation.pyi | 4 +- .../schema/minproperties_validation.py | 4 +- .../schema/minproperties_validation.pyi | 4 +- ...ted_allof_to_check_validation_semantics.py | 8 +-- ...ed_allof_to_check_validation_semantics.pyi | 8 +-- ...ted_anyof_to_check_validation_semantics.py | 8 +-- ...ed_anyof_to_check_validation_semantics.pyi | 8 +-- ...ted_oneof_to_check_validation_semantics.py | 8 +-- ...ed_oneof_to_check_validation_semantics.pyi | 8 +-- .../schema/not_more_complex_schema.py | 8 +-- .../schema/not_more_complex_schema.pyi | 8 +-- .../schema/object_properties_validation.py | 4 +- .../schema/object_properties_validation.pyi | 4 +- .../unit_test_api/components/schema/oneof.py | 8 +-- .../unit_test_api/components/schema/oneof.pyi | 8 +-- .../components/schema/oneof_complex_types.py | 12 ++-- .../components/schema/oneof_complex_types.pyi | 12 ++-- .../schema/oneof_with_base_schema.py | 12 ++-- .../schema/oneof_with_base_schema.pyi | 12 ++-- .../schema/oneof_with_empty_schema.py | 4 +- .../schema/oneof_with_empty_schema.pyi | 4 +- .../components/schema/oneof_with_required.py | 12 ++-- .../components/schema/oneof_with_required.pyi | 12 ++-- .../schema/pattern_is_not_anchored.py | 4 +- .../schema/pattern_is_not_anchored.pyi | 4 +- .../components/schema/pattern_validation.py | 4 +- .../components/schema/pattern_validation.pyi | 4 +- .../properties_with_escaped_characters.py | 4 +- .../properties_with_escaped_characters.pyi | 4 +- ...perty_named_ref_that_is_not_a_reference.py | 4 +- ...erty_named_ref_that_is_not_a_reference.pyi | 4 +- .../schema/ref_in_additionalproperties.py | 4 +- .../schema/ref_in_additionalproperties.pyi | 4 +- .../components/schema/ref_in_allof.py | 4 +- .../components/schema/ref_in_allof.pyi | 4 +- .../components/schema/ref_in_anyof.py | 4 +- .../components/schema/ref_in_anyof.pyi | 4 +- .../components/schema/ref_in_not.py | 4 +- .../components/schema/ref_in_not.pyi | 4 +- .../components/schema/ref_in_oneof.py | 4 +- .../components/schema/ref_in_oneof.pyi | 4 +- .../components/schema/ref_in_property.py | 4 +- .../components/schema/ref_in_property.pyi | 4 +- .../schema/required_default_validation.py | 4 +- .../schema/required_default_validation.pyi | 4 +- .../components/schema/required_validation.py | 4 +- .../components/schema/required_validation.pyi | 4 +- .../schema/required_with_empty_array.py | 4 +- .../schema/required_with_empty_array.pyi | 4 +- .../required_with_escaped_characters.py | 4 +- .../required_with_escaped_characters.pyi | 4 +- ..._do_anything_if_the_property_is_missing.py | 4 +- ...do_anything_if_the_property_is_missing.pyi | 4 +- .../schema/uniqueitems_false_validation.py | 4 +- .../schema/uniqueitems_false_validation.pyi | 4 +- .../schema/uniqueitems_validation.py | 4 +- .../schema/uniqueitems_validation.pyi | 4 +- .../components/schema/uri_format.py | 4 +- .../components/schema/uri_format.pyi | 4 +- .../components/schema/uri_reference_format.py | 4 +- .../schema/uri_reference_format.pyi | 4 +- .../components/schema/uri_template_format.py | 4 +- .../components/schema/uri_template_format.pyi | 4 +- .../python/unit_test_api/schemas.py | 22 +++--- .../components/schema/addition_operator.py | 4 +- .../components/schema/addition_operator.pyi | 4 +- .../components/schema/operator.py | 4 +- .../components/schema/operator.pyi | 4 +- .../components/schema/subtraction_operator.py | 4 +- .../schema/subtraction_operator.pyi | 4 +- .../python/this_package/schemas.py | 22 +++--- .../application_json.py | 4 +- .../application_json.pyi | 4 +- .../components/schema/_200_response.py | 4 +- .../components/schema/_200_response.pyi | 4 +- .../petstore_api/components/schema/_return.py | 4 +- .../components/schema/_return.pyi | 4 +- .../schema/abstract_step_message.py | 4 +- .../schema/abstract_step_message.pyi | 4 +- .../schema/additional_properties_class.py | 28 ++++---- .../schema/additional_properties_class.pyi | 28 ++++---- .../schema/additional_properties_validator.py | 24 +++---- .../additional_properties_validator.pyi | 24 +++---- ...ditional_properties_with_array_of_enums.py | 4 +- ...itional_properties_with_array_of_enums.pyi | 4 +- .../petstore_api/components/schema/address.py | 4 +- .../components/schema/address.pyi | 4 +- .../petstore_api/components/schema/animal.py | 4 +- .../petstore_api/components/schema/animal.pyi | 4 +- .../components/schema/any_type_and_format.py | 40 +++++------ .../components/schema/any_type_and_format.pyi | 40 +++++------ .../components/schema/any_type_not_string.py | 4 +- .../components/schema/any_type_not_string.pyi | 4 +- .../components/schema/api_response.py | 4 +- .../components/schema/api_response.pyi | 4 +- .../petstore_api/components/schema/apple.py | 4 +- .../petstore_api/components/schema/apple.pyi | 4 +- .../components/schema/apple_req.py | 4 +- .../components/schema/apple_req.pyi | 4 +- .../schema/array_of_array_of_number_only.py | 4 +- .../schema/array_of_array_of_number_only.pyi | 4 +- .../components/schema/array_of_number_only.py | 4 +- .../schema/array_of_number_only.pyi | 4 +- .../components/schema/array_test.py | 4 +- .../components/schema/array_test.pyi | 4 +- .../petstore_api/components/schema/banana.py | 4 +- .../petstore_api/components/schema/banana.pyi | 4 +- .../components/schema/banana_req.py | 4 +- .../components/schema/banana_req.pyi | 4 +- .../components/schema/basque_pig.py | 4 +- .../components/schema/basque_pig.pyi | 4 +- .../components/schema/capitalization.py | 4 +- .../components/schema/capitalization.pyi | 4 +- .../petstore_api/components/schema/cat.py | 8 +-- .../petstore_api/components/schema/cat.pyi | 8 +-- .../components/schema/category.py | 4 +- .../components/schema/category.pyi | 4 +- .../components/schema/child_cat.py | 8 +-- .../components/schema/child_cat.pyi | 8 +-- .../components/schema/class_model.py | 4 +- .../components/schema/class_model.pyi | 4 +- .../petstore_api/components/schema/client.py | 4 +- .../petstore_api/components/schema/client.pyi | 4 +- .../schema/complex_quadrilateral.py | 8 +-- .../schema/complex_quadrilateral.pyi | 8 +-- ...d_any_of_different_types_no_validations.py | 4 +- ..._any_of_different_types_no_validations.pyi | 4 +- .../components/schema/composed_bool.py | 4 +- .../components/schema/composed_bool.pyi | 4 +- .../components/schema/composed_none.py | 4 +- .../components/schema/composed_none.pyi | 4 +- .../components/schema/composed_number.py | 4 +- .../components/schema/composed_number.pyi | 4 +- .../components/schema/composed_object.py | 4 +- .../components/schema/composed_object.pyi | 4 +- .../schema/composed_one_of_different_types.py | 8 +-- .../composed_one_of_different_types.pyi | 8 +-- .../components/schema/composed_string.py | 4 +- .../components/schema/composed_string.pyi | 4 +- .../components/schema/danish_pig.py | 4 +- .../components/schema/danish_pig.pyi | 4 +- .../petstore_api/components/schema/dog.py | 8 +-- .../petstore_api/components/schema/dog.pyi | 8 +-- .../petstore_api/components/schema/drawing.py | 4 +- .../components/schema/drawing.pyi | 4 +- .../components/schema/enum_arrays.py | 4 +- .../components/schema/enum_arrays.pyi | 4 +- .../components/schema/enum_test.py | 4 +- .../components/schema/enum_test.pyi | 4 +- .../components/schema/equilateral_triangle.py | 8 +-- .../schema/equilateral_triangle.pyi | 8 +-- .../petstore_api/components/schema/file.py | 4 +- .../petstore_api/components/schema/file.pyi | 4 +- .../schema/file_schema_test_class.py | 4 +- .../schema/file_schema_test_class.pyi | 4 +- .../petstore_api/components/schema/foo.py | 4 +- .../petstore_api/components/schema/foo.pyi | 4 +- .../components/schema/format_test.py | 4 +- .../components/schema/format_test.pyi | 4 +- .../components/schema/from_schema.py | 4 +- .../components/schema/from_schema.pyi | 4 +- .../petstore_api/components/schema/fruit.py | 4 +- .../petstore_api/components/schema/fruit.pyi | 4 +- .../components/schema/fruit_req.py | 4 +- .../components/schema/fruit_req.pyi | 4 +- .../components/schema/gm_fruit.py | 4 +- .../components/schema/gm_fruit.pyi | 4 +- .../components/schema/grandparent_animal.py | 4 +- .../components/schema/grandparent_animal.pyi | 4 +- .../components/schema/has_only_read_only.py | 4 +- .../components/schema/has_only_read_only.pyi | 4 +- .../components/schema/health_check_result.py | 8 +-- .../components/schema/health_check_result.pyi | 8 +-- .../components/schema/isosceles_triangle.py | 8 +-- .../components/schema/isosceles_triangle.pyi | 8 +-- .../components/schema/json_patch_request.py | 4 +- .../components/schema/json_patch_request.pyi | 4 +- .../json_patch_request_add_replace_test.py | 4 +- .../json_patch_request_add_replace_test.pyi | 4 +- .../schema/json_patch_request_move_copy.py | 4 +- .../schema/json_patch_request_move_copy.pyi | 4 +- .../schema/json_patch_request_remove.py | 4 +- .../schema/json_patch_request_remove.pyi | 4 +- .../petstore_api/components/schema/mammal.py | 4 +- .../petstore_api/components/schema/mammal.pyi | 4 +- .../components/schema/map_test.py | 20 +++--- .../components/schema/map_test.pyi | 20 +++--- ...perties_and_additional_properties_class.py | 8 +-- ...erties_and_additional_properties_class.pyi | 8 +-- .../petstore_api/components/schema/money.py | 4 +- .../petstore_api/components/schema/money.pyi | 4 +- .../petstore_api/components/schema/name.py | 4 +- .../petstore_api/components/schema/name.pyi | 4 +- .../schema/no_additional_properties.py | 4 +- .../schema/no_additional_properties.pyi | 4 +- .../components/schema/nullable_class.py | 68 +++++++++---------- .../components/schema/nullable_class.pyi | 68 +++++++++---------- .../components/schema/nullable_shape.py | 4 +- .../components/schema/nullable_shape.pyi | 4 +- .../components/schema/nullable_string.py | 4 +- .../components/schema/nullable_string.pyi | 4 +- .../components/schema/number_only.py | 4 +- .../components/schema/number_only.pyi | 4 +- ...ject_model_with_arg_and_args_properties.py | 4 +- ...ect_model_with_arg_and_args_properties.pyi | 4 +- .../schema/object_model_with_ref_props.py | 4 +- .../schema/object_model_with_ref_props.pyi | 4 +- ..._with_req_test_prop_from_unset_add_prop.py | 8 +-- ...with_req_test_prop_from_unset_add_prop.pyi | 8 +-- .../schema/object_with_decimal_properties.py | 4 +- .../schema/object_with_decimal_properties.pyi | 4 +- .../object_with_difficultly_named_props.py | 4 +- .../object_with_difficultly_named_props.pyi | 4 +- ...object_with_inline_composition_property.py | 8 +-- ...bject_with_inline_composition_property.pyi | 8 +-- ...ect_with_invalid_named_refed_properties.py | 4 +- ...ct_with_invalid_named_refed_properties.pyi | 4 +- .../schema/object_with_optional_test_prop.py | 4 +- .../schema/object_with_optional_test_prop.pyi | 4 +- .../schema/object_with_validations.py | 4 +- .../schema/object_with_validations.pyi | 4 +- .../petstore_api/components/schema/order.py | 4 +- .../petstore_api/components/schema/order.pyi | 4 +- .../components/schema/parent_pet.py | 4 +- .../components/schema/parent_pet.pyi | 4 +- .../petstore_api/components/schema/pet.py | 4 +- .../petstore_api/components/schema/pet.pyi | 4 +- .../petstore_api/components/schema/pig.py | 4 +- .../petstore_api/components/schema/pig.pyi | 4 +- .../petstore_api/components/schema/player.py | 4 +- .../petstore_api/components/schema/player.pyi | 4 +- .../components/schema/quadrilateral.py | 4 +- .../components/schema/quadrilateral.pyi | 4 +- .../schema/quadrilateral_interface.py | 4 +- .../schema/quadrilateral_interface.pyi | 4 +- .../components/schema/read_only_first.py | 4 +- .../components/schema/read_only_first.pyi | 4 +- .../req_props_from_explicit_add_props.py | 4 +- .../req_props_from_explicit_add_props.pyi | 4 +- .../schema/req_props_from_true_add_props.py | 4 +- .../schema/req_props_from_true_add_props.pyi | 4 +- .../schema/req_props_from_unset_add_props.py | 4 +- .../schema/req_props_from_unset_add_props.pyi | 4 +- .../components/schema/scalene_triangle.py | 8 +-- .../components/schema/scalene_triangle.pyi | 8 +-- .../schema/self_referencing_object_model.py | 4 +- .../schema/self_referencing_object_model.pyi | 4 +- .../petstore_api/components/schema/shape.py | 4 +- .../petstore_api/components/schema/shape.pyi | 4 +- .../components/schema/shape_or_null.py | 4 +- .../components/schema/shape_or_null.pyi | 4 +- .../components/schema/simple_quadrilateral.py | 8 +-- .../schema/simple_quadrilateral.pyi | 8 +-- .../components/schema/some_object.py | 4 +- .../components/schema/some_object.pyi | 4 +- .../components/schema/special_model_name.py | 4 +- .../components/schema/special_model_name.pyi | 4 +- .../components/schema/string_boolean_map.py | 4 +- .../components/schema/string_boolean_map.pyi | 4 +- .../components/schema/string_enum.py | 4 +- .../components/schema/string_enum.pyi | 4 +- .../petstore_api/components/schema/tag.py | 4 +- .../petstore_api/components/schema/tag.pyi | 4 +- .../components/schema/triangle.py | 4 +- .../components/schema/triangle.pyi | 4 +- .../components/schema/triangle_interface.py | 4 +- .../components/schema/triangle_interface.pyi | 4 +- .../petstore_api/components/schema/user.py | 12 ++-- .../petstore_api/components/schema/user.pyi | 12 ++-- .../petstore_api/components/schema/whale.py | 4 +- .../petstore_api/components/schema/whale.pyi | 4 +- .../petstore_api/components/schema/zebra.py | 4 +- .../petstore_api/components/schema/zebra.pyi | 4 +- .../application_x_www_form_urlencoded.py | 4 +- .../application_x_www_form_urlencoded.pyi | 4 +- .../application_x_www_form_urlencoded.py | 4 +- .../application_x_www_form_urlencoded.pyi | 4 +- .../post/request_body/application_json.py | 4 +- .../post/request_body/application_json.pyi | 4 +- .../post/parameter_0/schema.py | 4 +- .../post/parameter_0/schema.pyi | 4 +- .../post/parameter_1/schema.py | 8 +-- .../post/parameter_1/schema.pyi | 8 +-- .../post/request_body/application_json.py | 4 +- .../post/request_body/application_json.pyi | 4 +- .../post/request_body/multipart_form_data.py | 8 +-- .../post/request_body/multipart_form_data.pyi | 8 +-- .../post/response_for_200/application_json.py | 4 +- .../response_for_200/application_json.pyi | 4 +- .../response_for_200/multipart_form_data.py | 8 +-- .../response_for_200/multipart_form_data.pyi | 8 +-- .../application_x_www_form_urlencoded.py | 4 +- .../application_x_www_form_urlencoded.pyi | 4 +- .../get/parameter_0/schema.py | 4 +- .../get/parameter_0/schema.pyi | 4 +- .../post/request_body/multipart_form_data.py | 4 +- .../post/request_body/multipart_form_data.pyi | 4 +- .../post/request_body/multipart_form_data.py | 4 +- .../post/request_body/multipart_form_data.pyi | 4 +- .../post/request_body/multipart_form_data.py | 4 +- .../post/request_body/multipart_form_data.pyi | 4 +- .../response_for_default/application_json.py | 4 +- .../response_for_default/application_json.pyi | 4 +- .../application_x_www_form_urlencoded.py | 4 +- .../application_x_www_form_urlencoded.pyi | 4 +- .../post/request_body/multipart_form_data.py | 4 +- .../post/request_body/multipart_form_data.pyi | 4 +- .../petstore/python/petstore_api/schemas.py | 22 +++--- 387 files changed, 1148 insertions(+), 1148 deletions(-) diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/model_templates/new.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/model_templates/new.handlebars index 2cc00ce77a0..abc6fdbb693 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/model_templates/new.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/model_templates/new.handlebars @@ -1,12 +1,12 @@ def __new__( cls, {{#if getHasMultipleTypes}} - *_args: typing.Union[{{> model_templates/schema_python_types }}], + *args_: typing.Union[{{> model_templates/schema_python_types }}], {{else}} {{#if isArray }} arg_: typing.Union[typing.Tuple[{{#with items}}{{#if refClass}}'{{> refclass_with_module }}'{{else}}typing.Union[Schema_.{{name.getCamelCaseName}}, {{> model_templates/schema_python_types }}]{{/if}}{{/with}}], typing.List[{{#with items}}{{#if refClass}}'{{> refclass_with_module }}'{{else}}typing.Union[Schema_.{{name.getCamelCaseName}}, {{> model_templates/schema_python_types }}]{{/if}}{{/with}}]], {{else}} - *_args: typing.Union[{{> model_templates/schema_python_types }}], + *args_: typing.Union[{{> model_templates/schema_python_types }}], {{/if}} {{/if}} {{#unless isNull}} @@ -59,12 +59,12 @@ def __new__( return super().__new__( cls, {{#if getHasMultipleTypes}} - *_args, + *args_, {{else}} {{#if isArray }} arg_, {{else}} - *_args, + *args_, {{/if}} {{/if}} {{#unless isNull}} diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars index a9788f17ccf..4767c290a4c 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars @@ -1477,7 +1477,7 @@ class Schema: def __new__( cls, - *_args: typing.Union[ + *args_: typing.Union[ {{> types_all_incl_schema }} ], configuration_: typing.Optional[configuration_module.Configuration] = None, @@ -1490,7 +1490,7 @@ class Schema: Schema __new__ Args: - _args (int/float/decimal.Decimal/str/list/tuple/dict/frozendict.frozendict/bool/None): the value + args_ (int/float/decimal.Decimal/str/list/tuple/dict/frozendict.frozendict/bool/None): the value kwargs (str, int/float/decimal.Decimal/str/list/tuple/dict/frozendict.frozendict/bool/None): dict values configuration_: contains the configuration_module.Configuration that enables json schema validation keywords like minItems, minLength etc @@ -1499,14 +1499,14 @@ class Schema: are instance properties if they are named normally :( """ __kwargs = cls.__remove_unsets(kwargs) - if not _args and not __kwargs: + if not args_ and not __kwargs: raise TypeError( 'No input given. args or kwargs must be given.' ) - if not __kwargs and _args and not isinstance(_args[0], dict): - __arg = _args[0] + if not __kwargs and args_ and not isinstance(args_[0], dict): + __arg = args_[0] else: - __arg = cls.__get_input_dict(*_args, **__kwargs) + __arg = cls.__get_input_dict(*args_, **__kwargs) __from_server = False __validated_path_to_schemas = {} __path_to_type = {} @@ -1527,7 +1527,7 @@ class Schema: def __init__( self, - *_args: typing.Union[ + *args_: typing.Union[ dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, bool, None, 'Schema'], configuration_: typing.Optional[configuration_module.Configuration] = None, **kwargs: typing.Union[ @@ -2455,12 +2455,12 @@ class NotAnyTypeSchema(AnyTypeSchema): def __new__( cls, - *_args, + *args_, configuration_: typing.Optional[configuration_module.Configuration] = None, ) -> 'NotAnyTypeSchema': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, ) @@ -2477,8 +2477,8 @@ class DictSchema( def from_openapi_data_(cls, arg: typing.Dict[str, typing.Any], configuration_: typing.Optional[configuration_module.Configuration] = None): return super().from_openapi_data_(arg, configuration_=configuration_) - def __new__(cls, *_args: typing.Union[dict, frozendict.frozendict], **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, bool, None, bytes, Schema, Unset, ValidationMetadata]): - return super().__new__(cls, *_args, **kwargs) + def __new__(cls, *args_: typing.Union[dict, frozendict.frozendict], **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, bool, None, bytes, Schema, Unset, ValidationMetadata]): + return super().__new__(cls, *args_, **kwargs) schema_type_classes = {NoneSchema, DictSchema, ListSchema, NumberSchema, StrSchema, BoolSchema, AnyTypeSchema} diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/_not.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/_not.py index 484decdc5eb..dede6d3bf67 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/_not.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/_not.py @@ -40,13 +40,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_Not': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/_not.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/_not.pyi index 484decdc5eb..dede6d3bf67 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/_not.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/_not.pyi @@ -40,13 +40,13 @@ class _Not( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_Not': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_allows_a_schema_which_should_validate.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_allows_a_schema_which_should_validate.py index e2620f5d20d..2267ebefc0f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_allows_a_schema_which_should_validate.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_allows_a_schema_which_should_validate.py @@ -86,7 +86,7 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, bar: typing.Union[Schema_.Properties.Bar, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -94,7 +94,7 @@ def __new__( ) -> 'AdditionalpropertiesAllowsASchemaWhichShouldValidate': return super().__new__( cls, - *_args, + *args_, foo=foo, bar=bar, configuration_=configuration_, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_allows_a_schema_which_should_validate.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_allows_a_schema_which_should_validate.pyi index ef0c07afcaa..4ebc3ea9b34 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_allows_a_schema_which_should_validate.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_allows_a_schema_which_should_validate.pyi @@ -85,7 +85,7 @@ class AdditionalpropertiesAllowsASchemaWhichShouldValidate( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, bar: typing.Union[Schema_.Properties.Bar, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -93,7 +93,7 @@ class AdditionalpropertiesAllowsASchemaWhichShouldValidate( ) -> 'AdditionalpropertiesAllowsASchemaWhichShouldValidate': return super().__new__( cls, - *_args, + *args_, foo=foo, bar=bar, configuration_=configuration_, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_are_allowed_by_default.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_are_allowed_by_default.py index 03bf370cf78..022603b7f22 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_are_allowed_by_default.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_are_allowed_by_default.py @@ -86,7 +86,7 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, bar: typing.Union[Schema_.Properties.Bar, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -94,7 +94,7 @@ def __new__( ) -> 'AdditionalpropertiesAreAllowedByDefault': return super().__new__( cls, - *_args, + *args_, foo=foo, bar=bar, configuration_=configuration_, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_are_allowed_by_default.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_are_allowed_by_default.pyi index 03bf370cf78..022603b7f22 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_are_allowed_by_default.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_are_allowed_by_default.pyi @@ -86,7 +86,7 @@ class AdditionalpropertiesAreAllowedByDefault( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, bar: typing.Union[Schema_.Properties.Bar, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -94,7 +94,7 @@ class AdditionalpropertiesAreAllowedByDefault( ) -> 'AdditionalpropertiesAreAllowedByDefault': return super().__new__( cls, - *_args, + *args_, foo=foo, bar=bar, configuration_=configuration_, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_can_exist_by_itself.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_can_exist_by_itself.py index 14b24b9ce25..1ba24a5cc6c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_can_exist_by_itself.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_can_exist_by_itself.py @@ -46,13 +46,13 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, bool, ], ) -> 'AdditionalpropertiesCanExistByItself': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_can_exist_by_itself.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_can_exist_by_itself.pyi index dc348a0a2bb..fcde428c7cf 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_can_exist_by_itself.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_can_exist_by_itself.pyi @@ -45,13 +45,13 @@ class AdditionalpropertiesCanExistByItself( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, bool, ], ) -> 'AdditionalpropertiesCanExistByItself': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_should_not_look_in_applicators.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_should_not_look_in_applicators.py index eb02f7f7adc..7d13e50ae05 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_should_not_look_in_applicators.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_should_not_look_in_applicators.py @@ -88,14 +88,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf0': return super().__new__( cls, - *_args, + *args_, foo=foo, configuration_=configuration_, **kwargs, @@ -114,13 +114,13 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, bool, ], ) -> 'AdditionalpropertiesShouldNotLookInApplicators': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_should_not_look_in_applicators.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_should_not_look_in_applicators.pyi index eb02f7f7adc..7d13e50ae05 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_should_not_look_in_applicators.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/additionalproperties_should_not_look_in_applicators.pyi @@ -88,14 +88,14 @@ class AdditionalpropertiesShouldNotLookInApplicators( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf0': return super().__new__( cls, - *_args, + *args_, foo=foo, configuration_=configuration_, **kwargs, @@ -114,13 +114,13 @@ class AdditionalpropertiesShouldNotLookInApplicators( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, bool, ], ) -> 'AdditionalpropertiesShouldNotLookInApplicators': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof.py index 939cfdb95ca..0d31b42a6c5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof.py @@ -92,14 +92,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], bar: typing.Union[Schema_.Properties.Bar, decimal.Decimal, int, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf0': return super().__new__( cls, - *_args, + *args_, bar=bar, configuration_=configuration_, **kwargs, @@ -159,14 +159,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], foo: typing.Union[Schema_.Properties.Foo, str, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': return super().__new__( cls, - *_args, + *args_, foo=foo, configuration_=configuration_, **kwargs, @@ -179,13 +179,13 @@ def __new__( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Allof': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof.pyi index 939cfdb95ca..0d31b42a6c5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof.pyi @@ -92,14 +92,14 @@ class Allof( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], bar: typing.Union[Schema_.Properties.Bar, decimal.Decimal, int, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf0': return super().__new__( cls, - *_args, + *args_, bar=bar, configuration_=configuration_, **kwargs, @@ -159,14 +159,14 @@ class Allof( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], foo: typing.Union[Schema_.Properties.Foo, str, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': return super().__new__( cls, - *_args, + *args_, foo=foo, configuration_=configuration_, **kwargs, @@ -179,13 +179,13 @@ class Allof( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Allof': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_combined_with_anyof_oneof.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_combined_with_anyof_oneof.py index 7e4648077e4..04dc7d88010 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_combined_with_anyof_oneof.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_combined_with_anyof_oneof.py @@ -51,13 +51,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf0': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -80,13 +80,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneOf0': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -109,13 +109,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyOf0': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -126,13 +126,13 @@ def __new__( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllofCombinedWithAnyofOneof': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_combined_with_anyof_oneof.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_combined_with_anyof_oneof.pyi index 8b6cab89ddb..4918076ce90 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_combined_with_anyof_oneof.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_combined_with_anyof_oneof.pyi @@ -50,13 +50,13 @@ class AllofCombinedWithAnyofOneof( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf0': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -78,13 +78,13 @@ class AllofCombinedWithAnyofOneof( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneOf0': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -106,13 +106,13 @@ class AllofCombinedWithAnyofOneof( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyOf0': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -123,13 +123,13 @@ class AllofCombinedWithAnyofOneof( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllofCombinedWithAnyofOneof': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_simple_types.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_simple_types.py index 9db8c30f0d4..dbbcd4be98a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_simple_types.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_simple_types.py @@ -51,13 +51,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf0': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -75,13 +75,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -93,13 +93,13 @@ def __new__( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllofSimpleTypes': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_simple_types.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_simple_types.pyi index 71dbb4f2e8e..e3b90ca226b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_simple_types.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_simple_types.pyi @@ -50,13 +50,13 @@ class AllofSimpleTypes( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf0': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -73,13 +73,13 @@ class AllofSimpleTypes( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -91,13 +91,13 @@ class AllofSimpleTypes( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllofSimpleTypes': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_base_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_base_schema.py index 4e0e4fe5e14..5ea6f1761f8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_base_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_base_schema.py @@ -101,14 +101,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], foo: typing.Union[Schema_.Properties.Foo, str, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf0': return super().__new__( cls, - *_args, + *args_, foo=foo, configuration_=configuration_, **kwargs, @@ -168,14 +168,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], baz: typing.Union[Schema_.Properties.Baz, None, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': return super().__new__( cls, - *_args, + *args_, baz=baz, configuration_=configuration_, **kwargs, @@ -221,14 +221,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], bar: typing.Union[Schema_.Properties.Bar, decimal.Decimal, int, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllofWithBaseSchema': return super().__new__( cls, - *_args, + *args_, bar=bar, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_base_schema.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_base_schema.pyi index 4e0e4fe5e14..5ea6f1761f8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_base_schema.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_base_schema.pyi @@ -101,14 +101,14 @@ class AllofWithBaseSchema( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], foo: typing.Union[Schema_.Properties.Foo, str, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf0': return super().__new__( cls, - *_args, + *args_, foo=foo, configuration_=configuration_, **kwargs, @@ -168,14 +168,14 @@ class AllofWithBaseSchema( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], baz: typing.Union[Schema_.Properties.Baz, None, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': return super().__new__( cls, - *_args, + *args_, baz=baz, configuration_=configuration_, **kwargs, @@ -221,14 +221,14 @@ class AllofWithBaseSchema( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], bar: typing.Union[Schema_.Properties.Bar, decimal.Decimal, int, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllofWithBaseSchema': return super().__new__( cls, - *_args, + *args_, bar=bar, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_one_empty_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_one_empty_schema.py index ebc45a455a7..1cadab8b3e6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_one_empty_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_one_empty_schema.py @@ -45,13 +45,13 @@ class AllOf: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllofWithOneEmptySchema': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_one_empty_schema.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_one_empty_schema.pyi index ebc45a455a7..1cadab8b3e6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_one_empty_schema.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_one_empty_schema.pyi @@ -45,13 +45,13 @@ class AllofWithOneEmptySchema( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllofWithOneEmptySchema': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_the_first_empty_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_the_first_empty_schema.py index d092cb9c15e..94dfff7a5a5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_the_first_empty_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_the_first_empty_schema.py @@ -47,13 +47,13 @@ class AllOf: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllofWithTheFirstEmptySchema': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_the_first_empty_schema.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_the_first_empty_schema.pyi index d092cb9c15e..94dfff7a5a5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_the_first_empty_schema.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_the_first_empty_schema.pyi @@ -47,13 +47,13 @@ class AllofWithTheFirstEmptySchema( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllofWithTheFirstEmptySchema': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_the_last_empty_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_the_last_empty_schema.py index 4f292e9f983..6a328a05dbd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_the_last_empty_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_the_last_empty_schema.py @@ -47,13 +47,13 @@ class AllOf: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllofWithTheLastEmptySchema': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_the_last_empty_schema.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_the_last_empty_schema.pyi index 4f292e9f983..6a328a05dbd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_the_last_empty_schema.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_the_last_empty_schema.pyi @@ -47,13 +47,13 @@ class AllofWithTheLastEmptySchema( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllofWithTheLastEmptySchema': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_two_empty_schemas.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_two_empty_schemas.py index 2018f9adce2..7c1c62eec76 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_two_empty_schemas.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_two_empty_schemas.py @@ -47,13 +47,13 @@ class AllOf: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllofWithTwoEmptySchemas': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_two_empty_schemas.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_two_empty_schemas.pyi index 2018f9adce2..7c1c62eec76 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_two_empty_schemas.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/allof_with_two_empty_schemas.pyi @@ -47,13 +47,13 @@ class AllofWithTwoEmptySchemas( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllofWithTwoEmptySchemas': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof.py index c60be6425f9..335f9b88b28 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof.py @@ -52,13 +52,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyOf1': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -70,13 +70,13 @@ def __new__( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Anyof': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof.pyi index 6b1ec7c03ed..84839ef4b93 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof.pyi @@ -51,13 +51,13 @@ class Anyof( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyOf1': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -69,13 +69,13 @@ class Anyof( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Anyof': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_complex_types.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_complex_types.py index c8c50ca5173..048cf5bc65e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_complex_types.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_complex_types.py @@ -92,14 +92,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], bar: typing.Union[Schema_.Properties.Bar, decimal.Decimal, int, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyOf0': return super().__new__( cls, - *_args, + *args_, bar=bar, configuration_=configuration_, **kwargs, @@ -159,14 +159,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], foo: typing.Union[Schema_.Properties.Foo, str, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyOf1': return super().__new__( cls, - *_args, + *args_, foo=foo, configuration_=configuration_, **kwargs, @@ -179,13 +179,13 @@ def __new__( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyofComplexTypes': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_complex_types.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_complex_types.pyi index c8c50ca5173..048cf5bc65e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_complex_types.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_complex_types.pyi @@ -92,14 +92,14 @@ class AnyofComplexTypes( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], bar: typing.Union[Schema_.Properties.Bar, decimal.Decimal, int, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyOf0': return super().__new__( cls, - *_args, + *args_, bar=bar, configuration_=configuration_, **kwargs, @@ -159,14 +159,14 @@ class AnyofComplexTypes( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], foo: typing.Union[Schema_.Properties.Foo, str, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyOf1': return super().__new__( cls, - *_args, + *args_, foo=foo, configuration_=configuration_, **kwargs, @@ -179,13 +179,13 @@ class AnyofComplexTypes( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyofComplexTypes': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_with_base_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_with_base_schema.py index abc8ab2e677..080079a8cee 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_with_base_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_with_base_schema.py @@ -53,13 +53,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyOf0': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -77,13 +77,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyOf1': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -95,11 +95,11 @@ def __new__( def __new__( cls, - *_args: typing.Union[str, ], + *args_: typing.Union[str, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'AnyofWithBaseSchema': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_with_base_schema.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_with_base_schema.pyi index 8a9df3abd5f..89e69ff77d9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_with_base_schema.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_with_base_schema.pyi @@ -52,13 +52,13 @@ class AnyofWithBaseSchema( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyOf0': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -75,13 +75,13 @@ class AnyofWithBaseSchema( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyOf1': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -93,11 +93,11 @@ class AnyofWithBaseSchema( def __new__( cls, - *_args: typing.Union[str, ], + *args_: typing.Union[str, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'AnyofWithBaseSchema': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_with_one_empty_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_with_one_empty_schema.py index a3a0d9db9f9..3b6c6fcdaa8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_with_one_empty_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_with_one_empty_schema.py @@ -47,13 +47,13 @@ class AnyOf: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyofWithOneEmptySchema': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_with_one_empty_schema.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_with_one_empty_schema.pyi index a3a0d9db9f9..3b6c6fcdaa8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_with_one_empty_schema.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/anyof_with_one_empty_schema.pyi @@ -47,13 +47,13 @@ class AnyofWithOneEmptySchema( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyofWithOneEmptySchema': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_int.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_int.py index 387359449f3..74fdf4f5966 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_int.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_int.py @@ -40,13 +40,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ByInt': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_int.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_int.pyi index 56fb5fc10fe..40a4113319d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_int.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_int.pyi @@ -39,13 +39,13 @@ class ByInt( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ByInt': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_number.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_number.py index af152cd561b..b02dba5522c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_number.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_number.py @@ -40,13 +40,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ByNumber': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_number.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_number.pyi index 509f14acca7..1e08a4b302c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_number.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_number.pyi @@ -39,13 +39,13 @@ class ByNumber( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ByNumber': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_small_number.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_small_number.py index e8a8ced40c5..8b0c980f9be 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_small_number.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_small_number.py @@ -40,13 +40,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'BySmallNumber': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_small_number.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_small_number.pyi index 9080a0242c7..eed453246d8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_small_number.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/by_small_number.pyi @@ -39,13 +39,13 @@ class BySmallNumber( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'BySmallNumber': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/date_time_format.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/date_time_format.py index a99d1408e0f..2974e56c9d3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/date_time_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/date_time_format.py @@ -41,13 +41,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'DateTimeFormat': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/date_time_format.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/date_time_format.pyi index a99d1408e0f..2974e56c9d3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/date_time_format.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/date_time_format.pyi @@ -41,13 +41,13 @@ class DateTimeFormat( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'DateTimeFormat': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/email_format.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/email_format.py index fba19abfb86..bdffe7a104f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/email_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/email_format.py @@ -40,13 +40,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'EmailFormat': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/email_format.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/email_format.pyi index fba19abfb86..bdffe7a104f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/email_format.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/email_format.pyi @@ -40,13 +40,13 @@ class EmailFormat( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'EmailFormat': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/enums_in_properties.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/enums_in_properties.py index 96ffbb5d2d9..e5eb0273deb 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/enums_in_properties.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/enums_in_properties.py @@ -124,7 +124,7 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], bar: typing.Union[Schema_.Properties.Bar, str, ], foo: typing.Union[Schema_.Properties.Foo, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -132,7 +132,7 @@ def __new__( ) -> 'EnumsInProperties': return super().__new__( cls, - *_args, + *args_, bar=bar, foo=foo, configuration_=configuration_, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/enums_in_properties.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/enums_in_properties.pyi index ca4bac49923..bd12ae41c2a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/enums_in_properties.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/enums_in_properties.pyi @@ -105,7 +105,7 @@ class EnumsInProperties( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], bar: typing.Union[Schema_.Properties.Bar, str, ], foo: typing.Union[Schema_.Properties.Foo, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -113,7 +113,7 @@ class EnumsInProperties( ) -> 'EnumsInProperties': return super().__new__( cls, - *_args, + *args_, bar=bar, foo=foo, configuration_=configuration_, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/forbidden_property.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/forbidden_property.py index 55af9ed8110..62eeb8f6a35 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/forbidden_property.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/forbidden_property.py @@ -76,14 +76,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ForbiddenProperty': return super().__new__( cls, - *_args, + *args_, foo=foo, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/forbidden_property.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/forbidden_property.pyi index 55af9ed8110..62eeb8f6a35 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/forbidden_property.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/forbidden_property.pyi @@ -76,14 +76,14 @@ class ForbiddenProperty( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ForbiddenProperty': return super().__new__( cls, - *_args, + *args_, foo=foo, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/hostname_format.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/hostname_format.py index 4cd7d1d090e..1989ef7afa5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/hostname_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/hostname_format.py @@ -40,13 +40,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'HostnameFormat': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/hostname_format.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/hostname_format.pyi index 4cd7d1d090e..1989ef7afa5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/hostname_format.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/hostname_format.pyi @@ -40,13 +40,13 @@ class HostnameFormat( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'HostnameFormat': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/invalid_string_value_for_default.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/invalid_string_value_for_default.py index 2af1df720cc..d23641c0d7c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/invalid_string_value_for_default.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/invalid_string_value_for_default.py @@ -87,14 +87,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], bar: typing.Union[Schema_.Properties.Bar, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'InvalidStringValueForDefault': return super().__new__( cls, - *_args, + *args_, bar=bar, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/invalid_string_value_for_default.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/invalid_string_value_for_default.pyi index 9f8cebc4482..4fbcc8dda82 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/invalid_string_value_for_default.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/invalid_string_value_for_default.pyi @@ -81,14 +81,14 @@ class InvalidStringValueForDefault( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], bar: typing.Union[Schema_.Properties.Bar, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'InvalidStringValueForDefault': return super().__new__( cls, - *_args, + *args_, bar=bar, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ipv4_format.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ipv4_format.py index 79ec0b77ecc..c73e4077f44 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ipv4_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ipv4_format.py @@ -40,13 +40,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Ipv4Format': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ipv4_format.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ipv4_format.pyi index 79ec0b77ecc..c73e4077f44 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ipv4_format.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ipv4_format.pyi @@ -40,13 +40,13 @@ class Ipv4Format( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Ipv4Format': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ipv6_format.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ipv6_format.py index 0454a2cd007..9efe7a2d6d4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ipv6_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ipv6_format.py @@ -40,13 +40,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Ipv6Format': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ipv6_format.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ipv6_format.pyi index 0454a2cd007..9efe7a2d6d4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ipv6_format.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ipv6_format.pyi @@ -40,13 +40,13 @@ class Ipv6Format( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Ipv6Format': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/json_pointer_format.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/json_pointer_format.py index 04ae53515d2..e396c36e5fd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/json_pointer_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/json_pointer_format.py @@ -40,13 +40,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'JsonPointerFormat': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/json_pointer_format.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/json_pointer_format.pyi index 04ae53515d2..e396c36e5fd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/json_pointer_format.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/json_pointer_format.pyi @@ -40,13 +40,13 @@ class JsonPointerFormat( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'JsonPointerFormat': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maximum_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maximum_validation.py index 0358199d609..576e76f56a7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maximum_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maximum_validation.py @@ -40,13 +40,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MaximumValidation': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maximum_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maximum_validation.pyi index 089a8a2d26a..9fed80111c3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maximum_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maximum_validation.pyi @@ -39,13 +39,13 @@ class MaximumValidation( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MaximumValidation': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maximum_validation_with_unsigned_integer.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maximum_validation_with_unsigned_integer.py index 1b933a27080..9a7952af237 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maximum_validation_with_unsigned_integer.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maximum_validation_with_unsigned_integer.py @@ -40,13 +40,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MaximumValidationWithUnsignedInteger': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maximum_validation_with_unsigned_integer.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maximum_validation_with_unsigned_integer.pyi index f8c251e026c..c20a781124c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maximum_validation_with_unsigned_integer.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maximum_validation_with_unsigned_integer.pyi @@ -39,13 +39,13 @@ class MaximumValidationWithUnsignedInteger( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MaximumValidationWithUnsignedInteger': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxitems_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxitems_validation.py index b27e93cce1e..904da280b49 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxitems_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxitems_validation.py @@ -40,13 +40,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MaxitemsValidation': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxitems_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxitems_validation.pyi index 58386d56ff7..3bbab54529a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxitems_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxitems_validation.pyi @@ -39,13 +39,13 @@ class MaxitemsValidation( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MaxitemsValidation': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxlength_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxlength_validation.py index 82ac2ecbb97..57f2e4127c8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxlength_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxlength_validation.py @@ -40,13 +40,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MaxlengthValidation': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxlength_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxlength_validation.pyi index b2454b944c2..fe764c5f0f1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxlength_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxlength_validation.pyi @@ -39,13 +39,13 @@ class MaxlengthValidation( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MaxlengthValidation': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxproperties0_means_the_object_is_empty.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxproperties0_means_the_object_is_empty.py index afdf7b2bb17..0b2c74666a4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxproperties0_means_the_object_is_empty.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxproperties0_means_the_object_is_empty.py @@ -40,13 +40,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Maxproperties0MeansTheObjectIsEmpty': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxproperties0_means_the_object_is_empty.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxproperties0_means_the_object_is_empty.pyi index 5bdd926e9bf..0956603ba4f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxproperties0_means_the_object_is_empty.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxproperties0_means_the_object_is_empty.pyi @@ -39,13 +39,13 @@ class Maxproperties0MeansTheObjectIsEmpty( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Maxproperties0MeansTheObjectIsEmpty': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxproperties_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxproperties_validation.py index c885c3be326..ac092f74d0a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxproperties_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxproperties_validation.py @@ -40,13 +40,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MaxpropertiesValidation': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxproperties_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxproperties_validation.pyi index 39912a8d62c..11ff572e5cb 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxproperties_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/maxproperties_validation.pyi @@ -39,13 +39,13 @@ class MaxpropertiesValidation( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MaxpropertiesValidation': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minimum_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minimum_validation.py index 8a5456c102f..d65dae52ba0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minimum_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minimum_validation.py @@ -40,13 +40,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MinimumValidation': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minimum_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minimum_validation.pyi index b1ea6a40cc8..0e74a104b6d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minimum_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minimum_validation.pyi @@ -39,13 +39,13 @@ class MinimumValidation( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MinimumValidation': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minimum_validation_with_signed_integer.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minimum_validation_with_signed_integer.py index ee6d2353e81..809ee74ffcf 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minimum_validation_with_signed_integer.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minimum_validation_with_signed_integer.py @@ -40,13 +40,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MinimumValidationWithSignedInteger': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minimum_validation_with_signed_integer.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minimum_validation_with_signed_integer.pyi index fd119fc0fe3..8d487c2469d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minimum_validation_with_signed_integer.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minimum_validation_with_signed_integer.pyi @@ -39,13 +39,13 @@ class MinimumValidationWithSignedInteger( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MinimumValidationWithSignedInteger': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minitems_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minitems_validation.py index 5f4731e2f63..128d6db6e74 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minitems_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minitems_validation.py @@ -40,13 +40,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MinitemsValidation': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minitems_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minitems_validation.pyi index ee2d6dbb88b..8ade2129abe 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minitems_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minitems_validation.pyi @@ -39,13 +39,13 @@ class MinitemsValidation( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MinitemsValidation': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minlength_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minlength_validation.py index 0e3a25ce59e..0ad6b9ddf56 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minlength_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minlength_validation.py @@ -40,13 +40,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MinlengthValidation': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minlength_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minlength_validation.pyi index 9298d824f1a..ae19f007811 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minlength_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minlength_validation.pyi @@ -39,13 +39,13 @@ class MinlengthValidation( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MinlengthValidation': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minproperties_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minproperties_validation.py index 70239aed805..7e011730e11 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minproperties_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minproperties_validation.py @@ -40,13 +40,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MinpropertiesValidation': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minproperties_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minproperties_validation.pyi index 87c93bbcff8..fad756bd501 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minproperties_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/minproperties_validation.pyi @@ -39,13 +39,13 @@ class MinpropertiesValidation( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MinpropertiesValidation': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_allof_to_check_validation_semantics.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_allof_to_check_validation_semantics.py index 40b0897425f..42fff901825 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_allof_to_check_validation_semantics.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_allof_to_check_validation_semantics.py @@ -56,13 +56,13 @@ class AllOf: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf0': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -73,13 +73,13 @@ def __new__( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'NestedAllofToCheckValidationSemantics': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_allof_to_check_validation_semantics.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_allof_to_check_validation_semantics.pyi index 40b0897425f..42fff901825 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_allof_to_check_validation_semantics.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_allof_to_check_validation_semantics.pyi @@ -56,13 +56,13 @@ class NestedAllofToCheckValidationSemantics( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf0': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -73,13 +73,13 @@ class NestedAllofToCheckValidationSemantics( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'NestedAllofToCheckValidationSemantics': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_anyof_to_check_validation_semantics.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_anyof_to_check_validation_semantics.py index 502566772c3..6d7128306a9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_anyof_to_check_validation_semantics.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_anyof_to_check_validation_semantics.py @@ -56,13 +56,13 @@ class AnyOf: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyOf0': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -73,13 +73,13 @@ def __new__( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'NestedAnyofToCheckValidationSemantics': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_anyof_to_check_validation_semantics.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_anyof_to_check_validation_semantics.pyi index 502566772c3..6d7128306a9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_anyof_to_check_validation_semantics.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_anyof_to_check_validation_semantics.pyi @@ -56,13 +56,13 @@ class NestedAnyofToCheckValidationSemantics( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyOf0': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -73,13 +73,13 @@ class NestedAnyofToCheckValidationSemantics( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'NestedAnyofToCheckValidationSemantics': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_oneof_to_check_validation_semantics.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_oneof_to_check_validation_semantics.py index 70ecad9b2f1..1eb3dca48ce 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_oneof_to_check_validation_semantics.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_oneof_to_check_validation_semantics.py @@ -56,13 +56,13 @@ class OneOf: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneOf0': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -73,13 +73,13 @@ def __new__( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'NestedOneofToCheckValidationSemantics': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_oneof_to_check_validation_semantics.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_oneof_to_check_validation_semantics.pyi index 70ecad9b2f1..1eb3dca48ce 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_oneof_to_check_validation_semantics.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/nested_oneof_to_check_validation_semantics.pyi @@ -56,13 +56,13 @@ class NestedOneofToCheckValidationSemantics( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneOf0': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -73,13 +73,13 @@ class NestedOneofToCheckValidationSemantics( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'NestedOneofToCheckValidationSemantics': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/not_more_complex_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/not_more_complex_schema.py index fbc54e8c161..a0a45814a20 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/not_more_complex_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/not_more_complex_schema.py @@ -84,14 +84,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], foo: typing.Union[Schema_.Properties.Foo, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_Not': return super().__new__( cls, - *_args, + *args_, foo=foo, configuration_=configuration_, **kwargs, @@ -100,13 +100,13 @@ def __new__( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'NotMoreComplexSchema': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/not_more_complex_schema.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/not_more_complex_schema.pyi index b4759b43375..332d3dc2e02 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/not_more_complex_schema.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/not_more_complex_schema.pyi @@ -83,14 +83,14 @@ class NotMoreComplexSchema( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], foo: typing.Union[Schema_.Properties.Foo, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_Not': return super().__new__( cls, - *_args, + *args_, foo=foo, configuration_=configuration_, **kwargs, @@ -99,13 +99,13 @@ class NotMoreComplexSchema( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'NotMoreComplexSchema': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/object_properties_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/object_properties_validation.py index 0dabcd43812..89abb232f16 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/object_properties_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/object_properties_validation.py @@ -86,7 +86,7 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], foo: typing.Union[Schema_.Properties.Foo, decimal.Decimal, int, schemas.Unset] = schemas.unset, bar: typing.Union[Schema_.Properties.Bar, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -94,7 +94,7 @@ def __new__( ) -> 'ObjectPropertiesValidation': return super().__new__( cls, - *_args, + *args_, foo=foo, bar=bar, configuration_=configuration_, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/object_properties_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/object_properties_validation.pyi index 0dabcd43812..89abb232f16 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/object_properties_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/object_properties_validation.pyi @@ -86,7 +86,7 @@ class ObjectPropertiesValidation( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], foo: typing.Union[Schema_.Properties.Foo, decimal.Decimal, int, schemas.Unset] = schemas.unset, bar: typing.Union[Schema_.Properties.Bar, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -94,7 +94,7 @@ class ObjectPropertiesValidation( ) -> 'ObjectPropertiesValidation': return super().__new__( cls, - *_args, + *args_, foo=foo, bar=bar, configuration_=configuration_, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof.py index 99454952b77..f221310eb66 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof.py @@ -52,13 +52,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneOf1': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -70,13 +70,13 @@ def __new__( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Oneof': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof.pyi index 07d0dbabebf..b4a99bf8842 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof.pyi @@ -51,13 +51,13 @@ class Oneof( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneOf1': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -69,13 +69,13 @@ class Oneof( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Oneof': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_complex_types.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_complex_types.py index a005da55314..4ff0c5f9963 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_complex_types.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_complex_types.py @@ -92,14 +92,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], bar: typing.Union[Schema_.Properties.Bar, decimal.Decimal, int, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneOf0': return super().__new__( cls, - *_args, + *args_, bar=bar, configuration_=configuration_, **kwargs, @@ -159,14 +159,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], foo: typing.Union[Schema_.Properties.Foo, str, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneOf1': return super().__new__( cls, - *_args, + *args_, foo=foo, configuration_=configuration_, **kwargs, @@ -179,13 +179,13 @@ def __new__( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneofComplexTypes': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_complex_types.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_complex_types.pyi index a005da55314..4ff0c5f9963 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_complex_types.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_complex_types.pyi @@ -92,14 +92,14 @@ class OneofComplexTypes( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], bar: typing.Union[Schema_.Properties.Bar, decimal.Decimal, int, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneOf0': return super().__new__( cls, - *_args, + *args_, bar=bar, configuration_=configuration_, **kwargs, @@ -159,14 +159,14 @@ class OneofComplexTypes( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], foo: typing.Union[Schema_.Properties.Foo, str, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneOf1': return super().__new__( cls, - *_args, + *args_, foo=foo, configuration_=configuration_, **kwargs, @@ -179,13 +179,13 @@ class OneofComplexTypes( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneofComplexTypes': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_base_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_base_schema.py index 504f357f7cf..1100a7e5df5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_base_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_base_schema.py @@ -53,13 +53,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneOf0': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -77,13 +77,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneOf1': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -95,11 +95,11 @@ def __new__( def __new__( cls, - *_args: typing.Union[str, ], + *args_: typing.Union[str, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'OneofWithBaseSchema': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_base_schema.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_base_schema.pyi index ce12f1d96ea..abc59eec9ae 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_base_schema.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_base_schema.pyi @@ -52,13 +52,13 @@ class OneofWithBaseSchema( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneOf0': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -75,13 +75,13 @@ class OneofWithBaseSchema( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneOf1': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -93,11 +93,11 @@ class OneofWithBaseSchema( def __new__( cls, - *_args: typing.Union[str, ], + *args_: typing.Union[str, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'OneofWithBaseSchema': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_empty_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_empty_schema.py index df7dd235afb..6a89399e970 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_empty_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_empty_schema.py @@ -47,13 +47,13 @@ class OneOf: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneofWithEmptySchema': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_empty_schema.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_empty_schema.pyi index df7dd235afb..6a89399e970 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_empty_schema.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_empty_schema.pyi @@ -47,13 +47,13 @@ class OneofWithEmptySchema( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneofWithEmptySchema': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_required.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_required.py index 510c2b30894..974b1929b0e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_required.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_required.py @@ -98,7 +98,7 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], bar: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], foo: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -106,7 +106,7 @@ def __new__( ) -> 'OneOf0': return super().__new__( cls, - *_args, + *args_, bar=bar, foo=foo, configuration_=configuration_, @@ -171,7 +171,7 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], baz: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], foo: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -179,7 +179,7 @@ def __new__( ) -> 'OneOf1': return super().__new__( cls, - *_args, + *args_, baz=baz, foo=foo, configuration_=configuration_, @@ -193,13 +193,13 @@ def __new__( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneofWithRequired': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_required.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_required.pyi index 510c2b30894..974b1929b0e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_required.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/oneof_with_required.pyi @@ -98,7 +98,7 @@ class OneofWithRequired( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], bar: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], foo: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -106,7 +106,7 @@ class OneofWithRequired( ) -> 'OneOf0': return super().__new__( cls, - *_args, + *args_, bar=bar, foo=foo, configuration_=configuration_, @@ -171,7 +171,7 @@ class OneofWithRequired( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], baz: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], foo: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -179,7 +179,7 @@ class OneofWithRequired( ) -> 'OneOf1': return super().__new__( cls, - *_args, + *args_, baz=baz, foo=foo, configuration_=configuration_, @@ -193,13 +193,13 @@ class OneofWithRequired( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneofWithRequired': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/pattern_is_not_anchored.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/pattern_is_not_anchored.py index 7e0ec24d526..b3ade207a80 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/pattern_is_not_anchored.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/pattern_is_not_anchored.py @@ -42,13 +42,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'PatternIsNotAnchored': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/pattern_is_not_anchored.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/pattern_is_not_anchored.pyi index 54a97dfd9c1..930b701647c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/pattern_is_not_anchored.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/pattern_is_not_anchored.pyi @@ -39,13 +39,13 @@ class PatternIsNotAnchored( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'PatternIsNotAnchored': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/pattern_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/pattern_validation.py index 52960158515..da9413fd499 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/pattern_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/pattern_validation.py @@ -42,13 +42,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'PatternValidation': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/pattern_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/pattern_validation.pyi index 4333f180e89..2720070a1db 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/pattern_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/pattern_validation.pyi @@ -39,13 +39,13 @@ class PatternValidation( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'PatternValidation': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/properties_with_escaped_characters.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/properties_with_escaped_characters.py index b4a7396f272..e8b7ca50de5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/properties_with_escaped_characters.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/properties_with_escaped_characters.py @@ -126,13 +126,13 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'PropertiesWithEscapedCharacters': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/properties_with_escaped_characters.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/properties_with_escaped_characters.pyi index b4a7396f272..e8b7ca50de5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/properties_with_escaped_characters.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/properties_with_escaped_characters.pyi @@ -126,13 +126,13 @@ class PropertiesWithEscapedCharacters( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'PropertiesWithEscapedCharacters': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/property_named_ref_that_is_not_a_reference.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/property_named_ref_that_is_not_a_reference.py index 3cc27f3719b..c73d2dddc03 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/property_named_ref_that_is_not_a_reference.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/property_named_ref_that_is_not_a_reference.py @@ -76,13 +76,13 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'PropertyNamedRefThatIsNotAReference': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/property_named_ref_that_is_not_a_reference.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/property_named_ref_that_is_not_a_reference.pyi index 3cc27f3719b..c73d2dddc03 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/property_named_ref_that_is_not_a_reference.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/property_named_ref_that_is_not_a_reference.pyi @@ -76,13 +76,13 @@ class PropertyNamedRefThatIsNotAReference( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'PropertyNamedRefThatIsNotAReference': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_additionalproperties.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_additionalproperties.py index 286318c661f..478fb4c972d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_additionalproperties.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_additionalproperties.py @@ -49,13 +49,13 @@ def get_item_(self, name: str) -> 'property_named_ref_that_is_not_a_reference.Pr def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: 'property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference', ) -> 'RefInAdditionalproperties': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_additionalproperties.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_additionalproperties.pyi index 8be3fc5fc85..9ea0253d776 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_additionalproperties.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_additionalproperties.pyi @@ -48,13 +48,13 @@ class RefInAdditionalproperties( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: 'property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference', ) -> 'RefInAdditionalproperties': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_allof.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_allof.py index 852d26af908..4c6f7a2d734 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_allof.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_allof.py @@ -48,13 +48,13 @@ def all_of0() -> typing.Type['property_named_ref_that_is_not_a_reference.Propert def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'RefInAllof': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_allof.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_allof.pyi index 852d26af908..4c6f7a2d734 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_allof.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_allof.pyi @@ -48,13 +48,13 @@ class RefInAllof( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'RefInAllof': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_anyof.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_anyof.py index 8368a10c07d..f16c3facf70 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_anyof.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_anyof.py @@ -48,13 +48,13 @@ def any_of0() -> typing.Type['property_named_ref_that_is_not_a_reference.Propert def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'RefInAnyof': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_anyof.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_anyof.pyi index 8368a10c07d..f16c3facf70 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_anyof.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_anyof.pyi @@ -48,13 +48,13 @@ class RefInAnyof( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'RefInAnyof': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_not.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_not.py index 52ceedf27d1..f002f0ce0b2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_not.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_not.py @@ -43,13 +43,13 @@ def _not() -> typing.Type['property_named_ref_that_is_not_a_reference.PropertyNa def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'RefInNot': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_not.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_not.pyi index 52ceedf27d1..f002f0ce0b2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_not.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_not.pyi @@ -43,13 +43,13 @@ class RefInNot( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'RefInNot': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_oneof.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_oneof.py index 6d38d254dd4..38fe8c0e18a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_oneof.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_oneof.py @@ -48,13 +48,13 @@ def one_of0() -> typing.Type['property_named_ref_that_is_not_a_reference.Propert def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'RefInOneof': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_oneof.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_oneof.pyi index 6d38d254dd4..38fe8c0e18a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_oneof.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_oneof.pyi @@ -48,13 +48,13 @@ class RefInOneof( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'RefInOneof': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_property.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_property.py index 620674f4dc7..b5ffe744040 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_property.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_property.py @@ -79,14 +79,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], a: typing.Union['property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference', schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'RefInProperty': return super().__new__( cls, - *_args, + *args_, a=a, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_property.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_property.pyi index 620674f4dc7..b5ffe744040 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_property.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_property.pyi @@ -79,14 +79,14 @@ class RefInProperty( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], a: typing.Union['property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference', schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'RefInProperty': return super().__new__( cls, - *_args, + *args_, a=a, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_default_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_default_validation.py index 4f6ce4519cd..295075e1790 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_default_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_default_validation.py @@ -76,14 +76,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'RequiredDefaultValidation': return super().__new__( cls, - *_args, + *args_, foo=foo, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_default_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_default_validation.pyi index 4f6ce4519cd..295075e1790 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_default_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_default_validation.pyi @@ -76,14 +76,14 @@ class RequiredDefaultValidation( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'RequiredDefaultValidation': return super().__new__( cls, - *_args, + *args_, foo=foo, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_validation.py index fa235e50f2d..5a0f2708c74 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_validation.py @@ -91,7 +91,7 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], bar: typing.Union[Schema_.Properties.Bar, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -99,7 +99,7 @@ def __new__( ) -> 'RequiredValidation': return super().__new__( cls, - *_args, + *args_, foo=foo, bar=bar, configuration_=configuration_, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_validation.pyi index fa235e50f2d..5a0f2708c74 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_validation.pyi @@ -91,7 +91,7 @@ class RequiredValidation( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], bar: typing.Union[Schema_.Properties.Bar, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -99,7 +99,7 @@ class RequiredValidation( ) -> 'RequiredValidation': return super().__new__( cls, - *_args, + *args_, foo=foo, bar=bar, configuration_=configuration_, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_empty_array.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_empty_array.py index 8ae44ad5bb9..3986315dfde 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_empty_array.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_empty_array.py @@ -76,14 +76,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'RequiredWithEmptyArray': return super().__new__( cls, - *_args, + *args_, foo=foo, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_empty_array.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_empty_array.pyi index 8ae44ad5bb9..3986315dfde 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_empty_array.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_empty_array.pyi @@ -76,14 +76,14 @@ class RequiredWithEmptyArray( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'RequiredWithEmptyArray': return super().__new__( cls, - *_args, + *args_, foo=foo, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_escaped_characters.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_escaped_characters.py index 2384cbc238d..41c7210a146 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_escaped_characters.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_escaped_characters.py @@ -119,13 +119,13 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'RequiredWithEscapedCharacters': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_escaped_characters.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_escaped_characters.pyi index 2384cbc238d..41c7210a146 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_escaped_characters.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/required_with_escaped_characters.pyi @@ -119,13 +119,13 @@ class RequiredWithEscapedCharacters( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'RequiredWithEscapedCharacters': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.py index 0ec891be17a..1d76e3dd54e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.py @@ -86,14 +86,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], alpha: typing.Union[Schema_.Properties.Alpha, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing': return super().__new__( cls, - *_args, + *args_, alpha=alpha, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.pyi index b04b1364784..538b01965b2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.pyi @@ -79,14 +79,14 @@ class TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], alpha: typing.Union[Schema_.Properties.Alpha, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing': return super().__new__( cls, - *_args, + *args_, alpha=alpha, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uniqueitems_false_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uniqueitems_false_validation.py index ee0736905d0..3bee0e2df1e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uniqueitems_false_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uniqueitems_false_validation.py @@ -40,13 +40,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'UniqueitemsFalseValidation': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uniqueitems_false_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uniqueitems_false_validation.pyi index b0b20afb69a..4775eeaf580 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uniqueitems_false_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uniqueitems_false_validation.pyi @@ -39,13 +39,13 @@ class UniqueitemsFalseValidation( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'UniqueitemsFalseValidation': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uniqueitems_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uniqueitems_validation.py index 9ab05dafc07..ff0b0aa2622 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uniqueitems_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uniqueitems_validation.py @@ -40,13 +40,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'UniqueitemsValidation': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uniqueitems_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uniqueitems_validation.pyi index 0e021358ed9..7e435831dbe 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uniqueitems_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uniqueitems_validation.pyi @@ -39,13 +39,13 @@ class UniqueitemsValidation( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'UniqueitemsValidation': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_format.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_format.py index 536ad7ed50c..e321b510596 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_format.py @@ -40,13 +40,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'UriFormat': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_format.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_format.pyi index 536ad7ed50c..e321b510596 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_format.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_format.pyi @@ -40,13 +40,13 @@ class UriFormat( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'UriFormat': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_reference_format.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_reference_format.py index 10f9ba4d62c..27fa8ff1c67 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_reference_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_reference_format.py @@ -40,13 +40,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'UriReferenceFormat': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_reference_format.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_reference_format.pyi index 10f9ba4d62c..27fa8ff1c67 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_reference_format.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_reference_format.pyi @@ -40,13 +40,13 @@ class UriReferenceFormat( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'UriReferenceFormat': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_template_format.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_template_format.py index ce24bcc77bd..d64fa56b2c0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_template_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_template_format.py @@ -40,13 +40,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'UriTemplateFormat': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_template_format.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_template_format.pyi index ce24bcc77bd..d64fa56b2c0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_template_format.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/uri_template_format.pyi @@ -40,13 +40,13 @@ class UriTemplateFormat( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'UriTemplateFormat': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py index 5629134815a..0f5f7658064 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/schemas.py @@ -1339,7 +1339,7 @@ def __remove_unsets(kwargs): def __new__( cls, - *_args: typing.Union[ + *args_: typing.Union[ dict, frozendict.frozendict, list, @@ -1382,7 +1382,7 @@ def __new__( Schema __new__ Args: - _args (int/float/decimal.Decimal/str/list/tuple/dict/frozendict.frozendict/bool/None): the value + args_ (int/float/decimal.Decimal/str/list/tuple/dict/frozendict.frozendict/bool/None): the value kwargs (str, int/float/decimal.Decimal/str/list/tuple/dict/frozendict.frozendict/bool/None): dict values configuration_: contains the configuration_module.Configuration that enables json schema validation keywords like minItems, minLength etc @@ -1391,14 +1391,14 @@ def __new__( are instance properties if they are named normally :( """ __kwargs = cls.__remove_unsets(kwargs) - if not _args and not __kwargs: + if not args_ and not __kwargs: raise TypeError( 'No input given. args or kwargs must be given.' ) - if not __kwargs and _args and not isinstance(_args[0], dict): - __arg = _args[0] + if not __kwargs and args_ and not isinstance(args_[0], dict): + __arg = args_[0] else: - __arg = cls.__get_input_dict(*_args, **__kwargs) + __arg = cls.__get_input_dict(*args_, **__kwargs) __from_server = False __validated_path_to_schemas = {} __path_to_type = {} @@ -1419,7 +1419,7 @@ def __new__( def __init__( self, - *_args: typing.Union[ + *args_: typing.Union[ dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, bool, None, 'Schema'], configuration_: typing.Optional[configuration_module.Configuration] = None, **kwargs: typing.Union[ @@ -2368,12 +2368,12 @@ class Schema_: def __new__( cls, - *_args, + *args_, configuration_: typing.Optional[configuration_module.Configuration] = None, ) -> 'NotAnyTypeSchema': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, ) @@ -2390,8 +2390,8 @@ class Schema_: def from_openapi_data_(cls, arg: typing.Dict[str, typing.Any], configuration_: typing.Optional[configuration_module.Configuration] = None): return super().from_openapi_data_(arg, configuration_=configuration_) - def __new__(cls, *_args: typing.Union[dict, frozendict.frozendict], **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, bool, None, bytes, Schema, Unset, ValidationMetadata]): - return super().__new__(cls, *_args, **kwargs) + def __new__(cls, *args_: typing.Union[dict, frozendict.frozendict], **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, bool, None, bytes, Schema, Unset, ValidationMetadata]): + return super().__new__(cls, *args_, **kwargs) schema_type_classes = {NoneSchema, DictSchema, ListSchema, NumberSchema, StrSchema, BoolSchema, AnyTypeSchema} diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/addition_operator.py b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/addition_operator.py index 0b52c86feca..1d2c130a04f 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/addition_operator.py +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/addition_operator.py @@ -97,7 +97,7 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], a: typing.Union[Schema_.Properties.A, decimal.Decimal, int, float, ], b: typing.Union[Schema_.Properties.B, decimal.Decimal, int, float, ], operator_id: typing.Union[Schema_.Properties.OperatorId, str, ], @@ -105,7 +105,7 @@ def __new__( ) -> 'AdditionOperator': return super().__new__( cls, - *_args, + *args_, a=a, b=b, operator_id=operator_id, diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/addition_operator.pyi b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/addition_operator.pyi index 0773438c5d2..bf808c73862 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/addition_operator.pyi +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/addition_operator.pyi @@ -96,7 +96,7 @@ class AdditionOperator( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], a: typing.Union[Schema_.Properties.A, decimal.Decimal, int, float, ], b: typing.Union[Schema_.Properties.B, decimal.Decimal, int, float, ], operator_id: typing.Union[Schema_.Properties.OperatorId, str, ], @@ -104,7 +104,7 @@ class AdditionOperator( ) -> 'AdditionOperator': return super().__new__( cls, - *_args, + *args_, a=a, b=b, operator_id=operator_id, diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/operator.py b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/operator.py index 2687659fcf3..8391cfa7a51 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/operator.py +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/operator.py @@ -64,13 +64,13 @@ def one_of1() -> typing.Type['subtraction_operator.SubtractionOperator']: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Operator': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/operator.pyi b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/operator.pyi index 2687659fcf3..8391cfa7a51 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/operator.pyi +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/operator.pyi @@ -64,13 +64,13 @@ class Operator( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Operator': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/subtraction_operator.py b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/subtraction_operator.py index 83d53d6b8c9..96a175d0e95 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/subtraction_operator.py +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/subtraction_operator.py @@ -97,7 +97,7 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], a: typing.Union[Schema_.Properties.A, decimal.Decimal, int, float, ], b: typing.Union[Schema_.Properties.B, decimal.Decimal, int, float, ], operator_id: typing.Union[Schema_.Properties.OperatorId, str, ], @@ -105,7 +105,7 @@ def __new__( ) -> 'SubtractionOperator': return super().__new__( cls, - *_args, + *args_, a=a, b=b, operator_id=operator_id, diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/subtraction_operator.pyi b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/subtraction_operator.pyi index 0ba9e4376cb..9d025c677f1 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/subtraction_operator.pyi +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/subtraction_operator.pyi @@ -96,7 +96,7 @@ class SubtractionOperator( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], a: typing.Union[Schema_.Properties.A, decimal.Decimal, int, float, ], b: typing.Union[Schema_.Properties.B, decimal.Decimal, int, float, ], operator_id: typing.Union[Schema_.Properties.OperatorId, str, ], @@ -104,7 +104,7 @@ class SubtractionOperator( ) -> 'SubtractionOperator': return super().__new__( cls, - *_args, + *args_, a=a, b=b, operator_id=operator_id, diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py index 02a1a529a31..f314e53f24e 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/schemas.py @@ -1415,7 +1415,7 @@ def __remove_unsets(kwargs): def __new__( cls, - *_args: typing.Union[ + *args_: typing.Union[ dict, frozendict.frozendict, list, @@ -1458,7 +1458,7 @@ def __new__( Schema __new__ Args: - _args (int/float/decimal.Decimal/str/list/tuple/dict/frozendict.frozendict/bool/None): the value + args_ (int/float/decimal.Decimal/str/list/tuple/dict/frozendict.frozendict/bool/None): the value kwargs (str, int/float/decimal.Decimal/str/list/tuple/dict/frozendict.frozendict/bool/None): dict values configuration_: contains the configuration_module.Configuration that enables json schema validation keywords like minItems, minLength etc @@ -1467,14 +1467,14 @@ def __new__( are instance properties if they are named normally :( """ __kwargs = cls.__remove_unsets(kwargs) - if not _args and not __kwargs: + if not args_ and not __kwargs: raise TypeError( 'No input given. args or kwargs must be given.' ) - if not __kwargs and _args and not isinstance(_args[0], dict): - __arg = _args[0] + if not __kwargs and args_ and not isinstance(args_[0], dict): + __arg = args_[0] else: - __arg = cls.__get_input_dict(*_args, **__kwargs) + __arg = cls.__get_input_dict(*args_, **__kwargs) __from_server = False __validated_path_to_schemas = {} __path_to_type = {} @@ -1495,7 +1495,7 @@ def __new__( def __init__( self, - *_args: typing.Union[ + *args_: typing.Union[ dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, bool, None, 'Schema'], configuration_: typing.Optional[configuration_module.Configuration] = None, **kwargs: typing.Union[ @@ -2444,12 +2444,12 @@ class Schema_: def __new__( cls, - *_args, + *args_, configuration_: typing.Optional[configuration_module.Configuration] = None, ) -> 'NotAnyTypeSchema': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, ) @@ -2466,8 +2466,8 @@ class Schema_: def from_openapi_data_(cls, arg: typing.Dict[str, typing.Any], configuration_: typing.Optional[configuration_module.Configuration] = None): return super().from_openapi_data_(arg, configuration_=configuration_) - def __new__(cls, *_args: typing.Union[dict, frozendict.frozendict], **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, bool, None, bytes, Schema, Unset, ValidationMetadata]): - return super().__new__(cls, *_args, **kwargs) + def __new__(cls, *args_: typing.Union[dict, frozendict.frozendict], **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, bool, None, bytes, Schema, Unset, ValidationMetadata]): + return super().__new__(cls, *args_, **kwargs) schema_type_classes = {NoneSchema, DictSchema, ListSchema, NumberSchema, StrSchema, BoolSchema, AnyTypeSchema} diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/responses/response_success_inline_content_and_header/application_json.py b/samples/openapi3/client/petstore/python/petstore_api/components/responses/response_success_inline_content_and_header/application_json.py index 3ccd90fa744..6fb56fd9214 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/responses/response_success_inline_content_and_header/application_json.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/responses/response_success_inline_content_and_header/application_json.py @@ -41,13 +41,13 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, decimal.Decimal, int, ], ) -> 'ApplicationJson': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/responses/response_success_inline_content_and_header/application_json.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/responses/response_success_inline_content_and_header/application_json.pyi index 71f49582ebe..f3d28365667 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/responses/response_success_inline_content_and_header/application_json.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/responses/response_success_inline_content_and_header/application_json.pyi @@ -40,13 +40,13 @@ class ApplicationJson( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, decimal.Decimal, int, ], ) -> 'ApplicationJson': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/_200_response.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/_200_response.py index 7854d1a1c36..da083702d6d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/_200_response.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/_200_response.py @@ -88,14 +88,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], name: typing.Union[Schema_.Properties.Name, decimal.Decimal, int, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_200Response': return super().__new__( cls, - *_args, + *args_, name=name, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/_200_response.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/_200_response.pyi index 7854d1a1c36..da083702d6d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/_200_response.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/_200_response.pyi @@ -88,14 +88,14 @@ class _200Response( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], name: typing.Union[Schema_.Properties.Name, decimal.Decimal, int, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_200Response': return super().__new__( cls, - *_args, + *args_, name=name, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/_return.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/_return.py index 982e68f7732..3dfb1597dbf 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/_return.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/_return.py @@ -78,13 +78,13 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_Return': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/_return.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/_return.pyi index 982e68f7732..3dfb1597dbf 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/_return.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/_return.pyi @@ -78,13 +78,13 @@ class _Return( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_Return': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/abstract_step_message.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/abstract_step_message.py index 0fddc78517e..c3f83035300 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/abstract_step_message.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/abstract_step_message.py @@ -122,7 +122,7 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], description: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], discriminator: typing.Union[Schema_.Properties.Discriminator, str, ], sequenceNumber: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], @@ -131,7 +131,7 @@ def __new__( ) -> 'AbstractStepMessage': return super().__new__( cls, - *_args, + *args_, description=description, discriminator=discriminator, sequenceNumber=sequenceNumber, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/abstract_step_message.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/abstract_step_message.pyi index 0fddc78517e..c3f83035300 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/abstract_step_message.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/abstract_step_message.pyi @@ -122,7 +122,7 @@ class AbstractStepMessage( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], description: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], discriminator: typing.Union[Schema_.Properties.Discriminator, str, ], sequenceNumber: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], @@ -131,7 +131,7 @@ class AbstractStepMessage( ) -> 'AbstractStepMessage': return super().__new__( cls, - *_args, + *args_, description=description, discriminator=discriminator, sequenceNumber=sequenceNumber, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_class.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_class.py index a014bb07ee0..ee44d9a0fb1 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_class.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_class.py @@ -57,13 +57,13 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], ) -> 'MapProperty': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -96,13 +96,13 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], ) -> 'AdditionalProperties': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -116,13 +116,13 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, ], ) -> 'MapOfMapProperty': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -149,13 +149,13 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], ) -> 'MapWithUndeclaredPropertiesAnytype3': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -172,12 +172,12 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'EmptyMap': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, ) @@ -200,13 +200,13 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], ) -> 'MapWithUndeclaredPropertiesString': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -310,7 +310,7 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], map_property: typing.Union[Schema_.Properties.MapProperty, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, map_of_map_property: typing.Union[Schema_.Properties.MapOfMapProperty, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, anytype_1: typing.Union[Schema_.Properties.Anytype1, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, @@ -324,7 +324,7 @@ def __new__( ) -> 'AdditionalPropertiesClass': return super().__new__( cls, - *_args, + *args_, map_property=map_property, map_of_map_property=map_of_map_property, anytype_1=anytype_1, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_class.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_class.pyi index abb0df4197e..225f6e9d789 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_class.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_class.pyi @@ -55,13 +55,13 @@ class AdditionalPropertiesClass( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], ) -> 'MapProperty': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -92,13 +92,13 @@ class AdditionalPropertiesClass( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], ) -> 'AdditionalProperties': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -112,13 +112,13 @@ class AdditionalPropertiesClass( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, ], ) -> 'MapOfMapProperty': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -144,13 +144,13 @@ class AdditionalPropertiesClass( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], ) -> 'MapWithUndeclaredPropertiesAnytype3': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -166,12 +166,12 @@ class AdditionalPropertiesClass( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'EmptyMap': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, ) @@ -193,13 +193,13 @@ class AdditionalPropertiesClass( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], ) -> 'MapWithUndeclaredPropertiesString': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -303,7 +303,7 @@ class AdditionalPropertiesClass( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], map_property: typing.Union[Schema_.Properties.MapProperty, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, map_of_map_property: typing.Union[Schema_.Properties.MapOfMapProperty, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, anytype_1: typing.Union[Schema_.Properties.Anytype1, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, @@ -317,7 +317,7 @@ class AdditionalPropertiesClass( ) -> 'AdditionalPropertiesClass': return super().__new__( cls, - *_args, + *args_, map_property=map_property, map_of_map_property=map_of_map_property, anytype_1=anytype_1, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_validator.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_validator.py index f6366771b2b..186ac21b9fe 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_validator.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_validator.py @@ -59,13 +59,13 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], ) -> 'AllOf0': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -92,13 +92,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AdditionalProperties': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -112,13 +112,13 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], ) -> 'AllOf1': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -145,13 +145,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AdditionalProperties': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -165,13 +165,13 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], ) -> 'AllOf2': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -184,13 +184,13 @@ def __new__( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AdditionalPropertiesValidator': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_validator.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_validator.pyi index d9edb5c76f1..3e61add04c0 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_validator.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_validator.pyi @@ -58,13 +58,13 @@ class AdditionalPropertiesValidator( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], ) -> 'AllOf0': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -89,13 +89,13 @@ class AdditionalPropertiesValidator( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AdditionalProperties': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -109,13 +109,13 @@ class AdditionalPropertiesValidator( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], ) -> 'AllOf1': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -140,13 +140,13 @@ class AdditionalPropertiesValidator( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AdditionalProperties': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -160,13 +160,13 @@ class AdditionalPropertiesValidator( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], ) -> 'AllOf2': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -179,13 +179,13 @@ class AdditionalPropertiesValidator( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AdditionalPropertiesValidator': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_with_array_of_enums.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_with_array_of_enums.py index ba5e67255f2..39972fad401 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_with_array_of_enums.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_with_array_of_enums.py @@ -72,13 +72,13 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, list, tuple, ], ) -> 'AdditionalPropertiesWithArrayOfEnums': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_with_array_of_enums.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_with_array_of_enums.pyi index 5d99fd7e3d5..22e20b5be1f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_with_array_of_enums.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_with_array_of_enums.pyi @@ -71,13 +71,13 @@ class AdditionalPropertiesWithArrayOfEnums( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, list, tuple, ], ) -> 'AdditionalPropertiesWithArrayOfEnums': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/address.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/address.py index b09e0cfdb9f..4ec6b2f4ed9 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/address.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/address.py @@ -46,13 +46,13 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, decimal.Decimal, int, ], ) -> 'Address': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/address.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/address.pyi index 83e91fd5da3..c0ffd64dbf5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/address.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/address.pyi @@ -45,13 +45,13 @@ class Address( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, decimal.Decimal, int, ], ) -> 'Address': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal.py index 52fba81a3e8..3023e3fdf95 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal.py @@ -99,7 +99,7 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], className: typing.Union[Schema_.Properties.ClassName, str, ], color: typing.Union[Schema_.Properties.Color, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -107,7 +107,7 @@ def __new__( ) -> 'Animal': return super().__new__( cls, - *_args, + *args_, className=className, color=color, configuration_=configuration_, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal.pyi index c1f383ea42e..6c73642fd25 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal.pyi @@ -98,7 +98,7 @@ class Animal( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], className: typing.Union[Schema_.Properties.ClassName, str, ], color: typing.Union[Schema_.Properties.Color, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -106,7 +106,7 @@ class Animal( ) -> 'Animal': return super().__new__( cls, - *_args, + *args_, className=className, color=color, configuration_=configuration_, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_and_format.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_and_format.py index ccde1a70575..ffd838554ee 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_and_format.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_and_format.py @@ -52,13 +52,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Uuid': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -77,13 +77,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Date': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -102,13 +102,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'DateTime': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -127,13 +127,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Number': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -151,13 +151,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Binary': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -175,13 +175,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Int32': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -199,13 +199,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Int64': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -223,13 +223,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Double': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -247,13 +247,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_Float': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -366,7 +366,7 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], uuid: typing.Union[Schema_.Properties.Uuid, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, date: typing.Union[Schema_.Properties.Date, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, number: typing.Union[Schema_.Properties.Number, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, @@ -379,7 +379,7 @@ def __new__( ) -> 'AnyTypeAndFormat': return super().__new__( cls, - *_args, + *args_, uuid=uuid, date=date, number=number, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_and_format.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_and_format.pyi index 97444713df1..ac245d54c76 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_and_format.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_and_format.pyi @@ -51,13 +51,13 @@ class AnyTypeAndFormat( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Uuid': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -76,13 +76,13 @@ class AnyTypeAndFormat( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Date': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -101,13 +101,13 @@ class AnyTypeAndFormat( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'DateTime': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -126,13 +126,13 @@ class AnyTypeAndFormat( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Number': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -150,13 +150,13 @@ class AnyTypeAndFormat( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Binary': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -174,13 +174,13 @@ class AnyTypeAndFormat( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Int32': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -198,13 +198,13 @@ class AnyTypeAndFormat( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Int64': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -222,13 +222,13 @@ class AnyTypeAndFormat( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Double': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -246,13 +246,13 @@ class AnyTypeAndFormat( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_Float': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -365,7 +365,7 @@ class AnyTypeAndFormat( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], uuid: typing.Union[Schema_.Properties.Uuid, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, date: typing.Union[Schema_.Properties.Date, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, number: typing.Union[Schema_.Properties.Number, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, @@ -378,7 +378,7 @@ class AnyTypeAndFormat( ) -> 'AnyTypeAndFormat': return super().__new__( cls, - *_args, + *args_, uuid=uuid, date=date, number=number, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_not_string.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_not_string.py index d509795744a..b7153094d9c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_not_string.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_not_string.py @@ -40,13 +40,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyTypeNotString': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_not_string.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_not_string.pyi index d509795744a..b7153094d9c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_not_string.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/any_type_not_string.pyi @@ -40,13 +40,13 @@ class AnyTypeNotString( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyTypeNotString': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/api_response.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/api_response.py index a98fcb3bd90..1b15bf09a67 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/api_response.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/api_response.py @@ -95,7 +95,7 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], code: typing.Union[Schema_.Properties.Code, decimal.Decimal, int, schemas.Unset] = schemas.unset, type: typing.Union[Schema_.Properties.Type, str, schemas.Unset] = schemas.unset, message: typing.Union[Schema_.Properties.Message, str, schemas.Unset] = schemas.unset, @@ -104,7 +104,7 @@ def __new__( ) -> 'ApiResponse': return super().__new__( cls, - *_args, + *args_, code=code, type=type, message=message, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/api_response.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/api_response.pyi index 149efca7ee3..8dc88256018 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/api_response.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/api_response.pyi @@ -94,7 +94,7 @@ class ApiResponse( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], code: typing.Union[Schema_.Properties.Code, decimal.Decimal, int, schemas.Unset] = schemas.unset, type: typing.Union[Schema_.Properties.Type, str, schemas.Unset] = schemas.unset, message: typing.Union[Schema_.Properties.Message, str, schemas.Unset] = schemas.unset, @@ -103,7 +103,7 @@ class ApiResponse( ) -> 'ApiResponse': return super().__new__( cls, - *_args, + *args_, code=code, type=type, message=message, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple.py index 8af651cb32b..aecc26e1f29 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple.py @@ -126,14 +126,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, None, ], + *args_: typing.Union[dict, frozendict.frozendict, None, ], origin: typing.Union[Schema_.Properties.Origin, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Apple': return super().__new__( cls, - *_args, + *args_, origin=origin, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple.pyi index c4e9877fba2..bb890bdf589 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple.pyi @@ -107,14 +107,14 @@ class Apple( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, None, ], + *args_: typing.Union[dict, frozendict.frozendict, None, ], origin: typing.Union[Schema_.Properties.Origin, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Apple': return super().__new__( cls, - *_args, + *args_, origin=origin, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple_req.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple_req.py index 597a3e751e4..9b37997318e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple_req.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple_req.py @@ -83,14 +83,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], cultivar: typing.Union[Schema_.Properties.Cultivar, str, ], mealy: typing.Union[Schema_.Properties.Mealy, bool, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'AppleReq': return super().__new__( cls, - *_args, + *args_, cultivar=cultivar, mealy=mealy, configuration_=configuration_, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple_req.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple_req.pyi index 5501837fdbb..0c0ef39445b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple_req.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/apple_req.pyi @@ -82,14 +82,14 @@ class AppleReq( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], cultivar: typing.Union[Schema_.Properties.Cultivar, str, ], mealy: typing.Union[Schema_.Properties.Mealy, bool, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'AppleReq': return super().__new__( cls, - *_args, + *args_, cultivar=cultivar, mealy=mealy, configuration_=configuration_, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_array_of_number_only.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_array_of_number_only.py index b8d51c04f5d..139a6a3ef6c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_array_of_number_only.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_array_of_number_only.py @@ -121,14 +121,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], ArrayArrayNumber: typing.Union[Schema_.Properties.ArrayArrayNumber, list, tuple, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ArrayOfArrayOfNumberOnly': return super().__new__( cls, - *_args, + *args_, ArrayArrayNumber=ArrayArrayNumber, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_array_of_number_only.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_array_of_number_only.pyi index 189d109994b..7780eade4da 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_array_of_number_only.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_array_of_number_only.pyi @@ -120,14 +120,14 @@ class ArrayOfArrayOfNumberOnly( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], ArrayArrayNumber: typing.Union[Schema_.Properties.ArrayArrayNumber, list, tuple, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ArrayOfArrayOfNumberOnly': return super().__new__( cls, - *_args, + *args_, ArrayArrayNumber=ArrayArrayNumber, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_number_only.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_number_only.py index 3e467b3d8c7..ef7bc3b32b7 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_number_only.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_number_only.py @@ -98,14 +98,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], ArrayNumber: typing.Union[Schema_.Properties.ArrayNumber, list, tuple, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ArrayOfNumberOnly': return super().__new__( cls, - *_args, + *args_, ArrayNumber=ArrayNumber, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_number_only.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_number_only.pyi index 23def3244dd..f21bc429dcc 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_number_only.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_number_only.pyi @@ -97,14 +97,14 @@ class ArrayOfNumberOnly( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], ArrayNumber: typing.Union[Schema_.Properties.ArrayNumber, list, tuple, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ArrayOfNumberOnly': return super().__new__( cls, - *_args, + *args_, ArrayNumber=ArrayNumber, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_test.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_test.py index f43042ab456..229acd6e099 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_test.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_test.py @@ -213,7 +213,7 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], array_of_string: typing.Union[Schema_.Properties.ArrayOfString, list, tuple, schemas.Unset] = schemas.unset, array_array_of_integer: typing.Union[Schema_.Properties.ArrayArrayOfInteger, list, tuple, schemas.Unset] = schemas.unset, array_array_of_model: typing.Union[Schema_.Properties.ArrayArrayOfModel, list, tuple, schemas.Unset] = schemas.unset, @@ -222,7 +222,7 @@ def __new__( ) -> 'ArrayTest': return super().__new__( cls, - *_args, + *args_, array_of_string=array_of_string, array_array_of_integer=array_array_of_integer, array_array_of_model=array_array_of_model, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_test.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_test.pyi index 15dd03059b6..ce199c9ec02 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_test.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_test.pyi @@ -212,7 +212,7 @@ class ArrayTest( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], array_of_string: typing.Union[Schema_.Properties.ArrayOfString, list, tuple, schemas.Unset] = schemas.unset, array_array_of_integer: typing.Union[Schema_.Properties.ArrayArrayOfInteger, list, tuple, schemas.Unset] = schemas.unset, array_array_of_model: typing.Union[Schema_.Properties.ArrayArrayOfModel, list, tuple, schemas.Unset] = schemas.unset, @@ -221,7 +221,7 @@ class ArrayTest( ) -> 'ArrayTest': return super().__new__( cls, - *_args, + *args_, array_of_string=array_of_string, array_array_of_integer=array_array_of_integer, array_array_of_model=array_array_of_model, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana.py index bc5898ac045..fdc6d432413 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana.py @@ -80,14 +80,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], lengthCm: typing.Union[Schema_.Properties.LengthCm, decimal.Decimal, int, float, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Banana': return super().__new__( cls, - *_args, + *args_, lengthCm=lengthCm, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana.pyi index 2daeb74229c..df8b32a7d1b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana.pyi @@ -79,14 +79,14 @@ class Banana( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], lengthCm: typing.Union[Schema_.Properties.LengthCm, decimal.Decimal, int, float, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Banana': return super().__new__( cls, - *_args, + *args_, lengthCm=lengthCm, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana_req.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana_req.py index addcb39096c..ee10df5a107 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana_req.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana_req.py @@ -83,14 +83,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], lengthCm: typing.Union[Schema_.Properties.LengthCm, decimal.Decimal, int, float, ], sweet: typing.Union[Schema_.Properties.Sweet, bool, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'BananaReq': return super().__new__( cls, - *_args, + *args_, lengthCm=lengthCm, sweet=sweet, configuration_=configuration_, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana_req.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana_req.pyi index 394d7a272de..588281f4772 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana_req.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/banana_req.pyi @@ -82,14 +82,14 @@ class BananaReq( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], lengthCm: typing.Union[Schema_.Properties.LengthCm, decimal.Decimal, int, float, ], sweet: typing.Union[Schema_.Properties.Sweet, bool, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'BananaReq': return super().__new__( cls, - *_args, + *args_, lengthCm=lengthCm, sweet=sweet, configuration_=configuration_, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/basque_pig.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/basque_pig.py index 2cf6530c9fd..b70718bad8c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/basque_pig.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/basque_pig.py @@ -97,14 +97,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], className: typing.Union[Schema_.Properties.ClassName, str, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'BasquePig': return super().__new__( cls, - *_args, + *args_, className=className, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/basque_pig.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/basque_pig.pyi index 310be9758c2..ba06d009cc6 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/basque_pig.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/basque_pig.pyi @@ -87,14 +87,14 @@ class BasquePig( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], className: typing.Union[Schema_.Properties.ClassName, str, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'BasquePig': return super().__new__( cls, - *_args, + *args_, className=className, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/capitalization.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/capitalization.py index c6a728d6b52..f28ef9c191b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/capitalization.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/capitalization.py @@ -125,7 +125,7 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], smallCamel: typing.Union[Schema_.Properties.SmallCamel, str, schemas.Unset] = schemas.unset, CapitalCamel: typing.Union[Schema_.Properties.CapitalCamel, str, schemas.Unset] = schemas.unset, small_Snake: typing.Union[Schema_.Properties.SmallSnake, str, schemas.Unset] = schemas.unset, @@ -137,7 +137,7 @@ def __new__( ) -> 'Capitalization': return super().__new__( cls, - *_args, + *args_, smallCamel=smallCamel, CapitalCamel=CapitalCamel, small_Snake=small_Snake, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/capitalization.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/capitalization.pyi index 42364f15116..6663a873a70 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/capitalization.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/capitalization.pyi @@ -124,7 +124,7 @@ class Capitalization( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], smallCamel: typing.Union[Schema_.Properties.SmallCamel, str, schemas.Unset] = schemas.unset, CapitalCamel: typing.Union[Schema_.Properties.CapitalCamel, str, schemas.Unset] = schemas.unset, small_Snake: typing.Union[Schema_.Properties.SmallSnake, str, schemas.Unset] = schemas.unset, @@ -136,7 +136,7 @@ class Capitalization( ) -> 'Capitalization': return super().__new__( cls, - *_args, + *args_, smallCamel=smallCamel, CapitalCamel=CapitalCamel, small_Snake=small_Snake, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/cat.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/cat.py index 043a807c826..ecee1f2e325 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/cat.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/cat.py @@ -90,14 +90,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], declawed: typing.Union[Schema_.Properties.Declawed, bool, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': return super().__new__( cls, - *_args, + *args_, declawed=declawed, configuration_=configuration_, **kwargs, @@ -110,13 +110,13 @@ def __new__( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Cat': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/cat.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/cat.pyi index 360c63d9bdb..0cb6735749c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/cat.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/cat.pyi @@ -89,14 +89,14 @@ class Cat( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], declawed: typing.Union[Schema_.Properties.Declawed, bool, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': return super().__new__( cls, - *_args, + *args_, declawed=declawed, configuration_=configuration_, **kwargs, @@ -109,13 +109,13 @@ class Cat( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Cat': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/category.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/category.py index a7427da1d90..9014b1a9ad4 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/category.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/category.py @@ -90,7 +90,7 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], name: typing.Union[Schema_.Properties.Name, str, ], id: typing.Union[Schema_.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -98,7 +98,7 @@ def __new__( ) -> 'Category': return super().__new__( cls, - *_args, + *args_, name=name, id=id, configuration_=configuration_, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/category.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/category.pyi index 48964effa6f..69654d25b11 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/category.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/category.pyi @@ -89,7 +89,7 @@ class Category( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], name: typing.Union[Schema_.Properties.Name, str, ], id: typing.Union[Schema_.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -97,7 +97,7 @@ class Category( ) -> 'Category': return super().__new__( cls, - *_args, + *args_, name=name, id=id, configuration_=configuration_, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/child_cat.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/child_cat.py index 3862d6b6969..627f01b2495 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/child_cat.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/child_cat.py @@ -90,14 +90,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], name: typing.Union[Schema_.Properties.Name, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': return super().__new__( cls, - *_args, + *args_, name=name, configuration_=configuration_, **kwargs, @@ -110,13 +110,13 @@ def __new__( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ChildCat': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/child_cat.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/child_cat.pyi index 37e161de3da..bac5c8177f9 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/child_cat.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/child_cat.pyi @@ -89,14 +89,14 @@ class ChildCat( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], name: typing.Union[Schema_.Properties.Name, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': return super().__new__( cls, - *_args, + *args_, name=name, configuration_=configuration_, **kwargs, @@ -109,13 +109,13 @@ class ChildCat( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ChildCat': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/class_model.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/class_model.py index e7c5a5e7b72..eaaaada5fc3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/class_model.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/class_model.py @@ -78,14 +78,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], _class: typing.Union[Schema_.Properties._Class, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ClassModel': return super().__new__( cls, - *_args, + *args_, _class=_class, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/class_model.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/class_model.pyi index e7c5a5e7b72..eaaaada5fc3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/class_model.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/class_model.pyi @@ -78,14 +78,14 @@ class ClassModel( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], _class: typing.Union[Schema_.Properties._Class, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ClassModel': return super().__new__( cls, - *_args, + *args_, _class=_class, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/client.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/client.py index a1451ef2654..ccbfcdcbbdb 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/client.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/client.py @@ -75,14 +75,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], client: typing.Union[Schema_.Properties.Client, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Client': return super().__new__( cls, - *_args, + *args_, client=client, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/client.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/client.pyi index 8e14050d43a..dd83538289a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/client.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/client.pyi @@ -74,14 +74,14 @@ class Client( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], client: typing.Union[Schema_.Properties.Client, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Client': return super().__new__( cls, - *_args, + *args_, client=client, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/complex_quadrilateral.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/complex_quadrilateral.py index 3579eb78391..107d015a7aa 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/complex_quadrilateral.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/complex_quadrilateral.py @@ -107,14 +107,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], quadrilateralType: typing.Union[Schema_.Properties.QuadrilateralType, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': return super().__new__( cls, - *_args, + *args_, quadrilateralType=quadrilateralType, configuration_=configuration_, **kwargs, @@ -127,13 +127,13 @@ def __new__( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ComplexQuadrilateral': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/complex_quadrilateral.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/complex_quadrilateral.pyi index c21fcb5b003..2fbb16b7159 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/complex_quadrilateral.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/complex_quadrilateral.pyi @@ -97,14 +97,14 @@ class ComplexQuadrilateral( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], quadrilateralType: typing.Union[Schema_.Properties.QuadrilateralType, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': return super().__new__( cls, - *_args, + *args_, quadrilateralType=quadrilateralType, configuration_=configuration_, **kwargs, @@ -117,13 +117,13 @@ class ComplexQuadrilateral( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ComplexQuadrilateral': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_any_of_different_types_no_validations.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_any_of_different_types_no_validations.py index 1dcb188593d..e4a42922bdf 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_any_of_different_types_no_validations.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_any_of_different_types_no_validations.py @@ -98,13 +98,13 @@ def __getitem__(self, i: int) -> Schema_.Items: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ComposedAnyOfDifferentTypesNoValidations': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_any_of_different_types_no_validations.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_any_of_different_types_no_validations.pyi index 1dcb188593d..e4a42922bdf 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_any_of_different_types_no_validations.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_any_of_different_types_no_validations.pyi @@ -98,13 +98,13 @@ class ComposedAnyOfDifferentTypesNoValidations( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ComposedAnyOfDifferentTypesNoValidations': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_bool.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_bool.py index 07ae6c96400..c2745dd246c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_bool.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_bool.py @@ -47,11 +47,11 @@ class AllOf: def __new__( cls, - *_args: typing.Union[bool, ], + *args_: typing.Union[bool, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ComposedBool': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_bool.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_bool.pyi index 07ae6c96400..c2745dd246c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_bool.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_bool.pyi @@ -47,11 +47,11 @@ class ComposedBool( def __new__( cls, - *_args: typing.Union[bool, ], + *args_: typing.Union[bool, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ComposedBool': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_none.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_none.py index d5f6c3d8dd3..24be93aaeb0 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_none.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_none.py @@ -47,11 +47,11 @@ class AllOf: def __new__( cls, - *_args: typing.Union[None, ], + *args_: typing.Union[None, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ComposedNone': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_none.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_none.pyi index d5f6c3d8dd3..24be93aaeb0 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_none.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_none.pyi @@ -47,11 +47,11 @@ class ComposedNone( def __new__( cls, - *_args: typing.Union[None, ], + *args_: typing.Union[None, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ComposedNone': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_number.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_number.py index d872d7fedb8..490159ba1ae 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_number.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_number.py @@ -47,11 +47,11 @@ class AllOf: def __new__( cls, - *_args: typing.Union[decimal.Decimal, int, float, ], + *args_: typing.Union[decimal.Decimal, int, float, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ComposedNumber': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_number.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_number.pyi index d872d7fedb8..490159ba1ae 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_number.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_number.pyi @@ -47,11 +47,11 @@ class ComposedNumber( def __new__( cls, - *_args: typing.Union[decimal.Decimal, int, float, ], + *args_: typing.Union[decimal.Decimal, int, float, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ComposedNumber': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_object.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_object.py index 22fbb9b04af..4d38042b50b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_object.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_object.py @@ -47,13 +47,13 @@ class AllOf: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ComposedObject': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_object.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_object.pyi index 22fbb9b04af..4d38042b50b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_object.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_object.pyi @@ -47,13 +47,13 @@ class ComposedObject( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ComposedObject': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_one_of_different_types.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_one_of_different_types.py index 1cf97c64b1d..e9c990c20d0 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_one_of_different_types.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_one_of_different_types.py @@ -63,13 +63,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneOf4': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -127,13 +127,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ComposedOneOfDifferentTypes': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_one_of_different_types.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_one_of_different_types.pyi index 32d9a3fba38..69d524cc669 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_one_of_different_types.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_one_of_different_types.pyi @@ -57,13 +57,13 @@ class ComposedOneOfDifferentTypes( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneOf4': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -112,13 +112,13 @@ class ComposedOneOfDifferentTypes( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ComposedOneOfDifferentTypes': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_string.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_string.py index bc5c0784d6e..976b8433c31 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_string.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_string.py @@ -47,11 +47,11 @@ class AllOf: def __new__( cls, - *_args: typing.Union[str, ], + *args_: typing.Union[str, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ComposedString': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_string.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_string.pyi index bc5c0784d6e..976b8433c31 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_string.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_string.pyi @@ -47,11 +47,11 @@ class ComposedString( def __new__( cls, - *_args: typing.Union[str, ], + *args_: typing.Union[str, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ComposedString': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/danish_pig.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/danish_pig.py index a691c1b8995..b7804c76fd5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/danish_pig.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/danish_pig.py @@ -97,14 +97,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], className: typing.Union[Schema_.Properties.ClassName, str, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'DanishPig': return super().__new__( cls, - *_args, + *args_, className=className, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/danish_pig.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/danish_pig.pyi index 1e733865fb7..7a0148eba0d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/danish_pig.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/danish_pig.pyi @@ -87,14 +87,14 @@ class DanishPig( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], className: typing.Union[Schema_.Properties.ClassName, str, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'DanishPig': return super().__new__( cls, - *_args, + *args_, className=className, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/dog.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/dog.py index d5885b8a893..fc0173d0804 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/dog.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/dog.py @@ -90,14 +90,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], breed: typing.Union[Schema_.Properties.Breed, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': return super().__new__( cls, - *_args, + *args_, breed=breed, configuration_=configuration_, **kwargs, @@ -110,13 +110,13 @@ def __new__( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Dog': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/dog.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/dog.pyi index 90ba76a272b..f845c2d18ca 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/dog.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/dog.pyi @@ -89,14 +89,14 @@ class Dog( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], breed: typing.Union[Schema_.Properties.Breed, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': return super().__new__( cls, - *_args, + *args_, breed=breed, configuration_=configuration_, **kwargs, @@ -109,13 +109,13 @@ class Dog( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Dog': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/drawing.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/drawing.py index 0fe935a50f5..4a3d8d02e7d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/drawing.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/drawing.py @@ -144,7 +144,7 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], mainShape: typing.Union['shape.Shape', schemas.Unset] = schemas.unset, shapeOrNull: typing.Union['shape_or_null.ShapeOrNull', schemas.Unset] = schemas.unset, nullableShape: typing.Union['nullable_shape.NullableShape', schemas.Unset] = schemas.unset, @@ -154,7 +154,7 @@ def __new__( ) -> 'Drawing': return super().__new__( cls, - *_args, + *args_, mainShape=mainShape, shapeOrNull=shapeOrNull, nullableShape=nullableShape, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/drawing.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/drawing.pyi index cbb187fe69c..22c12d14521 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/drawing.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/drawing.pyi @@ -143,7 +143,7 @@ class Drawing( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], mainShape: typing.Union['shape.Shape', schemas.Unset] = schemas.unset, shapeOrNull: typing.Union['shape_or_null.ShapeOrNull', schemas.Unset] = schemas.unset, nullableShape: typing.Union['nullable_shape.NullableShape', schemas.Unset] = schemas.unset, @@ -153,7 +153,7 @@ class Drawing( ) -> 'Drawing': return super().__new__( cls, - *_args, + *args_, mainShape=mainShape, shapeOrNull=shapeOrNull, nullableShape=nullableShape, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_arrays.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_arrays.py index c2ab649d66b..e5dd896de7d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_arrays.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_arrays.py @@ -152,7 +152,7 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], just_symbol: typing.Union[Schema_.Properties.JustSymbol, str, schemas.Unset] = schemas.unset, array_enum: typing.Union[Schema_.Properties.ArrayEnum, list, tuple, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -160,7 +160,7 @@ def __new__( ) -> 'EnumArrays': return super().__new__( cls, - *_args, + *args_, just_symbol=just_symbol, array_enum=array_enum, configuration_=configuration_, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_arrays.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_arrays.pyi index 926857daf9e..1230e7e504e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_arrays.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_arrays.pyi @@ -131,7 +131,7 @@ class EnumArrays( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], just_symbol: typing.Union[Schema_.Properties.JustSymbol, str, schemas.Unset] = schemas.unset, array_enum: typing.Union[Schema_.Properties.ArrayEnum, list, tuple, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -139,7 +139,7 @@ class EnumArrays( ) -> 'EnumArrays': return super().__new__( cls, - *_args, + *args_, just_symbol=just_symbol, array_enum=array_enum, configuration_=configuration_, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_test.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_test.py index 6ba79bd2c6f..5c337a7fc6c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_test.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_test.py @@ -275,7 +275,7 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], enum_string_required: typing.Union[Schema_.Properties.EnumStringRequired, str, ], enum_string: typing.Union[Schema_.Properties.EnumString, str, schemas.Unset] = schemas.unset, enum_integer: typing.Union[Schema_.Properties.EnumInteger, decimal.Decimal, int, schemas.Unset] = schemas.unset, @@ -290,7 +290,7 @@ def __new__( ) -> 'EnumTest': return super().__new__( cls, - *_args, + *args_, enum_string_required=enum_string_required, enum_string=enum_string, enum_integer=enum_integer, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_test.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_test.pyi index 8404365a24e..9a95848957e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_test.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_test.pyi @@ -230,7 +230,7 @@ class EnumTest( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], enum_string_required: typing.Union[Schema_.Properties.EnumStringRequired, str, ], enum_string: typing.Union[Schema_.Properties.EnumString, str, schemas.Unset] = schemas.unset, enum_integer: typing.Union[Schema_.Properties.EnumInteger, decimal.Decimal, int, schemas.Unset] = schemas.unset, @@ -245,7 +245,7 @@ class EnumTest( ) -> 'EnumTest': return super().__new__( cls, - *_args, + *args_, enum_string_required=enum_string_required, enum_string=enum_string, enum_integer=enum_integer, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/equilateral_triangle.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/equilateral_triangle.py index 0621c8816b7..ae3cacda27c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/equilateral_triangle.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/equilateral_triangle.py @@ -107,14 +107,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], triangleType: typing.Union[Schema_.Properties.TriangleType, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': return super().__new__( cls, - *_args, + *args_, triangleType=triangleType, configuration_=configuration_, **kwargs, @@ -127,13 +127,13 @@ def __new__( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'EquilateralTriangle': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/equilateral_triangle.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/equilateral_triangle.pyi index 3582289291b..b62ba59a075 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/equilateral_triangle.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/equilateral_triangle.pyi @@ -97,14 +97,14 @@ class EquilateralTriangle( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], triangleType: typing.Union[Schema_.Properties.TriangleType, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': return super().__new__( cls, - *_args, + *args_, triangleType=triangleType, configuration_=configuration_, **kwargs, @@ -117,13 +117,13 @@ class EquilateralTriangle( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'EquilateralTriangle': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/file.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/file.py index 80f2850ee73..c08e08c406d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/file.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/file.py @@ -77,14 +77,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], sourceURI: typing.Union[Schema_.Properties.SourceURI, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'File': return super().__new__( cls, - *_args, + *args_, sourceURI=sourceURI, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/file.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/file.pyi index 29451521792..e160f2f40a8 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/file.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/file.pyi @@ -76,14 +76,14 @@ class File( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], sourceURI: typing.Union[Schema_.Properties.SourceURI, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'File': return super().__new__( cls, - *_args, + *args_, sourceURI=sourceURI, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/file_schema_test_class.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/file_schema_test_class.py index b3832d4b4b6..c9e59e539da 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/file_schema_test_class.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/file_schema_test_class.py @@ -114,7 +114,7 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], file: typing.Union['file.File', schemas.Unset] = schemas.unset, files: typing.Union[Schema_.Properties.Files, list, tuple, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -122,7 +122,7 @@ def __new__( ) -> 'FileSchemaTestClass': return super().__new__( cls, - *_args, + *args_, file=file, files=files, configuration_=configuration_, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/file_schema_test_class.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/file_schema_test_class.pyi index 67d256a3ae9..680864ae2e2 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/file_schema_test_class.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/file_schema_test_class.pyi @@ -113,7 +113,7 @@ class FileSchemaTestClass( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], file: typing.Union['file.File', schemas.Unset] = schemas.unset, files: typing.Union[Schema_.Properties.Files, list, tuple, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -121,7 +121,7 @@ class FileSchemaTestClass( ) -> 'FileSchemaTestClass': return super().__new__( cls, - *_args, + *args_, file=file, files=files, configuration_=configuration_, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/foo.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/foo.py index 6680b037c31..a312c5b7f20 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/foo.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/foo.py @@ -78,14 +78,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], bar: typing.Union['bar.Bar', schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Foo': return super().__new__( cls, - *_args, + *args_, bar=bar, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/foo.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/foo.pyi index 43f18d7c9c7..a372d9c6f4e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/foo.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/foo.pyi @@ -77,14 +77,14 @@ class Foo( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], bar: typing.Union['bar.Bar', schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Foo': return super().__new__( cls, - *_args, + *args_, bar=bar, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/format_test.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/format_test.py index 9629ed791e4..ef5ea77b549 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/format_test.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/format_test.py @@ -434,7 +434,7 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], byte: typing.Union[Schema_.Properties.Byte, str, ], date: typing.Union[Schema_.Properties.Date, str, datetime.date, ], number: typing.Union[Schema_.Properties.Number, decimal.Decimal, int, float, ], @@ -460,7 +460,7 @@ def __new__( ) -> 'FormatTest': return super().__new__( cls, - *_args, + *args_, byte=byte, date=date, number=number, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/format_test.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/format_test.pyi index f5c23ed86ce..c6918ee0ec3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/format_test.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/format_test.pyi @@ -354,7 +354,7 @@ class FormatTest( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], byte: typing.Union[Schema_.Properties.Byte, str, ], date: typing.Union[Schema_.Properties.Date, str, datetime.date, ], number: typing.Union[Schema_.Properties.Number, decimal.Decimal, int, float, ], @@ -380,7 +380,7 @@ class FormatTest( ) -> 'FormatTest': return super().__new__( cls, - *_args, + *args_, byte=byte, date=date, number=number, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/from_schema.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/from_schema.py index 4effa15a9cf..42a0590d4e4 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/from_schema.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/from_schema.py @@ -85,7 +85,7 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], data: typing.Union[Schema_.Properties.Data, str, schemas.Unset] = schemas.unset, id: typing.Union[Schema_.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -93,7 +93,7 @@ def __new__( ) -> 'FromSchema': return super().__new__( cls, - *_args, + *args_, data=data, id=id, configuration_=configuration_, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/from_schema.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/from_schema.pyi index 569a0b15191..5f4a71e9258 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/from_schema.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/from_schema.pyi @@ -84,7 +84,7 @@ class FromSchema( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], data: typing.Union[Schema_.Properties.Data, str, schemas.Unset] = schemas.unset, id: typing.Union[Schema_.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -92,7 +92,7 @@ class FromSchema( ) -> 'FromSchema': return super().__new__( cls, - *_args, + *args_, data=data, id=id, configuration_=configuration_, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit.py index 58e21280f53..d5c2d3e819b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit.py @@ -90,14 +90,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], color: typing.Union[Schema_.Properties.Color, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Fruit': return super().__new__( cls, - *_args, + *args_, color=color, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit.pyi index 58e21280f53..d5c2d3e819b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit.pyi @@ -90,14 +90,14 @@ class Fruit( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], color: typing.Union[Schema_.Properties.Color, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Fruit': return super().__new__( cls, - *_args, + *args_, color=color, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit_req.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit_req.py index ea2dba1eb49..dd675cf2c50 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit_req.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit_req.py @@ -55,13 +55,13 @@ def one_of2() -> typing.Type['banana_req.BananaReq']: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'FruitReq': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit_req.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit_req.pyi index ea2dba1eb49..dd675cf2c50 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit_req.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit_req.pyi @@ -55,13 +55,13 @@ class FruitReq( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'FruitReq': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/gm_fruit.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/gm_fruit.py index ad631107262..70c8f5d9aed 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/gm_fruit.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/gm_fruit.py @@ -90,14 +90,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], color: typing.Union[Schema_.Properties.Color, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'GmFruit': return super().__new__( cls, - *_args, + *args_, color=color, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/gm_fruit.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/gm_fruit.pyi index ad631107262..70c8f5d9aed 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/gm_fruit.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/gm_fruit.pyi @@ -90,14 +90,14 @@ class GmFruit( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], color: typing.Union[Schema_.Properties.Color, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'GmFruit': return super().__new__( cls, - *_args, + *args_, color=color, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/grandparent_animal.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/grandparent_animal.py index 377e8df6219..87ccdeb62ae 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/grandparent_animal.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/grandparent_animal.py @@ -89,14 +89,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], pet_type: typing.Union[Schema_.Properties.PetType, str, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'GrandparentAnimal': return super().__new__( cls, - *_args, + *args_, pet_type=pet_type, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/grandparent_animal.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/grandparent_animal.pyi index 76e02ffddde..e3d444f4164 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/grandparent_animal.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/grandparent_animal.pyi @@ -88,14 +88,14 @@ class GrandparentAnimal( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], pet_type: typing.Union[Schema_.Properties.PetType, str, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'GrandparentAnimal': return super().__new__( cls, - *_args, + *args_, pet_type=pet_type, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/has_only_read_only.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/has_only_read_only.py index 99cd69b38e5..9b0bdb118f8 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/has_only_read_only.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/has_only_read_only.py @@ -85,7 +85,7 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], bar: typing.Union[Schema_.Properties.Bar, str, schemas.Unset] = schemas.unset, foo: typing.Union[Schema_.Properties.Foo, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -93,7 +93,7 @@ def __new__( ) -> 'HasOnlyReadOnly': return super().__new__( cls, - *_args, + *args_, bar=bar, foo=foo, configuration_=configuration_, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/has_only_read_only.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/has_only_read_only.pyi index de04bf392d8..adecfb6bbf3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/has_only_read_only.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/has_only_read_only.pyi @@ -84,7 +84,7 @@ class HasOnlyReadOnly( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], bar: typing.Union[Schema_.Properties.Bar, str, schemas.Unset] = schemas.unset, foo: typing.Union[Schema_.Properties.Foo, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -92,7 +92,7 @@ class HasOnlyReadOnly( ) -> 'HasOnlyReadOnly': return super().__new__( cls, - *_args, + *args_, bar=bar, foo=foo, configuration_=configuration_, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/health_check_result.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/health_check_result.py index f44d6d3e7e1..7ae7e522df4 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/health_check_result.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/health_check_result.py @@ -58,12 +58,12 @@ class Schema_: def __new__( cls, - *_args: typing.Union[None, str, ], + *args_: typing.Union[None, str, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'NullableMessage': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, ) __annotations__ = { @@ -103,14 +103,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], NullableMessage: typing.Union[Schema_.Properties.NullableMessage, None, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'HealthCheckResult': return super().__new__( cls, - *_args, + *args_, NullableMessage=NullableMessage, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/health_check_result.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/health_check_result.pyi index 4d8cfb6f817..0e6c0e3dec8 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/health_check_result.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/health_check_result.pyi @@ -57,12 +57,12 @@ class HealthCheckResult( def __new__( cls, - *_args: typing.Union[None, str, ], + *args_: typing.Union[None, str, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'NullableMessage': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, ) __annotations__ = { @@ -102,14 +102,14 @@ class HealthCheckResult( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], NullableMessage: typing.Union[Schema_.Properties.NullableMessage, None, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'HealthCheckResult': return super().__new__( cls, - *_args, + *args_, NullableMessage=NullableMessage, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/isosceles_triangle.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/isosceles_triangle.py index 1e961a07406..af9d42226a6 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/isosceles_triangle.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/isosceles_triangle.py @@ -107,14 +107,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], triangleType: typing.Union[Schema_.Properties.TriangleType, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': return super().__new__( cls, - *_args, + *args_, triangleType=triangleType, configuration_=configuration_, **kwargs, @@ -127,13 +127,13 @@ def __new__( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'IsoscelesTriangle': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/isosceles_triangle.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/isosceles_triangle.pyi index 2fd4cf0a2f5..58458dd52a6 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/isosceles_triangle.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/isosceles_triangle.pyi @@ -97,14 +97,14 @@ class IsoscelesTriangle( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], triangleType: typing.Union[Schema_.Properties.TriangleType, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': return super().__new__( cls, - *_args, + *args_, triangleType=triangleType, configuration_=configuration_, **kwargs, @@ -117,13 +117,13 @@ class IsoscelesTriangle( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'IsoscelesTriangle': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request.py index 180fb962286..ba7b786a7f1 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request.py @@ -67,13 +67,13 @@ def one_of2() -> typing.Type['json_patch_request_move_copy.JSONPatchRequestMoveC def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Items': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request.pyi index 180fb962286..ba7b786a7f1 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request.pyi @@ -67,13 +67,13 @@ class JSONPatchRequest( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Items': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_add_replace_test.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_add_replace_test.py index ce5695a8c18..316c8f70de5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_add_replace_test.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_add_replace_test.py @@ -124,7 +124,7 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], op: typing.Union[Schema_.Properties.Op, str, ], path: typing.Union[Schema_.Properties.Path, str, ], value: typing.Union[Schema_.Properties.Value, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], @@ -132,7 +132,7 @@ def __new__( ) -> 'JSONPatchRequestAddReplaceTest': return super().__new__( cls, - *_args, + *args_, op=op, path=path, value=value, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_add_replace_test.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_add_replace_test.pyi index 5afc2e816ec..b3f2d168f38 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_add_replace_test.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_add_replace_test.pyi @@ -112,7 +112,7 @@ class JSONPatchRequestAddReplaceTest( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], op: typing.Union[Schema_.Properties.Op, str, ], path: typing.Union[Schema_.Properties.Path, str, ], value: typing.Union[Schema_.Properties.Value, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], @@ -120,7 +120,7 @@ class JSONPatchRequestAddReplaceTest( ) -> 'JSONPatchRequestAddReplaceTest': return super().__new__( cls, - *_args, + *args_, op=op, path=path, value=value, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_move_copy.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_move_copy.py index a059dbd981b..6f3df306a17 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_move_copy.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_move_copy.py @@ -118,14 +118,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], op: typing.Union[Schema_.Properties.Op, str, ], path: typing.Union[Schema_.Properties.Path, str, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'JSONPatchRequestMoveCopy': return super().__new__( cls, - *_args, + *args_, op=op, path=path, configuration_=configuration_, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_move_copy.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_move_copy.pyi index a4381ee343f..f95d7b7e630 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_move_copy.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_move_copy.pyi @@ -107,14 +107,14 @@ class JSONPatchRequestMoveCopy( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], op: typing.Union[Schema_.Properties.Op, str, ], path: typing.Union[Schema_.Properties.Path, str, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'JSONPatchRequestMoveCopy': return super().__new__( cls, - *_args, + *args_, op=op, path=path, configuration_=configuration_, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_remove.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_remove.py index 2ac2cbc6606..d2b2608e230 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_remove.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_remove.py @@ -102,14 +102,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], op: typing.Union[Schema_.Properties.Op, str, ], path: typing.Union[Schema_.Properties.Path, str, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'JSONPatchRequestRemove': return super().__new__( cls, - *_args, + *args_, op=op, path=path, configuration_=configuration_, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_remove.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_remove.pyi index e2e33c708a9..2a36b5f49a4 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_remove.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request_remove.pyi @@ -92,14 +92,14 @@ class JSONPatchRequestRemove( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], op: typing.Union[Schema_.Properties.Op, str, ], path: typing.Union[Schema_.Properties.Path, str, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'JSONPatchRequestRemove': return super().__new__( cls, - *_args, + *args_, op=op, path=path, configuration_=configuration_, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/mammal.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/mammal.py index 05c1755a539..05f4961ecb7 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/mammal.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/mammal.py @@ -68,13 +68,13 @@ def one_of2() -> typing.Type['pig.Pig']: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Mammal': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/mammal.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/mammal.pyi index 05c1755a539..05f4961ecb7 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/mammal.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/mammal.pyi @@ -68,13 +68,13 @@ class Mammal( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Mammal': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/map_test.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/map_test.py index 5c19cbffd33..bcbdb7a048c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/map_test.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/map_test.py @@ -66,13 +66,13 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], ) -> 'AdditionalProperties': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -86,13 +86,13 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, ], ) -> 'MapMapOfString': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -138,13 +138,13 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], ) -> 'MapOfEnumString': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -168,13 +168,13 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, bool, ], ) -> 'DirectMap': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -246,7 +246,7 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], map_map_of_string: typing.Union[Schema_.Properties.MapMapOfString, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, map_of_enum_string: typing.Union[Schema_.Properties.MapOfEnumString, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, direct_map: typing.Union[Schema_.Properties.DirectMap, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -256,7 +256,7 @@ def __new__( ) -> 'MapTest': return super().__new__( cls, - *_args, + *args_, map_map_of_string=map_map_of_string, map_of_enum_string=map_of_enum_string, direct_map=direct_map, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/map_test.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/map_test.pyi index 112677dd4d1..3d6e5638c0b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/map_test.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/map_test.pyi @@ -63,13 +63,13 @@ class MapTest( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], ) -> 'AdditionalProperties': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -83,13 +83,13 @@ class MapTest( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, ], ) -> 'MapMapOfString': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -124,13 +124,13 @@ class MapTest( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], ) -> 'MapOfEnumString': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -153,13 +153,13 @@ class MapTest( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, bool, ], ) -> 'DirectMap': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -231,7 +231,7 @@ class MapTest( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], map_map_of_string: typing.Union[Schema_.Properties.MapMapOfString, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, map_of_enum_string: typing.Union[Schema_.Properties.MapOfEnumString, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, direct_map: typing.Union[Schema_.Properties.DirectMap, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -241,7 +241,7 @@ class MapTest( ) -> 'MapTest': return super().__new__( cls, - *_args, + *args_, map_map_of_string=map_map_of_string, map_of_enum_string=map_of_enum_string, direct_map=direct_map, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/mixed_properties_and_additional_properties_class.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/mixed_properties_and_additional_properties_class.py index a0c71a716f1..c9215f7e261 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/mixed_properties_and_additional_properties_class.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/mixed_properties_and_additional_properties_class.py @@ -62,13 +62,13 @@ def get_item_(self, name: str) -> 'animal.Animal': def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: 'animal.Animal', ) -> 'Map': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -127,7 +127,7 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], uuid: typing.Union[Schema_.Properties.Uuid, str, uuid.UUID, schemas.Unset] = schemas.unset, dateTime: typing.Union[Schema_.Properties.DateTime, str, datetime.datetime, schemas.Unset] = schemas.unset, map: typing.Union[Schema_.Properties.Map, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -136,7 +136,7 @@ def __new__( ) -> 'MixedPropertiesAndAdditionalPropertiesClass': return super().__new__( cls, - *_args, + *args_, uuid=uuid, dateTime=dateTime, map=map, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/mixed_properties_and_additional_properties_class.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/mixed_properties_and_additional_properties_class.pyi index 82424fa4fba..bc71a97be5d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/mixed_properties_and_additional_properties_class.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/mixed_properties_and_additional_properties_class.pyi @@ -60,13 +60,13 @@ class MixedPropertiesAndAdditionalPropertiesClass( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: 'animal.Animal', ) -> 'Map': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -125,7 +125,7 @@ class MixedPropertiesAndAdditionalPropertiesClass( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], uuid: typing.Union[Schema_.Properties.Uuid, str, uuid.UUID, schemas.Unset] = schemas.unset, dateTime: typing.Union[Schema_.Properties.DateTime, str, datetime.datetime, schemas.Unset] = schemas.unset, map: typing.Union[Schema_.Properties.Map, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, @@ -134,7 +134,7 @@ class MixedPropertiesAndAdditionalPropertiesClass( ) -> 'MixedPropertiesAndAdditionalPropertiesClass': return super().__new__( cls, - *_args, + *args_, uuid=uuid, dateTime=dateTime, map=map, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/money.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/money.py index 0fafe09910f..a3ed4ece8a0 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/money.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/money.py @@ -95,7 +95,7 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], amount: typing.Union[Schema_.Properties.Amount, str, ], currency: 'currency.Currency', configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -103,7 +103,7 @@ def __new__( ) -> 'Money': return super().__new__( cls, - *_args, + *args_, amount=amount, currency=currency, configuration_=configuration_, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/money.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/money.pyi index f7fb25b0ea1..e9cf9612656 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/money.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/money.pyi @@ -94,7 +94,7 @@ class Money( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], amount: typing.Union[Schema_.Properties.Amount, str, ], currency: 'currency.Currency', configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -102,7 +102,7 @@ class Money( ) -> 'Money': return super().__new__( cls, - *_args, + *args_, amount=amount, currency=currency, configuration_=configuration_, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/name.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/name.py index 2530bc93d21..3f3cf499deb 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/name.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/name.py @@ -103,7 +103,7 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], name: typing.Union[Schema_.Properties.Name, decimal.Decimal, int, ], snake_case: typing.Union[Schema_.Properties.SnakeCase, decimal.Decimal, int, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -111,7 +111,7 @@ def __new__( ) -> 'Name': return super().__new__( cls, - *_args, + *args_, name=name, snake_case=snake_case, configuration_=configuration_, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/name.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/name.pyi index 2530bc93d21..3f3cf499deb 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/name.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/name.pyi @@ -103,7 +103,7 @@ class Name( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], name: typing.Union[Schema_.Properties.Name, decimal.Decimal, int, ], snake_case: typing.Union[Schema_.Properties.SnakeCase, decimal.Decimal, int, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -111,7 +111,7 @@ class Name( ) -> 'Name': return super().__new__( cls, - *_args, + *args_, name=name, snake_case=snake_case, configuration_=configuration_, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/no_additional_properties.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/no_additional_properties.py index b96812deb41..fdd0f02d79e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/no_additional_properties.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/no_additional_properties.py @@ -83,14 +83,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], id: typing.Union[Schema_.Properties.Id, decimal.Decimal, int, ], petId: typing.Union[Schema_.Properties.PetId, decimal.Decimal, int, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'NoAdditionalProperties': return super().__new__( cls, - *_args, + *args_, id=id, petId=petId, configuration_=configuration_, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/no_additional_properties.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/no_additional_properties.pyi index a88bbb791eb..a62e36e2d64 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/no_additional_properties.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/no_additional_properties.pyi @@ -82,14 +82,14 @@ class NoAdditionalProperties( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], id: typing.Union[Schema_.Properties.Id, decimal.Decimal, int, ], petId: typing.Union[Schema_.Properties.PetId, decimal.Decimal, int, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'NoAdditionalProperties': return super().__new__( cls, - *_args, + *args_, id=id, petId=petId, configuration_=configuration_, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_class.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_class.py index 6c81e221fad..4a2c81c50aa 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_class.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_class.py @@ -57,12 +57,12 @@ class Schema_: def __new__( cls, - *_args: typing.Union[None, decimal.Decimal, int, ], + *args_: typing.Union[None, decimal.Decimal, int, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'IntegerProp': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, ) @@ -84,12 +84,12 @@ class Schema_: def __new__( cls, - *_args: typing.Union[None, decimal.Decimal, int, float, ], + *args_: typing.Union[None, decimal.Decimal, int, float, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'NumberProp': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, ) @@ -111,12 +111,12 @@ class Schema_: def __new__( cls, - *_args: typing.Union[None, bool, ], + *args_: typing.Union[None, bool, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'BooleanProp': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, ) @@ -138,12 +138,12 @@ class Schema_: def __new__( cls, - *_args: typing.Union[None, str, ], + *args_: typing.Union[None, str, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'StringProp': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, ) @@ -167,12 +167,12 @@ class Schema_: def __new__( cls, - *_args: typing.Union[None, str, datetime.date, ], + *args_: typing.Union[None, str, datetime.date, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'DateProp': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, ) @@ -196,12 +196,12 @@ class Schema_: def __new__( cls, - *_args: typing.Union[None, str, datetime.datetime, ], + *args_: typing.Union[None, str, datetime.datetime, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'DatetimeProp': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, ) @@ -224,12 +224,12 @@ class Schema_: def __new__( cls, - *_args: typing.Union[list, tuple, None, ], + *args_: typing.Union[list, tuple, None, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayNullableProp': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, ) @@ -266,13 +266,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, None, ], + *args_: typing.Union[dict, frozendict.frozendict, None, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Items': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -280,12 +280,12 @@ def __new__( def __new__( cls, - *_args: typing.Union[list, tuple, None, ], + *args_: typing.Union[list, tuple, None, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayAndItemsNullableProp': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, ) @@ -316,13 +316,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, None, ], + *args_: typing.Union[dict, frozendict.frozendict, None, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Items': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -367,13 +367,13 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, None, ], + *args_: typing.Union[dict, frozendict.frozendict, None, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, ], ) -> 'ObjectNullableProp': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -411,13 +411,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, None, ], + *args_: typing.Union[dict, frozendict.frozendict, None, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AdditionalProperties': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -432,13 +432,13 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, None, ], + *args_: typing.Union[dict, frozendict.frozendict, None, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, None, ], ) -> 'ObjectAndItemsNullableProp': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -470,13 +470,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, None, ], + *args_: typing.Union[dict, frozendict.frozendict, None, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AdditionalProperties': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -490,13 +490,13 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, None, ], ) -> 'ObjectItemsNullable': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -533,13 +533,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, None, ], + *args_: typing.Union[dict, frozendict.frozendict, None, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AdditionalProperties': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -665,7 +665,7 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], integer_prop: typing.Union[Schema_.Properties.IntegerProp, None, decimal.Decimal, int, schemas.Unset] = schemas.unset, number_prop: typing.Union[Schema_.Properties.NumberProp, None, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, boolean_prop: typing.Union[Schema_.Properties.BooleanProp, None, bool, schemas.Unset] = schemas.unset, @@ -683,7 +683,7 @@ def __new__( ) -> 'NullableClass': return super().__new__( cls, - *_args, + *args_, integer_prop=integer_prop, number_prop=number_prop, boolean_prop=boolean_prop, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_class.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_class.pyi index c3e5e766e8e..8e8b61b5216 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_class.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_class.pyi @@ -56,12 +56,12 @@ class NullableClass( def __new__( cls, - *_args: typing.Union[None, decimal.Decimal, int, ], + *args_: typing.Union[None, decimal.Decimal, int, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'IntegerProp': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, ) @@ -83,12 +83,12 @@ class NullableClass( def __new__( cls, - *_args: typing.Union[None, decimal.Decimal, int, float, ], + *args_: typing.Union[None, decimal.Decimal, int, float, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'NumberProp': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, ) @@ -110,12 +110,12 @@ class NullableClass( def __new__( cls, - *_args: typing.Union[None, bool, ], + *args_: typing.Union[None, bool, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'BooleanProp': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, ) @@ -137,12 +137,12 @@ class NullableClass( def __new__( cls, - *_args: typing.Union[None, str, ], + *args_: typing.Union[None, str, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'StringProp': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, ) @@ -166,12 +166,12 @@ class NullableClass( def __new__( cls, - *_args: typing.Union[None, str, datetime.date, ], + *args_: typing.Union[None, str, datetime.date, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'DateProp': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, ) @@ -195,12 +195,12 @@ class NullableClass( def __new__( cls, - *_args: typing.Union[None, str, datetime.datetime, ], + *args_: typing.Union[None, str, datetime.datetime, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'DatetimeProp': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, ) @@ -223,12 +223,12 @@ class NullableClass( def __new__( cls, - *_args: typing.Union[list, tuple, None, ], + *args_: typing.Union[list, tuple, None, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayNullableProp': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, ) @@ -265,13 +265,13 @@ class NullableClass( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, None, ], + *args_: typing.Union[dict, frozendict.frozendict, None, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Items': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -279,12 +279,12 @@ class NullableClass( def __new__( cls, - *_args: typing.Union[list, tuple, None, ], + *args_: typing.Union[list, tuple, None, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'ArrayAndItemsNullableProp': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, ) @@ -315,13 +315,13 @@ class NullableClass( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, None, ], + *args_: typing.Union[dict, frozendict.frozendict, None, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Items': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -366,13 +366,13 @@ class NullableClass( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, None, ], + *args_: typing.Union[dict, frozendict.frozendict, None, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, ], ) -> 'ObjectNullableProp': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -410,13 +410,13 @@ class NullableClass( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, None, ], + *args_: typing.Union[dict, frozendict.frozendict, None, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AdditionalProperties': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -431,13 +431,13 @@ class NullableClass( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, None, ], + *args_: typing.Union[dict, frozendict.frozendict, None, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, None, ], ) -> 'ObjectAndItemsNullableProp': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -468,13 +468,13 @@ class NullableClass( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, None, ], + *args_: typing.Union[dict, frozendict.frozendict, None, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AdditionalProperties': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -488,13 +488,13 @@ class NullableClass( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, None, ], ) -> 'ObjectItemsNullable': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -531,13 +531,13 @@ class NullableClass( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, None, ], + *args_: typing.Union[dict, frozendict.frozendict, None, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AdditionalProperties': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -663,7 +663,7 @@ class NullableClass( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], integer_prop: typing.Union[Schema_.Properties.IntegerProp, None, decimal.Decimal, int, schemas.Unset] = schemas.unset, number_prop: typing.Union[Schema_.Properties.NumberProp, None, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, boolean_prop: typing.Union[Schema_.Properties.BooleanProp, None, bool, schemas.Unset] = schemas.unset, @@ -681,7 +681,7 @@ class NullableClass( ) -> 'NullableClass': return super().__new__( cls, - *_args, + *args_, integer_prop=integer_prop, number_prop=number_prop, boolean_prop=boolean_prop, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_shape.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_shape.py index bdbb1c49d2e..06a21efc71f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_shape.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_shape.py @@ -57,13 +57,13 @@ def one_of1() -> typing.Type['quadrilateral.Quadrilateral']: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'NullableShape': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_shape.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_shape.pyi index bdbb1c49d2e..06a21efc71f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_shape.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_shape.pyi @@ -57,13 +57,13 @@ class NullableShape( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'NullableShape': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_string.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_string.py index a294ff69455..8a02ca0dc4e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_string.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_string.py @@ -45,11 +45,11 @@ class Schema_: def __new__( cls, - *_args: typing.Union[None, str, ], + *args_: typing.Union[None, str, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'NullableString': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_string.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_string.pyi index a294ff69455..8a02ca0dc4e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_string.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_string.pyi @@ -45,11 +45,11 @@ class NullableString( def __new__( cls, - *_args: typing.Union[None, str, ], + *args_: typing.Union[None, str, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'NullableString': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/number_only.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/number_only.py index 5945f410d77..de69c9ae945 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/number_only.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/number_only.py @@ -75,14 +75,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], JustNumber: typing.Union[Schema_.Properties.JustNumber, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'NumberOnly': return super().__new__( cls, - *_args, + *args_, JustNumber=JustNumber, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/number_only.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/number_only.pyi index fae89a3deaf..3ffcb4c277a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/number_only.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/number_only.pyi @@ -74,14 +74,14 @@ class NumberOnly( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], JustNumber: typing.Union[Schema_.Properties.JustNumber, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'NumberOnly': return super().__new__( cls, - *_args, + *args_, JustNumber=JustNumber, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_arg_and_args_properties.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_arg_and_args_properties.py index 8e72896dd1d..f3434bfd1a2 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_arg_and_args_properties.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_arg_and_args_properties.py @@ -92,7 +92,7 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], arg: typing.Union[Schema_.Properties.Arg, str, ], args: typing.Union[Schema_.Properties.Args, str, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -100,7 +100,7 @@ def __new__( ) -> 'ObjectModelWithArgAndArgsProperties': return super().__new__( cls, - *_args, + *args_, arg=arg, args=args, configuration_=configuration_, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_arg_and_args_properties.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_arg_and_args_properties.pyi index 02c9a3eb84e..ad05b3d9778 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_arg_and_args_properties.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_arg_and_args_properties.pyi @@ -91,7 +91,7 @@ class ObjectModelWithArgAndArgsProperties( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], arg: typing.Union[Schema_.Properties.Arg, str, ], args: typing.Union[Schema_.Properties.Args, str, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -99,7 +99,7 @@ class ObjectModelWithArgAndArgsProperties( ) -> 'ObjectModelWithArgAndArgsProperties': return super().__new__( cls, - *_args, + *args_, arg=arg, args=args, configuration_=configuration_, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_ref_props.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_ref_props.py index f1a99930733..d089b7d24bf 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_ref_props.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_ref_props.py @@ -106,7 +106,7 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], myNumber: typing.Union['number_with_validations.NumberWithValidations', schemas.Unset] = schemas.unset, myString: typing.Union['string.String', schemas.Unset] = schemas.unset, myBoolean: typing.Union['boolean.Boolean', schemas.Unset] = schemas.unset, @@ -115,7 +115,7 @@ def __new__( ) -> 'ObjectModelWithRefProps': return super().__new__( cls, - *_args, + *args_, myNumber=myNumber, myString=myString, myBoolean=myBoolean, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_ref_props.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_ref_props.pyi index 69b88b652aa..4444ff15fb5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_ref_props.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_ref_props.pyi @@ -105,7 +105,7 @@ class ObjectModelWithRefProps( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], myNumber: typing.Union['number_with_validations.NumberWithValidations', schemas.Unset] = schemas.unset, myString: typing.Union['string.String', schemas.Unset] = schemas.unset, myBoolean: typing.Union['boolean.Boolean', schemas.Unset] = schemas.unset, @@ -114,7 +114,7 @@ class ObjectModelWithRefProps( ) -> 'ObjectModelWithRefProps': return super().__new__( cls, - *_args, + *args_, myNumber=myNumber, myString=myString, myBoolean=myBoolean, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.py index 47d80cab64f..285ecc0f79a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.py @@ -103,7 +103,7 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], test: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], name: typing.Union[Schema_.Properties.Name, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -111,7 +111,7 @@ def __new__( ) -> 'AllOf1': return super().__new__( cls, - *_args, + *args_, test=test, name=name, configuration_=configuration_, @@ -125,13 +125,13 @@ def __new__( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectWithAllOfWithReqTestPropFromUnsetAddProp': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.pyi index b3c2688a0c4..c225b6c3230 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.pyi @@ -102,7 +102,7 @@ class ObjectWithAllOfWithReqTestPropFromUnsetAddProp( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], test: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], name: typing.Union[Schema_.Properties.Name, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -110,7 +110,7 @@ class ObjectWithAllOfWithReqTestPropFromUnsetAddProp( ) -> 'AllOf1': return super().__new__( cls, - *_args, + *args_, test=test, name=name, configuration_=configuration_, @@ -124,13 +124,13 @@ class ObjectWithAllOfWithReqTestPropFromUnsetAddProp( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectWithAllOfWithReqTestPropFromUnsetAddProp': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_decimal_properties.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_decimal_properties.py index 75dd5ebf232..c5656e10c26 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_decimal_properties.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_decimal_properties.py @@ -101,7 +101,7 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], length: typing.Union['decimal_payload.DecimalPayload', schemas.Unset] = schemas.unset, width: typing.Union[Schema_.Properties.Width, str, schemas.Unset] = schemas.unset, cost: typing.Union['money.Money', schemas.Unset] = schemas.unset, @@ -110,7 +110,7 @@ def __new__( ) -> 'ObjectWithDecimalProperties': return super().__new__( cls, - *_args, + *args_, length=length, width=width, cost=cost, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_decimal_properties.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_decimal_properties.pyi index 15f6a104d74..6b374c8db89 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_decimal_properties.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_decimal_properties.pyi @@ -100,7 +100,7 @@ class ObjectWithDecimalProperties( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], length: typing.Union['decimal_payload.DecimalPayload', schemas.Unset] = schemas.unset, width: typing.Union[Schema_.Properties.Width, str, schemas.Unset] = schemas.unset, cost: typing.Union['money.Money', schemas.Unset] = schemas.unset, @@ -109,7 +109,7 @@ class ObjectWithDecimalProperties( ) -> 'ObjectWithDecimalProperties': return super().__new__( cls, - *_args, + *args_, length=length, width=width, cost=cost, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_difficultly_named_props.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_difficultly_named_props.py index 161f5e97e0b..c237e04cc34 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_difficultly_named_props.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_difficultly_named_props.py @@ -101,13 +101,13 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectWithDifficultlyNamedProps': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_difficultly_named_props.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_difficultly_named_props.pyi index c0e46e8ab4f..6b463440c16 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_difficultly_named_props.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_difficultly_named_props.pyi @@ -100,13 +100,13 @@ class ObjectWithDifficultlyNamedProps( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectWithDifficultlyNamedProps': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_inline_composition_property.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_inline_composition_property.py index 862f3874446..34c2d441144 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_inline_composition_property.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_inline_composition_property.py @@ -67,13 +67,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'SomeProp': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -114,14 +114,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], someProp: typing.Union[Schema_.Properties.SomeProp, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectWithInlineCompositionProperty': return super().__new__( cls, - *_args, + *args_, someProp=someProp, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_inline_composition_property.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_inline_composition_property.pyi index 35c98a70951..9fa803c34b1 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_inline_composition_property.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_inline_composition_property.pyi @@ -60,13 +60,13 @@ class ObjectWithInlineCompositionProperty( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'SomeProp': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -107,14 +107,14 @@ class ObjectWithInlineCompositionProperty( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], someProp: typing.Union[Schema_.Properties.SomeProp, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectWithInlineCompositionProperty': return super().__new__( cls, - *_args, + *args_, someProp=someProp, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_invalid_named_refed_properties.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_invalid_named_refed_properties.py index e5d1194373a..2492549e495 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_invalid_named_refed_properties.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_invalid_named_refed_properties.py @@ -96,13 +96,13 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectWithInvalidNamedRefedProperties': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_invalid_named_refed_properties.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_invalid_named_refed_properties.pyi index 75ca6bcf5e2..1504b9019a9 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_invalid_named_refed_properties.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_invalid_named_refed_properties.pyi @@ -95,13 +95,13 @@ class ObjectWithInvalidNamedRefedProperties( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectWithInvalidNamedRefedProperties': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_optional_test_prop.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_optional_test_prop.py index 41bd0fa7a08..fee377cbd46 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_optional_test_prop.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_optional_test_prop.py @@ -75,14 +75,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], test: typing.Union[Schema_.Properties.Test, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectWithOptionalTestProp': return super().__new__( cls, - *_args, + *args_, test=test, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_optional_test_prop.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_optional_test_prop.pyi index bfedaf0f0cf..3ac7a5651d3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_optional_test_prop.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_optional_test_prop.pyi @@ -74,14 +74,14 @@ class ObjectWithOptionalTestProp( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], test: typing.Union[Schema_.Properties.Test, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectWithOptionalTestProp': return super().__new__( cls, - *_args, + *args_, test=test, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_validations.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_validations.py index e392f3853e6..14bb579ac36 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_validations.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_validations.py @@ -39,13 +39,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectWithValidations': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_validations.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_validations.pyi index 8b3fc9995ba..f0ed4869efd 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_validations.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_validations.pyi @@ -34,13 +34,13 @@ class ObjectWithValidations( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectWithValidations': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/order.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/order.py index 3d33c0e19c0..e2b122d6692 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/order.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/order.py @@ -152,7 +152,7 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], id: typing.Union[Schema_.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, petId: typing.Union[Schema_.Properties.PetId, decimal.Decimal, int, schemas.Unset] = schemas.unset, quantity: typing.Union[Schema_.Properties.Quantity, decimal.Decimal, int, schemas.Unset] = schemas.unset, @@ -164,7 +164,7 @@ def __new__( ) -> 'Order': return super().__new__( cls, - *_args, + *args_, id=id, petId=petId, quantity=quantity, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/order.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/order.pyi index 1dcc0202fae..56467401903 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/order.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/order.pyi @@ -140,7 +140,7 @@ class Order( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], id: typing.Union[Schema_.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, petId: typing.Union[Schema_.Properties.PetId, decimal.Decimal, int, schemas.Unset] = schemas.unset, quantity: typing.Union[Schema_.Properties.Quantity, decimal.Decimal, int, schemas.Unset] = schemas.unset, @@ -152,7 +152,7 @@ class Order( ) -> 'Order': return super().__new__( cls, - *_args, + *args_, id=id, petId=petId, quantity=quantity, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/parent_pet.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/parent_pet.py index c3523d51841..7bea92330d3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/parent_pet.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/parent_pet.py @@ -58,13 +58,13 @@ def all_of0() -> typing.Type['grandparent_animal.GrandparentAnimal']: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ParentPet': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/parent_pet.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/parent_pet.pyi index c3523d51841..7bea92330d3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/parent_pet.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/parent_pet.pyi @@ -58,13 +58,13 @@ class ParentPet( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ParentPet': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/pet.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/pet.py index f44a96b4299..e2b1ffbce4b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/pet.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/pet.py @@ -213,7 +213,7 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], name: typing.Union[Schema_.Properties.Name, str, ], photoUrls: typing.Union[Schema_.Properties.PhotoUrls, list, tuple, ], id: typing.Union[Schema_.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, @@ -225,7 +225,7 @@ def __new__( ) -> 'Pet': return super().__new__( cls, - *_args, + *args_, name=name, photoUrls=photoUrls, id=id, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/pet.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/pet.pyi index 7308ea5d577..c54bfb35886 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/pet.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/pet.pyi @@ -201,7 +201,7 @@ class Pet( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], name: typing.Union[Schema_.Properties.Name, str, ], photoUrls: typing.Union[Schema_.Properties.PhotoUrls, list, tuple, ], id: typing.Union[Schema_.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, @@ -213,7 +213,7 @@ class Pet( ) -> 'Pet': return super().__new__( cls, - *_args, + *args_, name=name, photoUrls=photoUrls, id=id, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/pig.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/pig.py index cfd3f56864e..c890827f5e1 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/pig.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/pig.py @@ -62,13 +62,13 @@ def one_of1() -> typing.Type['danish_pig.DanishPig']: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Pig': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/pig.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/pig.pyi index cfd3f56864e..c890827f5e1 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/pig.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/pig.pyi @@ -62,13 +62,13 @@ class Pig( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Pig': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/player.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/player.py index c8cc2ac408b..7c1a5a7f8a9 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/player.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/player.py @@ -90,7 +90,7 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], name: typing.Union[Schema_.Properties.Name, str, schemas.Unset] = schemas.unset, enemyPlayer: typing.Union['Player', schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -98,7 +98,7 @@ def __new__( ) -> 'Player': return super().__new__( cls, - *_args, + *args_, name=name, enemyPlayer=enemyPlayer, configuration_=configuration_, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/player.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/player.pyi index 260481f75f9..f16fb5f1f76 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/player.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/player.pyi @@ -89,7 +89,7 @@ class Player( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], name: typing.Union[Schema_.Properties.Name, str, schemas.Unset] = schemas.unset, enemyPlayer: typing.Union['Player', schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -97,7 +97,7 @@ class Player( ) -> 'Player': return super().__new__( cls, - *_args, + *args_, name=name, enemyPlayer=enemyPlayer, configuration_=configuration_, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral.py index cea360022ec..dd2fae76dac 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral.py @@ -62,13 +62,13 @@ def one_of1() -> typing.Type['complex_quadrilateral.ComplexQuadrilateral']: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Quadrilateral': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral.pyi index cea360022ec..dd2fae76dac 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral.pyi @@ -62,13 +62,13 @@ class Quadrilateral( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Quadrilateral': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral_interface.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral_interface.py index 33e024ea4d6..471f212142b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral_interface.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral_interface.py @@ -110,7 +110,7 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], quadrilateralType: typing.Union[Schema_.Properties.QuadrilateralType, str, ], shapeType: typing.Union[Schema_.Properties.ShapeType, str, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -118,7 +118,7 @@ def __new__( ) -> 'QuadrilateralInterface': return super().__new__( cls, - *_args, + *args_, quadrilateralType=quadrilateralType, shapeType=shapeType, configuration_=configuration_, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral_interface.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral_interface.pyi index c13e83edc27..87d089502e3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral_interface.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral_interface.pyi @@ -101,7 +101,7 @@ class QuadrilateralInterface( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], quadrilateralType: typing.Union[Schema_.Properties.QuadrilateralType, str, ], shapeType: typing.Union[Schema_.Properties.ShapeType, str, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -109,7 +109,7 @@ class QuadrilateralInterface( ) -> 'QuadrilateralInterface': return super().__new__( cls, - *_args, + *args_, quadrilateralType=quadrilateralType, shapeType=shapeType, configuration_=configuration_, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/read_only_first.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/read_only_first.py index dbb583e185c..d5a32a69237 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/read_only_first.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/read_only_first.py @@ -85,7 +85,7 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], bar: typing.Union[Schema_.Properties.Bar, str, schemas.Unset] = schemas.unset, baz: typing.Union[Schema_.Properties.Baz, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -93,7 +93,7 @@ def __new__( ) -> 'ReadOnlyFirst': return super().__new__( cls, - *_args, + *args_, bar=bar, baz=baz, configuration_=configuration_, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/read_only_first.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/read_only_first.pyi index 4106c252dfb..192196127b0 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/read_only_first.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/read_only_first.pyi @@ -84,7 +84,7 @@ class ReadOnlyFirst( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], bar: typing.Union[Schema_.Properties.Bar, str, schemas.Unset] = schemas.unset, baz: typing.Union[Schema_.Properties.Baz, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -92,7 +92,7 @@ class ReadOnlyFirst( ) -> 'ReadOnlyFirst': return super().__new__( cls, - *_args, + *args_, bar=bar, baz=baz, configuration_=configuration_, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_explicit_add_props.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_explicit_add_props.py index c39fe8ce9b7..7bbd9eabc9e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_explicit_add_props.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_explicit_add_props.py @@ -84,14 +84,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], validName: typing.Union[Schema_.AdditionalProperties, str, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], ) -> 'ReqPropsFromExplicitAddProps': return super().__new__( cls, - *_args, + *args_, validName=validName, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_explicit_add_props.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_explicit_add_props.pyi index 49243230fec..651b89f832e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_explicit_add_props.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_explicit_add_props.pyi @@ -83,14 +83,14 @@ class ReqPropsFromExplicitAddProps( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], validName: typing.Union[Schema_.AdditionalProperties, str, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], ) -> 'ReqPropsFromExplicitAddProps': return super().__new__( cls, - *_args, + *args_, validName=validName, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_true_add_props.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_true_add_props.py index c1bbf82e7bf..6801c0e5758 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_true_add_props.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_true_add_props.py @@ -84,14 +84,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], validName: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], ) -> 'ReqPropsFromTrueAddProps': return super().__new__( cls, - *_args, + *args_, validName=validName, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_true_add_props.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_true_add_props.pyi index e3a13671be2..8a7d54e41a5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_true_add_props.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_true_add_props.pyi @@ -83,14 +83,14 @@ class ReqPropsFromTrueAddProps( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], validName: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], ) -> 'ReqPropsFromTrueAddProps': return super().__new__( cls, - *_args, + *args_, validName=validName, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_unset_add_props.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_unset_add_props.py index d558dc200c5..d31ffd30f7d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_unset_add_props.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_unset_add_props.py @@ -83,14 +83,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], validName: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ReqPropsFromUnsetAddProps': return super().__new__( cls, - *_args, + *args_, validName=validName, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_unset_add_props.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_unset_add_props.pyi index ce9d20b535b..c0ad0bf5817 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_unset_add_props.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/req_props_from_unset_add_props.pyi @@ -82,14 +82,14 @@ class ReqPropsFromUnsetAddProps( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], validName: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ReqPropsFromUnsetAddProps': return super().__new__( cls, - *_args, + *args_, validName=validName, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/scalene_triangle.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/scalene_triangle.py index 0a201c3c24e..f5c0be6083d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/scalene_triangle.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/scalene_triangle.py @@ -107,14 +107,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], triangleType: typing.Union[Schema_.Properties.TriangleType, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': return super().__new__( cls, - *_args, + *args_, triangleType=triangleType, configuration_=configuration_, **kwargs, @@ -127,13 +127,13 @@ def __new__( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ScaleneTriangle': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/scalene_triangle.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/scalene_triangle.pyi index 79e327a062a..727f4bf8ec9 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/scalene_triangle.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/scalene_triangle.pyi @@ -97,14 +97,14 @@ class ScaleneTriangle( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], triangleType: typing.Union[Schema_.Properties.TriangleType, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': return super().__new__( cls, - *_args, + *args_, triangleType=triangleType, configuration_=configuration_, **kwargs, @@ -117,13 +117,13 @@ class ScaleneTriangle( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ScaleneTriangle': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_object_model.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_object_model.py index c5e91c5cf70..505eab134d4 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_object_model.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_object_model.py @@ -82,14 +82,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], selfRef: typing.Union['SelfReferencingObjectModel', schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: 'SelfReferencingObjectModel', ) -> 'SelfReferencingObjectModel': return super().__new__( cls, - *_args, + *args_, selfRef=selfRef, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_object_model.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_object_model.pyi index 8b0467596a7..1abe39a6be1 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_object_model.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_object_model.pyi @@ -81,14 +81,14 @@ class SelfReferencingObjectModel( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], selfRef: typing.Union['SelfReferencingObjectModel', schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: 'SelfReferencingObjectModel', ) -> 'SelfReferencingObjectModel': return super().__new__( cls, - *_args, + *args_, selfRef=selfRef, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape.py index f320e7f4a3c..ff7daa95750 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape.py @@ -62,13 +62,13 @@ def one_of1() -> typing.Type['quadrilateral.Quadrilateral']: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Shape': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape.pyi index f320e7f4a3c..ff7daa95750 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape.pyi @@ -62,13 +62,13 @@ class Shape( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Shape': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape_or_null.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape_or_null.py index 3bf1938bcfb..917e7ad1bcd 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape_or_null.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape_or_null.py @@ -66,13 +66,13 @@ def one_of2() -> typing.Type['quadrilateral.Quadrilateral']: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ShapeOrNull': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape_or_null.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape_or_null.pyi index 3bf1938bcfb..917e7ad1bcd 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape_or_null.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape_or_null.pyi @@ -66,13 +66,13 @@ class ShapeOrNull( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ShapeOrNull': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/simple_quadrilateral.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/simple_quadrilateral.py index 09b59479a73..f6bcc8b4af3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/simple_quadrilateral.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/simple_quadrilateral.py @@ -107,14 +107,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], quadrilateralType: typing.Union[Schema_.Properties.QuadrilateralType, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': return super().__new__( cls, - *_args, + *args_, quadrilateralType=quadrilateralType, configuration_=configuration_, **kwargs, @@ -127,13 +127,13 @@ def __new__( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'SimpleQuadrilateral': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/simple_quadrilateral.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/simple_quadrilateral.pyi index 1bcaad9a38f..68828de8d47 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/simple_quadrilateral.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/simple_quadrilateral.pyi @@ -97,14 +97,14 @@ class SimpleQuadrilateral( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], quadrilateralType: typing.Union[Schema_.Properties.QuadrilateralType, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllOf1': return super().__new__( cls, - *_args, + *args_, quadrilateralType=quadrilateralType, configuration_=configuration_, **kwargs, @@ -117,13 +117,13 @@ class SimpleQuadrilateral( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'SimpleQuadrilateral': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/some_object.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/some_object.py index f3a51a33261..6684c0fb6a1 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/some_object.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/some_object.py @@ -48,13 +48,13 @@ def all_of0() -> typing.Type['object_interface.ObjectInterface']: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'SomeObject': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/some_object.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/some_object.pyi index f3a51a33261..6684c0fb6a1 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/some_object.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/some_object.pyi @@ -48,13 +48,13 @@ class SomeObject( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'SomeObject': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/special_model_name.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/special_model_name.py index 812223bf4be..37f9961f91d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/special_model_name.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/special_model_name.py @@ -77,14 +77,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], a: typing.Union[Schema_.Properties.A, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'SpecialModelName': return super().__new__( cls, - *_args, + *args_, a=a, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/special_model_name.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/special_model_name.pyi index a6e5b26e551..b2d02028cde 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/special_model_name.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/special_model_name.pyi @@ -76,14 +76,14 @@ class SpecialModelName( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], a: typing.Union[Schema_.Properties.A, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'SpecialModelName': return super().__new__( cls, - *_args, + *args_, a=a, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_boolean_map.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_boolean_map.py index 1eb146a693e..32ffdab294d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_boolean_map.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_boolean_map.py @@ -46,13 +46,13 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, bool, ], ) -> 'StringBooleanMap': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_boolean_map.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_boolean_map.pyi index 87ed2aa6a26..ebdd93c6c4f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_boolean_map.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_boolean_map.pyi @@ -45,13 +45,13 @@ class StringBooleanMap( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, bool, ], ) -> 'StringBooleanMap': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_enum.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_enum.py index a67f5e04ae3..998c2425c65 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_enum.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_enum.py @@ -82,11 +82,11 @@ def NONE(cls): def __new__( cls, - *_args: typing.Union[None, str, ], + *args_: typing.Union[None, str, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'StringEnum': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_enum.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_enum.pyi index a67f5e04ae3..998c2425c65 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_enum.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/string_enum.pyi @@ -82,11 +82,11 @@ class StringEnum( def __new__( cls, - *_args: typing.Union[None, str, ], + *args_: typing.Union[None, str, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, ) -> 'StringEnum': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/tag.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/tag.py index 5a3e59fe185..bd159c211da 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/tag.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/tag.py @@ -85,7 +85,7 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], id: typing.Union[Schema_.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, name: typing.Union[Schema_.Properties.Name, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -93,7 +93,7 @@ def __new__( ) -> 'Tag': return super().__new__( cls, - *_args, + *args_, id=id, name=name, configuration_=configuration_, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/tag.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/tag.pyi index 6310cce9457..c8d087d0f3f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/tag.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/tag.pyi @@ -84,7 +84,7 @@ class Tag( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], id: typing.Union[Schema_.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, name: typing.Union[Schema_.Properties.Name, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -92,7 +92,7 @@ class Tag( ) -> 'Tag': return super().__new__( cls, - *_args, + *args_, id=id, name=name, configuration_=configuration_, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle.py index c9331b8bc0f..1372e36aa01 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle.py @@ -68,13 +68,13 @@ def one_of2() -> typing.Type['scalene_triangle.ScaleneTriangle']: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Triangle': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle.pyi index c9331b8bc0f..1372e36aa01 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle.pyi @@ -68,13 +68,13 @@ class Triangle( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Triangle': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle_interface.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle_interface.py index 5d5affbb8b4..baa99f9a446 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle_interface.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle_interface.py @@ -110,7 +110,7 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], shapeType: typing.Union[Schema_.Properties.ShapeType, str, ], triangleType: typing.Union[Schema_.Properties.TriangleType, str, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -118,7 +118,7 @@ def __new__( ) -> 'TriangleInterface': return super().__new__( cls, - *_args, + *args_, shapeType=shapeType, triangleType=triangleType, configuration_=configuration_, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle_interface.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle_interface.pyi index aad3d116116..8f3e5eb9818 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle_interface.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle_interface.pyi @@ -101,7 +101,7 @@ class TriangleInterface( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], shapeType: typing.Union[Schema_.Properties.ShapeType, str, ], triangleType: typing.Union[Schema_.Properties.TriangleType, str, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -109,7 +109,7 @@ class TriangleInterface( ) -> 'TriangleInterface': return super().__new__( cls, - *_args, + *args_, shapeType=shapeType, triangleType=triangleType, configuration_=configuration_, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/user.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/user.py index b2573aa1c3a..71519da89b0 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/user.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/user.py @@ -65,13 +65,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, None, ], + *args_: typing.Union[dict, frozendict.frozendict, None, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectWithNoDeclaredPropsNullable': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -90,13 +90,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyTypeExceptNullProp': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -246,7 +246,7 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], id: typing.Union[Schema_.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, username: typing.Union[Schema_.Properties.Username, str, schemas.Unset] = schemas.unset, firstName: typing.Union[Schema_.Properties.FirstName, str, schemas.Unset] = schemas.unset, @@ -265,7 +265,7 @@ def __new__( ) -> 'User': return super().__new__( cls, - *_args, + *args_, id=id, username=username, firstName=firstName, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/user.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/user.pyi index ed936ce7cd0..7a5f737078d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/user.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/user.pyi @@ -64,13 +64,13 @@ class User( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, None, ], + *args_: typing.Union[dict, frozendict.frozendict, None, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectWithNoDeclaredPropsNullable': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -89,13 +89,13 @@ class User( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyTypeExceptNullProp': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -245,7 +245,7 @@ class User( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], id: typing.Union[Schema_.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, username: typing.Union[Schema_.Properties.Username, str, schemas.Unset] = schemas.unset, firstName: typing.Union[Schema_.Properties.FirstName, str, schemas.Unset] = schemas.unset, @@ -264,7 +264,7 @@ class User( ) -> 'User': return super().__new__( cls, - *_args, + *args_, id=id, username=username, firstName=firstName, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/whale.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/whale.py index 465173b2c7c..19e81e295f6 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/whale.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/whale.py @@ -117,7 +117,7 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], className: typing.Union[Schema_.Properties.ClassName, str, ], hasBaleen: typing.Union[Schema_.Properties.HasBaleen, bool, schemas.Unset] = schemas.unset, hasTeeth: typing.Union[Schema_.Properties.HasTeeth, bool, schemas.Unset] = schemas.unset, @@ -126,7 +126,7 @@ def __new__( ) -> 'Whale': return super().__new__( cls, - *_args, + *args_, className=className, hasBaleen=hasBaleen, hasTeeth=hasTeeth, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/whale.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/whale.pyi index 4b4064af05a..b230bd84103 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/whale.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/whale.pyi @@ -107,7 +107,7 @@ class Whale( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], className: typing.Union[Schema_.Properties.ClassName, str, ], hasBaleen: typing.Union[Schema_.Properties.HasBaleen, bool, schemas.Unset] = schemas.unset, hasTeeth: typing.Union[Schema_.Properties.HasTeeth, bool, schemas.Unset] = schemas.unset, @@ -116,7 +116,7 @@ class Whale( ) -> 'Whale': return super().__new__( cls, - *_args, + *args_, className=className, hasBaleen=hasBaleen, hasTeeth=hasTeeth, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/zebra.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/zebra.py index 2e374b929f5..27c046f00a3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/zebra.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/zebra.py @@ -135,7 +135,7 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], className: typing.Union[Schema_.Properties.ClassName, str, ], type: typing.Union[Schema_.Properties.Type, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -143,7 +143,7 @@ def __new__( ) -> 'Zebra': return super().__new__( cls, - *_args, + *args_, className=className, type=type, configuration_=configuration_, diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/zebra.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/zebra.pyi index c1cdc6bc2fa..f56e43cb863 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/zebra.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/zebra.pyi @@ -114,7 +114,7 @@ class Zebra( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], className: typing.Union[Schema_.Properties.ClassName, str, ], type: typing.Union[Schema_.Properties.Type, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -122,7 +122,7 @@ class Zebra( ) -> 'Zebra': return super().__new__( cls, - *_args, + *args_, className=className, type=type, configuration_=configuration_, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/request_body/application_x_www_form_urlencoded.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/request_body/application_x_www_form_urlencoded.py index cdb67c8e0c5..9187d205bba 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/request_body/application_x_www_form_urlencoded.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/request_body/application_x_www_form_urlencoded.py @@ -152,7 +152,7 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], enum_form_string_array: typing.Union[Schema_.Properties.EnumFormStringArray, list, tuple, schemas.Unset] = schemas.unset, enum_form_string: typing.Union[Schema_.Properties.EnumFormString, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -160,7 +160,7 @@ def __new__( ) -> 'ApplicationXWwwFormUrlencoded': return super().__new__( cls, - *_args, + *args_, enum_form_string_array=enum_form_string_array, enum_form_string=enum_form_string, configuration_=configuration_, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/request_body/application_x_www_form_urlencoded.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/request_body/application_x_www_form_urlencoded.pyi index f491705e0e9..4751f6ee107 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/request_body/application_x_www_form_urlencoded.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/get/request_body/application_x_www_form_urlencoded.pyi @@ -130,7 +130,7 @@ class ApplicationXWwwFormUrlencoded( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], enum_form_string_array: typing.Union[Schema_.Properties.EnumFormStringArray, list, tuple, schemas.Unset] = schemas.unset, enum_form_string: typing.Union[Schema_.Properties.EnumFormString, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -138,7 +138,7 @@ class ApplicationXWwwFormUrlencoded( ) -> 'ApplicationXWwwFormUrlencoded': return super().__new__( cls, - *_args, + *args_, enum_form_string_array=enum_form_string_array, enum_form_string=enum_form_string, configuration_=configuration_, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/post/request_body/application_x_www_form_urlencoded.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/post/request_body/application_x_www_form_urlencoded.py index 94715c6f4dc..367b6b3e198 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/post/request_body/application_x_www_form_urlencoded.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/post/request_body/application_x_www_form_urlencoded.py @@ -316,7 +316,7 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], byte: typing.Union[Schema_.Properties.Byte, str, ], double: typing.Union[Schema_.Properties.Double, decimal.Decimal, int, float, ], number: typing.Union[Schema_.Properties.Number, decimal.Decimal, int, float, ], @@ -335,7 +335,7 @@ def __new__( ) -> 'ApplicationXWwwFormUrlencoded': return super().__new__( cls, - *_args, + *args_, byte=byte, double=double, number=number, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/post/request_body/application_x_www_form_urlencoded.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/post/request_body/application_x_www_form_urlencoded.pyi index f637790b398..c487fd8fdd5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/post/request_body/application_x_www_form_urlencoded.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/post/request_body/application_x_www_form_urlencoded.pyi @@ -250,7 +250,7 @@ class ApplicationXWwwFormUrlencoded( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], byte: typing.Union[Schema_.Properties.Byte, str, ], double: typing.Union[Schema_.Properties.Double, decimal.Decimal, int, float, ], number: typing.Union[Schema_.Properties.Number, decimal.Decimal, int, float, ], @@ -269,7 +269,7 @@ class ApplicationXWwwFormUrlencoded( ) -> 'ApplicationXWwwFormUrlencoded': return super().__new__( cls, - *_args, + *args_, byte=byte, double=double, number=number, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_additional_properties/post/request_body/application_json.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_additional_properties/post/request_body/application_json.py index 899d87fb739..a12857176d6 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_additional_properties/post/request_body/application_json.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_additional_properties/post/request_body/application_json.py @@ -41,13 +41,13 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], ) -> 'ApplicationJson': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_additional_properties/post/request_body/application_json.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_additional_properties/post/request_body/application_json.pyi index b1a501feec9..de7258fe620 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_additional_properties/post/request_body/application_json.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_additional_properties/post/request_body/application_json.pyi @@ -40,13 +40,13 @@ class ApplicationJson( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], ) -> 'ApplicationJson': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_0/schema.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_0/schema.py index 16c08389297..91bf39486a1 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_0/schema.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_0/schema.py @@ -51,13 +51,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Schema': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_0/schema.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_0/schema.pyi index 7411a15afa6..3cdf9aba9e0 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_0/schema.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_0/schema.pyi @@ -45,13 +45,13 @@ class Schema( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Schema': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_1/schema.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_1/schema.py index 39a0eba35cc..cd4d06a8140 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_1/schema.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_1/schema.py @@ -62,13 +62,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'SomeProp': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -109,14 +109,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], someProp: typing.Union[Schema_.Properties.SomeProp, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Schema': return super().__new__( cls, - *_args, + *args_, someProp=someProp, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_1/schema.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_1/schema.pyi index 6f18a86cf02..2181e3ed4f2 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_1/schema.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/parameter_1/schema.pyi @@ -55,13 +55,13 @@ class Schema( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'SomeProp': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -102,14 +102,14 @@ class Schema( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], someProp: typing.Union[Schema_.Properties.SomeProp, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Schema': return super().__new__( cls, - *_args, + *args_, someProp=someProp, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/application_json.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/application_json.py index 25537ddd5e5..b69922e9ceb 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/application_json.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/application_json.py @@ -51,13 +51,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ApplicationJson': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/application_json.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/application_json.pyi index aa80bd56272..7f59784b35c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/application_json.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/application_json.pyi @@ -45,13 +45,13 @@ class ApplicationJson( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ApplicationJson': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/multipart_form_data.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/multipart_form_data.py index 7b4400c2573..25f56078c12 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/multipart_form_data.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/multipart_form_data.py @@ -62,13 +62,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'SomeProp': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -109,14 +109,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], someProp: typing.Union[Schema_.Properties.SomeProp, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MultipartFormData': return super().__new__( cls, - *_args, + *args_, someProp=someProp, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/multipart_form_data.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/multipart_form_data.pyi index 2ee52f51f4d..44ab5119589 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/multipart_form_data.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/request_body/multipart_form_data.pyi @@ -55,13 +55,13 @@ class MultipartFormData( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'SomeProp': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -102,14 +102,14 @@ class MultipartFormData( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], someProp: typing.Union[Schema_.Properties.SomeProp, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MultipartFormData': return super().__new__( cls, - *_args, + *args_, someProp=someProp, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/application_json.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/application_json.py index 25537ddd5e5..b69922e9ceb 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/application_json.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/application_json.py @@ -51,13 +51,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ApplicationJson': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/application_json.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/application_json.pyi index aa80bd56272..7f59784b35c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/application_json.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/application_json.pyi @@ -45,13 +45,13 @@ class ApplicationJson( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ApplicationJson': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/multipart_form_data.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/multipart_form_data.py index 7b4400c2573..25f56078c12 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/multipart_form_data.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/multipart_form_data.py @@ -62,13 +62,13 @@ class Schema_: def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'SomeProp': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -109,14 +109,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], someProp: typing.Union[Schema_.Properties.SomeProp, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MultipartFormData': return super().__new__( cls, - *_args, + *args_, someProp=someProp, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/multipart_form_data.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/multipart_form_data.pyi index 2ee52f51f4d..44ab5119589 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/multipart_form_data.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_inline_composition/post/response_for_200/multipart_form_data.pyi @@ -55,13 +55,13 @@ class MultipartFormData( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'SomeProp': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, **kwargs, ) @@ -102,14 +102,14 @@ class MultipartFormData( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], someProp: typing.Union[Schema_.Properties.SomeProp, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MultipartFormData': return super().__new__( cls, - *_args, + *args_, someProp=someProp, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_form_data/get/request_body/application_x_www_form_urlencoded.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_form_data/get/request_body/application_x_www_form_urlencoded.py index 323a7478dcc..67b2fd0bf2d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_form_data/get/request_body/application_x_www_form_urlencoded.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_form_data/get/request_body/application_x_www_form_urlencoded.py @@ -87,7 +87,7 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], param: typing.Union[Schema_.Properties.Param, str, ], param2: typing.Union[Schema_.Properties.Param2, str, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -95,7 +95,7 @@ def __new__( ) -> 'ApplicationXWwwFormUrlencoded': return super().__new__( cls, - *_args, + *args_, param=param, param2=param2, configuration_=configuration_, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_form_data/get/request_body/application_x_www_form_urlencoded.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_form_data/get/request_body/application_x_www_form_urlencoded.pyi index faa0c5965a3..67ecfdbf678 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_form_data/get/request_body/application_x_www_form_urlencoded.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_form_data/get/request_body/application_x_www_form_urlencoded.pyi @@ -86,7 +86,7 @@ class ApplicationXWwwFormUrlencoded( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], param: typing.Union[Schema_.Properties.Param, str, ], param2: typing.Union[Schema_.Properties.Param2, str, ], configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -94,7 +94,7 @@ class ApplicationXWwwFormUrlencoded( ) -> 'ApplicationXWwwFormUrlencoded': return super().__new__( cls, - *_args, + *args_, param=param, param2=param2, configuration_=configuration_, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_obj_in_query/get/parameter_0/schema.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_obj_in_query/get/parameter_0/schema.py index ac7e18ede8d..0234222bab7 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_obj_in_query/get/parameter_0/schema.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_obj_in_query/get/parameter_0/schema.py @@ -70,14 +70,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], keyword: typing.Union[Schema_.Properties.Keyword, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Schema': return super().__new__( cls, - *_args, + *args_, keyword=keyword, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_obj_in_query/get/parameter_0/schema.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_obj_in_query/get/parameter_0/schema.pyi index 9af8c4dd3cf..88373823209 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_obj_in_query/get/parameter_0/schema.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_obj_in_query/get/parameter_0/schema.pyi @@ -69,14 +69,14 @@ class Schema( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], keyword: typing.Union[Schema_.Properties.Keyword, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Schema': return super().__new__( cls, - *_args, + *args_, keyword=keyword, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/request_body/multipart_form_data.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/request_body/multipart_form_data.py index 5b6d9831929..bb842f7b97a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/request_body/multipart_form_data.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/request_body/multipart_form_data.py @@ -85,7 +85,7 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], requiredFile: typing.Union[Schema_.Properties.RequiredFile, bytes, io.FileIO, io.BufferedReader, ], additionalMetadata: typing.Union[Schema_.Properties.AdditionalMetadata, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -93,7 +93,7 @@ def __new__( ) -> 'MultipartFormData': return super().__new__( cls, - *_args, + *args_, requiredFile=requiredFile, additionalMetadata=additionalMetadata, configuration_=configuration_, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/request_body/multipart_form_data.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/request_body/multipart_form_data.pyi index e0d43203b39..f28a183a259 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/request_body/multipart_form_data.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/request_body/multipart_form_data.pyi @@ -84,7 +84,7 @@ class MultipartFormData( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], requiredFile: typing.Union[Schema_.Properties.RequiredFile, bytes, io.FileIO, io.BufferedReader, ], additionalMetadata: typing.Union[Schema_.Properties.AdditionalMetadata, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -92,7 +92,7 @@ class MultipartFormData( ) -> 'MultipartFormData': return super().__new__( cls, - *_args, + *args_, requiredFile=requiredFile, additionalMetadata=additionalMetadata, configuration_=configuration_, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_file/post/request_body/multipart_form_data.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_file/post/request_body/multipart_form_data.py index 5209e17c154..a5f0de6d733 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_file/post/request_body/multipart_form_data.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_file/post/request_body/multipart_form_data.py @@ -85,7 +85,7 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], file: typing.Union[Schema_.Properties.File, bytes, io.FileIO, io.BufferedReader, ], additionalMetadata: typing.Union[Schema_.Properties.AdditionalMetadata, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -93,7 +93,7 @@ def __new__( ) -> 'MultipartFormData': return super().__new__( cls, - *_args, + *args_, file=file, additionalMetadata=additionalMetadata, configuration_=configuration_, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_file/post/request_body/multipart_form_data.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_file/post/request_body/multipart_form_data.pyi index 21e8e5ab668..b325c7a07c1 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_file/post/request_body/multipart_form_data.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_file/post/request_body/multipart_form_data.pyi @@ -84,7 +84,7 @@ class MultipartFormData( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], file: typing.Union[Schema_.Properties.File, bytes, io.FileIO, io.BufferedReader, ], additionalMetadata: typing.Union[Schema_.Properties.AdditionalMetadata, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -92,7 +92,7 @@ class MultipartFormData( ) -> 'MultipartFormData': return super().__new__( cls, - *_args, + *args_, file=file, additionalMetadata=additionalMetadata, configuration_=configuration_, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_files/post/request_body/multipart_form_data.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_files/post/request_body/multipart_form_data.py index c6ea348a490..5bb50114f2b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_files/post/request_body/multipart_form_data.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_files/post/request_body/multipart_form_data.py @@ -93,14 +93,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], files: typing.Union[Schema_.Properties.Files, list, tuple, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MultipartFormData': return super().__new__( cls, - *_args, + *args_, files=files, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_files/post/request_body/multipart_form_data.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_files/post/request_body/multipart_form_data.pyi index 09feda64d89..393d4bc1359 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_files/post/request_body/multipart_form_data.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_files/post/request_body/multipart_form_data.pyi @@ -92,14 +92,14 @@ class MultipartFormData( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], files: typing.Union[Schema_.Properties.Files, list, tuple, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MultipartFormData': return super().__new__( cls, - *_args, + *args_, files=files, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/foo/get/response_for_default/application_json.py b/samples/openapi3/client/petstore/python/petstore_api/paths/foo/get/response_for_default/application_json.py index 9148e4669bd..c43b8ed117f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/foo/get/response_for_default/application_json.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/foo/get/response_for_default/application_json.py @@ -73,14 +73,14 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], string: typing.Union['foo.Foo', schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ApplicationJson': return super().__new__( cls, - *_args, + *args_, string=string, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/foo/get/response_for_default/application_json.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/foo/get/response_for_default/application_json.pyi index a564a1d84bf..eb40de2b9c2 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/foo/get/response_for_default/application_json.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/foo/get/response_for_default/application_json.pyi @@ -72,14 +72,14 @@ class ApplicationJson( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], string: typing.Union['foo.Foo', schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ApplicationJson': return super().__new__( cls, - *_args, + *args_, string=string, configuration_=configuration_, **kwargs, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/post/request_body/application_x_www_form_urlencoded.py b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/post/request_body/application_x_www_form_urlencoded.py index 16e37b3f669..3be62e5c02c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/post/request_body/application_x_www_form_urlencoded.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/post/request_body/application_x_www_form_urlencoded.py @@ -80,7 +80,7 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], name: typing.Union[Schema_.Properties.Name, str, schemas.Unset] = schemas.unset, status: typing.Union[Schema_.Properties.Status, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -88,7 +88,7 @@ def __new__( ) -> 'ApplicationXWwwFormUrlencoded': return super().__new__( cls, - *_args, + *args_, name=name, status=status, configuration_=configuration_, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/post/request_body/application_x_www_form_urlencoded.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/post/request_body/application_x_www_form_urlencoded.pyi index c485e661458..b5e8b944ba8 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/post/request_body/application_x_www_form_urlencoded.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/post/request_body/application_x_www_form_urlencoded.pyi @@ -79,7 +79,7 @@ class ApplicationXWwwFormUrlencoded( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], name: typing.Union[Schema_.Properties.Name, str, schemas.Unset] = schemas.unset, status: typing.Union[Schema_.Properties.Status, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -87,7 +87,7 @@ class ApplicationXWwwFormUrlencoded( ) -> 'ApplicationXWwwFormUrlencoded': return super().__new__( cls, - *_args, + *args_, name=name, status=status, configuration_=configuration_, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id_upload_image/post/request_body/multipart_form_data.py b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id_upload_image/post/request_body/multipart_form_data.py index 7e9cbade6cb..53e1e32578f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id_upload_image/post/request_body/multipart_form_data.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id_upload_image/post/request_body/multipart_form_data.py @@ -80,7 +80,7 @@ def get_item_( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], additionalMetadata: typing.Union[Schema_.Properties.AdditionalMetadata, str, schemas.Unset] = schemas.unset, file: typing.Union[Schema_.Properties.File, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -88,7 +88,7 @@ def __new__( ) -> 'MultipartFormData': return super().__new__( cls, - *_args, + *args_, additionalMetadata=additionalMetadata, file=file, configuration_=configuration_, diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id_upload_image/post/request_body/multipart_form_data.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id_upload_image/post/request_body/multipart_form_data.pyi index b77f4f0b3ec..ac1c8148a32 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id_upload_image/post/request_body/multipart_form_data.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id_upload_image/post/request_body/multipart_form_data.pyi @@ -79,7 +79,7 @@ class MultipartFormData( def __new__( cls, - *_args: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict, ], additionalMetadata: typing.Union[Schema_.Properties.AdditionalMetadata, str, schemas.Unset] = schemas.unset, file: typing.Union[Schema_.Properties.File, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.configuration_module.Configuration] = None, @@ -87,7 +87,7 @@ class MultipartFormData( ) -> 'MultipartFormData': return super().__new__( cls, - *_args, + *args_, additionalMetadata=additionalMetadata, file=file, configuration_=configuration_, diff --git a/samples/openapi3/client/petstore/python/petstore_api/schemas.py b/samples/openapi3/client/petstore/python/petstore_api/schemas.py index 799837276f4..290b8d3776f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/schemas.py +++ b/samples/openapi3/client/petstore/python/petstore_api/schemas.py @@ -1339,7 +1339,7 @@ def __remove_unsets(kwargs): def __new__( cls, - *_args: typing.Union[ + *args_: typing.Union[ dict, frozendict.frozendict, list, @@ -1382,7 +1382,7 @@ def __new__( Schema __new__ Args: - _args (int/float/decimal.Decimal/str/list/tuple/dict/frozendict.frozendict/bool/None): the value + args_ (int/float/decimal.Decimal/str/list/tuple/dict/frozendict.frozendict/bool/None): the value kwargs (str, int/float/decimal.Decimal/str/list/tuple/dict/frozendict.frozendict/bool/None): dict values configuration_: contains the configuration_module.Configuration that enables json schema validation keywords like minItems, minLength etc @@ -1391,14 +1391,14 @@ def __new__( are instance properties if they are named normally :( """ __kwargs = cls.__remove_unsets(kwargs) - if not _args and not __kwargs: + if not args_ and not __kwargs: raise TypeError( 'No input given. args or kwargs must be given.' ) - if not __kwargs and _args and not isinstance(_args[0], dict): - __arg = _args[0] + if not __kwargs and args_ and not isinstance(args_[0], dict): + __arg = args_[0] else: - __arg = cls.__get_input_dict(*_args, **__kwargs) + __arg = cls.__get_input_dict(*args_, **__kwargs) __from_server = False __validated_path_to_schemas = {} __path_to_type = {} @@ -1419,7 +1419,7 @@ def __new__( def __init__( self, - *_args: typing.Union[ + *args_: typing.Union[ dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, bool, None, 'Schema'], configuration_: typing.Optional[configuration_module.Configuration] = None, **kwargs: typing.Union[ @@ -2368,12 +2368,12 @@ class Schema_: def __new__( cls, - *_args, + *args_, configuration_: typing.Optional[configuration_module.Configuration] = None, ) -> 'NotAnyTypeSchema': return super().__new__( cls, - *_args, + *args_, configuration_=configuration_, ) @@ -2390,8 +2390,8 @@ class Schema_: def from_openapi_data_(cls, arg: typing.Dict[str, typing.Any], configuration_: typing.Optional[configuration_module.Configuration] = None): return super().from_openapi_data_(arg, configuration_=configuration_) - def __new__(cls, *_args: typing.Union[dict, frozendict.frozendict], **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, bool, None, bytes, Schema, Unset, ValidationMetadata]): - return super().__new__(cls, *_args, **kwargs) + def __new__(cls, *args_: typing.Union[dict, frozendict.frozendict], **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, bool, None, bytes, Schema, Unset, ValidationMetadata]): + return super().__new__(cls, *args_, **kwargs) schema_type_classes = {NoneSchema, DictSchema, ListSchema, NumberSchema, StrSchema, BoolSchema, AnyTypeSchema} From 392a5e117b4137307e9e33bc7714f747ff549a0c Mon Sep 17 00:00:00 2001 From: Justin Black Date: Fri, 30 Dec 2022 09:22:29 -0800 Subject: [PATCH 29/29] JsonSchema -> OpenApiSchema, OpenapiComponent -> OpenApiComponent --- .../openapitools/codegen/CodegenRequestBody.java | 4 +--- .../openapitools/codegen/CodegenResponse.java | 2 +- .../org/openapitools/codegen/CodegenSchema.java | 2 +- .../org/openapitools/codegen/DefaultCodegen.java | 14 +++++++------- ...enapiComponent.java => OpenApiComponent.java} | 16 +--------------- .../{JsonSchema.java => OpenApiSchema.java} | 11 ++--------- .../codegen/languages/PythonClientCodegen.java | 4 ++-- .../openapitools/codegen/utils/ModelUtils.java | 15 +++++++-------- 8 files changed, 22 insertions(+), 46 deletions(-) rename modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/{OpenapiComponent.java => OpenApiComponent.java} (58%) rename modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/{JsonSchema.java => OpenApiSchema.java} (95%) diff --git a/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/CodegenRequestBody.java b/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/CodegenRequestBody.java index 27453523055..0637d38b22b 100644 --- a/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/CodegenRequestBody.java +++ b/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/CodegenRequestBody.java @@ -17,8 +17,6 @@ package org.openapitools.codegen; -import org.openapitools.codegen.utils.ModelUtils; - import java.util.HashMap; import java.util.HashSet; import java.util.LinkedHashMap; @@ -31,7 +29,7 @@ * A unique parameter is defined by a combination of a name and location. * Parameters may be located in a path, query, header or cookie. */ -public class CodegenRequestBody implements OpenapiComponent { +public class CodegenRequestBody implements OpenApiComponent { protected String description, unescapedDescription; protected CodegenKey name; diff --git a/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/CodegenResponse.java b/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/CodegenResponse.java index d23c5c09211..661613b49b8 100644 --- a/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/CodegenResponse.java +++ b/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/CodegenResponse.java @@ -19,7 +19,7 @@ import java.util.*; -public class CodegenResponse implements OpenapiComponent { +public class CodegenResponse implements OpenApiComponent { private CodegenKey name; private Map headers; public String message; diff --git a/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/CodegenSchema.java b/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/CodegenSchema.java index 7b16300fe9a..efcc662c170 100644 --- a/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/CodegenSchema.java +++ b/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/CodegenSchema.java @@ -21,7 +21,7 @@ import java.util.*; -public class CodegenSchema implements JsonSchema, OpenapiComponent { +public class CodegenSchema implements OpenApiSchema, OpenApiComponent { // testCases are for autogenerated tests of schemas public HashMap testCases = new HashMap<>(); private String componentModule; diff --git a/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java b/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java index 789efd5d3e7..a2ef6c460d3 100644 --- a/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java +++ b/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java @@ -2211,7 +2211,7 @@ protected String toComponentModule(String componentName, String priorJsonPathSeg return packageName + "." + priorJsonPathSegment + "." + componentName; } - protected void setAddProps(Schema schema, JsonSchema property, String sourceJsonPath, String currentJsonPath) { + protected void setAddProps(Schema schema, OpenApiSchema property, String sourceJsonPath, String currentJsonPath) { if (schema.getAdditionalProperties() == null) { return; } @@ -3905,11 +3905,11 @@ protected boolean shouldAddImport(String type) { /** * Add variables (properties) to codegen model (list of properties, various flags, etc) * - * @param m Must be an instance of JsonSchema, may be model or property... + * @param m Must be an instance of OpenApiSchema, may be model or property... * @param properties a map of properties (schema) * @param mandatory a set of required properties' name */ - protected void addProperties(JsonSchema m, Map properties, Set mandatory, String sourceJsonPath, String currentJsonPath) { + protected void addProperties(OpenApiSchema m, Map properties, Set mandatory, String sourceJsonPath, String currentJsonPath) { if (properties == null) { return; } @@ -5060,7 +5060,7 @@ protected String toRefModule(String ref, String sourceJsonPath, String expectedC return null; } - private void setLocationInfo(String ref, OpenapiComponent instance, String sourceJsonPath, String expectedComponentType) { + private void setLocationInfo(String ref, OpenApiComponent instance, String sourceJsonPath, String expectedComponentType) { if (ref != null) { instance.setRef(ref); String refModule = toRefModule(ref, sourceJsonPath, expectedComponentType); @@ -5156,7 +5156,7 @@ public CodegenKey getKey(String key) { return ck; } - protected void addRequiredProperties(Schema schema, JsonSchema property, String sourceJsonPath, String currentJsonPath) { + protected void addRequiredProperties(Schema schema, OpenApiSchema property, String sourceJsonPath, String currentJsonPath) { /* this should be called after vars and additionalProperties are set Features added by storing codegenProperty values: @@ -5211,7 +5211,7 @@ protected void addRequiredProperties(Schema schema, JsonSchema property, String } } - protected void addVarsRequiredVarsAdditionalProps(Schema schema, JsonSchema property, String sourceJsonPath, String currentJsonPath) { + protected void addVarsRequiredVarsAdditionalProps(Schema schema, OpenApiSchema property, String sourceJsonPath, String currentJsonPath) { setAddProps(schema, property, sourceJsonPath, currentJsonPath); Set mandatory = schema.getRequired() == null ? Collections.emptySet() : new TreeSet<>(schema.getRequired()); @@ -5609,7 +5609,7 @@ public String getAdditionalPropertiesName() { * Used to ensure that null or Schema is returned given an input Boolean/Schema/null * This will be used in openapi 3.1.0 spec processing to ensure that Booleans become Schemas * Because our generators only understand Schemas - * Note: use getIsBooleanSchemaTrue or getIsBooleanSchemaFalse on the JsonSchema + * Note: use getIsBooleanSchemaTrue or getIsBooleanSchemaFalse on the OpenApiSchema * if you need to be able to detect if the original schema's value was true or false * * @param schema the input Boolean or Schema data to convert to a Schema diff --git a/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/OpenapiComponent.java b/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/OpenApiComponent.java similarity index 58% rename from modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/OpenapiComponent.java rename to modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/OpenApiComponent.java index d631ca3ac45..1ea8bc2f3a2 100644 --- a/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/OpenapiComponent.java +++ b/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/OpenApiComponent.java @@ -1,20 +1,6 @@ package org.openapitools.codegen; -import io.swagger.v3.oas.models.media.Schema; -import org.openapitools.codegen.meta.FeatureSet; -import org.openapitools.codegen.meta.features.SchemaSupportFeature; -import org.openapitools.codegen.utils.ModelUtils; - -import java.util.Arrays; -import java.util.Collections; -import java.util.HashSet; -import java.util.LinkedHashMap; -import java.util.List; -import java.util.Map; -import java.util.Set; -import java.util.stream.Stream; - -public interface OpenapiComponent { +public interface OpenApiComponent { // set only if the instance is at the json path of a component String getComponentModule(); diff --git a/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/JsonSchema.java b/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/OpenApiSchema.java similarity index 95% rename from modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/JsonSchema.java rename to modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/OpenApiSchema.java index d2a6c8eea6b..8ec10a6fc2e 100644 --- a/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/JsonSchema.java +++ b/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/OpenApiSchema.java @@ -1,20 +1,13 @@ package org.openapitools.codegen; -import java.util.Arrays; -import java.util.Collections; -import java.util.HashSet; import java.util.LinkedHashMap; import java.util.List; -import java.util.Set; -import java.util.stream.Stream; import io.swagger.v3.oas.models.ExternalDocumentation; import io.swagger.v3.oas.models.media.Schema; -import org.openapitools.codegen.meta.FeatureSet; -import org.openapitools.codegen.meta.features.SchemaSupportFeature; import org.openapitools.codegen.utils.ModelUtils; -public interface JsonSchema { +public interface OpenApiSchema { // 3.1.0 CodegenSchema getContains(); @@ -221,7 +214,7 @@ public interface JsonSchema { void setExternalDocumentation(ExternalDocumentation externalDocumentation); /** - * Syncs all the schema's type properties into the JsonSchema instance + * Syncs all the schema's type properties into the OpenApiSchema instance * for now this only supports types without format information * TODO: in the future move the format handling in here too * @param p the schema which contains the type info diff --git a/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/languages/PythonClientCodegen.java b/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/languages/PythonClientCodegen.java index 66acef4d150..5422c4f2ca0 100644 --- a/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/languages/PythonClientCodegen.java +++ b/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/languages/PythonClientCodegen.java @@ -26,7 +26,7 @@ import io.swagger.v3.oas.models.servers.Server; import org.apache.commons.io.FileUtils; -import org.openapitools.codegen.JsonSchema; +import org.openapitools.codegen.OpenApiSchema; import org.openapitools.codegen.api.TemplatePathLocator; import org.openapitools.codegen.config.GlobalSettings; import org.openapitools.codegen.ignore.CodegenIgnoreProcessor; @@ -540,7 +540,7 @@ are defined in that schema (x.properties). We do this because validation should they are not. */ @Override - protected void addVarsRequiredVarsAdditionalProps(Schema schema, JsonSchema property, String sourceJsonPath, String currentJsonPath){ + protected void addVarsRequiredVarsAdditionalProps(Schema schema, OpenApiSchema property, String sourceJsonPath, String currentJsonPath){ setAddProps(schema, property, sourceJsonPath, currentJsonPath); if (ModelUtils.isAnyType(schema) && supportsAdditionalPropertiesWithComposedSchema) { // if anyType schema has properties then add them diff --git a/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/utils/ModelUtils.java b/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/utils/ModelUtils.java index a4ebfd4308c..9d078c22b36 100644 --- a/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/utils/ModelUtils.java +++ b/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/utils/ModelUtils.java @@ -34,8 +34,7 @@ import io.swagger.v3.parser.util.RemoteUrl; import io.swagger.v3.parser.util.SchemaTypeUtil; import org.apache.commons.lang3.StringUtils; -import org.openapitools.codegen.CodegenSchema; -import org.openapitools.codegen.JsonSchema; +import org.openapitools.codegen.OpenApiSchema; import org.openapitools.codegen.config.GlobalSettings; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -1463,8 +1462,8 @@ public static boolean isAnyType(Schema schema) { return (schema.get$ref() == null && schema.getType() == null); } - public static void syncValidationProperties(Schema schema, JsonSchema target) { - // TODO move this method to JsonSchema + public static void syncValidationProperties(Schema schema, OpenApiSchema target) { + // TODO move this method to OpenApiSchema if (schema != null && target != null) { if (isNullType(schema) || schema.get$ref() != null || isBooleanSchema(schema)) { return; @@ -1508,24 +1507,24 @@ public static void syncValidationProperties(Schema schema, JsonSchema target) { } } - private static void setArrayValidations(Integer minItems, Integer maxItems, Boolean uniqueItems, JsonSchema target) { + private static void setArrayValidations(Integer minItems, Integer maxItems, Boolean uniqueItems, OpenApiSchema target) { if (minItems != null) target.setMinItems(minItems); if (maxItems != null) target.setMaxItems(maxItems); if (uniqueItems != null) target.setUniqueItems(uniqueItems); } - private static void setObjectValidations(Integer minProperties, Integer maxProperties, JsonSchema target) { + private static void setObjectValidations(Integer minProperties, Integer maxProperties, OpenApiSchema target) { if (minProperties != null) target.setMinProperties(minProperties); if (maxProperties != null) target.setMaxProperties(maxProperties); } - private static void setStringValidations(Integer minLength, Integer maxLength, String pattern, JsonSchema target) { + private static void setStringValidations(Integer minLength, Integer maxLength, String pattern, OpenApiSchema target) { if (minLength != null) target.setMinLength(minLength); if (maxLength != null) target.setMaxLength(maxLength); if (pattern != null) target.setPattern(pattern); } - private static void setNumericValidations(Schema schema, BigDecimal multipleOf, BigDecimal minimum, BigDecimal maximum, Boolean exclusiveMinimum, Boolean exclusiveMaximum, JsonSchema target) { + private static void setNumericValidations(Schema schema, BigDecimal multipleOf, BigDecimal minimum, BigDecimal maximum, Boolean exclusiveMinimum, Boolean exclusiveMaximum, OpenApiSchema target) { if (multipleOf != null) target.setMultipleOf(multipleOf); if (minimum != null) { if (isIntegerSchema(schema)) {